Skip to content

Schema Changes - 2025-06-19

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

Changes

diff --git a/schema/Api/OrderBroker/NewOrderRequest.json b/schema/Api/OrderBroker/NewOrderRequest.json
index 034b012..3ddd8cd 100644
--- a/schema/Api/OrderBroker/NewOrderRequest.json
+++ b/schema/Api/OrderBroker/NewOrderRequest.json
@@ -355,25 +355,8 @@
       "examples": [5.0]
     },
     "orderVariables": {
-      "$schema": "http://json-schema.org/draft-07/schema#",
-      "$id": "OrderVariable.json",
       "description": "Manually entered variables for order within order management system (system where order lifecycle will be managed in)",
-      "oneOf": [
-        {"type": "null"},
-        {"type": "object", "maxProperties": 0},
-        {
-          "$schema": "http://json-schema.org/draft-07/schema#",
-          "$id": "AdditionalProperty.json",
-          "description": "Order.LineItems level additional properties details",
-          "type": "object",
-          "additionalProperties": false,
-          "properties": {
-            "key"  : { "type": ["string", "null"] },
-            "value": { "type": ["string", "null"] }
-          },
-          "required": ["key", "value"]
-        }
-      ]
+      "oneOf": [ {"type": "null"}, {"type": "object"} ]
     },
     "orderedBys": {
       "description": "Order level ordered by contact and address details. Not required, but if present, each item must have required address fields and a non-null key.",