From 08362bb04576de84bb01a3b5c9a9570990851a4c Mon Sep 17 00:00:00 2001 From: mark Date: Fri, 12 Sep 2025 11:46:33 +0100 Subject: [PATCH 1/5] Initial commit --- 103976/examples/VINtoAllocatedAddresses.json | 26 +++++++++++ 103976/ts_103976.schema.json | 48 ++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 103976/examples/VINtoAllocatedAddresses.json diff --git a/103976/examples/VINtoAllocatedAddresses.json b/103976/examples/VINtoAllocatedAddresses.json new file mode 100644 index 00000000..f8d3019f --- /dev/null +++ b/103976/examples/VINtoAllocatedAddresses.json @@ -0,0 +1,26 @@ +{ + "VINtoAllocatedAccountsRecords": [ + { "AccountIdentifier" : "XYZ123" }, + { + "AccountIdentifier" : "ABC789", + "CreationDate" : "2022-01-16T15:57:00Z", + "DeletionDate" : "2025-01-16T15:57:00Z", + "CustomerName" : "Name", + "CustomerAddress" : "Address", + "EmailAddresses" : [ + "email@example.com", + "other_email@example.com" + ], + "PhoneNumbers" : [ + "491713920000" + ], + "DisplayName" : "Display name", + "DevicesUsed" : [ + { "MACAddress" : "00:00:5e:00:53:00"} + ], + "OtherInfo" : { + "item" : "Any valid JSON is accepted here" + } + } + ] +} diff --git a/103976/ts_103976.schema.json b/103976/ts_103976.schema.json index 2f45d024..a5e36fe2 100644 --- a/103976/ts_103976.schema.json +++ b/103976/ts_103976.schema.json @@ -311,6 +311,48 @@ "ConnectionTime" ] }, + "VINtoAllocatedAccountsRecord": { + "type": "object", + "properties": { + "AccountIdentifier": { + "$ref": "ts_103280_2017_07#/$defs/ShortString" + }, + "CreationDate": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + }, + "DeletionDate": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + }, + "CustomerName": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + }, + "CustomerAddress": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + }, + "EmailAddress": { + "type" : "array", + "items" : { + "$ref" : "ts_103280_2017_07#/$defs/EmailAddress" + } + }, + "PhoneNumbers" : { + "type" : "array", + "items" : { + "$ref" : "ts_103280_2017_07#/$defs/InternationalE164" + } + }, + "DisplayName": { + "$ref": "ts_103280_2017_07#/$defs/ShortString" + }, + "DevicesUsed": { + "$ref" : "#/$defs/ListOfCommsIDs" + }, + "OtherInfo": {} + }, + "required": [ + "AccountIdentifier" + ] + }, "ListOfCommsIDs": { "type": "array", "items": { @@ -355,6 +397,12 @@ "items": { "$ref": "#/$defs/VINtoSubscribedServicesRecord" } + }, + "VINtoAllocatedAccountsRecords": { + "type": "array", + "items": { + "$ref": "#/$defs/VINtoAllocatedAccountsRecord" + } } } } -- GitLab From 1208882b95244f6bd9fb6c5acddac96a7642403c Mon Sep 17 00:00:00 2001 From: mark Date: Fri, 12 Sep 2025 11:53:32 +0100 Subject: [PATCH 2/5] Linter --- 103976/examples/VINtoAllocatedAddresses.json | 46 +++++++++++--------- 103976/ts_103976.schema.json | 18 ++++---- 2 files changed, 34 insertions(+), 30 deletions(-) diff --git a/103976/examples/VINtoAllocatedAddresses.json b/103976/examples/VINtoAllocatedAddresses.json index f8d3019f..74e7bcef 100644 --- a/103976/examples/VINtoAllocatedAddresses.json +++ b/103976/examples/VINtoAllocatedAddresses.json @@ -1,26 +1,30 @@ { "VINtoAllocatedAccountsRecords": [ - { "AccountIdentifier" : "XYZ123" }, - { - "AccountIdentifier" : "ABC789", - "CreationDate" : "2022-01-16T15:57:00Z", - "DeletionDate" : "2025-01-16T15:57:00Z", - "CustomerName" : "Name", - "CustomerAddress" : "Address", - "EmailAddresses" : [ - "email@example.com", - "other_email@example.com" - ], - "PhoneNumbers" : [ - "491713920000" - ], - "DisplayName" : "Display name", - "DevicesUsed" : [ - { "MACAddress" : "00:00:5e:00:53:00"} - ], - "OtherInfo" : { - "item" : "Any valid JSON is accepted here" + { + "AccountIdentifier": "XYZ123" + }, + { + "AccountIdentifier": "ABC789", + "CreationDate": "2022-01-16T15:57:00Z", + "DeletionDate": "2025-01-16T15:57:00Z", + "CustomerName": "Name", + "CustomerAddress": "Address", + "EmailAddresses": [ + "email@example.com", + "other_email@example.com" + ], + "PhoneNumbers": [ + "491713920000" + ], + "DisplayName": "Display name", + "DevicesUsed": [ + { + "MACAddress": "00:00:5e:00:53:00" } + ], + "OtherInfo": { + "item": "Any valid JSON is accepted here" + } } ] -} +} \ No newline at end of file diff --git a/103976/ts_103976.schema.json b/103976/ts_103976.schema.json index a5e36fe2..b5d22e61 100644 --- a/103976/ts_103976.schema.json +++ b/103976/ts_103976.schema.json @@ -330,22 +330,22 @@ "$ref": "ts_103280_2017_07#/$defs/LongString" }, "EmailAddress": { - "type" : "array", - "items" : { - "$ref" : "ts_103280_2017_07#/$defs/EmailAddress" + "type": "array", + "items": { + "$ref": "ts_103280_2017_07#/$defs/EmailAddress" } }, - "PhoneNumbers" : { - "type" : "array", - "items" : { - "$ref" : "ts_103280_2017_07#/$defs/InternationalE164" + "PhoneNumbers": { + "type": "array", + "items": { + "$ref": "ts_103280_2017_07#/$defs/InternationalE164" } }, "DisplayName": { "$ref": "ts_103280_2017_07#/$defs/ShortString" }, "DevicesUsed": { - "$ref" : "#/$defs/ListOfCommsIDs" + "$ref": "#/$defs/ListOfCommsIDs" }, "OtherInfo": {} }, @@ -408,4 +408,4 @@ } }, "$ref": "#/$defs/ResultRecords" -} +} \ No newline at end of file -- GitLab From 8c7d97bbfb5d2c19c98d52d2be9a866b0976f492 Mon Sep 17 00:00:00 2001 From: Mark Canterbury Date: Mon, 29 Sep 2025 20:59:37 +0000 Subject: [PATCH 3/5] Apply 4 suggestion(s) to 2 file(s) Co-authored-by: Luke Mewburn --- 103976/examples/VINtoAllocatedAddresses.json | 2 +- 103976/ts_103976.schema.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/103976/examples/VINtoAllocatedAddresses.json b/103976/examples/VINtoAllocatedAddresses.json index 74e7bcef..643de80d 100644 --- a/103976/examples/VINtoAllocatedAddresses.json +++ b/103976/examples/VINtoAllocatedAddresses.json @@ -1,5 +1,5 @@ { - "VINtoAllocatedAccountsRecords": [ + "VINtoAllocatedUserAccountsRecords": [ { "AccountIdentifier": "XYZ123" }, diff --git a/103976/ts_103976.schema.json b/103976/ts_103976.schema.json index b5d22e61..0d898690 100644 --- a/103976/ts_103976.schema.json +++ b/103976/ts_103976.schema.json @@ -311,7 +311,7 @@ "ConnectionTime" ] }, - "VINtoAllocatedAccountsRecord": { + "VINtoAllocatedUserAccountsRecord": { "type": "object", "properties": { "AccountIdentifier": { @@ -398,10 +398,10 @@ "$ref": "#/$defs/VINtoSubscribedServicesRecord" } }, - "VINtoAllocatedAccountsRecords": { + "VINtoAllocatedUserAccountsRecords": { "type": "array", "items": { - "$ref": "#/$defs/VINtoAllocatedAccountsRecord" + "$ref": "#/$defs/VINtoAllocatedUserAccountsRecord" } } } -- GitLab From 34aa3c96cb0d1e6f45e1ddb75b659c31422f6dee Mon Sep 17 00:00:00 2001 From: mark Date: Mon, 29 Sep 2025 22:01:08 +0100 Subject: [PATCH 4/5] Luke's suggestions --- ...NtoAllocatedAddresses.json => VINtoAllocatedUserAccounts.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename 103976/examples/{VINtoAllocatedAddresses.json => VINtoAllocatedUserAccounts.json} (100%) diff --git a/103976/examples/VINtoAllocatedAddresses.json b/103976/examples/VINtoAllocatedUserAccounts.json similarity index 100% rename from 103976/examples/VINtoAllocatedAddresses.json rename to 103976/examples/VINtoAllocatedUserAccounts.json -- GitLab From 4d45e3d365890f9a5fd55bf6114bf155a053c56c Mon Sep 17 00:00:00 2001 From: mark Date: Thu, 2 Oct 2025 12:39:57 +0100 Subject: [PATCH 5/5] Fixing addresses --- 103976/examples/VINtoAllocatedUserAccounts.json | 5 ++++- 103976/ts_103976.schema.json | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/103976/examples/VINtoAllocatedUserAccounts.json b/103976/examples/VINtoAllocatedUserAccounts.json index 643de80d..e8af1b2f 100644 --- a/103976/examples/VINtoAllocatedUserAccounts.json +++ b/103976/examples/VINtoAllocatedUserAccounts.json @@ -8,7 +8,10 @@ "CreationDate": "2022-01-16T15:57:00Z", "DeletionDate": "2025-01-16T15:57:00Z", "CustomerName": "Name", - "CustomerAddress": "Address", + "CustomerAddress": [ + "Address", + "AnotherAddress" + ], "EmailAddresses": [ "email@example.com", "other_email@example.com" diff --git a/103976/ts_103976.schema.json b/103976/ts_103976.schema.json index 0d898690..05ff57e2 100644 --- a/103976/ts_103976.schema.json +++ b/103976/ts_103976.schema.json @@ -327,7 +327,10 @@ "$ref": "ts_103280_2017_07#/$defs/LongString" }, "CustomerAddress": { - "$ref": "ts_103280_2017_07#/$defs/LongString" + "type" : "array", + "items" : { + "$ref": "ts_103280_2017_07#/$defs/LongString" + } }, "EmailAddress": { "type": "array", -- GitLab