From 83620b54f1d30b238e90c72ff4dc7e13d40dc760 Mon Sep 17 00:00:00 2001 From: reinaortega <miguelangel.reinaortega@etsi.org> Date: Wed, 14 Oct 2020 11:03:13 +0200 Subject: [PATCH] XSD v3_18_0 baseline Signed-off-by: reinaortega <miguelangel.reinaortega@etsi.org> --- CDT-commonTypes.xsd | 6 +++--- CDT-enumerationTypes.xsd | 25 ++----------------------- CDT-triggerPayload.xsd | 11 +---------- 3 files changed, 6 insertions(+), 36 deletions(-) diff --git a/CDT-commonTypes.xsd b/CDT-commonTypes.xsd index 031e350..c63923c 100644 --- a/CDT-commonTypes.xsd +++ b/CDT-commonTypes.xsd @@ -271,9 +271,9 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR <!-- auxiliary data type required to define "serializations" below --> <xs:simpleType name="permittedMediaTypes"> <xs:restriction base="m2m:typeOfContent"> - <xs:enumeration value="application/xml" /> - <xs:enumeration value="application/json" /> - <xs:enumeration value="application/cbor" /> + <xs:enumeration value="xml" /> + <xs:enumeration value="json" /> + <xs:enumeration value="cbor" /> </xs:restriction> </xs:simpleType> diff --git a/CDT-enumerationTypes.xsd b/CDT-enumerationTypes.xsd index fcb08d2..9041619 100644 --- a/CDT-enumerationTypes.xsd +++ b/CDT-enumerationTypes.xsd @@ -388,6 +388,8 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR <xs:enumeration value="4126" /> <!-- OPERATION_DENIED_BY_REMOTE_ENTITY --> <xs:enumeration value="4127" /> + <!-- SERVICE_SUBSCRIPTION_NOT_ESTABLISHED --> + <xs:enumeration value="4128" /> <!-- INTERNAL_SERVER_ERROR --> <xs:enumeration value="5000" /> @@ -1378,29 +1380,6 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR </xs:restriction> </xs:simpleType> - - <xs:simpleType name="serializationType"> - <xs:annotation> - <xs:documentation>Used for the triggerInfoSrializationType field of trigger requests on Mcn</xs:documentation> - </xs:annotation> - <xs:restriction base="xs:integer"> - <!-- XML --> - <xs:enumeration value="1" /> - <!-- JSON --> - <xs:enumeration value="2" /> - <!-- XML + JSON --> - <xs:enumeration value="3" /> - <!-- CBOR --> - <xs:enumeration value="4" /> - <!-- XML + CBOR --> - <xs:enumeration value="5" /> - <!-- JSON + CBOR --> - <xs:enumeration value="6" /> - <!-- XML + JSON + CBOR --> - <xs:enumeration value="7" /> - </xs:restriction> - </xs:simpleType> - <xs:simpleType name="authorizationDecision"> <xs:annotation> <xs:documentation>Used for the decision attribute of the of authorizationDecision resource</xs:documentation> diff --git a/CDT-triggerPayload.xsd b/CDT-triggerPayload.xsd index 4b9bb9d..8703dc7 100644 --- a/CDT-triggerPayload.xsd +++ b/CDT-triggerPayload.xsd @@ -39,16 +39,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR <xs:element name="triggerInfoOperation" type="m2m:operation" minOccurs="0"/> <xs:element name="targetedResourceType" type="m2m:resourceType" minOccurs="0"/> <xs:element name="triggerInfoAE-ID" type="m2m:ID" minOccurs="0"/> - <xs:element name="triggerInfoSerializationTypes" minOccurs="0"> - <xs:simpleType> - <xs:restriction> - <xs:simpleType> - <xs:list itemType="m2m:serializationType"/> - </xs:simpleType> - <xs:minLength value="1"/> - </xs:restriction> - </xs:simpleType> - </xs:element> + <xs:element name="triggerInfoSerializationTypes" type="m2m:serializations" minOccurs="0"/> </xs:sequence> </xs:complexType> </xs:element> -- GitLab