Schema for Recurrence and PIM

From
Toby Considine <>
Date
2015-03-21T21:59:00+00:00
ID
Thread
Schema for Recurrence and PIM
A VAvailability consist of some annotation and a set of one to many Avaliabilities.

Is there any difference between an Avaiability and a Recurrence? TO be specific, is this true:


<!--
Properties that take a recurrence value
-->

<  xs:element
name  ="  availability  "
type  ="  mpsm:RecurrenceType  "/>

If these definitions are already in place:


<  xs:element
name  ="  recurrence  "
type  ="  mpsm:RecurrenceType  "/>

<  xs:complexType
name  ="  RecurrenceType  ">

<  xs:annotation  >

<  xs:documentation
>  The Recurrence Type consists of a seed date or date-time, rules to compute compute off-sets of that seed date, an optional end or final boundary to the series, and optional exclusions, i.e., dates to be skipped. See RFC 5545 section 3.3.10 for a discussion.
</  xs:documentation  >

</  xs:annotation  >

<  xs:sequence  >

<  xs:element
ref  ="  mpsm:dtStart  "
minOccurs  ="  1  "
maxOccurs  ="  1  "
/>

<  xs:element
ref  ="  mpsm:rDate  "
minOccurs  ="  0  "
maxOccurs  ="  unbounded  "/>

<  xs:element
ref  ="  mpsm:recurrenceRule  "
minOccurs  ="  1  "
maxOccurs  ="  unbounded  "/>

<  xs:element
ref  ="  mpsm:exDate  "
minOccurs  ="  0  "
maxOccurs  ="  unbounded  "/>

<  xs:element
ref  ="  mpsm:dtEnd  "
minOccurs  ="  0  "
maxOccurs  ="  1  "/>

</  xs:sequence  >

</  xs:complexType  >

<!--
recurrence
-->

<  xs:element
name  ="  recurrenceRule  "
type  ="  mpsm:RecurrenceRuleType  "/>

<  xs:complexType
name  ="  RecurrenceRuleType  ">

<  xs:annotation  >

<  xs:documentation
>  The Recurrence Rule Type is a name value pair consisting of Rule Part and Rule Values. The legal values for each Rule Part are specifed in RFC5545. There is no rule specifying the order for serializing rules; in whaterver order they appear, they must be processed in the order specified for processing rule parts in RFC5545.See RFC 5545 section 3.3.10 for a discussion.  </  xs:documentation  >

</  xs:annotation  >

<  xs:sequence  >

<  xs:element
ref  ="  mpsm:recurRulePart  "
minOccurs  ="  1  "
maxOccurs  ="  1  "
/>

<  xs:element
ref  ="  mpsm:recurRuleValues  "
minOccurs  ="  1  "
maxOccurs  ="  1  "
/>

</  xs:sequence  ></  xs:complexType
>


tc

“The single biggest problem in communication is the illusion that it has taken place.”
– George Bernard Shaw.
Toby Considine TC9, Inc.

Phone: (919)619-2104
http://www.tc9.com

Chair, OASIS OBIX Technical Committee
Chair, OASIS WS-Calendar Technical Committee
Editor, OASIS Energy Market Information Exchange (EMIX)

Editor, OASIS Energy Interoperation blog:
http://www.NewDaedalus.com