Commit a7fb60d4 authored by delongti's avatar delongti
Browse files

Initial conversion walkthrough samples created for ETSI LI#60

parent 3657cb3f
Loading
Loading
Loading
Loading
+135 −0
Original line number Diff line number Diff line
{
	"HI1Message": {
		"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.10.1",
				"NationalProfileOwner": "XX",
				"NationalProfileVersion": "v1.0"
			}
		},
		"Payload": {
			"RequestPayload": {
				"ActionRequests": {
					"ActionRequest": [
						{
							"ActionIdentifier": "0",
							"CREATE": {
								"HI1Object": {
									"ObjectIdentifier": "7dbbc880-8750-4d3c-abe7-ea4a17646045",
									"CountryCode": "XX",
									"OwnerIdentifier": "ACTOR01",
									"AuthorisationReference": {
										"__prefix": "auth",
										"__text": "W000001"
									},
									"AuthorisationTimespan": {
										"StartTime": {
											"__prefix": "auth",
											"__text": "2015-09-01T12:00:00Z"
										},
										"EndTime": {
											"__prefix": "auth",
											"__text": "2015-12-01T12:00:00Z"
										},
										"__prefix": "auth"
									},
									"_xsi:type": "auth:AuthorisationObject"
								}
							}
						},
						{
							"ActionIdentifier": "1",
							"CREATE": {
								"HI1Object": {
									"ObjectIdentifier": "2b36a78b-b628-416d-bd22-404e68a0cd36",
									"CountryCode": "XX",
									"OwnerIdentifier": "ACTOR01",
									"AssociatedObjects": {
										"AssociatedObject": "7dbbc880-8750-4d3c-abe7-ea4a17646045"
									},
									"Reference": {
										"__prefix": "task",
										"__text": "LIID1"
									},
									"TargetIdentifier": {
										"TargetIdentifierValues": {
											"TargetIdentifierValue": {
												"FormatType": {
													"FormatOwner": {
														"__prefix": "task",
														"__text": "ETSI"
													},
													"FormatName": {
														"__prefix": "task",
														"__text": "InternationalE164"
													},
													"__prefix": "task"
												},
												"Value": {
													"__prefix": "task",
													"__text": "442079460223"
												},
												"__prefix": "task"
											},
											"__prefix": "task"
										},
										"__prefix": "task"
									},
									"DeliveryType": {
										"Owner": {
											"__prefix": "common",
											"__text": "ETSI"
										},
										"Name": {
											"__prefix": "common",
											"__text": "TaskDeliveryType"
										},
										"Value": {
											"__prefix": "common",
											"__text": "IRIandCC"
										},
										"__prefix": "task"
									},
									"DeliveryDetails": {
										"DeliveryDestination": {
											"DeliveryAddress": {
												"IPv4Address": {
													"__prefix": "task",
													"__text": "192.0.2.0"
												},
												"__prefix": "task"
											},
											"__prefix": "task"
										},
										"__prefix": "task"
									},
									"CSPID": {
										"CountryCode": "XX",
										"UniqueIdentifier": "RECVER01",
										"__prefix": "task"
									},
									"_xsi:type": "task:LITaskObject"
								}
							}
						}
					]
				}
			}
		},
		"_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"
	}
}
 No newline at end of file
+87 −0
Original line number Diff line number Diff line
{
	"HI1Message": {
		"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.10.1",
				"NationalProfileOwner": "XX",
				"NationalProfileVersion": "v1.0"
			}
		},
		"Payload": {
			"RequestPayload": {
				"ActionRequests": {
					"ActionRequest": [
						{
							"ActionIdentifier": "0",
							"CREATE": {
								"AuthorisationObject": {
									"ObjectIdentifier": "7dbbc880-8750-4d3c-abe7-ea4a17646045",
									"CountryCode": "XX",
									"OwnerIdentifier": "ACTOR01",
									"AuthorisationReference": "W000001",
									"AuthorisationTimespan": {
										"StartTime": "2015-09-01T12:00:00Z",
										"EndTime": "2015-12-01T12:00:00Z"
									}
								}
							}
						},
						{
							"ActionIdentifier": "1",
							"CREATE": {
								"LITaskObject": {
									"ObjectIdentifier": "2b36a78b-b628-416d-bd22-404e68a0cd36",
									"CountryCode": "XX",
									"OwnerIdentifier": "ACTOR01",
									"AssociatedObjects": [
										{
											"AssociatedObject": "7dbbc880-8750-4d3c-abe7-ea4a17646045"
										}
									],
									"Reference": "LIID1",
									"TargetIdentifier": {
										"TargetIdentifierValues": {
											"TargetIdentifierValue": {
												"FormatType": {
													"FormatOwner": "ETSI",
													"FormatName": "InternationalE164"
												},
												"Value": "442079460223"
											}
										}
									},
									"DeliveryType": {
										"Owner": "ETSI",
										"Name": "TaskDeliveryType",
										"Value": "IRIandCC"
									},
									"DeliveryDetails": {
										"DeliveryDestination": {
											"DeliveryAddress": {
												"IPv4Address": "192.0.2.0"
											}
										}
									},
									"CSPID": {
										"CountryCode": "XX",
										"UniqueIdentifier": "RECVER01"
									}
								}
							}
						}
					]
				}
			}
		}
	}
}
 No newline at end of file
+82 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<HI1Message 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</CountryCode>
      <UniqueIdentifier>ACTOR01</UniqueIdentifier>
    </SenderIdentifier>
    <ReceiverIdentifier>
      <CountryCode>XX</CountryCode>
      <UniqueIdentifier>ACTOR02</UniqueIdentifier>
    </ReceiverIdentifier>
    <TransactionIdentifier>c02358b2-76cf-4ba4-a8eb-f6436ccaea2e</TransactionIdentifier>
    <Timestamp>2015-09-01T12:00:00.000000Z</Timestamp>
    <Version>
      <ETSIVersion>V1.10.1</ETSIVersion>
      <NationalProfileOwner>XX</NationalProfileOwner>
      <NationalProfileVersion>v1.0</NationalProfileVersion>
    </Version>
  </Header>
  <Payload>
    <RequestPayload>
      <ActionRequests>
        <ActionRequest>
          <ActionIdentifier>0</ActionIdentifier>
          <CREATE>
            <HI1Object xsi:type="auth:AuthorisationObject">
              <ObjectIdentifier>7dbbc880-8750-4d3c-abe7-ea4a17646045</ObjectIdentifier>
              <CountryCode>XX</CountryCode>
              <OwnerIdentifier>ACTOR01</OwnerIdentifier>
              <auth:AuthorisationReference>W000001</auth:AuthorisationReference>
              <auth:AuthorisationTimespan>
                <auth:StartTime>2015-09-01T12:00:00Z</auth:StartTime>
                <auth:EndTime>2015-12-01T12:00:00Z</auth:EndTime>
              </auth:AuthorisationTimespan>
            </HI1Object>
          </CREATE>
        </ActionRequest>
        <ActionRequest>
          <ActionIdentifier>1</ActionIdentifier>
          <CREATE>
            <HI1Object xsi:type="task:LITaskObject">
              <ObjectIdentifier>2b36a78b-b628-416d-bd22-404e68a0cd36</ObjectIdentifier>
              <CountryCode>XX</CountryCode>
              <OwnerIdentifier>ACTOR01</OwnerIdentifier>
              <AssociatedObjects>
                <AssociatedObject>7dbbc880-8750-4d3c-abe7-ea4a17646045</AssociatedObject>
              </AssociatedObjects>
              <task:Reference>LIID1</task:Reference>
              <task:TargetIdentifier>
                <task:TargetIdentifierValues>
                  <task:TargetIdentifierValue>
                    <task:FormatType>
                      <task:FormatOwner>ETSI</task:FormatOwner>
                      <task:FormatName>InternationalE164</task:FormatName>
                    </task:FormatType>
                    <task:Value>442079460223</task:Value>
                  </task:TargetIdentifierValue>
                </task:TargetIdentifierValues>
              </task:TargetIdentifier>
              <task:DeliveryType>
                <common:Owner>ETSI</common:Owner>
                <common:Name>TaskDeliveryType</common:Name>
                <common:Value>IRIandCC</common:Value>
              </task:DeliveryType>
              <task:DeliveryDetails>
                <task:DeliveryDestination>
                  <task:DeliveryAddress>
                    <task:IPv4Address>192.0.2.0</task:IPv4Address>
                  </task:DeliveryAddress>
                </task:DeliveryDestination>
              </task:DeliveryDetails>
              <task:CSPID>
                <CountryCode>XX</CountryCode>
                <UniqueIdentifier>RECVER01</UniqueIdentifier>
              </task:CSPID>
            </HI1Object>
          </CREATE>
        </ActionRequest>
      </ActionRequests>
    </RequestPayload>
  </Payload>
</HI1Message>
 No newline at end of file
+41 −0
Original line number Diff line number Diff line
{
	"HI1Message": {
		"Header": {
			"SenderIdentifier": {
				"CountryCode": "XX",
				"UniqueIdentifier": "ACTOR01"
			},
			"ReceiverIdentifier": {
				"CountryCode": "XX",
				"UniqueIdentifier": "ACTOR02"
			},
			"TransactionIdentifier": "45002c1e-dc4a-470a-9152-8e752638c86c",
			"Timestamp": "2015-09-01T12:01:00.000000Z",
			"Version": {
				"ETSIVersion": "V1.10.1",
				"NationalProfileOwner": "XX",
				"NationalProfileVersion": "v1.0"
			}
		},
		"Payload": {
			"RequestPayload": {
				"ActionRequests": {
					"ActionRequest": [
						{
							"ActionIdentifier": "0",
							"GET": {
								"Identifier": "2b36a78b-b628-416d-bd22-404e68a0cd36"
							}
						},
						{
							"ActionIdentifier": "1",
							"GET": {
								"Identifier": "7dbbc880-8750-4d3c-abe7-ea4a17646045"
							}
						}
					]
				}
			}
		}
	}
}
 No newline at end of file
+38 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<HI1Message 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</CountryCode>
      <UniqueIdentifier>ACTOR01</UniqueIdentifier>
    </SenderIdentifier>
    <ReceiverIdentifier>
      <CountryCode>XX</CountryCode>
      <UniqueIdentifier>ACTOR02</UniqueIdentifier>
    </ReceiverIdentifier>
    <TransactionIdentifier>45002c1e-dc4a-470a-9152-8e752638c86c</TransactionIdentifier>
    <Timestamp>2015-09-01T12:01:00.000000Z</Timestamp>
    <Version>
      <ETSIVersion>V1.10.1</ETSIVersion>
      <NationalProfileOwner>XX</NationalProfileOwner>
      <NationalProfileVersion>v1.0</NationalProfileVersion>
    </Version>
  </Header>
  <Payload>
    <RequestPayload>
      <ActionRequests>
          <ActionRequest>
            <ActionIdentifier>0</ActionIdentifier>
            <GET>
              <Identifier>2b36a78b-b628-416d-bd22-404e68a0cd36</Identifier>
            </GET>
          </ActionRequest>
          <ActionRequest>
            <ActionIdentifier>1</ActionIdentifier>
            <GET>
              <Identifier>7dbbc880-8750-4d3c-abe7-ea4a17646045</Identifier>
            </GET>
          </ActionRequest>
      </ActionRequests>
    </RequestPayload>
  </Payload>
</HI1Message>
 No newline at end of file
Loading