Loading 103120/examples/json/request1_bad.json 0 → 100644 +97 −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", "Header": { "bad" : "bad", "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/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": 1, "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:DeliveryType": { "common:Owner": "ETSI", "common:Name": "TaskDeliveryType", "common:Value": "IRIandCC" }, "task:DeliveryDetails": { "task:DeliveryDestination": [ { "task:DeliveryAddress": { "task:IPv4Address": "192.0.2.0" } } ] }, "task:CSPID": { "CountryCode": "XX", "UniqueIdentifier": "RECVER01" } } } } ] } } } } 103120/examples/json/request7-TrafficPolicyObject.json +9 −9 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ "@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:tp": "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": { Loading Loading @@ -34,16 +34,16 @@ "ObjectIdentifier": "f69eb93b-a85b-4ff7-abaa-6f3aead286d5", "CountryCode": "XX", "OwnerIdentifier": "ACTOR01", "policy:Criteria": { "policy:Criteria": { "policy:IPPolicyCriteria": { "policy:SourceIPRange": { "tp:Criteria": { "tp:Criteria": [{ "tp:IPPolicyCriteria": { "tp:SourceIPRange": { "etsi:IPv4CIDR": "203.0.113.0/24" } } } }] }, "policy:Action": { "tp:Action": { "common:Owner": "ETSI", "common:Name": "PolicyAction", "common:Value": "PDSR" Loading @@ -59,8 +59,8 @@ "ObjectIdentifier": "55e25c0a-787b-4049-b7fb-518a13a9483b", "CountryCode": "XX", "OwnerIdentifier": "ACTOR01", "policy:TrafficPolicyName": "Template Rule 1", "policy:TrafficRules": { "tp:TrafficPolicyName": "Template Rule 1", "tp:TrafficRules": { "policy:TrafficRuleReference": { "policy:Order": "1", "policy:ObjectIdentifier": "f69eb93b-a85b-4ff7-abaa-6f3aead286d5" Loading 103120/schema/json/ts_103120_Authorisation.schema.json +10 −5 Original line number Diff line number Diff line Loading @@ -97,7 +97,8 @@ "required": [ "@xsi:type", "ObjectIdentifier" ] ], "additionalProperties": false }, "AuthorisationFlags": { "type": "object", Loading @@ -109,7 +110,8 @@ } } }, "required": [] "required": [], "additionalProperties": false }, "AuthorisationTimespan": { "type": "object", Loading @@ -121,7 +123,8 @@ "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" } }, "required": [] "required": [], "additionalProperties": false }, "AuthorisationCSPID": { "type": "object", Loading @@ -134,7 +137,8 @@ "minItems": 1 } }, "required": [] "required": [], "additionalProperties": false }, "NationalAuthorisationParameters": { "type": "object", Loading @@ -145,7 +149,8 @@ }, "required": [ "auth:CountryCode" ] ], "additionalProperties": false } } } 103120/schema/json/ts_103120_Common.schema.json +16 −8 Original line number Diff line number Diff line Loading @@ -23,7 +23,8 @@ } } }, "required": [] "required": [], "additionalProperties": false }, "DictionaryEntry": { "type": "object", Loading @@ -42,7 +43,8 @@ "common:Owner", "common:Name", "common:Value" ] ], "additionalProperties": false }, "ApprovalDetails": { "type": "object", Loading Loading @@ -72,7 +74,8 @@ "$ref": "#/$defs/ApprovalNationalDetails" } }, "required": [] "required": [], "additionalProperties": false }, "ApproverDetails": { "type": "object", Loading @@ -93,7 +96,8 @@ } } }, "required": [] "required": [], "additionalProperties": false }, "ApproverIdentity": { "oneOf": [ Loading Loading @@ -123,7 +127,8 @@ "$ref": "ts_103280_2017_07#/$defs/InternationalE164" } }, "required": [] "required": [], "additionalProperties": false }, "NationalApproverIdentity": { "type": "object", Loading @@ -134,7 +139,8 @@ }, "required": [ "common:CountryCode" ] ], "additionalProperties": false }, "ApprovalDigitalSignature": { "oneOf": [ Loading @@ -160,7 +166,8 @@ }, "required": [ "common:CountryCode" ] ], "additionalProperties": false }, "NationalDigitalSignature": { "type": "object", Loading @@ -171,7 +178,8 @@ }, "required": [ "common:CountryCode" ] ], "additionalProperties": false } } } 103120/schema/json/ts_103120_Core.schema.json +57 −26 Original line number Diff line number Diff line Loading @@ -32,7 +32,13 @@ "required": [ "Header", "Payload" ] ], "additionalProperties": false, "patternProperties": { "^@": { "type": "string" } } }, "MessageHeader": { "type": "object", Loading @@ -59,7 +65,8 @@ "TransactionIdentifier", "Timestamp", "Version" ] ], "additionalProperties": false }, "Version": { "type": "object", Loading @@ -78,7 +85,8 @@ "ETSIVersion", "NationalProfileOwner", "NationalProfileVersion" ] ], "additionalProperties": false }, "EndpointID": { "type": "object", Loading @@ -93,7 +101,8 @@ "required": [ "CountryCode", "UniqueIdentifier" ] ], "additionalProperties": false }, "MessagePayload": { "oneOf": [ Loading Loading @@ -130,7 +139,8 @@ }, "required": [ "ActionRequests" ] ], "additionalProperties": false }, "ActionRequests": { "type": "object", Loading @@ -143,7 +153,8 @@ "minItems": 1 } }, "required": [] "required": [], "additionalProperties": false }, "ResponsePayload": { "oneOf": [ Loading Loading @@ -182,7 +193,8 @@ "minItems": 1 } }, "required": [] "required": [], "additionalProperties": false }, "ActionRequest": { "allOf": [ Loading Loading @@ -268,7 +280,8 @@ } ] } ] ], "unevaluatedProperties": false }, "ActionResponse": { "allOf": [ Loading Loading @@ -365,7 +378,8 @@ } ] } ] ], "unevaluatedProperties": false }, "GETRequest": { "type": "object", Loading @@ -376,7 +390,8 @@ }, "required": [ "Identifier" ] ], "additionalProperties": false }, "GETResponse": { "type": "object", Loading @@ -387,7 +402,8 @@ }, "required": [ "HI1Object" ] ], "additionalProperties": false }, "CREATERequest": { "type": "object", Loading @@ -398,7 +414,8 @@ }, "required": [ "HI1Object" ] ], "additionalProperties": false }, "CREATEResponse": { "type": "object", Loading @@ -412,7 +429,8 @@ }, "required": [ "Identifier" ] ], "additionalProperties": false }, "UPDATERequest": { "type": "object", Loading @@ -423,7 +441,8 @@ }, "required": [ "HI1Object" ] ], "additionalProperties": false }, "UPDATEResponse": { "type": "object", Loading @@ -437,7 +456,8 @@ }, "required": [ "Identifier" ] ], "additionalProperties": false }, "LISTRequest": { "type": "object", Loading @@ -449,7 +469,8 @@ "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" } }, "required": [] "required": [], "additionalProperties": false }, "LISTResponse": { "type": "object", Loading @@ -461,7 +482,8 @@ } } }, "required": [] "required": [], "additionalProperties": false }, "ListResponseRecord": { "type": "object", Loading Loading @@ -493,7 +515,8 @@ "ObjectType", "Identifier", "Generation" ] ], "additionalProperties": false }, "ActionUnsuccesfulInformation": { "type": "object", Loading @@ -509,7 +532,8 @@ "required": [ "ErrorCode", "ErrorDescription" ] ], "additionalProperties": false }, "DELIVERRequest": { "type": "object", Loading @@ -524,7 +548,8 @@ "required": [ "Identifier", "HI1Object" ] ], "additionalProperties": false }, "DELIVERResponse": { "type": "object", Loading @@ -535,12 +560,14 @@ }, "required": [ "Identifier" ] ], "additionalProperties": false }, "GETCSPCONFIGRequest": { "type": "object", "properties": {}, "required": [] "required": [], "additionalProperties": false }, "GETCSPCONFIGResponse": { "type": "object", Loading @@ -565,7 +592,8 @@ "required": [ "LastChanged", "TargetingConfigurations" ] ], "additionalProperties": false }, "HI1Object": { "type": "object", Loading Loading @@ -598,7 +626,8 @@ }, "required": [ "ObjectIdentifier" ] ], "additionalProperties": false }, "AssociatedObjects": { "type": "object", Loading @@ -610,7 +639,8 @@ } } }, "required": [] "required": [], "additionalProperties": false }, "NationalHandlingParameters": { "type": "object", Loading @@ -621,7 +651,8 @@ }, "required": [ "CountryCode" ] ], "additionalProperties": false }, "ConcreteHI1Object": { "oneOf": [ Loading Loading
103120/examples/json/request1_bad.json 0 → 100644 +97 −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", "Header": { "bad" : "bad", "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/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": 1, "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:DeliveryType": { "common:Owner": "ETSI", "common:Name": "TaskDeliveryType", "common:Value": "IRIandCC" }, "task:DeliveryDetails": { "task:DeliveryDestination": [ { "task:DeliveryAddress": { "task:IPv4Address": "192.0.2.0" } } ] }, "task:CSPID": { "CountryCode": "XX", "UniqueIdentifier": "RECVER01" } } } } ] } } } }
103120/examples/json/request7-TrafficPolicyObject.json +9 −9 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ "@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:tp": "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": { Loading Loading @@ -34,16 +34,16 @@ "ObjectIdentifier": "f69eb93b-a85b-4ff7-abaa-6f3aead286d5", "CountryCode": "XX", "OwnerIdentifier": "ACTOR01", "policy:Criteria": { "policy:Criteria": { "policy:IPPolicyCriteria": { "policy:SourceIPRange": { "tp:Criteria": { "tp:Criteria": [{ "tp:IPPolicyCriteria": { "tp:SourceIPRange": { "etsi:IPv4CIDR": "203.0.113.0/24" } } } }] }, "policy:Action": { "tp:Action": { "common:Owner": "ETSI", "common:Name": "PolicyAction", "common:Value": "PDSR" Loading @@ -59,8 +59,8 @@ "ObjectIdentifier": "55e25c0a-787b-4049-b7fb-518a13a9483b", "CountryCode": "XX", "OwnerIdentifier": "ACTOR01", "policy:TrafficPolicyName": "Template Rule 1", "policy:TrafficRules": { "tp:TrafficPolicyName": "Template Rule 1", "tp:TrafficRules": { "policy:TrafficRuleReference": { "policy:Order": "1", "policy:ObjectIdentifier": "f69eb93b-a85b-4ff7-abaa-6f3aead286d5" Loading
103120/schema/json/ts_103120_Authorisation.schema.json +10 −5 Original line number Diff line number Diff line Loading @@ -97,7 +97,8 @@ "required": [ "@xsi:type", "ObjectIdentifier" ] ], "additionalProperties": false }, "AuthorisationFlags": { "type": "object", Loading @@ -109,7 +110,8 @@ } } }, "required": [] "required": [], "additionalProperties": false }, "AuthorisationTimespan": { "type": "object", Loading @@ -121,7 +123,8 @@ "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" } }, "required": [] "required": [], "additionalProperties": false }, "AuthorisationCSPID": { "type": "object", Loading @@ -134,7 +137,8 @@ "minItems": 1 } }, "required": [] "required": [], "additionalProperties": false }, "NationalAuthorisationParameters": { "type": "object", Loading @@ -145,7 +149,8 @@ }, "required": [ "auth:CountryCode" ] ], "additionalProperties": false } } }
103120/schema/json/ts_103120_Common.schema.json +16 −8 Original line number Diff line number Diff line Loading @@ -23,7 +23,8 @@ } } }, "required": [] "required": [], "additionalProperties": false }, "DictionaryEntry": { "type": "object", Loading @@ -42,7 +43,8 @@ "common:Owner", "common:Name", "common:Value" ] ], "additionalProperties": false }, "ApprovalDetails": { "type": "object", Loading Loading @@ -72,7 +74,8 @@ "$ref": "#/$defs/ApprovalNationalDetails" } }, "required": [] "required": [], "additionalProperties": false }, "ApproverDetails": { "type": "object", Loading @@ -93,7 +96,8 @@ } } }, "required": [] "required": [], "additionalProperties": false }, "ApproverIdentity": { "oneOf": [ Loading Loading @@ -123,7 +127,8 @@ "$ref": "ts_103280_2017_07#/$defs/InternationalE164" } }, "required": [] "required": [], "additionalProperties": false }, "NationalApproverIdentity": { "type": "object", Loading @@ -134,7 +139,8 @@ }, "required": [ "common:CountryCode" ] ], "additionalProperties": false }, "ApprovalDigitalSignature": { "oneOf": [ Loading @@ -160,7 +166,8 @@ }, "required": [ "common:CountryCode" ] ], "additionalProperties": false }, "NationalDigitalSignature": { "type": "object", Loading @@ -171,7 +178,8 @@ }, "required": [ "common:CountryCode" ] ], "additionalProperties": false } } }
103120/schema/json/ts_103120_Core.schema.json +57 −26 Original line number Diff line number Diff line Loading @@ -32,7 +32,13 @@ "required": [ "Header", "Payload" ] ], "additionalProperties": false, "patternProperties": { "^@": { "type": "string" } } }, "MessageHeader": { "type": "object", Loading @@ -59,7 +65,8 @@ "TransactionIdentifier", "Timestamp", "Version" ] ], "additionalProperties": false }, "Version": { "type": "object", Loading @@ -78,7 +85,8 @@ "ETSIVersion", "NationalProfileOwner", "NationalProfileVersion" ] ], "additionalProperties": false }, "EndpointID": { "type": "object", Loading @@ -93,7 +101,8 @@ "required": [ "CountryCode", "UniqueIdentifier" ] ], "additionalProperties": false }, "MessagePayload": { "oneOf": [ Loading Loading @@ -130,7 +139,8 @@ }, "required": [ "ActionRequests" ] ], "additionalProperties": false }, "ActionRequests": { "type": "object", Loading @@ -143,7 +153,8 @@ "minItems": 1 } }, "required": [] "required": [], "additionalProperties": false }, "ResponsePayload": { "oneOf": [ Loading Loading @@ -182,7 +193,8 @@ "minItems": 1 } }, "required": [] "required": [], "additionalProperties": false }, "ActionRequest": { "allOf": [ Loading Loading @@ -268,7 +280,8 @@ } ] } ] ], "unevaluatedProperties": false }, "ActionResponse": { "allOf": [ Loading Loading @@ -365,7 +378,8 @@ } ] } ] ], "unevaluatedProperties": false }, "GETRequest": { "type": "object", Loading @@ -376,7 +390,8 @@ }, "required": [ "Identifier" ] ], "additionalProperties": false }, "GETResponse": { "type": "object", Loading @@ -387,7 +402,8 @@ }, "required": [ "HI1Object" ] ], "additionalProperties": false }, "CREATERequest": { "type": "object", Loading @@ -398,7 +414,8 @@ }, "required": [ "HI1Object" ] ], "additionalProperties": false }, "CREATEResponse": { "type": "object", Loading @@ -412,7 +429,8 @@ }, "required": [ "Identifier" ] ], "additionalProperties": false }, "UPDATERequest": { "type": "object", Loading @@ -423,7 +441,8 @@ }, "required": [ "HI1Object" ] ], "additionalProperties": false }, "UPDATEResponse": { "type": "object", Loading @@ -437,7 +456,8 @@ }, "required": [ "Identifier" ] ], "additionalProperties": false }, "LISTRequest": { "type": "object", Loading @@ -449,7 +469,8 @@ "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" } }, "required": [] "required": [], "additionalProperties": false }, "LISTResponse": { "type": "object", Loading @@ -461,7 +482,8 @@ } } }, "required": [] "required": [], "additionalProperties": false }, "ListResponseRecord": { "type": "object", Loading Loading @@ -493,7 +515,8 @@ "ObjectType", "Identifier", "Generation" ] ], "additionalProperties": false }, "ActionUnsuccesfulInformation": { "type": "object", Loading @@ -509,7 +532,8 @@ "required": [ "ErrorCode", "ErrorDescription" ] ], "additionalProperties": false }, "DELIVERRequest": { "type": "object", Loading @@ -524,7 +548,8 @@ "required": [ "Identifier", "HI1Object" ] ], "additionalProperties": false }, "DELIVERResponse": { "type": "object", Loading @@ -535,12 +560,14 @@ }, "required": [ "Identifier" ] ], "additionalProperties": false }, "GETCSPCONFIGRequest": { "type": "object", "properties": {}, "required": [] "required": [], "additionalProperties": false }, "GETCSPCONFIGResponse": { "type": "object", Loading @@ -565,7 +592,8 @@ "required": [ "LastChanged", "TargetingConfigurations" ] ], "additionalProperties": false }, "HI1Object": { "type": "object", Loading Loading @@ -598,7 +626,8 @@ }, "required": [ "ObjectIdentifier" ] ], "additionalProperties": false }, "AssociatedObjects": { "type": "object", Loading @@ -610,7 +639,8 @@ } } }, "required": [] "required": [], "additionalProperties": false }, "NationalHandlingParameters": { "type": "object", Loading @@ -621,7 +651,8 @@ }, "required": [ "CountryCode" ] ], "additionalProperties": false }, "ConcreteHI1Object": { "oneOf": [ Loading