diff --git a/103120/schema/json/ts_103120_Authorisation.schema.json b/103120/schema/json/ts_103120_Authorisation.schema.json index d543a2c6cc3d41f64d3c952613656c0372119514..1c9a68ff3b802d056ed59f805808d31b2fed2c8e 100644 --- a/103120/schema/json/ts_103120_Authorisation.schema.json +++ b/103120/schema/json/ts_103120_Authorisation.schema.json @@ -1,148 +1,148 @@ -{ - "$id": "ts_103120_Authorisation_2020_09", - "$defs": { - "AuthorisationObject": { - "type": "object", - "properties": { - "@xsi:type": { - "type": "string", - "enum": "{http://uri.etsi.org/03120/common/2020/09/Authorisation}AuthorisationObject" - }, - "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" - }, - "auth:AuthorisationReference": { - "$ref": "ts_103280_2017_07#/$defs/LongString" - }, - "auth:AuthorisationLegalType": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "auth:AuthorisationPriority": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "auth:AuthorisationStatus": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "auth:AuthorisationDesiredStatus": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "auth:AuthorisationTimespan": { - "$ref": "#/$defs/AuthorisationTimespan" - }, - "auth:AuthorisationCSPID": { - "$ref": "#/$defs/AuthorisationCSPID" - }, - "auth:AuthorisationCreationTimestamp": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - }, - "auth:AuthorisationServedTimestamp": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - }, - "auth:AuthorisationTerminationTimestamp": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - }, - "auth:AuthorisationApprovalDetails": { - "type": "array", - "items": { - "$ref": "ts_103120_Common_2016_02#/$defs/ApprovalDetails" - } - }, - "auth:AuthorisationInvalidReason": { - "$ref": "ts_103120_Core_2019_10#/$defs/ActionUnsuccesfulInformation" - }, - "auth:AuthorisationFlags": { - "$ref": "#/$defs/AuthorisationFlags" - }, - "auth:AuthorisationManualInformation": { - "$ref": "ts_103280_2017_07#/$defs/LongString" - }, - "auth:NationalAuthorisationParameters": { - "$ref": "#/$defs/NationalAuthorisationParameters" - }, - "auth:AuthorisationJurisdiction": { - "$ref": "ts_103280_2017_07#/$defs/LongString" - }, - "auth:AuthorisationTypeOfCase": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "auth:AuthorisationLegalEntity": { - "$ref": "ts_103280_2017_07#/$defs/ShortString" - } - }, - "required": [ - "@xsi:type", - "ObjectIdentifier" - ] - }, - "AuthorisationFlags": { - "type": "object", - "properties": { - "auth:AuthorisationFlag": { - "type": "array", - "items": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - } - } - }, - "required": [] - }, - "AuthorisationTimespan": { - "type": "object", - "properties": { - "auth:StartTime": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - }, - "auth:EndTime": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - } - }, - "required": [] - }, - "AuthorisationCSPID": { - "type": "object", - "properties": { - "auth:CSPID": { - "type": "array", - "items": { - "$ref": "ts_103120_Core_2019_10#/$defs/EndpointID" - }, - "minItems": 1 - } - }, - "required": [] - }, - "NationalAuthorisationParameters": { - "type": "object", - "properties": { - "auth:CountryCode": { - "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" - } - }, - "required": [ - "auth:CountryCode" - ] - } - } +{ + "$id": "ts_103120_Authorisation_2020_09", + "$defs": { + "AuthorisationObject": { + "type": "object", + "properties": { + "@xsi:type": { + "type": "string", + "enum": "{http://uri.etsi.org/03120/common/2020/09/Authorisation}AuthorisationObject" + }, + "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" + }, + "auth:AuthorisationReference": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + }, + "auth:AuthorisationLegalType": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "auth:AuthorisationPriority": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "auth:AuthorisationStatus": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "auth:AuthorisationDesiredStatus": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "auth:AuthorisationTimespan": { + "$ref": "#/$defs/AuthorisationTimespan" + }, + "auth:AuthorisationCSPID": { + "$ref": "#/$defs/AuthorisationCSPID" + }, + "auth:AuthorisationCreationTimestamp": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + }, + "auth:AuthorisationServedTimestamp": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + }, + "auth:AuthorisationTerminationTimestamp": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + }, + "auth:AuthorisationApprovalDetails": { + "type": "array", + "items": { + "$ref": "ts_103120_Common_2016_02#/$defs/ApprovalDetails" + } + }, + "auth:AuthorisationInvalidReason": { + "$ref": "ts_103120_Core_2019_10#/$defs/ActionUnsuccesfulInformation" + }, + "auth:AuthorisationFlags": { + "$ref": "#/$defs/AuthorisationFlags" + }, + "auth:AuthorisationManualInformation": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + }, + "auth:NationalAuthorisationParameters": { + "$ref": "#/$defs/NationalAuthorisationParameters" + }, + "auth:AuthorisationJurisdiction": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + }, + "auth:AuthorisationTypeOfCase": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "auth:AuthorisationLegalEntity": { + "$ref": "ts_103280_2017_07#/$defs/ShortString" + } + }, + "required": [ + "@xsi:type", + "ObjectIdentifier" + ] + }, + "AuthorisationFlags": { + "type": "object", + "properties": { + "auth:AuthorisationFlag": { + "type": "array", + "items": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + } + } + }, + "required": [] + }, + "AuthorisationTimespan": { + "type": "object", + "properties": { + "auth:StartTime": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + }, + "auth:EndTime": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + } + }, + "required": [] + }, + "AuthorisationCSPID": { + "type": "object", + "properties": { + "auth:CSPID": { + "type": "array", + "items": { + "$ref": "ts_103120_Core_2019_10#/$defs/EndpointID" + }, + "minItems": 1 + } + }, + "required": [] + }, + "NationalAuthorisationParameters": { + "type": "object", + "properties": { + "auth:CountryCode": { + "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" + } + }, + "required": [ + "auth:CountryCode" + ] + } + } } \ No newline at end of file diff --git a/103120/schema/json/ts_103120_Common.schema.json b/103120/schema/json/ts_103120_Common.schema.json index 8eb96639896cff6d897467cabb2ec0b24d8084c5..d11b4b4c22cbcf9a3c76619adf6a66da64e1ba8b 100644 --- a/103120/schema/json/ts_103120_Common.schema.json +++ b/103120/schema/json/ts_103120_Common.schema.json @@ -1,164 +1,164 @@ -{ - "$id": "ts_103120_Common_2016_02", - "$defs": { - "ETSIVersion": { - "allOf": [ - { - "$ref": "ts_103280_2017_07#/$defs/ShortString" - }, - { - "type": "string", - "pattern": "^V\\d+\\.\\d+\\.\\d+$" - } - ] - }, - "DictionaryEntry": { - "type": "object", - "properties": { - "common:Owner": { - "$ref": "ts_103280_2017_07#/$defs/ShortString" - }, - "common:Name": { - "$ref": "ts_103280_2017_07#/$defs/ShortString" - }, - "common:Value": { - "$ref": "ts_103280_2017_07#/$defs/ShortString" - } - }, - "required": [ - "common:Owner", - "common:Name", - "common:Value" - ] - }, - "ApprovalDetails": { - "type": "object", - "properties": { - "common:ApprovalType": { - "$ref": "ts_103280_2017_07#/$defs/LongString" - }, - "common:ApprovalDescription": { - "$ref": "ts_103280_2017_07#/$defs/LongString" - }, - "common:ApprovalReference": { - "$ref": "ts_103280_2017_07#/$defs/LongString" - }, - "common:ApproverDetails": { - "$ref": "#/$defs/ApproverDetails" - }, - "common:ApprovalTimestamp": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - }, - "common:ApprovalIsEmergency": { - "type": "boolean" - }, - "common:ApprovalDigitalSignature": { - "$ref": "#/$defs/ApprovalDigitalSignature" - }, - "common:ApprovalNationalDetails": { - "$ref": "#/$defs/ApprovalNationalDetails" - } - }, - "required": [] - }, - "ApproverDetails": { - "type": "object", - "properties": { - "common:ApproverName": { - "$ref": "ts_103280_2017_07#/$defs/LongString" - }, - "common:ApproverRole": { - "$ref": "ts_103280_2017_07#/$defs/LongString" - }, - "common:ApproverIdentity": { - "$ref": "#/$defs/ApproverIdentity" - }, - "common:ApproverContactDetails": { - "type": "array", - "items": { - "$ref": "#/$defs/ApproverContactDetails" - } - } - }, - "required": [] - }, - "ApproverIdentity": { - "oneOf": [ - { - "type": "object", - "properties": { - "common:NationalApproverIdentity": { - "$ref": "#/$defs/NationalApproverIdentity" - } - }, - "required": [ - "common:NationalApproverIdentity" - ] - } - ] - }, - "ApproverContactDetails": { - "type": "object", - "properties": { - "common:ApproverAlternateName": { - "$ref": "ts_103280_2017_07#/$defs/LongString" - }, - "common:ApproverEmailAddress": { - "$ref": "ts_103280_2017_07#/$defs/InternationalizedEmailAddress" - }, - "common:ApproverPhoneNumber": { - "$ref": "ts_103280_2017_07#/$defs/InternationalE164" - } - }, - "required": [] - }, - "NationalApproverIdentity": { - "type": "object", - "properties": { - "common:CountryCode": { - "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" - } - }, - "required": [ - "common:CountryCode" - ] - }, - "ApprovalDigitalSignature": { - "oneOf": [ - { - "type": "object", - "properties": { - "common:NationalDigitalSignature": { - "$ref": "#/$defs/NationalDigitalSignature" - } - }, - "required": [ - "common:NationalDigitalSignature" - ] - } - ] - }, - "ApprovalNationalDetails": { - "type": "object", - "properties": { - "common:CountryCode": { - "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" - } - }, - "required": [ - "common:CountryCode" - ] - }, - "NationalDigitalSignature": { - "type": "object", - "properties": { - "common:CountryCode": { - "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" - } - }, - "required": [ - "common:CountryCode" - ] - } - } +{ + "$id": "ts_103120_Common_2016_02", + "$defs": { + "ETSIVersion": { + "allOf": [ + { + "$ref": "ts_103280_2017_07#/$defs/ShortString" + }, + { + "type": "string", + "pattern": "^V\\d+\\.\\d+\\.\\d+$" + } + ] + }, + "DictionaryEntry": { + "type": "object", + "properties": { + "common:Owner": { + "$ref": "ts_103280_2017_07#/$defs/ShortString" + }, + "common:Name": { + "$ref": "ts_103280_2017_07#/$defs/ShortString" + }, + "common:Value": { + "$ref": "ts_103280_2017_07#/$defs/ShortString" + } + }, + "required": [ + "common:Owner", + "common:Name", + "common:Value" + ] + }, + "ApprovalDetails": { + "type": "object", + "properties": { + "common:ApprovalType": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + }, + "common:ApprovalDescription": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + }, + "common:ApprovalReference": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + }, + "common:ApproverDetails": { + "$ref": "#/$defs/ApproverDetails" + }, + "common:ApprovalTimestamp": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + }, + "common:ApprovalIsEmergency": { + "type": "boolean" + }, + "common:ApprovalDigitalSignature": { + "$ref": "#/$defs/ApprovalDigitalSignature" + }, + "common:ApprovalNationalDetails": { + "$ref": "#/$defs/ApprovalNationalDetails" + } + }, + "required": [] + }, + "ApproverDetails": { + "type": "object", + "properties": { + "common:ApproverName": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + }, + "common:ApproverRole": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + }, + "common:ApproverIdentity": { + "$ref": "#/$defs/ApproverIdentity" + }, + "common:ApproverContactDetails": { + "type": "array", + "items": { + "$ref": "#/$defs/ApproverContactDetails" + } + } + }, + "required": [] + }, + "ApproverIdentity": { + "oneOf": [ + { + "type": "object", + "properties": { + "common:NationalApproverIdentity": { + "$ref": "#/$defs/NationalApproverIdentity" + } + }, + "required": [ + "common:NationalApproverIdentity" + ] + } + ] + }, + "ApproverContactDetails": { + "type": "object", + "properties": { + "common:ApproverAlternateName": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + }, + "common:ApproverEmailAddress": { + "$ref": "ts_103280_2017_07#/$defs/InternationalizedEmailAddress" + }, + "common:ApproverPhoneNumber": { + "$ref": "ts_103280_2017_07#/$defs/InternationalE164" + } + }, + "required": [] + }, + "NationalApproverIdentity": { + "type": "object", + "properties": { + "common:CountryCode": { + "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" + } + }, + "required": [ + "common:CountryCode" + ] + }, + "ApprovalDigitalSignature": { + "oneOf": [ + { + "type": "object", + "properties": { + "common:NationalDigitalSignature": { + "$ref": "#/$defs/NationalDigitalSignature" + } + }, + "required": [ + "common:NationalDigitalSignature" + ] + } + ] + }, + "ApprovalNationalDetails": { + "type": "object", + "properties": { + "common:CountryCode": { + "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" + } + }, + "required": [ + "common:CountryCode" + ] + }, + "NationalDigitalSignature": { + "type": "object", + "properties": { + "common:CountryCode": { + "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" + } + }, + "required": [ + "common:CountryCode" + ] + } + } } \ No newline at end of file diff --git a/103120/schema/json/ts_103120_Core.schema.json b/103120/schema/json/ts_103120_Core.schema.json index 2e254ff2c6b64037979d45c7ade0e13df9c3f1d2..63e2ad484c3ae7f709be33f17c0a23ec4a2872c8 100644 --- a/103120/schema/json/ts_103120_Core.schema.json +++ b/103120/schema/json/ts_103120_Core.schema.json @@ -1,606 +1,606 @@ -{ - "$id": "ts_103120_Core_2019_10", - "$defs": { - "ObjectIdentifier": { - "$ref": "ts_103280_2017_07#/$defs/UUID" - }, - "HI1Message": { - "type": "object", - "properties": { - "Header": { - "$ref": "#/$defs/MessageHeader" - }, - "Payload": { - "$ref": "#/$defs/MessagePayload" - }, - "Signature": { - "properties": { - "protected": { - "type": "string" - }, - "signature": { - "type": "string" - } - }, - "required": [ - "protected", - "signature" - ] - } - }, - "required": [ - "Header", - "Payload" - ] - }, - "MessageHeader": { - "type": "object", - "properties": { - "SenderIdentifier": { - "$ref": "#/$defs/EndpointID" - }, - "ReceiverIdentifier": { - "$ref": "#/$defs/EndpointID" - }, - "TransactionIdentifier": { - "$ref": "ts_103280_2017_07#/$defs/UUID" - }, - "Timestamp": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedMicrosecondDateTime" - }, - "Version": { - "$ref": "#/$defs/Version" - } - }, - "required": [ - "SenderIdentifier", - "ReceiverIdentifier", - "TransactionIdentifier", - "Timestamp", - "Version" - ] - }, - "Version": { - "type": "object", - "properties": { - "ETSIVersion": { - "$ref": "ts_103120_Common_2016_02#/$defs/ETSIVersion" - }, - "NationalProfileOwner": { - "$ref": "ts_103280_2017_07#/$defs/ShortString" - }, - "NationalProfileVersion": { - "$ref": "ts_103280_2017_07#/$defs/ShortString" - } - }, - "required": [ - "ETSIVersion", - "NationalProfileOwner", - "NationalProfileVersion" - ] - }, - "EndpointID": { - "type": "object", - "properties": { - "CountryCode": { - "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" - }, - "UniqueIdentifier": { - "$ref": "ts_103280_2017_07#/$defs/LongString" - } - }, - "required": [ - "CountryCode", - "UniqueIdentifier" - ] - }, - "MessagePayload": { - "oneOf": [ - { - "type": "object", - "properties": { - "RequestPayload": { - "$ref": "#/$defs/RequestPayload" - } - }, - "required": [ - "RequestPayload" - ] - }, - { - "type": "object", - "properties": { - "ResponsePayload": { - "$ref": "#/$defs/ResponsePayload" - } - }, - "required": [ - "ResponsePayload" - ] - } - ] - }, - "RequestPayload": { - "type": "object", - "properties": { - "ActionRequests": { - "$ref": "#/$defs/ActionRequests" - } - }, - "required": [ - "ActionRequests" - ] - }, - "ActionRequests": { - "type": "object", - "properties": { - "ActionRequest": { - "type": "array", - "items": { - "$ref": "#/$defs/ActionRequest" - }, - "minItems": 1 - } - }, - "required": [] - }, - "ResponsePayload": { - "oneOf": [ - { - "type": "object", - "properties": { - "ActionResponses": { - "$ref": "#/$defs/ActionResponses" - } - }, - "required": [ - "ActionResponses" - ] - }, - { - "type": "object", - "properties": { - "ErrorInformation": { - "$ref": "#/$defs/ActionUnsuccesfulInformation" - } - }, - "required": [ - "ErrorInformation" - ] - } - ] - }, - "ActionResponses": { - "type": "object", - "properties": { - "ActionResponse": { - "type": "array", - "items": { - "$ref": "#/$defs/ActionResponse" - }, - "minItems": 1 - } - }, - "required": [] - }, - "ActionRequest": { - "allOf": [ - { - "type": "object", - "properties": { - "ActionIdentifier": { - "type": "integer", - "minimum": 0 - } - }, - "required": [ - "ActionIdentifier" - ] - }, - { - "oneOf": [ - { - "type": "object", - "properties": { - "GET": { - "$ref": "#/$defs/GETRequest" - } - }, - "required": [ - "GET" - ] - }, - { - "type": "object", - "properties": { - "CREATE": { - "$ref": "#/$defs/CREATERequest" - } - }, - "required": [ - "CREATE" - ] - }, - { - "type": "object", - "properties": { - "UPDATE": { - "$ref": "#/$defs/UPDATERequest" - } - }, - "required": [ - "UPDATE" - ] - }, - { - "type": "object", - "properties": { - "LIST": { - "$ref": "#/$defs/LISTRequest" - } - }, - "required": [ - "LIST" - ] - }, - { - "type": "object", - "properties": { - "DELIVER": { - "$ref": "#/$defs/DELIVERRequest" - } - }, - "required": [ - "DELIVER" - ] - } - ] - } - ] - }, - "ActionResponse": { - "allOf": [ - { - "type": "object", - "properties": { - "ActionIdentifier": { - "type": "integer", - "minimum": 0 - } - }, - "required": [ - "ActionIdentifier" - ] - }, - { - "oneOf": [ - { - "type": "object", - "properties": { - "GETResponse": { - "$ref": "#/$defs/GETResponse" - } - }, - "required": [ - "GETResponse" - ] - }, - { - "type": "object", - "properties": { - "CREATEResponse": { - "$ref": "#/$defs/CREATEResponse" - } - }, - "required": [ - "CREATEResponse" - ] - }, - { - "type": "object", - "properties": { - "UPDATEResponse": { - "$ref": "#/$defs/UPDATEResponse" - } - }, - "required": [ - "UPDATEResponse" - ] - }, - { - "type": "object", - "properties": { - "LISTResponse": { - "$ref": "#/$defs/LISTResponse" - } - }, - "required": [ - "LISTResponse" - ] - }, - { - "type": "object", - "properties": { - "ErrorInformation": { - "$ref": "#/$defs/ActionUnsuccesfulInformation" - } - }, - "required": [ - "ErrorInformation" - ] - }, - { - "type": "object", - "properties": { - "DELIVERResponse": { - "$ref": "#/$defs/DELIVERResponse" - } - }, - "required": [ - "DELIVERResponse" - ] - } - ] - } - ] - }, - "GETRequest": { - "type": "object", - "properties": { - "Identifier": { - "$ref": "#/$defs/ObjectIdentifier" - } - }, - "required": [ - "Identifier" - ] - }, - "GETResponse": { - "type": "object", - "properties": { - "HI1Object": { - "$ref": "#/$defs/ConcreteHI1Object" - } - }, - "required": [ - "HI1Object" - ] - }, - "CREATERequest": { - "type": "object", - "properties": { - "HI1Object": { - "$ref": "#/$defs/ConcreteHI1Object" - } - }, - "required": [ - "HI1Object" - ] - }, - "CREATEResponse": { - "type": "object", - "properties": { - "Identifier": { - "$ref": "#/$defs/ObjectIdentifier" - }, - "HI1Object": { - "$ref": "#/$defs/ConcreteHI1Object" - } - }, - "required": [ - "Identifier" - ] - }, - "UPDATERequest": { - "type": "object", - "properties": { - "HI1Object": { - "$ref": "#/$defs/ConcreteHI1Object" - } - }, - "required": [ - "HI1Object" - ] - }, - "UPDATEResponse": { - "type": "object", - "properties": { - "Identifier": { - "$ref": "#/$defs/ObjectIdentifier" - }, - "HI1Object": { - "$ref": "#/$defs/ConcreteHI1Object" - } - }, - "required": [ - "Identifier" - ] - }, - "LISTRequest": { - "type": "object", - "properties": { - "ObjectType": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "LastChanged": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - } - }, - "required": [] - }, - "LISTResponse": { - "type": "object", - "properties": { - "ListResponseRecord": { - "type": "array", - "items": { - "$ref": "#/$defs/ListResponseRecord" - } - } - }, - "required": [] - }, - "ListResponseRecord": { - "type": "object", - "properties": { - "ObjectType": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "Identifier": { - "$ref": "#/$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" - }, - "LastChanged": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - } - }, - "required": [ - "ObjectType", - "Identifier", - "Generation" - ] - }, - "ActionUnsuccesfulInformation": { - "type": "object", - "properties": { - "ErrorCode": { - "type": "integer", - "minimum": 0 - }, - "ErrorDescription": { - "$ref": "ts_103280_2017_07#/$defs/LongString" - } - }, - "required": [ - "ErrorCode", - "ErrorDescription" - ] - }, - "DELIVERRequest": { - "type": "object", - "properties": { - "Identifier": { - "$ref": "#/$defs/ObjectIdentifier" - }, - "HI1Object": { - "$ref": "#/$defs/ConcreteHI1Object" - } - }, - "required": [ - "Identifier", - "HI1Object" - ] - }, - "DELIVERResponse": { - "type": "object", - "properties": { - "Identifier": { - "$ref": "#/$defs/ObjectIdentifier" - } - }, - "required": [ - "Identifier" - ] - }, - "HI1Object": { - "type": "object", - "properties": { - "ObjectIdentifier": { - "$ref": "#/$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": "#/$defs/AssociatedObjects" - }, - "LastChanged": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - }, - "NationalHandlingParameters": { - "$ref": "#/$defs/NationalHandlingParameters" - } - }, - "required": [ - "ObjectIdentifier" - ] - }, - "AssociatedObjects": { - "type": "object", - "properties": { - "AssociatedObject": { - "type": "array", - "items": { - "$ref": "#/$defs/ObjectIdentifier" - } - } - }, - "required": [] - }, - "NationalHandlingParameters": { - "type": "object", - "properties": { - "CountryCode": { - "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" - } - }, - "required": [ - "CountryCode" - ] - }, - "ConcreteHI1Object": { - "oneOf": [ - { - "$ref": "ts_103120_Authorisation_2020_09#/$defs/AuthorisationObject" - }, - { - "$ref": "ts_103120_Task_2020_09#/$defs/LITaskObject" - }, - { - "$ref": "ts_103120_Task_2020_09#/$defs/LPTaskObject" - }, - { - "$ref": "ts_103120_Task_2020_09#/$defs/LDTaskObject" - }, - { - "$ref": "ts_103120_Document_2020_09#/$defs/DocumentObject" - }, - { - "$ref": "ts_103120_Notification_2016_02#/$defs/NotificationObject" - }, - { - "$ref": "ts_103120_Delivery_2019_10#/$defs/DeliveryObject" - }, - { - "$ref": "ts_103120_TrafficPolicy_2022_07#/$defs/TrafficPolicyObject" - }, - { - "$ref": "ts_103120_TrafficPolicy_2022_07#/$defs/TrafficRuleObject" - } - ] - } - }, - "$ref": "#/$defs/HI1Message" +{ + "$id": "ts_103120_Core_2019_10", + "$defs": { + "ObjectIdentifier": { + "$ref": "ts_103280_2017_07#/$defs/UUID" + }, + "HI1Message": { + "type": "object", + "properties": { + "Header": { + "$ref": "#/$defs/MessageHeader" + }, + "Payload": { + "$ref": "#/$defs/MessagePayload" + }, + "Signature": { + "properties": { + "protected": { + "type": "string" + }, + "signature": { + "type": "string" + } + }, + "required": [ + "protected", + "signature" + ] + } + }, + "required": [ + "Header", + "Payload" + ] + }, + "MessageHeader": { + "type": "object", + "properties": { + "SenderIdentifier": { + "$ref": "#/$defs/EndpointID" + }, + "ReceiverIdentifier": { + "$ref": "#/$defs/EndpointID" + }, + "TransactionIdentifier": { + "$ref": "ts_103280_2017_07#/$defs/UUID" + }, + "Timestamp": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedMicrosecondDateTime" + }, + "Version": { + "$ref": "#/$defs/Version" + } + }, + "required": [ + "SenderIdentifier", + "ReceiverIdentifier", + "TransactionIdentifier", + "Timestamp", + "Version" + ] + }, + "Version": { + "type": "object", + "properties": { + "ETSIVersion": { + "$ref": "ts_103120_Common_2016_02#/$defs/ETSIVersion" + }, + "NationalProfileOwner": { + "$ref": "ts_103280_2017_07#/$defs/ShortString" + }, + "NationalProfileVersion": { + "$ref": "ts_103280_2017_07#/$defs/ShortString" + } + }, + "required": [ + "ETSIVersion", + "NationalProfileOwner", + "NationalProfileVersion" + ] + }, + "EndpointID": { + "type": "object", + "properties": { + "CountryCode": { + "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" + }, + "UniqueIdentifier": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + } + }, + "required": [ + "CountryCode", + "UniqueIdentifier" + ] + }, + "MessagePayload": { + "oneOf": [ + { + "type": "object", + "properties": { + "RequestPayload": { + "$ref": "#/$defs/RequestPayload" + } + }, + "required": [ + "RequestPayload" + ] + }, + { + "type": "object", + "properties": { + "ResponsePayload": { + "$ref": "#/$defs/ResponsePayload" + } + }, + "required": [ + "ResponsePayload" + ] + } + ] + }, + "RequestPayload": { + "type": "object", + "properties": { + "ActionRequests": { + "$ref": "#/$defs/ActionRequests" + } + }, + "required": [ + "ActionRequests" + ] + }, + "ActionRequests": { + "type": "object", + "properties": { + "ActionRequest": { + "type": "array", + "items": { + "$ref": "#/$defs/ActionRequest" + }, + "minItems": 1 + } + }, + "required": [] + }, + "ResponsePayload": { + "oneOf": [ + { + "type": "object", + "properties": { + "ActionResponses": { + "$ref": "#/$defs/ActionResponses" + } + }, + "required": [ + "ActionResponses" + ] + }, + { + "type": "object", + "properties": { + "ErrorInformation": { + "$ref": "#/$defs/ActionUnsuccesfulInformation" + } + }, + "required": [ + "ErrorInformation" + ] + } + ] + }, + "ActionResponses": { + "type": "object", + "properties": { + "ActionResponse": { + "type": "array", + "items": { + "$ref": "#/$defs/ActionResponse" + }, + "minItems": 1 + } + }, + "required": [] + }, + "ActionRequest": { + "allOf": [ + { + "type": "object", + "properties": { + "ActionIdentifier": { + "type": "integer", + "minimum": 0 + } + }, + "required": [ + "ActionIdentifier" + ] + }, + { + "oneOf": [ + { + "type": "object", + "properties": { + "GET": { + "$ref": "#/$defs/GETRequest" + } + }, + "required": [ + "GET" + ] + }, + { + "type": "object", + "properties": { + "CREATE": { + "$ref": "#/$defs/CREATERequest" + } + }, + "required": [ + "CREATE" + ] + }, + { + "type": "object", + "properties": { + "UPDATE": { + "$ref": "#/$defs/UPDATERequest" + } + }, + "required": [ + "UPDATE" + ] + }, + { + "type": "object", + "properties": { + "LIST": { + "$ref": "#/$defs/LISTRequest" + } + }, + "required": [ + "LIST" + ] + }, + { + "type": "object", + "properties": { + "DELIVER": { + "$ref": "#/$defs/DELIVERRequest" + } + }, + "required": [ + "DELIVER" + ] + } + ] + } + ] + }, + "ActionResponse": { + "allOf": [ + { + "type": "object", + "properties": { + "ActionIdentifier": { + "type": "integer", + "minimum": 0 + } + }, + "required": [ + "ActionIdentifier" + ] + }, + { + "oneOf": [ + { + "type": "object", + "properties": { + "GETResponse": { + "$ref": "#/$defs/GETResponse" + } + }, + "required": [ + "GETResponse" + ] + }, + { + "type": "object", + "properties": { + "CREATEResponse": { + "$ref": "#/$defs/CREATEResponse" + } + }, + "required": [ + "CREATEResponse" + ] + }, + { + "type": "object", + "properties": { + "UPDATEResponse": { + "$ref": "#/$defs/UPDATEResponse" + } + }, + "required": [ + "UPDATEResponse" + ] + }, + { + "type": "object", + "properties": { + "LISTResponse": { + "$ref": "#/$defs/LISTResponse" + } + }, + "required": [ + "LISTResponse" + ] + }, + { + "type": "object", + "properties": { + "ErrorInformation": { + "$ref": "#/$defs/ActionUnsuccesfulInformation" + } + }, + "required": [ + "ErrorInformation" + ] + }, + { + "type": "object", + "properties": { + "DELIVERResponse": { + "$ref": "#/$defs/DELIVERResponse" + } + }, + "required": [ + "DELIVERResponse" + ] + } + ] + } + ] + }, + "GETRequest": { + "type": "object", + "properties": { + "Identifier": { + "$ref": "#/$defs/ObjectIdentifier" + } + }, + "required": [ + "Identifier" + ] + }, + "GETResponse": { + "type": "object", + "properties": { + "HI1Object": { + "$ref": "#/$defs/ConcreteHI1Object" + } + }, + "required": [ + "HI1Object" + ] + }, + "CREATERequest": { + "type": "object", + "properties": { + "HI1Object": { + "$ref": "#/$defs/ConcreteHI1Object" + } + }, + "required": [ + "HI1Object" + ] + }, + "CREATEResponse": { + "type": "object", + "properties": { + "Identifier": { + "$ref": "#/$defs/ObjectIdentifier" + }, + "HI1Object": { + "$ref": "#/$defs/ConcreteHI1Object" + } + }, + "required": [ + "Identifier" + ] + }, + "UPDATERequest": { + "type": "object", + "properties": { + "HI1Object": { + "$ref": "#/$defs/ConcreteHI1Object" + } + }, + "required": [ + "HI1Object" + ] + }, + "UPDATEResponse": { + "type": "object", + "properties": { + "Identifier": { + "$ref": "#/$defs/ObjectIdentifier" + }, + "HI1Object": { + "$ref": "#/$defs/ConcreteHI1Object" + } + }, + "required": [ + "Identifier" + ] + }, + "LISTRequest": { + "type": "object", + "properties": { + "ObjectType": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "LastChanged": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + } + }, + "required": [] + }, + "LISTResponse": { + "type": "object", + "properties": { + "ListResponseRecord": { + "type": "array", + "items": { + "$ref": "#/$defs/ListResponseRecord" + } + } + }, + "required": [] + }, + "ListResponseRecord": { + "type": "object", + "properties": { + "ObjectType": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "Identifier": { + "$ref": "#/$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" + }, + "LastChanged": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + } + }, + "required": [ + "ObjectType", + "Identifier", + "Generation" + ] + }, + "ActionUnsuccesfulInformation": { + "type": "object", + "properties": { + "ErrorCode": { + "type": "integer", + "minimum": 0 + }, + "ErrorDescription": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + } + }, + "required": [ + "ErrorCode", + "ErrorDescription" + ] + }, + "DELIVERRequest": { + "type": "object", + "properties": { + "Identifier": { + "$ref": "#/$defs/ObjectIdentifier" + }, + "HI1Object": { + "$ref": "#/$defs/ConcreteHI1Object" + } + }, + "required": [ + "Identifier", + "HI1Object" + ] + }, + "DELIVERResponse": { + "type": "object", + "properties": { + "Identifier": { + "$ref": "#/$defs/ObjectIdentifier" + } + }, + "required": [ + "Identifier" + ] + }, + "HI1Object": { + "type": "object", + "properties": { + "ObjectIdentifier": { + "$ref": "#/$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": "#/$defs/AssociatedObjects" + }, + "LastChanged": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + }, + "NationalHandlingParameters": { + "$ref": "#/$defs/NationalHandlingParameters" + } + }, + "required": [ + "ObjectIdentifier" + ] + }, + "AssociatedObjects": { + "type": "object", + "properties": { + "AssociatedObject": { + "type": "array", + "items": { + "$ref": "#/$defs/ObjectIdentifier" + } + } + }, + "required": [] + }, + "NationalHandlingParameters": { + "type": "object", + "properties": { + "CountryCode": { + "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" + } + }, + "required": [ + "CountryCode" + ] + }, + "ConcreteHI1Object": { + "oneOf": [ + { + "$ref": "ts_103120_Authorisation_2020_09#/$defs/AuthorisationObject" + }, + { + "$ref": "ts_103120_Task_2020_09#/$defs/LITaskObject" + }, + { + "$ref": "ts_103120_Task_2020_09#/$defs/LPTaskObject" + }, + { + "$ref": "ts_103120_Task_2020_09#/$defs/LDTaskObject" + }, + { + "$ref": "ts_103120_Document_2020_09#/$defs/DocumentObject" + }, + { + "$ref": "ts_103120_Notification_2016_02#/$defs/NotificationObject" + }, + { + "$ref": "ts_103120_Delivery_2019_10#/$defs/DeliveryObject" + }, + { + "$ref": "ts_103120_TrafficPolicy_2022_07#/$defs/TrafficPolicyObject" + }, + { + "$ref": "ts_103120_TrafficPolicy_2022_07#/$defs/TrafficRuleObject" + } + ] + } + }, + "$ref": "#/$defs/HI1Message" } \ No newline at end of file diff --git a/103120/schema/json/ts_103120_Delivery.schema.json b/103120/schema/json/ts_103120_Delivery.schema.json index 63aae15001eb1e397ef96b473b5853e5ffa75b43..f87f7f5844d4507a0ee1cc8b5a75a92120f71a13 100644 --- a/103120/schema/json/ts_103120_Delivery.schema.json +++ b/103120/schema/json/ts_103120_Delivery.schema.json @@ -1,232 +1,232 @@ -{ - "$id": "ts_103120_Delivery_2019_10", - "$defs": { - "DeliveryObject": { - "type": "object", - "properties": { - "@xsi:type": { - "type": "string", - "enum": "{http://uri.etsi.org/03120/common/2019/10/Delivery}DeliveryObject" - }, - "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" - }, - "delivery:Reference": { - "$ref": "#/$defs/Reference" - }, - "delivery:DeliveryID": { - "$ref": "ts_103280_2017_07#/$defs/UUID" - }, - "delivery:SequenceNumber": { - "type": "integer", - "minimum": 0 - }, - "delivery:LastSequence": { - "type": "boolean" - }, - "delivery:Manifest": { - "$ref": "#/$defs/Manifest" - }, - "delivery:Delivery": { - "$ref": "#/$defs/Delivery" - } - }, - "required": [ - "@xsi:type", - "ObjectIdentifier" - ] - }, - "Reference": { - "oneOf": [ - { - "type": "object", - "properties": { - "delivery:LDID": { - "$ref": "ts_103280_2017_07#/$defs/LDID" - } - }, - "required": [ - "delivery:LDID" - ] - }, - { - "type": "object", - "properties": { - "delivery:LIID": { - "$ref": "ts_103280_2017_07#/$defs/LIID" - } - }, - "required": [ - "delivery:LIID" - ] - } - ] - }, - "Manifest": { - "oneOf": [ - { - "type": "object", - "properties": { - "delivery:Specification": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - } - }, - "required": [ - "delivery:Specification" - ] - }, - { - "type": "object", - "properties": { - "delivery:ExternalSchema": { - "$ref": "#/$defs/ExternalSchema" - } - }, - "required": [ - "delivery:ExternalSchema" - ] - } - ] - }, - "ExternalSchema": { - "type": "object", - "properties": { - "delivery:ManifestID": { - "$ref": "ts_103280_2017_07#/$defs/LongString" - }, - "delivery:ManifestContents": { - "$ref": "#/$defs/ManifestContents" - } - }, - "required": [] - }, - "ManifestContents": { - "oneOf": [ - { - "type": "object", - "properties": { - "delivery:BinaryData": { - "$ref": "#/$defs/EmbeddedBinaryData" - } - }, - "required": [ - "delivery:BinaryData" - ] - }, - { - "type": "object", - "properties": { - "delivery:XMLSchema": { - "$ref": "#/$defs/SchemaContent" - } - }, - "required": [ - "delivery:XMLSchema" - ] - }, - { - "type": "object", - "properties": { - "delivery:JSONSchema": { - "$ref": "#/$defs/EmbeddedJSONData" - } - }, - "required": [ - "delivery:JSONSchema" - ] - } - ] - }, - "SchemaContent": { - "type": "object", - "properties": { - "delivery:schema": {} - }, - "required": [ - "delivery:schema" - ] - }, - "Delivery": { - "oneOf": [ - { - "type": "object", - "properties": { - "delivery:BinaryData": { - "$ref": "#/$defs/EmbeddedBinaryData" - } - }, - "required": [ - "delivery:BinaryData" - ] - }, - { - "type": "object", - "properties": { - "delivery:XMLData": { - "$ref": "#/$defs/EmbeddedXMLData" - } - }, - "required": [ - "delivery:XMLData" - ] - }, - { - "type": "object", - "properties": { - "delivery:JSONData": { - "$ref": "#/$defs/EmbeddedJSONData" - } - }, - "required": [ - "delivery:JSONData" - ] - } - ] - }, - "EmbeddedBinaryData": { - "type": "object", - "properties": { - "delivery:Data": { - "type": "string", - "pattern": "^[A-Za-z0-9+\\/]*={0,3}$" - }, - "delivery:ContentType": { - "$ref": "ts_103280_2017_07#/$defs/ShortString" - }, - "delivery:Checksum": { - "$ref": "ts_103280_2017_07#/$defs/ShortString" - }, - "delivery:ChecksumType": { - "$ref": "ts_103280_2017_07#/$defs/ShortString" - } - }, - "required": [ - "delivery:Data" - ] - }, - "EmbeddedXMLData": {}, - "EmbeddedJSONData": {} - } +{ + "$id": "ts_103120_Delivery_2019_10", + "$defs": { + "DeliveryObject": { + "type": "object", + "properties": { + "@xsi:type": { + "type": "string", + "enum": "{http://uri.etsi.org/03120/common/2019/10/Delivery}DeliveryObject" + }, + "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" + }, + "delivery:Reference": { + "$ref": "#/$defs/Reference" + }, + "delivery:DeliveryID": { + "$ref": "ts_103280_2017_07#/$defs/UUID" + }, + "delivery:SequenceNumber": { + "type": "integer", + "minimum": 0 + }, + "delivery:LastSequence": { + "type": "boolean" + }, + "delivery:Manifest": { + "$ref": "#/$defs/Manifest" + }, + "delivery:Delivery": { + "$ref": "#/$defs/Delivery" + } + }, + "required": [ + "@xsi:type", + "ObjectIdentifier" + ] + }, + "Reference": { + "oneOf": [ + { + "type": "object", + "properties": { + "delivery:LDID": { + "$ref": "ts_103280_2017_07#/$defs/LDID" + } + }, + "required": [ + "delivery:LDID" + ] + }, + { + "type": "object", + "properties": { + "delivery:LIID": { + "$ref": "ts_103280_2017_07#/$defs/LIID" + } + }, + "required": [ + "delivery:LIID" + ] + } + ] + }, + "Manifest": { + "oneOf": [ + { + "type": "object", + "properties": { + "delivery:Specification": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + } + }, + "required": [ + "delivery:Specification" + ] + }, + { + "type": "object", + "properties": { + "delivery:ExternalSchema": { + "$ref": "#/$defs/ExternalSchema" + } + }, + "required": [ + "delivery:ExternalSchema" + ] + } + ] + }, + "ExternalSchema": { + "type": "object", + "properties": { + "delivery:ManifestID": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + }, + "delivery:ManifestContents": { + "$ref": "#/$defs/ManifestContents" + } + }, + "required": [] + }, + "ManifestContents": { + "oneOf": [ + { + "type": "object", + "properties": { + "delivery:BinaryData": { + "$ref": "#/$defs/EmbeddedBinaryData" + } + }, + "required": [ + "delivery:BinaryData" + ] + }, + { + "type": "object", + "properties": { + "delivery:XMLSchema": { + "$ref": "#/$defs/SchemaContent" + } + }, + "required": [ + "delivery:XMLSchema" + ] + }, + { + "type": "object", + "properties": { + "delivery:JSONSchema": { + "$ref": "#/$defs/EmbeddedJSONData" + } + }, + "required": [ + "delivery:JSONSchema" + ] + } + ] + }, + "SchemaContent": { + "type": "object", + "properties": { + "delivery:schema": {} + }, + "required": [ + "delivery:schema" + ] + }, + "Delivery": { + "oneOf": [ + { + "type": "object", + "properties": { + "delivery:BinaryData": { + "$ref": "#/$defs/EmbeddedBinaryData" + } + }, + "required": [ + "delivery:BinaryData" + ] + }, + { + "type": "object", + "properties": { + "delivery:XMLData": { + "$ref": "#/$defs/EmbeddedXMLData" + } + }, + "required": [ + "delivery:XMLData" + ] + }, + { + "type": "object", + "properties": { + "delivery:JSONData": { + "$ref": "#/$defs/EmbeddedJSONData" + } + }, + "required": [ + "delivery:JSONData" + ] + } + ] + }, + "EmbeddedBinaryData": { + "type": "object", + "properties": { + "delivery:Data": { + "type": "string", + "pattern": "^[A-Za-z0-9+\\/]*={0,3}$" + }, + "delivery:ContentType": { + "$ref": "ts_103280_2017_07#/$defs/ShortString" + }, + "delivery:Checksum": { + "$ref": "ts_103280_2017_07#/$defs/ShortString" + }, + "delivery:ChecksumType": { + "$ref": "ts_103280_2017_07#/$defs/ShortString" + } + }, + "required": [ + "delivery:Data" + ] + }, + "EmbeddedXMLData": {}, + "EmbeddedJSONData": {} + } } \ No newline at end of file diff --git a/103120/schema/json/ts_103120_Document.schema.json b/103120/schema/json/ts_103120_Document.schema.json index 00eef1504eed4b65fd452bf38cbe09bc8bd4c31b..d844092e5afe97138055851e90ffb9c7b0e9dd61 100644 --- a/103120/schema/json/ts_103120_Document.schema.json +++ b/103120/schema/json/ts_103120_Document.schema.json @@ -1,148 +1,148 @@ -{ - "$id": "ts_103120_Document_2020_09", - "$defs": { - "DocumentObject": { - "type": "object", - "properties": { - "@xsi:type": { - "type": "string", - "enum": "{http://uri.etsi.org/03120/common/2020/09/Document}DocumentObject" - }, - "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" - }, - "doc:DocumentReference": { - "$ref": "ts_103280_2017_07#/$defs/LongString" - }, - "doc:DocumentName": { - "$ref": "ts_103280_2017_07#/$defs/LongString" - }, - "doc:DocumentStatus": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "doc:DocumentDesiredStatus": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "doc:DocumentTimespan": { - "$ref": "#/$defs/DocumentTimespan" - }, - "doc:DocumentType": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "doc:DocumentProperties": { - "$ref": "#/$defs/DocumentProperties" - }, - "doc:DocumentBody": { - "$ref": "#/$defs/DocumentBody" - }, - "doc:DocumentSignature": { - "type": "array", - "items": { - "$ref": "ts_103120_Common_2016_02#/$defs/ApprovalDetails" - } - }, - "doc:DocumentInvalidReason": { - "$ref": "ts_103120_Core_2019_10#/$defs/ActionUnsuccesfulInformation" - }, - "doc:NationalDocumentParameters": { - "$ref": "#/$defs/NationalDocumentParameters" - } - }, - "required": [ - "@xsi:type", - "ObjectIdentifier" - ] - }, - "DocumentTimespan": { - "type": "object", - "properties": { - "doc:StartTime": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - }, - "doc:EndTime": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - } - }, - "required": [] - }, - "DocumentProperties": { - "type": "object", - "properties": { - "doc:DocumentProperty": { - "type": "array", - "items": { - "$ref": "#/$defs/DocumentProperty" - } - } - }, - "required": [] - }, - "DocumentProperty": { - "type": "object", - "properties": { - "doc:PropertyType": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "doc:PropertyValue": { - "$ref": "ts_103280_2017_07#/$defs/LongString" - } - }, - "required": [ - "doc:PropertyType", - "doc:PropertyValue" - ] - }, - "DocumentBody": { - "type": "object", - "properties": { - "doc:Contents": { - "type": "string", - "pattern": "^[A-Za-z0-9+\\/]*={0,3}$" - }, - "doc:ContentType": { - "$ref": "ts_103280_2017_07#/$defs/ShortString" - }, - "doc:Checksum": { - "$ref": "ts_103280_2017_07#/$defs/ShortString" - }, - "doc:ChecksumType": { - "$ref": "ts_103280_2017_07#/$defs/ShortString" - } - }, - "required": [] - }, - "NationalDocumentParameters": { - "type": "object", - "properties": { - "doc:CountryCode": { - "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" - } - }, - "required": [ - "doc:CountryCode" - ] - } - } +{ + "$id": "ts_103120_Document_2020_09", + "$defs": { + "DocumentObject": { + "type": "object", + "properties": { + "@xsi:type": { + "type": "string", + "enum": "{http://uri.etsi.org/03120/common/2020/09/Document}DocumentObject" + }, + "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" + }, + "doc:DocumentReference": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + }, + "doc:DocumentName": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + }, + "doc:DocumentStatus": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "doc:DocumentDesiredStatus": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "doc:DocumentTimespan": { + "$ref": "#/$defs/DocumentTimespan" + }, + "doc:DocumentType": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "doc:DocumentProperties": { + "$ref": "#/$defs/DocumentProperties" + }, + "doc:DocumentBody": { + "$ref": "#/$defs/DocumentBody" + }, + "doc:DocumentSignature": { + "type": "array", + "items": { + "$ref": "ts_103120_Common_2016_02#/$defs/ApprovalDetails" + } + }, + "doc:DocumentInvalidReason": { + "$ref": "ts_103120_Core_2019_10#/$defs/ActionUnsuccesfulInformation" + }, + "doc:NationalDocumentParameters": { + "$ref": "#/$defs/NationalDocumentParameters" + } + }, + "required": [ + "@xsi:type", + "ObjectIdentifier" + ] + }, + "DocumentTimespan": { + "type": "object", + "properties": { + "doc:StartTime": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + }, + "doc:EndTime": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + } + }, + "required": [] + }, + "DocumentProperties": { + "type": "object", + "properties": { + "doc:DocumentProperty": { + "type": "array", + "items": { + "$ref": "#/$defs/DocumentProperty" + } + } + }, + "required": [] + }, + "DocumentProperty": { + "type": "object", + "properties": { + "doc:PropertyType": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "doc:PropertyValue": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + } + }, + "required": [ + "doc:PropertyType", + "doc:PropertyValue" + ] + }, + "DocumentBody": { + "type": "object", + "properties": { + "doc:Contents": { + "type": "string", + "pattern": "^[A-Za-z0-9+\\/]*={0,3}$" + }, + "doc:ContentType": { + "$ref": "ts_103280_2017_07#/$defs/ShortString" + }, + "doc:Checksum": { + "$ref": "ts_103280_2017_07#/$defs/ShortString" + }, + "doc:ChecksumType": { + "$ref": "ts_103280_2017_07#/$defs/ShortString" + } + }, + "required": [] + }, + "NationalDocumentParameters": { + "type": "object", + "properties": { + "doc:CountryCode": { + "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" + } + }, + "required": [ + "doc:CountryCode" + ] + } + } } \ No newline at end of file diff --git a/103120/schema/json/ts_103120_Notification.schema.json b/103120/schema/json/ts_103120_Notification.schema.json index 5142fb165d6fa2a84f409a6df6b116ff1ae38586..84fbf046ca455b5e49221c0c268d2d6c345d0cd2 100644 --- a/103120/schema/json/ts_103120_Notification.schema.json +++ b/103120/schema/json/ts_103120_Notification.schema.json @@ -1,103 +1,103 @@ -{ - "$id": "ts_103120_Notification_2016_02", - "$defs": { - "NotificationObject": { - "type": "object", - "properties": { - "@xsi:type": { - "type": "string", - "enum": "{http://uri.etsi.org/03120/common/2016/02/Notification}NotificationObject" - }, - "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" - }, - "notification:NotificationDetails": { - "$ref": "ts_103280_2017_07#/$defs/LongString" - }, - "notification:NotificationType": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "notification:NewNotification": { - "type": "boolean" - }, - "notification:NotificationTimestamp": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - }, - "notification:StatusOfAssociatedObjects": { - "$ref": "#/$defs/ListOfAssociatedObjectStatus" - }, - "notification:NationalNotificationParameters": { - "$ref": "#/$defs/NationalNotificationParameters" - } - }, - "required": [ - "@xsi:type", - "ObjectIdentifier" - ] - }, - "ListOfAssociatedObjectStatus": { - "type": "object", - "properties": { - "notification:AssociatedObjectStatus": { - "type": "array", - "items": { - "$ref": "#/$defs/AssociatedObjectStatus" - }, - "minItems": 1 - } - }, - "required": [] - }, - "AssociatedObjectStatus": { - "type": "object", - "properties": { - "notification:AssociatedObject": { - "$ref": "ts_103120_Core_2019_10#/$defs/ObjectIdentifier" - }, - "notification:Status": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "notification:Details": { - "$ref": "ts_103280_2017_07#/$defs/LongString" - } - }, - "required": [ - "notification:AssociatedObject", - "notification:Status" - ] - }, - "NationalNotificationParameters": { - "type": "object", - "properties": { - "notification:CountryCode": { - "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" - } - }, - "required": [ - "notification:CountryCode" - ] - } - } +{ + "$id": "ts_103120_Notification_2016_02", + "$defs": { + "NotificationObject": { + "type": "object", + "properties": { + "@xsi:type": { + "type": "string", + "enum": "{http://uri.etsi.org/03120/common/2016/02/Notification}NotificationObject" + }, + "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" + }, + "notification:NotificationDetails": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + }, + "notification:NotificationType": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "notification:NewNotification": { + "type": "boolean" + }, + "notification:NotificationTimestamp": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + }, + "notification:StatusOfAssociatedObjects": { + "$ref": "#/$defs/ListOfAssociatedObjectStatus" + }, + "notification:NationalNotificationParameters": { + "$ref": "#/$defs/NationalNotificationParameters" + } + }, + "required": [ + "@xsi:type", + "ObjectIdentifier" + ] + }, + "ListOfAssociatedObjectStatus": { + "type": "object", + "properties": { + "notification:AssociatedObjectStatus": { + "type": "array", + "items": { + "$ref": "#/$defs/AssociatedObjectStatus" + }, + "minItems": 1 + } + }, + "required": [] + }, + "AssociatedObjectStatus": { + "type": "object", + "properties": { + "notification:AssociatedObject": { + "$ref": "ts_103120_Core_2019_10#/$defs/ObjectIdentifier" + }, + "notification:Status": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "notification:Details": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + } + }, + "required": [ + "notification:AssociatedObject", + "notification:Status" + ] + }, + "NationalNotificationParameters": { + "type": "object", + "properties": { + "notification:CountryCode": { + "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" + } + }, + "required": [ + "notification:CountryCode" + ] + } + } } \ No newline at end of file diff --git a/103120/schema/json/ts_103120_Task.schema.json b/103120/schema/json/ts_103120_Task.schema.json index e466047bcc3170f7cc2dacb55eeffdca02add46a..5bb92ac68d135247223f64027912958dbe924b4a 100644 --- a/103120/schema/json/ts_103120_Task.schema.json +++ b/103120/schema/json/ts_103120_Task.schema.json @@ -1,723 +1,723 @@ -{ - "$id": "ts_103120_Task_2020_09", - "$defs": { - "LITaskObject": { - "type": "object", - "properties": { - "@xsi:type": { - "type": "string", - "enum": "{http://uri.etsi.org/03120/common/2020/09/Task}LITaskObject" - }, - "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" - }, - "task:Reference": { - "$ref": "ts_103280_2017_07#/$defs/LIID" - }, - "task:Status": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "task:DesiredStatus": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "task:Timespan": { - "$ref": "#/$defs/TaskTimespan" - }, - "task:TargetIdentifier": { - "$ref": "#/$defs/TargetIdentifier" - }, - "task:DeliveryType": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "task:DeliveryDetails": { - "$ref": "#/$defs/TaskDeliveryDetails" - }, - "task:ApprovalDetails": { - "type": "array", - "items": { - "$ref": "ts_103120_Common_2016_02#/$defs/ApprovalDetails" - } - }, - "task:CSPID": { - "$ref": "ts_103120_Core_2019_10#/$defs/EndpointID" - }, - "task:HandlingProfile": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "task:InvalidReason": { - "$ref": "ts_103120_Core_2019_10#/$defs/ActionUnsuccesfulInformation" - }, - "task:Flags": { - "$ref": "#/$defs/TaskFlags" - }, - "task:NationalLITaskingParameters": { - "$ref": "#/$defs/NationalLITaskingParameters" - }, - "task:ListOfTrafficPolicyReferences": { - "$ref": "#/$defs/ListOfTrafficPolicyReferences" - } - }, - "required": [ - "@xsi:type", - "ObjectIdentifier" - ] - }, - "TaskTimespan": { - "type": "object", - "properties": { - "task:StartTime": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - }, - "task:EndTime": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - }, - "task:TerminationTime": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - }, - "task:ProvisioningTime": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - }, - "task:DeprovisioningTime": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - } - }, - "required": [] - }, - "TargetIdentifier": { - "type": "object", - "properties": { - "task:TargetIdentifierValues": { - "$ref": "#/$defs/TargetIdentifierValues" - }, - "task:ServiceType": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - } - }, - "required": [] - }, - "TargetIdentifierValues": { - "type": "object", - "properties": { - "task:TargetIdentifierValue": { - "type": "array", - "items": { - "$ref": "#/$defs/TargetIdentifierValue" - }, - "minItems": 1 - } - }, - "required": [] - }, - "TargetIdentifierValue": { - "type": "object", - "properties": { - "task:FormatType": { - "$ref": "#/$defs/FormatType" - }, - "task:Value": { - "$ref": "ts_103280_2017_07#/$defs/LongString" - } - }, - "required": [ - "task:FormatType", - "task:Value" - ] - }, - "FormatType": { - "type": "object", - "properties": { - "task:FormatOwner": { - "$ref": "ts_103280_2017_07#/$defs/ShortString" - }, - "task:FormatName": { - "$ref": "ts_103280_2017_07#/$defs/ShortString" - } - }, - "required": [ - "task:FormatOwner", - "task:FormatName" - ] - }, - "TaskDeliveryDetails": { - "type": "object", - "properties": { - "task:DeliveryDestination": { - "type": "array", - "items": { - "$ref": "#/$defs/DeliveryDestination" - }, - "minItems": 1 - } - }, - "required": [] - }, - "DeliveryDestination": { - "type": "object", - "properties": { - "task:DeliveryAddress": { - "$ref": "#/$defs/DeliveryAddress" - }, - "task:EncryptionDetails": { - "$ref": "#/$defs/NationalEncryptionDetails" - }, - "task:IRIorCC": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "task:HandoverFormat": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "task:DeliveryProfile": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "task:NationalDeliveryParameters": { - "$ref": "#/$defs/NationalDeliveryParameters" - } - }, - "required": [] - }, - "DeliveryAddress": { - "oneOf": [ - { - "type": "object", - "properties": { - "task:IPv4Address": { - "$ref": "ts_103280_2017_07#/$defs/IPv4Address" - } - }, - "required": [ - "task:IPv4Address" - ] - }, - { - "type": "object", - "properties": { - "task:IPv6Address": { - "$ref": "ts_103280_2017_07#/$defs/IPv6Address" - } - }, - "required": [ - "task:IPv6Address" - ] - }, - { - "type": "object", - "properties": { - "task:IPAddressPort": { - "$ref": "ts_103280_2017_07#/$defs/IPAddressPort" - } - }, - "required": [ - "task:IPAddressPort" - ] - }, - { - "type": "object", - "properties": { - "task:IPAddressPortRange": { - "$ref": "ts_103280_2017_07#/$defs/IPAddressPortRange" - } - }, - "required": [ - "task:IPAddressPortRange" - ] - }, - { - "type": "object", - "properties": { - "task:E164Number": { - "$ref": "ts_103280_2017_07#/$defs/InternationalE164" - } - }, - "required": [ - "task:E164Number" - ] - }, - { - "type": "object", - "properties": { - "task:FTPAddress": { - "type": "string" - } - }, - "required": [ - "task:FTPAddress" - ] - }, - { - "type": "object", - "properties": { - "task:URL": { - "type": "string" - } - }, - "required": [ - "task:URL" - ] - }, - { - "type": "object", - "properties": { - "task:FQDN": { - "$ref": "ts_103280_2017_07#/$defs/LongString" - } - }, - "required": [ - "task:FQDN" - ] - }, - { - "type": "object", - "properties": { - "task:EmailAddress": { - "$ref": "ts_103280_2017_07#/$defs/EmailAddress" - } - }, - "required": [ - "task:EmailAddress" - ] - }, - { - "type": "object", - "properties": { - "task:EndpointID": { - "$ref": "ts_103120_Core_2019_10#/$defs/EndpointID" - } - }, - "required": [ - "task:EndpointID" - ] - }, - { - "type": "object", - "properties": { - "task:DeliveryInformationID": { - "$ref": "ts_103280_2017_07#/$defs/LongString" - } - }, - "required": [ - "task:DeliveryInformationID" - ] - } - ] - }, - "TaskFlags": { - "type": "object", - "properties": { - "task:TaskFlag": { - "type": "array", - "items": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - } - } - }, - "required": [] - }, - "NationalLITaskingParameters": { - "type": "object", - "properties": { - "task:CountryCode": { - "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" - } - }, - "required": [ - "task:CountryCode" - ] - }, - "NationalDeliveryParameters": { - "type": "object", - "properties": { - "task:CountryCode": { - "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" - } - }, - "required": [ - "task:CountryCode" - ] - }, - "NationalEncryptionDetails": { - "type": "object", - "properties": { - "task:CountryCode": { - "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" - } - }, - "required": [ - "task:CountryCode" - ] - }, - "LDTaskObject": { - "type": "object", - "properties": { - "@xsi:type": { - "type": "string", - "enum": "{http://uri.etsi.org/03120/common/2020/09/Task}LDTaskObject" - }, - "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" - }, - "task:Reference": { - "$ref": "ts_103280_2017_07#/$defs/LDID" - }, - "task:Status": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "task:StatusReason": { - "$ref": "ts_103120_Core_2019_10#/$defs/ActionUnsuccesfulInformation" - }, - "task:DesiredStatus": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "task:RequestDetails": { - "$ref": "#/$defs/RequestDetails" - }, - "task:DeliveryDetails": { - "$ref": "#/$defs/LDDeliveryDetails" - }, - "task:ApprovalDetails": { - "type": "array", - "items": { - "$ref": "ts_103120_Common_2016_02#/$defs/ApprovalDetails" - } - }, - "task:CSPID": { - "$ref": "ts_103120_Core_2019_10#/$defs/EndpointID" - }, - "task:HandlingProfile": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "task:Flags": { - "$ref": "#/$defs/LDTaskFlags" - }, - "task:AlternativePreservationReferences": { - "$ref": "#/$defs/ListOfAlternativePreservationReferences" - }, - "task:NationalLDTaskingParameters": { - "$ref": "#/$defs/NationalLDTaskingParameters" - } - }, - "required": [ - "@xsi:type", - "ObjectIdentifier" - ] - }, - "RequestDetails": { - "type": "object", - "properties": { - "task:Type": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "task:StartTime": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - }, - "task:EndTime": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - }, - "task:ObservedTime": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - }, - "task:ObservedTimes": { - "type": "array", - "items": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - } - }, - "task:RequestValues": { - "$ref": "#/$defs/RequestValues" - }, - "task:Subtype": { - "$ref": "#/$defs/RequestSubtype" - } - }, - "required": [] - }, - "RequestValues": { - "type": "object", - "properties": { - "task:RequestValue": { - "type": "array", - "items": { - "$ref": "#/$defs/RequestValue" - }, - "minItems": 1 - } - }, - "required": [] - }, - "RequestValue": { - "type": "object", - "properties": { - "task:FormatType": { - "$ref": "#/$defs/FormatType" - }, - "task:Value": { - "$ref": "ts_103280_2017_07#/$defs/LongString" - } - }, - "required": [ - "task:FormatType", - "task:Value" - ] - }, - "RequestSubtype": { - "type": "object", - "properties": { - "task:RequestSubtype": { - "type": "array", - "items": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "minItems": 1 - } - }, - "required": [] - }, - "LDDeliveryDetails": { - "type": "object", - "properties": { - "task:LDDeliveryDestination": { - "type": "array", - "items": { - "$ref": "#/$defs/LDDeliveryDestination" - }, - "minItems": 1 - } - }, - "required": [] - }, - "LDDeliveryDestination": { - "type": "object", - "properties": { - "task:DeliveryAddress": { - "$ref": "#/$defs/DeliveryAddress" - }, - "task:EncryptionDetails": { - "$ref": "#/$defs/NationalEncryptionDetails" - }, - "task:LDHandoverFormat": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "task:LDDeliveryProfile": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "task:NationalDeliveryParameters": { - "$ref": "#/$defs/NationalDeliveryParameters" - } - }, - "required": [] - }, - "LDTaskFlags": { - "type": "object", - "properties": { - "task:LDTaskFlag": { - "type": "array", - "items": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - } - } - }, - "required": [] - }, - "ListOfAlternativePreservationReferences": { - "type": "object", - "properties": { - "task:AlternativePreservationReference": { - "type": "array", - "items": { - "$ref": "#/$defs/AlternativePreservationReference" - }, - "minItems": 1 - } - }, - "required": [] - }, - "AlternativePreservationReference": { - "type": "object", - "properties": { - "task:ReferenceValue": { - "$ref": "ts_103280_2017_07#/$defs/LongString" - }, - "task:NatureOfReference": { - "$ref": "ts_103280_2017_07#/$defs/LongString" - } - }, - "required": [ - "task:ReferenceValue" - ] - }, - "NationalLDTaskingParameters": { - "type": "object", - "properties": { - "task:CountryCode": { - "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" - } - }, - "required": [ - "task:CountryCode" - ] - }, - "LPTaskObject": { - "type": "object", - "properties": { - "@xsi:type": { - "type": "string", - "enum": "{http://uri.etsi.org/03120/common/2020/09/Task}LPTaskObject" - }, - "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" - }, - "task:Status": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "task:StatusReason": { - "$ref": "ts_103120_Core_2019_10#/$defs/ActionUnsuccesfulInformation" - }, - "task:DesiredStatus": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "task:RequestDetails": { - "$ref": "#/$defs/LPRequestDetails" - }, - "task:DesiredPreservationExpiration": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - }, - "task:PreservationExpiration": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - }, - "task:CSPID": { - "$ref": "ts_103120_Core_2019_10#/$defs/EndpointID" - }, - "task:NationalLPTaskingParameters": { - "$ref": "#/$defs/NationalLPTaskingParameters" - } - }, - "required": [ - "@xsi:type", - "ObjectIdentifier" - ] - }, - "LPRequestDetails": { - "type": "object", - "properties": { - "task:Type": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "task:StartTime": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - }, - "task:EndTime": { - "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" - }, - "task:RequestValues": { - "$ref": "#/$defs/RequestValues" - }, - "task:Subtype": { - "$ref": "#/$defs/RequestSubtype" - } - }, - "required": [] - }, - "NationalLPTaskingParameters": { - "type": "object", - "properties": { - "task:CountryCode": { - "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" - } - }, - "required": [ - "task:CountryCode" - ] - }, - "ListOfTrafficPolicyReferences": { - "type": "object", - "properties": { - "task:TrafficPolicyReference": { - "type": "array", - "items": { - "$ref": "#/$defs/TrafficPolicyReference" - }, - "minItems": 1 - } - }, - "required": [] - }, - "TrafficPolicyReference": { - "type": "object", - "properties": { - "task:Order": { - "type": "integer", - "minimum": 1 - }, - "task:ObjectIdentifier": { - "$ref": "ts_103120_Core_2019_10#/$defs/ObjectIdentifier" - } - }, - "required": [] - } - } +{ + "$id": "ts_103120_Task_2020_09", + "$defs": { + "LITaskObject": { + "type": "object", + "properties": { + "@xsi:type": { + "type": "string", + "enum": "{http://uri.etsi.org/03120/common/2020/09/Task}LITaskObject" + }, + "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" + }, + "task:Reference": { + "$ref": "ts_103280_2017_07#/$defs/LIID" + }, + "task:Status": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "task:DesiredStatus": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "task:Timespan": { + "$ref": "#/$defs/TaskTimespan" + }, + "task:TargetIdentifier": { + "$ref": "#/$defs/TargetIdentifier" + }, + "task:DeliveryType": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "task:DeliveryDetails": { + "$ref": "#/$defs/TaskDeliveryDetails" + }, + "task:ApprovalDetails": { + "type": "array", + "items": { + "$ref": "ts_103120_Common_2016_02#/$defs/ApprovalDetails" + } + }, + "task:CSPID": { + "$ref": "ts_103120_Core_2019_10#/$defs/EndpointID" + }, + "task:HandlingProfile": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "task:InvalidReason": { + "$ref": "ts_103120_Core_2019_10#/$defs/ActionUnsuccesfulInformation" + }, + "task:Flags": { + "$ref": "#/$defs/TaskFlags" + }, + "task:NationalLITaskingParameters": { + "$ref": "#/$defs/NationalLITaskingParameters" + }, + "task:ListOfTrafficPolicyReferences": { + "$ref": "#/$defs/ListOfTrafficPolicyReferences" + } + }, + "required": [ + "@xsi:type", + "ObjectIdentifier" + ] + }, + "TaskTimespan": { + "type": "object", + "properties": { + "task:StartTime": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + }, + "task:EndTime": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + }, + "task:TerminationTime": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + }, + "task:ProvisioningTime": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + }, + "task:DeprovisioningTime": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + } + }, + "required": [] + }, + "TargetIdentifier": { + "type": "object", + "properties": { + "task:TargetIdentifierValues": { + "$ref": "#/$defs/TargetIdentifierValues" + }, + "task:ServiceType": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + } + }, + "required": [] + }, + "TargetIdentifierValues": { + "type": "object", + "properties": { + "task:TargetIdentifierValue": { + "type": "array", + "items": { + "$ref": "#/$defs/TargetIdentifierValue" + }, + "minItems": 1 + } + }, + "required": [] + }, + "TargetIdentifierValue": { + "type": "object", + "properties": { + "task:FormatType": { + "$ref": "#/$defs/FormatType" + }, + "task:Value": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + } + }, + "required": [ + "task:FormatType", + "task:Value" + ] + }, + "FormatType": { + "type": "object", + "properties": { + "task:FormatOwner": { + "$ref": "ts_103280_2017_07#/$defs/ShortString" + }, + "task:FormatName": { + "$ref": "ts_103280_2017_07#/$defs/ShortString" + } + }, + "required": [ + "task:FormatOwner", + "task:FormatName" + ] + }, + "TaskDeliveryDetails": { + "type": "object", + "properties": { + "task:DeliveryDestination": { + "type": "array", + "items": { + "$ref": "#/$defs/DeliveryDestination" + }, + "minItems": 1 + } + }, + "required": [] + }, + "DeliveryDestination": { + "type": "object", + "properties": { + "task:DeliveryAddress": { + "$ref": "#/$defs/DeliveryAddress" + }, + "task:EncryptionDetails": { + "$ref": "#/$defs/NationalEncryptionDetails" + }, + "task:IRIorCC": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "task:HandoverFormat": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "task:DeliveryProfile": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "task:NationalDeliveryParameters": { + "$ref": "#/$defs/NationalDeliveryParameters" + } + }, + "required": [] + }, + "DeliveryAddress": { + "oneOf": [ + { + "type": "object", + "properties": { + "task:IPv4Address": { + "$ref": "ts_103280_2017_07#/$defs/IPv4Address" + } + }, + "required": [ + "task:IPv4Address" + ] + }, + { + "type": "object", + "properties": { + "task:IPv6Address": { + "$ref": "ts_103280_2017_07#/$defs/IPv6Address" + } + }, + "required": [ + "task:IPv6Address" + ] + }, + { + "type": "object", + "properties": { + "task:IPAddressPort": { + "$ref": "ts_103280_2017_07#/$defs/IPAddressPort" + } + }, + "required": [ + "task:IPAddressPort" + ] + }, + { + "type": "object", + "properties": { + "task:IPAddressPortRange": { + "$ref": "ts_103280_2017_07#/$defs/IPAddressPortRange" + } + }, + "required": [ + "task:IPAddressPortRange" + ] + }, + { + "type": "object", + "properties": { + "task:E164Number": { + "$ref": "ts_103280_2017_07#/$defs/InternationalE164" + } + }, + "required": [ + "task:E164Number" + ] + }, + { + "type": "object", + "properties": { + "task:FTPAddress": { + "type": "string" + } + }, + "required": [ + "task:FTPAddress" + ] + }, + { + "type": "object", + "properties": { + "task:URL": { + "type": "string" + } + }, + "required": [ + "task:URL" + ] + }, + { + "type": "object", + "properties": { + "task:FQDN": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + } + }, + "required": [ + "task:FQDN" + ] + }, + { + "type": "object", + "properties": { + "task:EmailAddress": { + "$ref": "ts_103280_2017_07#/$defs/EmailAddress" + } + }, + "required": [ + "task:EmailAddress" + ] + }, + { + "type": "object", + "properties": { + "task:EndpointID": { + "$ref": "ts_103120_Core_2019_10#/$defs/EndpointID" + } + }, + "required": [ + "task:EndpointID" + ] + }, + { + "type": "object", + "properties": { + "task:DeliveryInformationID": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + } + }, + "required": [ + "task:DeliveryInformationID" + ] + } + ] + }, + "TaskFlags": { + "type": "object", + "properties": { + "task:TaskFlag": { + "type": "array", + "items": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + } + } + }, + "required": [] + }, + "NationalLITaskingParameters": { + "type": "object", + "properties": { + "task:CountryCode": { + "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" + } + }, + "required": [ + "task:CountryCode" + ] + }, + "NationalDeliveryParameters": { + "type": "object", + "properties": { + "task:CountryCode": { + "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" + } + }, + "required": [ + "task:CountryCode" + ] + }, + "NationalEncryptionDetails": { + "type": "object", + "properties": { + "task:CountryCode": { + "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" + } + }, + "required": [ + "task:CountryCode" + ] + }, + "LDTaskObject": { + "type": "object", + "properties": { + "@xsi:type": { + "type": "string", + "enum": "{http://uri.etsi.org/03120/common/2020/09/Task}LDTaskObject" + }, + "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" + }, + "task:Reference": { + "$ref": "ts_103280_2017_07#/$defs/LDID" + }, + "task:Status": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "task:StatusReason": { + "$ref": "ts_103120_Core_2019_10#/$defs/ActionUnsuccesfulInformation" + }, + "task:DesiredStatus": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "task:RequestDetails": { + "$ref": "#/$defs/RequestDetails" + }, + "task:DeliveryDetails": { + "$ref": "#/$defs/LDDeliveryDetails" + }, + "task:ApprovalDetails": { + "type": "array", + "items": { + "$ref": "ts_103120_Common_2016_02#/$defs/ApprovalDetails" + } + }, + "task:CSPID": { + "$ref": "ts_103120_Core_2019_10#/$defs/EndpointID" + }, + "task:HandlingProfile": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "task:Flags": { + "$ref": "#/$defs/LDTaskFlags" + }, + "task:AlternativePreservationReferences": { + "$ref": "#/$defs/ListOfAlternativePreservationReferences" + }, + "task:NationalLDTaskingParameters": { + "$ref": "#/$defs/NationalLDTaskingParameters" + } + }, + "required": [ + "@xsi:type", + "ObjectIdentifier" + ] + }, + "RequestDetails": { + "type": "object", + "properties": { + "task:Type": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "task:StartTime": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + }, + "task:EndTime": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + }, + "task:ObservedTime": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + }, + "task:ObservedTimes": { + "type": "array", + "items": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + } + }, + "task:RequestValues": { + "$ref": "#/$defs/RequestValues" + }, + "task:Subtype": { + "$ref": "#/$defs/RequestSubtype" + } + }, + "required": [] + }, + "RequestValues": { + "type": "object", + "properties": { + "task:RequestValue": { + "type": "array", + "items": { + "$ref": "#/$defs/RequestValue" + }, + "minItems": 1 + } + }, + "required": [] + }, + "RequestValue": { + "type": "object", + "properties": { + "task:FormatType": { + "$ref": "#/$defs/FormatType" + }, + "task:Value": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + } + }, + "required": [ + "task:FormatType", + "task:Value" + ] + }, + "RequestSubtype": { + "type": "object", + "properties": { + "task:RequestSubtype": { + "type": "array", + "items": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "minItems": 1 + } + }, + "required": [] + }, + "LDDeliveryDetails": { + "type": "object", + "properties": { + "task:LDDeliveryDestination": { + "type": "array", + "items": { + "$ref": "#/$defs/LDDeliveryDestination" + }, + "minItems": 1 + } + }, + "required": [] + }, + "LDDeliveryDestination": { + "type": "object", + "properties": { + "task:DeliveryAddress": { + "$ref": "#/$defs/DeliveryAddress" + }, + "task:EncryptionDetails": { + "$ref": "#/$defs/NationalEncryptionDetails" + }, + "task:LDHandoverFormat": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "task:LDDeliveryProfile": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "task:NationalDeliveryParameters": { + "$ref": "#/$defs/NationalDeliveryParameters" + } + }, + "required": [] + }, + "LDTaskFlags": { + "type": "object", + "properties": { + "task:LDTaskFlag": { + "type": "array", + "items": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + } + } + }, + "required": [] + }, + "ListOfAlternativePreservationReferences": { + "type": "object", + "properties": { + "task:AlternativePreservationReference": { + "type": "array", + "items": { + "$ref": "#/$defs/AlternativePreservationReference" + }, + "minItems": 1 + } + }, + "required": [] + }, + "AlternativePreservationReference": { + "type": "object", + "properties": { + "task:ReferenceValue": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + }, + "task:NatureOfReference": { + "$ref": "ts_103280_2017_07#/$defs/LongString" + } + }, + "required": [ + "task:ReferenceValue" + ] + }, + "NationalLDTaskingParameters": { + "type": "object", + "properties": { + "task:CountryCode": { + "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" + } + }, + "required": [ + "task:CountryCode" + ] + }, + "LPTaskObject": { + "type": "object", + "properties": { + "@xsi:type": { + "type": "string", + "enum": "{http://uri.etsi.org/03120/common/2020/09/Task}LPTaskObject" + }, + "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" + }, + "task:Status": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "task:StatusReason": { + "$ref": "ts_103120_Core_2019_10#/$defs/ActionUnsuccesfulInformation" + }, + "task:DesiredStatus": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "task:RequestDetails": { + "$ref": "#/$defs/LPRequestDetails" + }, + "task:DesiredPreservationExpiration": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + }, + "task:PreservationExpiration": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + }, + "task:CSPID": { + "$ref": "ts_103120_Core_2019_10#/$defs/EndpointID" + }, + "task:NationalLPTaskingParameters": { + "$ref": "#/$defs/NationalLPTaskingParameters" + } + }, + "required": [ + "@xsi:type", + "ObjectIdentifier" + ] + }, + "LPRequestDetails": { + "type": "object", + "properties": { + "task:Type": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "task:StartTime": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + }, + "task:EndTime": { + "$ref": "ts_103280_2017_07#/$defs/QualifiedDateTime" + }, + "task:RequestValues": { + "$ref": "#/$defs/RequestValues" + }, + "task:Subtype": { + "$ref": "#/$defs/RequestSubtype" + } + }, + "required": [] + }, + "NationalLPTaskingParameters": { + "type": "object", + "properties": { + "task:CountryCode": { + "$ref": "ts_103280_2017_07#/$defs/ISOCountryCode" + } + }, + "required": [ + "task:CountryCode" + ] + }, + "ListOfTrafficPolicyReferences": { + "type": "object", + "properties": { + "task:TrafficPolicyReference": { + "type": "array", + "items": { + "$ref": "#/$defs/TrafficPolicyReference" + }, + "minItems": 1 + } + }, + "required": [] + }, + "TrafficPolicyReference": { + "type": "object", + "properties": { + "task:Order": { + "type": "integer", + "minimum": 1 + }, + "task:ObjectIdentifier": { + "$ref": "ts_103120_Core_2019_10#/$defs/ObjectIdentifier" + } + }, + "required": [] + } + } } \ No newline at end of file diff --git a/103120/schema/json/ts_103120_TrafficPolicy.schema.json b/103120/schema/json/ts_103120_TrafficPolicy.schema.json index 35ced83ab7e920ecad904c49d3b325146d1e5f2b..18bb9cfed8e694aa791d12b671ead4e94e4f8fd4 100644 --- a/103120/schema/json/ts_103120_TrafficPolicy.schema.json +++ b/103120/schema/json/ts_103120_TrafficPolicy.schema.json @@ -1,310 +1,310 @@ -{ - "$id": "ts_103120_TrafficPolicy_2022_07", - "$defs": { - "TrafficPolicyObject": { - "type": "object", - "properties": { - "@xsi:type": { - "type": "string", - "enum": "{http://uri.etsi.org/03120/common/2022/07/TrafficPolicy}TrafficPolicyObject" - }, - "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" - }, - "tp:TrafficPolicyName": { - "$ref": "ts_103280_2017_07#/$defs/ShortString" - }, - "tp:TrafficRules": { - "$ref": "#/$defs/ListOfTrafficRuleReferences" - } - }, - "required": [ - "@xsi:type", - "ObjectIdentifier" - ] - }, - "ListOfTrafficRuleReferences": { - "type": "object", - "properties": { - "tp:TrafficRuleReference": { - "type": "array", - "items": { - "$ref": "#/$defs/TrafficRuleReference" - }, - "minItems": 1 - } - }, - "required": [] - }, - "TrafficRuleReference": { - "type": "object", - "properties": { - "tp:Order": { - "type": "integer", - "minimum": 1 - }, - "tp:ObjectIdentifier": { - "$ref": "ts_103120_Core_2019_10#/$defs/ObjectIdentifier" - } - }, - "required": [ - "tp:Order", - "tp:ObjectIdentifier" - ] - }, - "TrafficRuleObject": { - "type": "object", - "properties": { - "@xsi:type": { - "type": "string", - "enum": "{http://uri.etsi.org/03120/common/2022/07/TrafficPolicy}TrafficRuleObject" - }, - "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" - }, - "tp:Criteria": { - "$ref": "#/$defs/ListOfTrafficCriteria" - }, - "tp:Action": { - "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" - }, - "tp:Parameters": { - "$ref": "#/$defs/ActionParameters" - } - }, - "required": [ - "@xsi:type", - "ObjectIdentifier" - ] - }, - "ListOfTrafficCriteria": { - "type": "object", - "properties": { - "tp:Criteria": { - "type": "array", - "items": { - "$ref": "#/$defs/TrafficCriteria" - }, - "minItems": 1 - } - }, - "required": [] - }, - "TrafficCriteria": { - "oneOf": [ - { - "type": "object", - "properties": { - "tp:IPPolicyCriteria": { - "$ref": "#/$defs/IPPolicyCriteria" - } - }, - "required": [ - "tp:IPPolicyCriteria" - ] - }, - { - "type": "object", - "properties": { - "tp:MobileAccessPolicyCriteria": { - "$ref": "#/$defs/MobileAccessPolicyCriteria" - } - }, - "required": [ - "tp:MobileAccessPolicyCriteria" - ] - }, - { - "type": "object", - "properties": { - "tp:EthernetPolicyCriteria": { - "$ref": "#/$defs/EthernetPolicyCriteria" - } - }, - "required": [ - "tp:EthernetPolicyCriteria" - ] - }, - { - "type": "object", - "properties": { - "tp:RCSPolicyCriteria": { - "$ref": "#/$defs/RCSPolicyCriteria" - } - }, - "required": [ - "tp:RCSPolicyCriteria" - ] - } - ] - }, - "IPPolicyCriteria": { - "type": "object", - "properties": { - "tp:IPProtocol": { - "type": "integer", - "minimum": 0 - }, - "tp:SourceIPRange": { - "$ref": "ts_103280_2017_07#/$defs/IPCIDR" - }, - "tp:SourcePortRange": { - "$ref": "ts_103280_2017_07#/$defs/PortRange" - }, - "tp:DestinationIPRange": { - "$ref": "ts_103280_2017_07#/$defs/IPCIDR" - }, - "tp:DestinationPortRange": { - "$ref": "ts_103280_2017_07#/$defs/PortRange" - }, - "tp:BothDirections": { - "type": "boolean" - } - }, - "required": [] - }, - "MobileAccessPolicyCriteria": { - "type": "object", - "properties": { - "tp:APN": { - "$ref": "ts_103280_2017_07#/$defs/ShortString" - }, - "tp:DNN": { - "$ref": "ts_103280_2017_07#/$defs/ShortString" - } - }, - "required": [] - }, - "EthernetPolicyCriteria": { - "type": "object", - "properties": { - "tp:SourceMACAddress": { - "$ref": "ts_103280_2017_07#/$defs/MACAddress" - }, - "tp:DestinationMACAddress": { - "$ref": "ts_103280_2017_07#/$defs/MACAddress" - }, - "tp:BothDirections": { - "type": "boolean" - }, - "tp:VLANCriteria": { - "$ref": "#/$defs/VLANCriteria" - } - }, - "required": [] - }, - "VLANCriteria": { - "oneOf": [ - { - "type": "object", - "properties": { - "tp:OuterVLANs": { - "$ref": "#/$defs/VLANIDList" - } - }, - "required": [ - "tp:OuterVLANs" - ] - } - ] - }, - "VLANIDList": { - "type": "object", - "properties": { - "tp:VLANID": { - "type": "array", - "items": { - "$ref": "ts_103280_2017_07#/$defs/VLANID" - }, - "minItems": 1 - } - }, - "required": [] - }, - "RCSPolicyCriteria": { - "type": "object", - "properties": { - "tp:CommunicationServiceID": { - "$ref": "ts_103280_2017_07#/$defs/ShortString" - } - }, - "required": [ - "tp:CommunicationServiceID" - ] - }, - "ActionParameters": { - "oneOf": [ - { - "type": "object", - "properties": { - "tp:TruncateActionParameters": { - "$ref": "#/$defs/TruncateActionParameters" - } - }, - "required": [ - "tp:TruncateActionParameters" - ] - } - ] - }, - "TruncateActionParameters": { - "type": "object", - "properties": { - "tp:NumberOfOctets": { - "type": "integer", - "minimum": 0 - }, - "tp:ProvideOriginalLength": { - "type": "boolean" - } - }, - "required": [ - "tp:NumberOfOctets" - ] - } - } +{ + "$id": "ts_103120_TrafficPolicy_2022_07", + "$defs": { + "TrafficPolicyObject": { + "type": "object", + "properties": { + "@xsi:type": { + "type": "string", + "enum": "{http://uri.etsi.org/03120/common/2022/07/TrafficPolicy}TrafficPolicyObject" + }, + "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" + }, + "tp:TrafficPolicyName": { + "$ref": "ts_103280_2017_07#/$defs/ShortString" + }, + "tp:TrafficRules": { + "$ref": "#/$defs/ListOfTrafficRuleReferences" + } + }, + "required": [ + "@xsi:type", + "ObjectIdentifier" + ] + }, + "ListOfTrafficRuleReferences": { + "type": "object", + "properties": { + "tp:TrafficRuleReference": { + "type": "array", + "items": { + "$ref": "#/$defs/TrafficRuleReference" + }, + "minItems": 1 + } + }, + "required": [] + }, + "TrafficRuleReference": { + "type": "object", + "properties": { + "tp:Order": { + "type": "integer", + "minimum": 1 + }, + "tp:ObjectIdentifier": { + "$ref": "ts_103120_Core_2019_10#/$defs/ObjectIdentifier" + } + }, + "required": [ + "tp:Order", + "tp:ObjectIdentifier" + ] + }, + "TrafficRuleObject": { + "type": "object", + "properties": { + "@xsi:type": { + "type": "string", + "enum": "{http://uri.etsi.org/03120/common/2022/07/TrafficPolicy}TrafficRuleObject" + }, + "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" + }, + "tp:Criteria": { + "$ref": "#/$defs/ListOfTrafficCriteria" + }, + "tp:Action": { + "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" + }, + "tp:Parameters": { + "$ref": "#/$defs/ActionParameters" + } + }, + "required": [ + "@xsi:type", + "ObjectIdentifier" + ] + }, + "ListOfTrafficCriteria": { + "type": "object", + "properties": { + "tp:Criteria": { + "type": "array", + "items": { + "$ref": "#/$defs/TrafficCriteria" + }, + "minItems": 1 + } + }, + "required": [] + }, + "TrafficCriteria": { + "oneOf": [ + { + "type": "object", + "properties": { + "tp:IPPolicyCriteria": { + "$ref": "#/$defs/IPPolicyCriteria" + } + }, + "required": [ + "tp:IPPolicyCriteria" + ] + }, + { + "type": "object", + "properties": { + "tp:MobileAccessPolicyCriteria": { + "$ref": "#/$defs/MobileAccessPolicyCriteria" + } + }, + "required": [ + "tp:MobileAccessPolicyCriteria" + ] + }, + { + "type": "object", + "properties": { + "tp:EthernetPolicyCriteria": { + "$ref": "#/$defs/EthernetPolicyCriteria" + } + }, + "required": [ + "tp:EthernetPolicyCriteria" + ] + }, + { + "type": "object", + "properties": { + "tp:RCSPolicyCriteria": { + "$ref": "#/$defs/RCSPolicyCriteria" + } + }, + "required": [ + "tp:RCSPolicyCriteria" + ] + } + ] + }, + "IPPolicyCriteria": { + "type": "object", + "properties": { + "tp:IPProtocol": { + "type": "integer", + "minimum": 0 + }, + "tp:SourceIPRange": { + "$ref": "ts_103280_2017_07#/$defs/IPCIDR" + }, + "tp:SourcePortRange": { + "$ref": "ts_103280_2017_07#/$defs/PortRange" + }, + "tp:DestinationIPRange": { + "$ref": "ts_103280_2017_07#/$defs/IPCIDR" + }, + "tp:DestinationPortRange": { + "$ref": "ts_103280_2017_07#/$defs/PortRange" + }, + "tp:BothDirections": { + "type": "boolean" + } + }, + "required": [] + }, + "MobileAccessPolicyCriteria": { + "type": "object", + "properties": { + "tp:APN": { + "$ref": "ts_103280_2017_07#/$defs/ShortString" + }, + "tp:DNN": { + "$ref": "ts_103280_2017_07#/$defs/ShortString" + } + }, + "required": [] + }, + "EthernetPolicyCriteria": { + "type": "object", + "properties": { + "tp:SourceMACAddress": { + "$ref": "ts_103280_2017_07#/$defs/MACAddress" + }, + "tp:DestinationMACAddress": { + "$ref": "ts_103280_2017_07#/$defs/MACAddress" + }, + "tp:BothDirections": { + "type": "boolean" + }, + "tp:VLANCriteria": { + "$ref": "#/$defs/VLANCriteria" + } + }, + "required": [] + }, + "VLANCriteria": { + "oneOf": [ + { + "type": "object", + "properties": { + "tp:OuterVLANs": { + "$ref": "#/$defs/VLANIDList" + } + }, + "required": [ + "tp:OuterVLANs" + ] + } + ] + }, + "VLANIDList": { + "type": "object", + "properties": { + "tp:VLANID": { + "type": "array", + "items": { + "$ref": "ts_103280_2017_07#/$defs/VLANID" + }, + "minItems": 1 + } + }, + "required": [] + }, + "RCSPolicyCriteria": { + "type": "object", + "properties": { + "tp:CommunicationServiceID": { + "$ref": "ts_103280_2017_07#/$defs/ShortString" + } + }, + "required": [ + "tp:CommunicationServiceID" + ] + }, + "ActionParameters": { + "oneOf": [ + { + "type": "object", + "properties": { + "tp:TruncateActionParameters": { + "$ref": "#/$defs/TruncateActionParameters" + } + }, + "required": [ + "tp:TruncateActionParameters" + ] + } + ] + }, + "TruncateActionParameters": { + "type": "object", + "properties": { + "tp:NumberOfOctets": { + "type": "integer", + "minimum": 0 + }, + "tp:ProvideOriginalLength": { + "type": "boolean" + } + }, + "required": [ + "tp:NumberOfOctets" + ] + } + } } \ No newline at end of file diff --git a/103280/TS_103_280.schema.json b/103280/TS_103_280.schema.json index daec09bd19c16b754e881c35fbf2ef093a78f898..fe177edbe6dcc87c0c7503152c6a82a5e8c80d0a 100644 --- a/103280/TS_103_280.schema.json +++ b/103280/TS_103_280.schema.json @@ -1,401 +1,401 @@ -{ - "$id": "ts_103280_2017_07", - "$defs": { - "ShortString": { - "type": "string", - "maxLength": 255 - }, - "LongString": { - "type": "string", - "maxLength": 65535 - }, - "LIID": { - "type": "string", - "pattern": "^([!-~]{1,25})|([0-9a-f]{26,50})$" - }, - "UTCDateTime": { - "type": "string", - "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$" - }, - "UTCMicrosecondDateTime": { - "type": "string", - "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{6}Z$" - }, - "QualifiedDateTime": { - "type": "string", - "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(Z|[+-][0-9]{2}:[0-9]{2})$" - }, - "QualifiedMicrosecondDateTime": { - "type": "string", - "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{6}(Z|[+-][0-9]{2}:[0-9]{2})$" - }, - "InternationalE164": { - "type": "string", - "pattern": "^[0-9]{1,15}$" - }, - "IMSI": { - "type": "string", - "pattern": "^[0-9]{6,15}$" - }, - "IMEI": { - "type": "string", - "pattern": "^[0-9]{14}$" - }, - "IMEICheckDigit": { - "type": "string", - "pattern": "^[0-9]{15}$" - }, - "IMEISV": { - "type": "string", - "pattern": "^[0-9]{16}$" - }, - "IPv4Address": { - "type": "string", - "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])$" - }, - "IPv4CIDR": { - "type": "string", - "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])/([1-2]?[0-9]|3[0-2])$" - }, - "IPv6Address": { - "type": "string", - "pattern": "^([0-9a-f]{4}:){7}([0-9a-f]{4})$" - }, - "IPv6CIDR": { - "type": "string", - "pattern": "^([0-9a-f]{4}:){7}([0-9a-f]{4})/(([1-9][0-9]?)|(1[0-1][0-9])|(12[0-8]))$" - }, - "TCPPort": { - "type": "integer", - "exclusiveMinimum": 1, - "maximum": 65535 - }, - "UDPPort": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "MACAddress": { - "type": "string", - "pattern": "^([a-f0-9]{2}:){5}[a-f0-9]{2}$" - }, - "EmailAddress": { - "allOf": [ - { - "$ref": "#/$defs/ShortString" - }, - { - "type": "string", - "pattern": "^[a-zA-Z0-9\\.!#$%&'\\*\\+\\\\/=\\?\\^_`\\{\\|\\}~\\-]+@[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(\\.[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$" - } - ] - }, - "UUID": { - "type": "string", - "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" - }, - "ISOCountryCode": { - "type": "string", - "pattern": "^[A-Z]{2}$" - }, - "SIPURI": { - "type": "string", - "pattern": "^sips?:[a-zA-Z0-9!#$&-;=?-\\[\\]_~%]+$" - }, - "TELURI": { - "type": "string", - "pattern": "^tel:[a-zA-Z0-9!#$&-;=?-\\[\\]_~%]+$" - }, - "WGS84LatitudeDecimal": { - "type": "string", - "pattern": "^[NS][0-9]{2}\\.[0-9]{6}$" - }, - "WGS84LongitudeDecimal": { - "type": "string", - "pattern": "^[EW][0-9]{3}\\.[0-9]{6}$" - }, - "WGS84LatitudeAngular": { - "type": "string", - "pattern": "^[NS][0-9]{6}\\.[0-9]{2}$" - }, - "WGS84LongitudeAngular": { - "type": "string", - "pattern": "^[EW][0-9]{7}\\.[0-9]{2}$" - }, - "SUPIIMSI": { - "$ref": "#/$defs/IMSI" - }, - "SUPINAI": { - "$ref": "#/$defs/NAI" - }, - "SUCI": { - "type": "string", - "pattern": "^([a-fA-F0-9]{2})*$" - }, - "PEIIMEI": { - "$ref": "#/$defs/IMEI" - }, - "PEIIMEICheckDigit": { - "$ref": "#/$defs/IMEICheckDigit" - }, - "PEIIMEISV": { - "$ref": "#/$defs/IMEISV" - }, - "GPSIMSISDN": { - "type": "string", - "pattern": "^[0-9]{1,15}$" - }, - "GPSINAI": { - "$ref": "#/$defs/NAI" - }, - "NAI": { - "type": "string" - }, - "LDID": { - "type": "string", - "pattern": "^([A-Z]{2}-.+-.+)$" - }, - "InternationalizedEmailAddress": { - "allOf": [ - { - "$ref": "#/$defs/ShortString" - }, - { - "type": "string", - "pattern": "^.+@.+$" - } - ] - }, - "EUI64": { - "type": "string", - "pattern": "^([a-f0-9]{2}:){7}[a-f0-9]{2}$" - }, - "CGI": { - "type": "string", - "pattern": "^[0-9]{3}-[0-9]{2,3}-[a-f0-9]{4}-[a-f0-9]{4}$" - }, - "ECGI": { - "type": "string", - "pattern": "^[0-9]{3}-[0-9]{2,3}-[a-f0-9]{7}$" - }, - "NCGI": { - "type": "string", - "pattern": "^[0-9]{3}-[0-9]{2,3}-[a-f0-9]{9}$" - }, - "ICCID": { - "type": "string", - "pattern": "^[0-9]{19,20}$" - }, - "IPProtocol": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "VLANID": { - "type": "integer", - "minimum": 0, - "maximum": 4095 - }, - "VIN": { - "type": "string", - "pattern": "^[A-HJ-NPR-Z0-9]{17}$" - }, - "ServiceAccessIdentifier": { - "type": "string" - }, - "IPAddress": { - "oneOf": [ - { - "type": "object", - "properties": { - "etsi280:IPv4Address": { - "$ref": "#/$defs/IPv4Address" - } - }, - "required": [ - "etsi280:IPv4Address" - ] - }, - { - "type": "object", - "properties": { - "etsi280:IPv6Address": { - "$ref": "#/$defs/IPv6Address" - } - }, - "required": [ - "etsi280:IPv6Address" - ] - } - ] - }, - "IPCIDR": { - "oneOf": [ - { - "type": "object", - "properties": { - "etsi280:IPv4CIDR": { - "$ref": "#/$defs/IPv4CIDR" - } - }, - "required": [ - "etsi280:IPv4CIDR" - ] - }, - { - "type": "object", - "properties": { - "etsi280:IPv6CIDR": { - "$ref": "#/$defs/IPv6CIDR" - } - }, - "required": [ - "etsi280:IPv6CIDR" - ] - } - ] - }, - "TCPPortRange": { - "type": "object", - "properties": { - "etsi280:start": { - "$ref": "#/$defs/TCPPort" - }, - "etsi280:end": { - "$ref": "#/$defs/TCPPort" - } - }, - "required": [ - "etsi280:start", - "etsi280:end" - ] - }, - "UDPPortRange": { - "type": "object", - "properties": { - "etsi280:start": { - "$ref": "#/$defs/UDPPort" - }, - "etsi280:end": { - "$ref": "#/$defs/UDPPort" - } - }, - "required": [ - "etsi280:start", - "etsi280:end" - ] - }, - "Port": { - "oneOf": [ - { - "type": "object", - "properties": { - "etsi280:TCPPort": { - "$ref": "#/$defs/TCPPort" - } - }, - "required": [ - "etsi280:TCPPort" - ] - }, - { - "type": "object", - "properties": { - "etsi280:UDPPort": { - "$ref": "#/$defs/UDPPort" - } - }, - "required": [ - "etsi280:UDPPort" - ] - } - ] - }, - "PortRange": { - "oneOf": [ - { - "type": "object", - "properties": { - "etsi280:TCPPortRange": { - "$ref": "#/$defs/TCPPortRange" - } - }, - "required": [ - "etsi280:TCPPortRange" - ] - }, - { - "type": "object", - "properties": { - "etsi280:UDPPortRange": { - "$ref": "#/$defs/UDPPortRange" - } - }, - "required": [ - "etsi280:UDPPortRange" - ] - } - ] - }, - "IPAddressPort": { - "type": "object", - "properties": { - "etsi280:address": { - "$ref": "#/$defs/IPAddress" - }, - "etsi280:port": { - "$ref": "#/$defs/Port" - } - }, - "required": [ - "etsi280:address", - "etsi280:port" - ] - }, - "IPAddressPortRange": { - "type": "object", - "properties": { - "etsi280:address": { - "$ref": "#/$defs/IPAddress" - }, - "etsi280:portRange": { - "$ref": "#/$defs/PortRange" - } - }, - "required": [ - "etsi280:address", - "etsi280:portRange" - ] - }, - "WGS84CoordinateDecimal": { - "type": "object", - "properties": { - "etsi280:latitude": { - "$ref": "#/$defs/WGS84LatitudeDecimal" - }, - "etsi280:longitude": { - "$ref": "#/$defs/WGS84LongitudeDecimal" - } - }, - "required": [ - "etsi280:latitude", - "etsi280:longitude" - ] - }, - "WGS84CoordinateAngular": { - "type": "object", - "properties": { - "etsi280:latitude": { - "$ref": "#/$defs/WGS84LatitudeAngular" - }, - "etsi280:longitude": { - "$ref": "#/$defs/WGS84LongitudeAngular" - } - }, - "required": [ - "etsi280:latitude", - "etsi280:longitude" - ] - } - } +{ + "$id": "ts_103280_2017_07", + "$defs": { + "ShortString": { + "type": "string", + "maxLength": 255 + }, + "LongString": { + "type": "string", + "maxLength": 65535 + }, + "LIID": { + "type": "string", + "pattern": "^([!-~]{1,25})|([0-9a-f]{26,50})$" + }, + "UTCDateTime": { + "type": "string", + "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$" + }, + "UTCMicrosecondDateTime": { + "type": "string", + "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{6}Z$" + }, + "QualifiedDateTime": { + "type": "string", + "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(Z|[+-][0-9]{2}:[0-9]{2})$" + }, + "QualifiedMicrosecondDateTime": { + "type": "string", + "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{6}(Z|[+-][0-9]{2}:[0-9]{2})$" + }, + "InternationalE164": { + "type": "string", + "pattern": "^[0-9]{1,15}$" + }, + "IMSI": { + "type": "string", + "pattern": "^[0-9]{6,15}$" + }, + "IMEI": { + "type": "string", + "pattern": "^[0-9]{14}$" + }, + "IMEICheckDigit": { + "type": "string", + "pattern": "^[0-9]{15}$" + }, + "IMEISV": { + "type": "string", + "pattern": "^[0-9]{16}$" + }, + "IPv4Address": { + "type": "string", + "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])$" + }, + "IPv4CIDR": { + "type": "string", + "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])/([1-2]?[0-9]|3[0-2])$" + }, + "IPv6Address": { + "type": "string", + "pattern": "^([0-9a-f]{4}:){7}([0-9a-f]{4})$" + }, + "IPv6CIDR": { + "type": "string", + "pattern": "^([0-9a-f]{4}:){7}([0-9a-f]{4})/(([1-9][0-9]?)|(1[0-1][0-9])|(12[0-8]))$" + }, + "TCPPort": { + "type": "integer", + "exclusiveMinimum": 1, + "maximum": 65535 + }, + "UDPPort": { + "type": "integer", + "minimum": 0, + "maximum": 65535 + }, + "MACAddress": { + "type": "string", + "pattern": "^([a-f0-9]{2}:){5}[a-f0-9]{2}$" + }, + "EmailAddress": { + "allOf": [ + { + "$ref": "#/$defs/ShortString" + }, + { + "type": "string", + "pattern": "^[a-zA-Z0-9\\.!#$%&'\\*\\+\\\\/=\\?\\^_`\\{\\|\\}~\\-]+@[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(\\.[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$" + } + ] + }, + "UUID": { + "type": "string", + "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" + }, + "ISOCountryCode": { + "type": "string", + "pattern": "^[A-Z]{2}$" + }, + "SIPURI": { + "type": "string", + "pattern": "^sips?:[a-zA-Z0-9!#$&-;=?-\\[\\]_~%]+$" + }, + "TELURI": { + "type": "string", + "pattern": "^tel:[a-zA-Z0-9!#$&-;=?-\\[\\]_~%]+$" + }, + "WGS84LatitudeDecimal": { + "type": "string", + "pattern": "^[NS][0-9]{2}\\.[0-9]{6}$" + }, + "WGS84LongitudeDecimal": { + "type": "string", + "pattern": "^[EW][0-9]{3}\\.[0-9]{6}$" + }, + "WGS84LatitudeAngular": { + "type": "string", + "pattern": "^[NS][0-9]{6}\\.[0-9]{2}$" + }, + "WGS84LongitudeAngular": { + "type": "string", + "pattern": "^[EW][0-9]{7}\\.[0-9]{2}$" + }, + "SUPIIMSI": { + "$ref": "#/$defs/IMSI" + }, + "SUPINAI": { + "$ref": "#/$defs/NAI" + }, + "SUCI": { + "type": "string", + "pattern": "^([a-fA-F0-9]{2})*$" + }, + "PEIIMEI": { + "$ref": "#/$defs/IMEI" + }, + "PEIIMEICheckDigit": { + "$ref": "#/$defs/IMEICheckDigit" + }, + "PEIIMEISV": { + "$ref": "#/$defs/IMEISV" + }, + "GPSIMSISDN": { + "type": "string", + "pattern": "^[0-9]{1,15}$" + }, + "GPSINAI": { + "$ref": "#/$defs/NAI" + }, + "NAI": { + "type": "string" + }, + "LDID": { + "type": "string", + "pattern": "^([A-Z]{2}-.+-.+)$" + }, + "InternationalizedEmailAddress": { + "allOf": [ + { + "$ref": "#/$defs/ShortString" + }, + { + "type": "string", + "pattern": "^.+@.+$" + } + ] + }, + "EUI64": { + "type": "string", + "pattern": "^([a-f0-9]{2}:){7}[a-f0-9]{2}$" + }, + "CGI": { + "type": "string", + "pattern": "^[0-9]{3}-[0-9]{2,3}-[a-f0-9]{4}-[a-f0-9]{4}$" + }, + "ECGI": { + "type": "string", + "pattern": "^[0-9]{3}-[0-9]{2,3}-[a-f0-9]{7}$" + }, + "NCGI": { + "type": "string", + "pattern": "^[0-9]{3}-[0-9]{2,3}-[a-f0-9]{9}$" + }, + "ICCID": { + "type": "string", + "pattern": "^[0-9]{19,20}$" + }, + "IPProtocol": { + "type": "integer", + "minimum": 0, + "maximum": 255 + }, + "VLANID": { + "type": "integer", + "minimum": 0, + "maximum": 4095 + }, + "VIN": { + "type": "string", + "pattern": "^[A-HJ-NPR-Z0-9]{17}$" + }, + "ServiceAccessIdentifier": { + "type": "string" + }, + "IPAddress": { + "oneOf": [ + { + "type": "object", + "properties": { + "etsi280:IPv4Address": { + "$ref": "#/$defs/IPv4Address" + } + }, + "required": [ + "etsi280:IPv4Address" + ] + }, + { + "type": "object", + "properties": { + "etsi280:IPv6Address": { + "$ref": "#/$defs/IPv6Address" + } + }, + "required": [ + "etsi280:IPv6Address" + ] + } + ] + }, + "IPCIDR": { + "oneOf": [ + { + "type": "object", + "properties": { + "etsi280:IPv4CIDR": { + "$ref": "#/$defs/IPv4CIDR" + } + }, + "required": [ + "etsi280:IPv4CIDR" + ] + }, + { + "type": "object", + "properties": { + "etsi280:IPv6CIDR": { + "$ref": "#/$defs/IPv6CIDR" + } + }, + "required": [ + "etsi280:IPv6CIDR" + ] + } + ] + }, + "TCPPortRange": { + "type": "object", + "properties": { + "etsi280:start": { + "$ref": "#/$defs/TCPPort" + }, + "etsi280:end": { + "$ref": "#/$defs/TCPPort" + } + }, + "required": [ + "etsi280:start", + "etsi280:end" + ] + }, + "UDPPortRange": { + "type": "object", + "properties": { + "etsi280:start": { + "$ref": "#/$defs/UDPPort" + }, + "etsi280:end": { + "$ref": "#/$defs/UDPPort" + } + }, + "required": [ + "etsi280:start", + "etsi280:end" + ] + }, + "Port": { + "oneOf": [ + { + "type": "object", + "properties": { + "etsi280:TCPPort": { + "$ref": "#/$defs/TCPPort" + } + }, + "required": [ + "etsi280:TCPPort" + ] + }, + { + "type": "object", + "properties": { + "etsi280:UDPPort": { + "$ref": "#/$defs/UDPPort" + } + }, + "required": [ + "etsi280:UDPPort" + ] + } + ] + }, + "PortRange": { + "oneOf": [ + { + "type": "object", + "properties": { + "etsi280:TCPPortRange": { + "$ref": "#/$defs/TCPPortRange" + } + }, + "required": [ + "etsi280:TCPPortRange" + ] + }, + { + "type": "object", + "properties": { + "etsi280:UDPPortRange": { + "$ref": "#/$defs/UDPPortRange" + } + }, + "required": [ + "etsi280:UDPPortRange" + ] + } + ] + }, + "IPAddressPort": { + "type": "object", + "properties": { + "etsi280:address": { + "$ref": "#/$defs/IPAddress" + }, + "etsi280:port": { + "$ref": "#/$defs/Port" + } + }, + "required": [ + "etsi280:address", + "etsi280:port" + ] + }, + "IPAddressPortRange": { + "type": "object", + "properties": { + "etsi280:address": { + "$ref": "#/$defs/IPAddress" + }, + "etsi280:portRange": { + "$ref": "#/$defs/PortRange" + } + }, + "required": [ + "etsi280:address", + "etsi280:portRange" + ] + }, + "WGS84CoordinateDecimal": { + "type": "object", + "properties": { + "etsi280:latitude": { + "$ref": "#/$defs/WGS84LatitudeDecimal" + }, + "etsi280:longitude": { + "$ref": "#/$defs/WGS84LongitudeDecimal" + } + }, + "required": [ + "etsi280:latitude", + "etsi280:longitude" + ] + }, + "WGS84CoordinateAngular": { + "type": "object", + "properties": { + "etsi280:latitude": { + "$ref": "#/$defs/WGS84LatitudeAngular" + }, + "etsi280:longitude": { + "$ref": "#/$defs/WGS84LongitudeAngular" + } + }, + "required": [ + "etsi280:latitude", + "etsi280:longitude" + ] + } + } } \ No newline at end of file diff --git a/utils/translate_spec.py b/utils/translate_spec.py index ce7a05572deaabffdd85573c38b154fe31991b5c..01880ff872f4c25cc447f1be3825254c7fc44cda 100644 --- a/utils/translate_spec.py +++ b/utils/translate_spec.py @@ -112,6 +112,6 @@ if __name__ == "__main__": if "Core" in schema_tuple[1]: json_string = json_string.replace('"$ref": "#/$defs/HI1Object"', '"$ref": "#/$defs/ConcreteHI1Object"') - with open(str(js_path), 'w') as f: + with open(str(js_path), 'w', newline='\n') as f: f.write(json_string) json_schemas[js['$id']] = json.loads(json_string)