<define name="DATESTRUCT">
<element name="DATESTRUCT">
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
>DateStruct is one of three elements, along with dateRange and date, used to
systematize the capture of dates across project documents. DateStruct is used to tag
all singular dates (not ranges) for which individual components (day, month, year)
have a varying degrees of certainty or for which only a general season or occasion
is known. DateStruct also permits recording the time of day an event
occurred.</a:documentation>
<optional>
<attribute name="CALENDAR" a:defaultValue="NEWSTYLE">
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
>An attribute of date, dateRange, and dateStruct, calendar is used to
indicate when a given date took place.</a:documentation>
<choice>
<value>NEWSTYLE</value>
<value>BC</value>
</choice>
</attribute>
</optional>
<optional>
<attribute name="CERTAINTY" a:defaultValue="CERT">
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
>Certainty is an attribute of date, dateRange, and dateStruct and is used to
indicate the nature of certainty that you have about a given
date.</a:documentation>
<choice>
<value>CERT</value>
<a:documentation>Certain</a:documentation>
<value>C</value>
<a:documentation>Circa</a:documentation>
<value>BY</value>
<a:documentation>By this date</a:documentation>
<value>AFTER</value>
<a:documentation>After this date</a:documentation>
<value>UNKNOWN</value>
<a:documentation>Unknown date</a:documentation>
<value>ROUGHLYDATED</value>
<a:documentation>Rough certainty</a:documentation>
</choice>
</attribute>
</optional>
<optional>
<attribute name="VALUE">
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
>Value is used to record a formatted date-related value.</a:documentation>
<choice>
<data type="date"/>
<data type="gYearMonth"/>
<data type="gYear"/>
</choice>
</attribute>
</optional>
<optional>
<attribute name="annotationId">
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
>Provides a unique annotation identifier for the element bearing the
attribute.</a:documentation>
</attribute>
</optional>
<optional>
<attribute name="offsetId">
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
>Designates the parent tag from which the offset is being
counted.</a:documentation>
</attribute>
</optional>
<oneOrMore>
<choice>
<text/>
<ref name="BIBCITS"/>
<ref name="SCHOOL"/>
<ref name="TIME"/>
<element name="DAY">
<a:documentation
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">A
sub-element of dateStruct, day is used to tag the specific day on which
an event occurred.</a:documentation>
<optional>
<attribute name="CERTAINTY" a:defaultValue="CERT">
<a:documentation
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
>Certainty is an attribute of date, dateRange, and dateStruct
and is used to indicate the nature of certainty that you have
about a given date.</a:documentation>
<choice>
<value>CERT</value>
<a:documentation>Certain</a:documentation>
<value>C</value>
<a:documentation>Circa</a:documentation>
<value>BY</value>
<a:documentation>By this date</a:documentation>
<value>AFTER</value>
<a:documentation>After this date</a:documentation>
<value>UNKNOWN</value>
<a:documentation>Unknown date</a:documentation>
<value>ROUGHLYDATED</value>
<a:documentation>Rough certainty</a:documentation>
</choice>
</attribute>
</optional>
<optional>
<attribute name="VALUE">
<a:documentation
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
>Value is used to record a formatted date- or time-related
value.</a:documentation>
<data type="NMTOKEN"/>
</attribute>
</optional>
<text/>
</element>
<element name="MONTH">
<a:documentation
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Month is a
sub-element of dateStruct and is meant to record only the month portion
of a date for which there is a contested or varying degree of certainty
among date components.</a:documentation>
<optional>
<attribute name="CERTAINTY" a:defaultValue="CERT">
<a:documentation
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
>Certainty is an attribute of date, dateRange, and dateStruct
and is used to indicate the nature of certainty that you have
about a given date.</a:documentation>
<choice>
<value>CERT</value>
<a:documentation>Certain</a:documentation>
<value>C</value>
<a:documentation>Circa</a:documentation>
<value>BY</value>
<a:documentation>By this date</a:documentation>
<value>AFTER</value>
<a:documentation>After this date</a:documentation>
<value>UNKNOWN</value>
<a:documentation>Unknown date</a:documentation>
<value>ROUGHLYDATED</value>
<a:documentation>Rough certainty</a:documentation>
</choice>
</attribute>
</optional>
<optional>
<attribute name="VALUE">
<a:documentation
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
>Value is used to record a formatted date- or time-related
value.</a:documentation>
<data type="integer"/>
</attribute>
</optional>
<text/>
</element>
<element name="OCCASION">
<a:documentation
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The
occasion element surrounds dates, such as holidays, that are best
referred to by name not date.</a:documentation>
<data type="NCName"/>
</element>
<element name="SEASON">
<optional>
<attribute name="CERTAINTY" a:defaultValue="CERT">
<a:documentation
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
>Certainty is an attribute of date, dateRange, and dateStruct
and is used to indicate the nature of certainty that you have
about a given date.</a:documentation>
<choice>
<value>CERT</value>
<a:documentation>Certain</a:documentation>
<value>C</value>
<a:documentation>Circa</a:documentation>
<value>BY</value>
<a:documentation>By this date</a:documentation>
<value>AFTER</value>
<a:documentation>After this date</a:documentation>
<value>UNKNOWN</value>
<a:documentation>Unknown date</a:documentation>
<value>ROUGHLYDATED</value>
<a:documentation>Rough certainty</a:documentation>
</choice>
</attribute>
</optional>
<optional>
<attribute name="REG" a:documentation="Regularized value">
<a:documentation
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
>Reg (or regularization) contains a reading which has been
regularized or normalized in some sense.</a:documentation>
<data type="NMTOKEN"/>
</attribute>
</optional>
<optional>
<attribute name="VALUE">
<a:documentation
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
>Value is used to record a formatted date- or time-related
value.</a:documentation>
<data type="NMTOKEN"/>
</attribute>
</optional>
<text/>
</element>
<element name="YEAR">
<a:documentation
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The year
element surrounds the name of a year in a dateStruct element. Most years
that will be tagged on a project can be included in a simple date
element, but those years that have a degree of certainty different from
the remainder of the date of which it is part, should be included in a
dateStruct--year element.</a:documentation>
<optional>
<attribute name="CERTAINTY" a:defaultValue="CERT">
<a:documentation
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
>Certainty is an attribute of date, dateRange, and dateStruct
and is used to indicate the nature of certainty that you have
about a given date.</a:documentation>
<choice>
<value>CERT</value>
<a:documentation>Certain</a:documentation>
<value>C</value>
<a:documentation>Circa</a:documentation>
<value>BY</value>
<a:documentation>By this date</a:documentation>
<value>AFTER</value>
<a:documentation>After this date</a:documentation>
<value>UNKNOWN</value>
<a:documentation>Unknown date</a:documentation>
<value>ROUGHLYDATED</value>
<a:documentation>Rough certainty</a:documentation>
</choice>
</attribute>
</optional>
<optional>
<attribute name="REG" a:documentation="Regularized value">
<a:documentation
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
>Reg (or regularization) contains a reading which has been
regularized or normalized in some sense.</a:documentation>
<data type="NMTOKEN"/>
</attribute>
</optional>
<optional>
<attribute name="VALUE">
<a:documentation
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
>Value is used to record a formatted date- or time-related
value.</a:documentation>
<data type="NMTOKEN"/>
</attribute>
</optional>
<text/>
</element>
</choice>
</oneOrMore>
</element>
</define>