Commit fca23331 authored by Mark Canterbury's avatar Mark Canterbury
Browse files

Updating examples in JSON

parent 642c5440
Loading
Loading
Loading
Loading
+87 −0
Original line number Original line 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:doc": "http://uri.etsi.org/03120/common/2020/09/Document",
  "Header": {
    "SenderIdentifier": {
      "CountryCode": "XX",
      "UniqueIdentifier": "ACTOR01"
    },
    "ReceiverIdentifier": {
      "CountryCode": "XX",
      "UniqueIdentifier": "ACTOR02"
    },
    "TransactionIdentifier": "69353ac0-9582-4c71-b162-86259c99de20",
    "Timestamp": "2015-09-01T12:02: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/2020/09/Document}DocumentObject",
                "ObjectIdentifier": "4193f541-5e19-468e-b4a3-1c636ce115e9",
                "CountryCode": "XX",
                "OwnerIdentifier": "ACTOR01",
                "doc:DocumentReference": "W000001",
                "doc:DocumentTimespan": {
                  "doc:StartTime": "2015-09-01T12:00:00Z",
                  "doc:EndTime": "2015-12-01T12:00:00Z"
                },
                "doc:DocumentType": {
                  "common:Owner": "ETSI",
                  "common:Name": "DocumentType",
                  "common:Value": "Warrant"
                },
                "doc:DocumentSignature": [
                  {
                    "common:ApproverDetails": {
                      "common:ApproverName": "John Doe",
                      "common:ApproverContactDetails": [
                        {
                          "common:ApproverEmailAddress": "john.doe@example.com",
                          "common:ApproverPhoneNumber": "442079460223"
                        },
                        {
                          "common:ApproverAlternateName": "Jane Doe",
                          "common:ApproverEmailAddress": "jane.doe@example.com",
                          "common:ApproverPhoneNumber": "442079461110"
                        }
                      ]
                    },
                    "common:ApprovalTimestamp": "2015-09-01T12:00:00Z"
                  }
                ]
              }
            }
          },
          {
            "ActionIdentifier": 1,
            "UPDATE": {
              "HI1Object": {
                "@xsi:type": "{http://uri.etsi.org/03120/common/2020/09/Authorisation}AuthorisationObject",
                "ObjectIdentifier": "7dbbc880-8750-4d3c-abe7-ea4a17646045",
                "AssociatedObjects": {
                  "AssociatedObject": [
                    "4193f541-5e19-468e-b4a3-1c636ce115e9"
                  ]
                }
              }
            }
          }
        ]
      }
    }
  }
}
+101 −0
Original line number Original line 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",
  "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.14.1",
      "NationalProfileOwner": "XX",
      "NationalProfileVersion": "v1.0"
    }
  },
  "Payload": {
    "RequestPayload": {
      "ActionRequests": {
        "ActionRequest": [
          {
            "ActionIdentifier": 0,
            "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": 1,
            "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: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:DeliveryAddress": {
                        "task:IPv4Address": "192.0.2.0"
                      }
                    }
                  ]
                },
                "task:CSPID": {
                  "CountryCode": "XX",
                  "UniqueIdentifier": "ACTOR02"
                },
                "task:AlternativePreservationReferences": {
                  "task:AlternativePreservationReference": [
                    {
                      "task:ReferenceValue": "ExternalReferenceValue",
                      "task:NatureOfReference": "Preservation Request Type"
                    }
                  ]
                }
              }
            }
          }
        ]
      }
    }
  }
}
+93 −0
Original line number Original line 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",
  "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/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": 1,
            "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: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:DeliveryAddress": {
                        "task:IPv4Address": "192.0.2.0"
                      }
                    }
                  ]
                },
                "task:CSPID": {
                  "CountryCode": "XX",
                  "UniqueIdentifier": "ACTOR02"
                }
              }
            }
          }
        ]
      }
    }
  }
}
+67 −0
Original line number Original line 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:task": "http://uri.etsi.org/03120/common/2020/09/Task",
  "@xmlns:delivery": "http://uri.etsi.org/03120/common/2019/10/Delivery",
  "@xmlns:common": "http://uri.etsi.org/03120/common/2016/02/Common",
  "Header": {
    "SenderIdentifier": {
      "CountryCode": "XX",
      "UniqueIdentifier": "ACTOR2"
    },
    "ReceiverIdentifier": {
      "CountryCode": "XX",
      "UniqueIdentifier": "ACTOR1"
    },
    "TransactionIdentifier": "8854cfad-44ac-43b8-99ae-530b690b43da",
    "Timestamp": "2019-09-30T13:37:37.000000Z",
    "Version": {
      "ETSIVersion": "V1.13.1",
      "NationalProfileOwner": "XX",
      "NationalProfileVersion": "v1.0"
    }
  },
  "Payload": {
    "RequestPayload": {
      "ActionRequests": {
        "ActionRequest": [
          {
            "ActionIdentifier": 0,
            "DELIVER": {
              "Identifier": "71ff52ca-bcea-4fa3-b34e-1b89dcfb0d9e",
              "HI1Object": {
                "@xsi:type": "{http://uri.etsi.org/03120/common/2019/10/Delivery}DeliveryObject",
                "ObjectIdentifier": "71ff52ca-bcea-4fa3-b34e-1b89dcfb0d9e",
                "AssociatedObjects": {
                  "AssociatedObject": [
                    "2b36a78b-b628-416d-bd22-404e68a0cd36"
                  ]
                },
                "delivery:Reference": {
                  "delivery:LDID": "XX-ACTOR01-1234"
                },
                "delivery:DeliveryID": "d1079830-8e9a-4731-8fb7-36b9b961eb72",
                "delivery:SequenceNumber": 1,
                "delivery:LastSequence": true,
                "delivery:Manifest": {
                  "delivery:Specification": {
                    "common:Owner": "ETSI",
                    "common:Name": "ManifestSpecification",
                    "common:Value": "TS102657-XML"
                  }
                },
                "delivery:Delivery": {
                  "delivery:BinaryData": {
                    "delivery:Data": "VGhpcyBpc24ndCBhY3R1YWxseSBhbiBpbWFnZS4=",
                    "delivery:ContentType": "image/jpeg",
                    "delivery:Checksum": "98ecb6a08c34a97f6edc0e97ddcd32cb139e2253825186a817ddb24997ccd68f"
                  }
                }
              }
            }
          }
        ]
      }
    }
  }
}
+93 −0
Original line number Original line 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:policy": "http://uri.etsi.org/03120/common/2022/07/TrafficPolicy",
  "@xmlns:etsi": "http://uri.etsi.org/03280/common/2017/07",
  "@xmlns:task": "http://uri.etsi.org/03120/common/2020/09/Task",
  "Header": {
    "SenderIdentifier": {
      "CountryCode": "XX",
      "UniqueIdentifier": "ACTOR01"
    },
    "ReceiverIdentifier": {
      "CountryCode": "XX",
      "UniqueIdentifier": "ACTOR02"
    },
    "TransactionIdentifier": "c02358b2-76cf-4ba4-a8eb-f6436ccaa8eb",
    "Timestamp": "2022-07-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/2022/07/TrafficPolicy}TrafficRuleObject",
                "ObjectIdentifier": "f69eb93b-a85b-4ff7-abaa-6f3aead286d5",
                "CountryCode": "XX",
                "OwnerIdentifier": "ACTOR01",
                "policy:Criteria": {
                  "policy:Criteria": {
                    "policy:IPPolicyCriteria": {
                      "policy:SourceIPRange": {
                        "etsi:IPv4CIDR": "203.0.113.0/24"
                      }
                    }
                  }
                },
                "policy:Action": {
                  "common:Owner": "ETSI",
                  "common:Name": "PolicyAction",
                  "common:Value": "PDSR"
                }
              }
            }
          },
          {
            "ActionIdentifier": 1,
            "CREATE": {
              "HI1Object": {
                "@xsi:type": "{http://uri.etsi.org/03120/common/2022/07/TrafficPolicy}TrafficPolicyObject",
                "ObjectIdentifier": "55e25c0a-787b-4049-b7fb-518a13a9483b",
                "CountryCode": "XX",
                "OwnerIdentifier": "ACTOR01",
                "policy:TrafficPolicyName": "Template Rule 1",
                "policy:TrafficRules": {
                  "policy:TrafficRuleReference": {
                    "policy:Order": "1",
                    "policy:ObjectIdentifier": "f69eb93b-a85b-4ff7-abaa-6f3aead286d5"
                  }
                }
              }
            }
          },
          {
            "ActionIdentifier": 1,
            "UPDATE": {
              "HI1Object": {
                "@xsi:type": "{http://uri.etsi.org/03120/common/2020/09/Task}LITaskObject",
                "ObjectIdentifier": "2b36a78b-b628-416d-bd22-404e68a0cd36",
                "task:ListOfTrafficPolicyReferences": {
                  "task:TrafficPolicyReference": [
                    {
                      "task:Order": 1,
                      "task:ObjectIdentifier": "f69eb93b-a85b-4ff7-abaa-6f3aead286d5"
                    }
                  ]
                }
              }
            }
          }
        ]
      }
    }
  }
}
Loading