Skip to content

Schema Changes - 2025-05-12

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

Changes

diff --git a/schema/Api/IdentityBroker/GetCustomerTokenRequest.json b/schema/Api/IdentityBroker/GetCustomerTokenRequest.json
index 41ec911..f4e0179 100644
--- a/schema/Api/IdentityBroker/GetCustomerTokenRequest.json
+++ b/schema/Api/IdentityBroker/GetCustomerTokenRequest.json
@@ -1,17 +1,12 @@
 {
   "$schema": "http://json-schema.org/draft-07/schema#",
-  "$id": "GetCustomerTokenRequest.json",
+  "$id": "GetTokenRequest.json",
   "type": "object",
   "additionalProperties": false,
-  "properties": {
-    "sourceSystemId": {"type": "integer", "format": "int32"},
-    "clientName": { "type": ["string", "null"] },
-    "password": { "type": ["string", "null"] }
-  },
-  "required": ["sourceSystemId", "clientName", "password"],
+  "properties": { "clientName": {"type": "string"}, "password": {"type": "string"} },
+  "required": ["clientName", "password"],
   "examples": [
     {
-      "sourceSystemId": 2,
       "clientName": "Tliw1cu7ad6qbrpBncV1aCoFhQUqVMYn",
       "password": "l0RHIXhw50egq65DkO3YpawB999UOw1VRgsIlaw8LZQKdS3h5gW-LoJ7wmQTSJLZ"
     }
diff --git a/schema/Api/IdentityBroker/GetTokenRequest.json b/schema/Api/IdentityBroker/GetTokenRequest.json
index f4e0179..41ec911 100644
--- a/schema/Api/IdentityBroker/GetTokenRequest.json
+++ b/schema/Api/IdentityBroker/GetTokenRequest.json
@@ -1,12 +1,17 @@
 {
   "$schema": "http://json-schema.org/draft-07/schema#",
-  "$id": "GetTokenRequest.json",
+  "$id": "GetCustomerTokenRequest.json",
   "type": "object",
   "additionalProperties": false,
-  "properties": { "clientName": {"type": "string"}, "password": {"type": "string"} },
-  "required": ["clientName", "password"],
+  "properties": {
+    "sourceSystemId": {"type": "integer", "format": "int32"},
+    "clientName": { "type": ["string", "null"] },
+    "password": { "type": ["string", "null"] }
+  },
+  "required": ["sourceSystemId", "clientName", "password"],
   "examples": [
     {
+      "sourceSystemId": 2,
       "clientName": "Tliw1cu7ad6qbrpBncV1aCoFhQUqVMYn",
       "password": "l0RHIXhw50egq65DkO3YpawB999UOw1VRgsIlaw8LZQKdS3h5gW-LoJ7wmQTSJLZ"
     }