Commit 0a330d0f authored by Mark Canterbury's avatar Mark Canterbury
Browse files

Adding JSON translations

parent 04c87537
Loading
Loading
Loading
Loading
Loading
+112 −0
Original line number Diff line number Diff line
{
  "@xmlns": "http://uri.etsi.org/03120/common/2019/10/Core",
  "@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
  "@xmlns:common": "http://uri.etsi.org/03120/common/2016/02/Common",
  "@xmlns:task": "http://uri.etsi.org/03120/common/2020/09/Task",
  "@xmlns:auth": "http://uri.etsi.org/03120/common/2020/09/Authorisation",
  "@xmlns:dest": "http://uri.etsi.org/03120/common/2026/07/Destination",
  "Header": {
    "SenderIdentifier": {
      "CountryCode": "XX",
      "UniqueIdentifier": "ACTOR01"
    },
    "ReceiverIdentifier": {
      "CountryCode": "XX",
      "UniqueIdentifier": "ACTOR02"
    },
    "TransactionIdentifier": "c02358b2-76cf-4ba4-a8eb-f6436ccaea2e",
    "Timestamp": "2019-09-30T13:37:00.000000Z",
    "Version": {
      "ETSIVersion": "V1.13.1",
      "NationalProfileOwner": "XX",
      "NationalProfileVersion": "v1.0"
    }
  },
  "Payload": {
    "RequestPayload": {
      "ActionRequests": {
        "ActionRequest": [
          {
            "ActionIdentifier": 0,
            "CREATE": {
              "HI1Object": {
                "@xsi:type": "{http://uri.etsi.org/03120/common/2026/07/Destination}LDDestinationObject",
                "ObjectIdentifier": "2d1ac880-8750-4d3c-abe7-ea4a17646043",
                "CountryCode": "XX",
                "OwnerIdentifier": "ACTOR01",
                "dest:DeliveryAddress": {
                  "task:IPv4Address": "192.0.2.0"
                },
                "dest:FriendlyName": "TestLDDestination"
              }
            }
          },
          {
            "ActionIdentifier": 1,
            "CREATE": {
              "HI1Object": {
                "@xsi:type": "{http://uri.etsi.org/03120/common/2020/09/Authorisation}AuthorisationObject",
                "ObjectIdentifier": "7dbbc880-8750-4d3c-abe7-ea4a17646045",
                "CountryCode": "XX",
                "OwnerIdentifier": "ACTOR01",
                "auth:AuthorisationReference": "W000001",
                "auth:AuthorisationTimespan": {
                  "auth:StartTime": "2019-09-30T12:00:00Z",
                  "auth:EndTime": "2019-12-01T12:00:00Z"
                }
              }
            }
          },
          {
            "ActionIdentifier": 2,
            "CREATE": {
              "HI1Object": {
                "@xsi:type": "{http://uri.etsi.org/03120/common/2020/09/Task}LDTaskObject",
                "ObjectIdentifier": "2b36a78b-b628-416d-bd22-404e68a0cd36",
                "CountryCode": "XX",
                "OwnerIdentifier": "ACTOR01",
                "AssociatedObjects": {
                  "AssociatedObject": [
                    "7dbbc880-8750-4d3c-abe7-ea4a17646045"
                  ]
                },
                "task:Reference": "XX-ACTOR01-1234",
                "task:RequestDetails": {
                  "task:Type": {
                    "common:Owner": "ETSI",
                    "common:Name": "RequestType",
                    "common:Value": "SubscriberData"
                  },
                  "task:StartTime": "2019-09-30T12:00:00Z",
                  "task:EndTime": "2019-12-30T12:00:00Z",
                  "task:RequestValues": {
                    "task:RequestValue": [
                      {
                        "task:FormatType": {
                          "task:FormatOwner": "ETSI",
                          "task:FormatName": "InternationalE164"
                        },
                        "task:Value": "442079460223"
                      }
                    ]
                  }
                },
                "task:DeliveryDetails": {
                  "task:LDDeliveryDestination": [
                    {
                      "task:DestinationReference": "2d1ac880-8750-4d3c-abe7-ea4a17646043"
                    }
                  ]
                },
                "task:CSPID": {
                  "CountryCode": "XX",
                  "UniqueIdentifier": "ACTOR02"
                }
              }
            }
          }
        ]
      }
    }
  }
}
+120 −0
Original line number Diff line number Diff line
{
  "@xmlns": "http://uri.etsi.org/03120/common/2019/10/Core",
  "@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
  "@xmlns:common": "http://uri.etsi.org/03120/common/2016/02/Common",
  "@xmlns:task": "http://uri.etsi.org/03120/common/2020/09/Task",
  "@xmlns:auth": "http://uri.etsi.org/03120/common/2020/09/Authorisation",
  "@xmlns:dest": "http://uri.etsi.org/03120/common/2026/07/Destination",
  "Header": {
    "SenderIdentifier": {
      "CountryCode": "XX",
      "UniqueIdentifier": "ACTOR01"
    },
    "ReceiverIdentifier": {
      "CountryCode": "XX",
      "UniqueIdentifier": "ACTOR02"
    },
    "TransactionIdentifier": "c02358b2-76cf-4ba4-a8eb-f6436ccaea2e",
    "Timestamp": "2015-09-01T12:00:00.000000Z",
    "Version": {
      "ETSIVersion": "V1.13.1",
      "NationalProfileOwner": "XX",
      "NationalProfileVersion": "v1.0"
    }
  },
  "Payload": {
    "RequestPayload": {
      "ActionRequests": {
        "ActionRequest": [
          {
            "ActionIdentifier": 0,
            "CREATE": {
              "HI1Object": {
                "@xsi:type": "{http://uri.etsi.org/03120/common/2026/07/Destination}LIDestinationObject",
                "ObjectIdentifier": "2daac880-8750-4d3c-abe7-ea4a17646043",
                "CountryCode": "XX",
                "OwnerIdentifier": "ACTOR01",
                "dest:DeliveryAddress": {
                  "task:IPv4Address": "192.0.2.0"
                },
                "dest:FriendlyName": "TestLIDestination"
              }
            }
          },
          {
            "ActionIdentifier": 1,
            "CREATE": {
              "HI1Object": {
                "@xsi:type": "{http://uri.etsi.org/03120/common/2020/09/Authorisation}AuthorisationObject",
                "ObjectIdentifier": "7dbbc880-8750-4d3c-abe7-ea4a17646045",
                "CountryCode": "XX",
                "OwnerIdentifier": "ACTOR01",
                "auth:AuthorisationReference": "W000001",
                "auth:AuthorisationTimespan": {
                  "auth:StartTime": "2015-09-01T12:00:00Z",
                  "auth:EndTime": "2015-12-01T12:00:00Z"
                }
              }
            }
          },
          {
            "ActionIdentifier": 2,
            "CREATE": {
              "HI1Object": {
                "@xsi:type": "{http://uri.etsi.org/03120/common/2020/09/Task}LITaskObject",
                "ObjectIdentifier": "2b36a78b-b628-416d-bd22-404e68a0cd36",
                "CountryCode": "XX",
                "OwnerIdentifier": "ACTOR01",
                "AssociatedObjects": {
                  "AssociatedObject": [
                    "7dbbc880-8750-4d3c-abe7-ea4a17646045"
                  ]
                },
                "task:Reference": "LIID1",
                "task:TargetIdentifier": {
                  "task:TargetIdentifierValues": {
                    "task:TargetIdentifierValue": [
                      {
                        "task:FormatType": {
                          "task:FormatOwner": "ETSI",
                          "task:FormatName": "InternationalE164"
                        },
                        "task:Value": "442079460223"
                      }
                    ]
                  },
                  "task:ServiceType": {
                    "common:Owner": "ETSI",
                    "common:Name": "TaskServiceType",
                    "common:Value": "DataType1"
                  },
                  "task:TargetIdentifierSubtype": {
                    "common:Owner": "CSP01",
                    "common:Name": "TargetIdentifierSubtype",
                    "common:Value": "AccountType1"
                  }
                },
                "task:DeliveryType": {
                  "common:Owner": "ETSI",
                  "common:Name": "TaskDeliveryType",
                  "common:Value": "IRIandCC"
                },
                "task:DeliveryDetails": {
                  "task:DeliveryDestination": [
                    {
                      "task:DestinationReference": "2daac880-8750-4d3c-abe7-ea4a17646043"
                    }
                  ]
                },
                "task:CSPID": {
                  "CountryCode": "XX",
                  "UniqueIdentifier": "RECVER01"
                }
              }
            }
          }
        ]
      }
    }
  }
}
+9 −0
Original line number Diff line number Diff line
@@ -729,6 +729,15 @@
        },
        {
          "$ref": "ts_103120_TrafficPolicy_2022_07#/$defs/TrafficRuleObject"
        },
        {
          "$ref": "ts_103120_Destination_2026_07#/$defs/LIDestinationObject"
        },
        {
          "$ref": "ts_103120_Destination_2026_07#/$defs/LDDestinationObject"
        },
        {
          "$ref": "ts_103120_Encryption_2026_01#/$defs/EncryptionObject"
        }
      ]
    }
+118 −0
Original line number Diff line number Diff line
{
  "$id": "ts_103120_Destination_2026_07",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$defs": {
    "LIDestinationObject": {
      "type": "object",
      "properties": {
        "@xsi:type": {
          "type": "string",
          "enum": [
            "{http://uri.etsi.org/03120/common/2026/07/Destination}LIDestinationObject"
          ]
        },
        "ObjectIdentifier": {
          "$ref": "ts_103120_Core_2019_10#/$defs/ObjectIdentifier"
        },
        "CountryCode": {
          "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode"
        },
        "OwnerIdentifier": {
          "$ref": "ts_103280_2017_07#/$defs/ShortString"
        },
        "Generation": {
          "type": "integer",
          "minimum": 0
        },
        "ExternalIdentifier": {
          "$ref": "ts_103280_2017_07#/$defs/LongString"
        },
        "AssociatedObjects": {
          "$ref": "ts_103120_Core_2019_10#/$defs/AssociatedObjects"
        },
        "LastChanged": {
          "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime"
        },
        "NationalHandlingParameters": {
          "$ref": "ts_103120_Core_2019_10#/$defs/NationalHandlingParameters"
        },
        "dest:DeliveryAddress": {
          "$ref": "ts_103120_Task_2020_09#/$defs/DeliveryAddress"
        },
        "dest:FriendlyName": {
          "$ref": "ts_103280_2017_07#/$defs/LongString"
        },
        "dest:NationalDestinationParameters": {
          "$ref": "#/$defs/NationalDestinationParameters"
        }
      },
      "required": [
        "@xsi:type",
        "ObjectIdentifier"
      ],
      "additionalProperties": false
    },
    "LDDestinationObject": {
      "type": "object",
      "properties": {
        "@xsi:type": {
          "type": "string",
          "enum": [
            "{http://uri.etsi.org/03120/common/2026/07/Destination}LDDestinationObject"
          ]
        },
        "ObjectIdentifier": {
          "$ref": "ts_103120_Core_2019_10#/$defs/ObjectIdentifier"
        },
        "CountryCode": {
          "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode"
        },
        "OwnerIdentifier": {
          "$ref": "ts_103280_2017_07#/$defs/ShortString"
        },
        "Generation": {
          "type": "integer",
          "minimum": 0
        },
        "ExternalIdentifier": {
          "$ref": "ts_103280_2017_07#/$defs/LongString"
        },
        "AssociatedObjects": {
          "$ref": "ts_103120_Core_2019_10#/$defs/AssociatedObjects"
        },
        "LastChanged": {
          "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime"
        },
        "NationalHandlingParameters": {
          "$ref": "ts_103120_Core_2019_10#/$defs/NationalHandlingParameters"
        },
        "dest:DeliveryAddress": {
          "$ref": "ts_103120_Task_2020_09#/$defs/DeliveryAddress"
        },
        "dest:FriendlyName": {
          "$ref": "ts_103280_2017_07#/$defs/LongString"
        },
        "dest:NationalDestinationParameters": {
          "$ref": "#/$defs/NationalDestinationParameters"
        }
      },
      "required": [
        "@xsi:type",
        "ObjectIdentifier"
      ],
      "additionalProperties": false
    },
    "NationalDestinationParameters": {
      "type": "object",
      "properties": {
        "dest:CountryCode": {
          "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode"
        }
      },
      "required": [
        "dest:CountryCode"
      ],
      "additionalProperties": false
    }
  }
}
+9 −0
Original line number Diff line number Diff line
@@ -195,6 +195,12 @@
        "task:DeliveryAddress": {
          "$ref": "#/$defs/DeliveryAddress"
        },
        "task:DestinationReference": {
          "$ref": "ts_103120_Core_2019_10#/$defs/ObjectIdentifier"
        },
        "task:EncryptionReference": {
          "$ref": "ts_103120_Core_2019_10#/$defs/ObjectIdentifier"
        },
        "task:EncryptionDetails": {
          "$ref": "#/$defs/NationalEncryptionDetails"
        },
@@ -572,6 +578,9 @@
        "task:DeliveryAddress": {
          "$ref": "#/$defs/DeliveryAddress"
        },
        "task:DestinationReference": {
          "$ref": "ts_103120_Core_2019_10#/$defs/ObjectIdentifier"
        },
        "task:EncryptionReference": {
          "$ref": "ts_103120_Core_2019_10#/$defs/ObjectIdentifier"
        },
Loading