Sketch of what a Schema what a WS-Calendar constrained for Transaction Services might look like. tc "If something is not worth doing, it`s not worth doing well" Peter Drucker Toby Considine Chair, OASIS oBIX Technical Committee U.S. National Inst. of Standards and Tech. Smart Grid Architecture Committee Facilities Technology Office University of North Carolina Chapel Hill, NC Email: Toby.Considine@ unc.edu Phone: (919)962-9073
http://www.oasis-open.org blog:
www.NewDaedalus.com <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:ts="tscalendar-wip" xmlns:xs="
http://www.w3.org/2001/XMLSchema" ; xmlns:xcal="urn:ietf:params:xml:ns:icalendar-2.0" targetNamespace="tscalendar-wip" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:import namespace="urn:ietf:params:xml:ns:icalendar-2.0" schemaLocation="file:///C:/Users/tobias/Documents/Committees%20&%20Standards/WSCalendar/Artifacts/CSD04%20WIP/iCalendar-wscal-extensions.xsd"/> <!-- <xs:annotation> <xs:appinfo source="
http://schemas.opengis.net/gml/3.2.1/profiles/gmlsfProfile/2.0/gmlsfLevels.xsd" ;> <gmlsf:ComplianceLevel>0</gmlsf:ComplianceLevel> <gmlsf:GMLProfileSchema>
http://schemas.opengis.net/gml/3.2.1/profiles/gmlsfProfile/2.0/gmlsf.xsd </gmlsf:GMLProfileSchema> </xs:appinfo> </xs:annotation>--> <xs:complexType name="interval" mixed="false"> <xs:sequence> <xs:element ref="ts:properties" minOccurs="1" maxOccurs="1"/> <xs:element name="components" type="xcal:ArrayOfComponents"/> </xs:sequence> </xs:complexType> <xs:complexType name="wsCalendarGluonType" mixed="false"> <xs:sequence> <xs:element ref="ts:properties" minOccurs="1" maxOccurs="1"/> <xs:element name="components" type="xcal:ArrayOfComponents"/> </xs:sequence> </xs:complexType> <xs:element name="properties" type="ts:PropertiesType"/> <xs:complexType name="PropertiesType" mixed="false"> <xs:sequence> <xs:element ref="xcal:uid"/> <xs:element ref="xcal:dtstart"/> <xs:element ref="xcal:duration"/> <xs:element ref="xcal:x-wsCalendar-attach"/> </xs:sequence> </xs:complexType> <xs:element name="wsCalendarAttach" type="ts:WsCalendarAttachType"/> <xs:complexType name="WsCalendarAttachType" mixed="false"> <xs:annotation> <xs:documentation>types the content of the xCal attach element</xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="properties"> <xs:complexType> <xs:sequence minOccurs="0" maxOccurs="1"> <xs:element ref="xcal:startbeforetolerance"/> <xs:element ref="xcal:startaftertolerance"/> <xs:element ref="xcal:endtbeforetolerance"/> <xs:element ref="xcal:endaftertolerance"/> <xs:element ref="xcal:durationlongtolerance"/> <xs:element ref="xcal:durationshorttolerance"/> <xs:element ref="xcal:granularity"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element ref="xcal:artifactBase" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:schema>