Commit 08362bb0 authored by Mark Canterbury's avatar Mark Canterbury Committed by Mark Canterbury
Browse files

Initial commit

parent d3643e53
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
{
  "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"
        }
    }
  ]
}
+48 −0
Original line number Diff line number Diff line
@@ -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"
          }
        }
      }
    }