diff --git a/v3_5_0/CDT-semanticMashupJobProfile-v3_5_0.xsd b/v3_5_0/CDT-semanticMashupJobProfile-v3_5_0.xsd new file mode 100644 index 0000000000000000000000000000000000000000..0c7bfb13b28ae33ea31e9e0e7806f3de534ea6a7 --- /dev/null +++ b/v3_5_0/CDT-semanticMashupJobProfile-v3_5_0.xsd @@ -0,0 +1,96 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Copyright Notification + + +The oneM2M Partners authorize you to copy this document, provided that you retain all copyright and other proprietary notices +contained in the original materials on any copies of the materials and that you comply strictly with these terms. +This copyright permission does not constitute an endorsement of the products or services, nor does it encompass the granting of +any patent rights. The oneM2M Partners assume no responsibility for errors or omissions in this document. +© 2016, oneM2M Partners Type 1 (ARIB, ATIS, CCSA, ETSI, TIA, TSDSI, TTA, TTC). All rights reserved. + +Notice of Disclaimer & Limitation of Liability + +The information provided in this document is directed solely to professionals who have the appropriate degree of experience +to understand and interpret its contents in accordance with generally accepted engineering or other professional standards +and applicable regulations. No recommendation as to products or vendors is made or should be implied. + +NO REPRESENTATION OR WARRANTY IS MADE THAT THE INFORMATION IS TECHNICALLY ACCURATE OR SUFFICIENT OR CONFORMS TO ANY STATUTE, +GOVERNMENTAL RULE OR REGULATION, AND FURTHER, NO REPRESENTATION OR WARRANTY IS MADE OF MERCHANTABILITY OR FITNESS FOR ANY +PARTICULAR PURPOSE OR AGAINST INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS. +NO oneM2M PARTNER TYPE 1 SHALL BE LIABLE, BEYOND THE AMOUNT OF ANY SUM RECEIVED IN PAYMENT BY THAT PARTNER FOR THIS DOCUMENT, +WITH RESPECT TO ANY CLAIM, AND IN NO EVENT SHALL oneM2M BE LIABLE FOR LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES. +oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PROVIDED IN THIS DOCUMENT IS AT THE RISK OF THE USER. + +--> + +<xs:schema targetNamespace="http://www.onem2m.org/xml/protocols" xmlns:m2m="http://www.onem2m.org/xml/protocols" + elementFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:include schemaLocation="CDT-commonTypes-v3_5_0.xsd" /> + <xs:include schemaLocation="CDT-subscription-v3_5_0.xsd" /> + <xs:include schemaLocation="CDT-semanticMashupInstance-v3_5_0.xsd" /> + <xs:include schemaLocation="CDT-semanticDescriptor-v3_5_0.xsd" /> + + <xs:element name="semanticMashupJobProfile" substitutionGroup="m2m:sg_announceableResource"> + <xs:complexType> + <xs:complexContent> + <xs:extension base="m2m:announceableResource"> + <xs:sequence> + <!-- Common Attribute, specific to <container>, <contentInstance>, <request>, <delivery>, + <ontology>, and other resources --> + <xs:element name="stateTag" type="xs:nonNegativeInteger" /> + <xs:element name="creator" type="m2m:ID" minOccurs="0" /> + + <!-- Resource Specific Attributes --> + <xs:element name="memberFilter" type="m2m:sparql" /> + <xs:element name="smiID" type="m2m:listOfURIs" minOccurs="0" /> + <xs:element name="inputDescriptor" type="xs:base64Binary" minOccurs="0" /> + <xs:element name="outputDescriptor" type="xs:base64Binary" /> + <xs:element name="functionDescriptor" type="xs:base64Binary" /> + + <!-- Child Resources --> + <xs:choice minOccurs="0" maxOccurs="1"> + <xs:element name="childResource" type="m2m:childResourceRef" minOccurs="1" maxOccurs="unbounded" /> + <xs:choice minOccurs="1" maxOccurs="unbounded"> + <xs:element ref="m2m:subscription" /> + <xs:element ref="m2m:semanticMashupInstance" /> + <xs:element ref="m2m:semanticDescriptor" /> + </xs:choice> + </xs:choice> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + </xs:element> + + <xs:element name="semanticMashupJobProfileAnnc" substitutionGroup="m2m:sg_announcedResource"> + <xs:complexType> + <xs:complexContent> + <xs:extension base="m2m:announcedResource"> + <xs:sequence> + <!-- Common Attribute, specific to <container>, <contentInstance>, <request> and <delivery> resources --> + <xs:element name="stateTag" type="xs:nonNegativeInteger" /> + <!-- Resource Specific Attributes --> + <xs:element name="memberFilter" type="m2m:sparql" minOccurs="0" /> + <xs:element name="smiID" type="m2m:listOfURIs" minOccurs="0" /> + <xs:element name="inputDescriptor" type="xs:base64Binary" minOccurs="0" /> + <xs:element name="outputDescriptor" type="xs:base64Binary" minOccurs="0" /> + <xs:element name="functionDescriptor" type="xs:base64Binary" minOccurs="0" /> + + <!-- Child Resources --> + <xs:choice minOccurs="0" maxOccurs="1"> + <xs:element name="childResource" type="m2m:childResourceRef" minOccurs="1" maxOccurs="unbounded" /> + <xs:choice minOccurs="1" maxOccurs="unbounded"> + <xs:element ref="m2m:subscription" /> + <xs:element ref="m2m:semanticMashupInstance" /> + <xs:element ref="m2m:semanticMashupInstanceAnnc" /> + <xs:element ref="m2m:semanticDescriptor" /> + <xs:element ref="m2m:semanticDescriptorAnnc" /> + </xs:choice> + </xs:choice> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + </xs:element> +</xs:schema> \ No newline at end of file