Skip to content

Schema Changes - 2026-09-11

This document contains the changes to the schema files compared to the main branch.

Changes

diff --git a/schema/Api/OrderBroker/InternalNewOrderRequest.json b/schema/Api/OrderBroker/InternalNewOrderRequest.json
index 7f2b34d..6fc7ea6 100644
--- a/schema/Api/OrderBroker/InternalNewOrderRequest.json
+++ b/schema/Api/OrderBroker/InternalNewOrderRequest.json
@@ -365,7 +365,9 @@
           },
           "methodName": {
             "description": "Name of payment method.  Required if Payment Amount specified",
-            "type": "string"
+            "type": "string",
+            "minLength": 1,
+            "pattern": "\\S"
           }
         },
         "required": ["amount", "methodName"]
@@ -434,7 +436,9 @@
                 },
                 "methodName": {
                   "description": "Name of payment method.  Required if Payment Amount specified",
-                  "type": "string"
+                  "type": "string",
+                  "minLength": 1,
+                  "pattern": "\\S"
                 }
               },
               "required": ["amount", "methodName"]
diff --git a/schema/Api/OrderBroker/InternalUpdateOrderRequest.json b/schema/Api/OrderBroker/InternalUpdateOrderRequest.json
index a87b22c..bab7fae 100644
--- a/schema/Api/OrderBroker/InternalUpdateOrderRequest.json
+++ b/schema/Api/OrderBroker/InternalUpdateOrderRequest.json
@@ -228,7 +228,12 @@
             "type": ["number", "null"],
             "format": "decimal"
           },
-          "methodName": { "description": "Payment method name", "type": ["string", "null"] }
+          "methodName": {
+            "description": "Payment method name",
+            "type": "string",
+            "minLength": 1,
+            "pattern": "\\S"
+          }
         }
       }
     },
@@ -287,7 +292,12 @@
                   "type": ["number", "null"],
                   "format": "decimal"
                 },
-                "methodName": { "description": "Payment method name", "type": ["string", "null"] }
+                "methodName": {
+                  "description": "Payment method name",
+                  "type": "string",
+                  "minLength": 1,
+                  "pattern": "\\S"
+                }
               }
             }
           },
diff --git a/schema/Api/OrderBroker/NewOrderRequest.json b/schema/Api/OrderBroker/NewOrderRequest.json
index 1c3ef14..b8396e6 100644
--- a/schema/Api/OrderBroker/NewOrderRequest.json
+++ b/schema/Api/OrderBroker/NewOrderRequest.json
@@ -382,7 +382,9 @@
           },
           "methodName": {
             "description": "Name of payment method.  Required if Payment Amount specified",
-            "type": "string"
+            "type": "string",
+            "minLength": 1,
+            "pattern": "\\S"
           }
         },
         "required": ["amount", "methodName"]
@@ -451,7 +453,9 @@
                 },
                 "methodName": {
                   "description": "Name of payment method.  Required if Payment Amount specified",
-                  "type": "string"
+                  "type": "string",
+                  "minLength": 1,
+                  "pattern": "\\S"
                 }
               },
               "required": ["amount", "methodName"]
diff --git a/schema/Api/OrderBroker/UpdateFulfillmentOrderRequest.json b/schema/Api/OrderBroker/UpdateFulfillmentOrderRequest.json
index 029a5bd..d13bd05 100644
--- a/schema/Api/OrderBroker/UpdateFulfillmentOrderRequest.json
+++ b/schema/Api/OrderBroker/UpdateFulfillmentOrderRequest.json
@@ -70,7 +70,9 @@
           },
           "methodName": {
             "description": "Name of payment method.  Required if Payment Amount specified",
-            "type": "string"
+            "type": "string",
+            "minLength": 1,
+            "pattern": "\\S"
           }
         },
         "required": ["amount", "methodName"]
@@ -136,7 +138,9 @@
                 },
                 "methodName": {
                   "description": "Name of payment method.  Required if Payment Amount specified",
-                  "type": "string"
+                  "type": "string",
+                  "minLength": 1,
+                  "pattern": "\\S"
                 }
               },
               "required": ["amount", "methodName"]
diff --git a/schema/Api/OrderBroker/UpdateOrderRequest.json b/schema/Api/OrderBroker/UpdateOrderRequest.json
index dcb6820..dbf8159 100644
--- a/schema/Api/OrderBroker/UpdateOrderRequest.json
+++ b/schema/Api/OrderBroker/UpdateOrderRequest.json
@@ -220,7 +220,12 @@
             "type": ["number", "null"],
             "format": "decimal"
           },
-          "methodName": { "description": "Payment method name", "type": ["string", "null"] }
+          "methodName": {
+            "description": "Payment method name",
+            "type": "string",
+            "minLength": 1,
+            "pattern": "\\S"
+          }
         }
       }
     },
@@ -283,7 +288,12 @@
                   "type": ["number", "null"],
                   "format": "decimal"
                 },
-                "methodName": { "description": "Payment method name", "type": ["string", "null"] }
+                "methodName": {
+                  "description": "Payment method name",
+                  "type": "string",
+                  "minLength": 1,
+                  "pattern": "\\S"
+                }
               }
             }
           },
diff --git a/schema/Event/FulfillmentOrder/FulfillmentOrder.json b/schema/Event/FulfillmentOrder/FulfillmentOrder.json
index cf9c5b6..5f10e7e 100644
--- a/schema/Event/FulfillmentOrder/FulfillmentOrder.json
+++ b/schema/Event/FulfillmentOrder/FulfillmentOrder.json
@@ -104,8 +104,13 @@
       "items": {
         "type": "object",
         "properties": {
-          "Amount"    : { "description": "Amount for the payment method", "type": ["number", "null"] },
-          "MethodName": { "description": "Name of the payment method"   , "type": ["string", "null"] }
+          "Amount": { "description": "Amount for the payment method", "type": ["number", "null"] },
+          "MethodName": {
+            "description": "Name of the payment method",
+            "type": "string",
+            "minLength": 1,
+            "pattern": "\\S"
+          }
         }
       }
     },
@@ -185,8 +190,13 @@
             "items": {
               "type": "object",
               "properties": {
-                "Amount"    : { "description": "Amount for the payment method", "type": ["number", "null"] },
-                "MethodName": { "description": "Name of the payment method"   , "type": ["string", "null"] }
+                "Amount": { "description": "Amount for the payment method", "type": ["number", "null"] },
+                "MethodName": {
+                  "description": "Name of the payment method",
+                  "type": "string",
+                  "minLength": 1,
+                  "pattern": "\\S"
+                }
               }
             }
           },
diff --git a/schema/Event/Order/Order.json b/schema/Event/Order/Order.json
index 6564ae3..e5a9ac5 100644
--- a/schema/Event/Order/Order.json
+++ b/schema/Event/Order/Order.json
@@ -325,7 +325,12 @@
             "description": "Total amount applied to payment method",
             "type": ["number", "null"]
           },
-          "MethodName": { "description": "Name of payment method", "type": ["string", "null"] }
+          "MethodName": {
+            "description": "Name of payment method",
+            "type": "string",
+            "minLength": 1,
+            "pattern": "\\S"
+          }
         },
         "required": ["Amount", "MethodName"]
       }
@@ -380,7 +385,12 @@
                   "description": "Total amount applied to payment method",
                   "type": ["number", "null"]
                 },
-                "MethodName": { "description": "Name of payment method", "type": ["string", "null"] }
+                "MethodName": {
+                  "description": "Name of payment method",
+                  "type": "string",
+                  "minLength": 1,
+                  "pattern": "\\S"
+                }
               },
               "required": ["Amount", "MethodName"]
             }