⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 temporal.xsd

📁 联合国农粮署牵头开发的geonetwork源代码最新版
💻 XSD
📖 第 1 页 / 共 2 页
字号:
					<choice>						<element name="beginPosition" type="gml:TimePositionType"/>						<element name="begin" type="gml:TimeInstantPropertyType"/>					</choice>					<choice>						<element name="endPosition" type="gml:TimePositionType"/>						<element name="end" type="gml:TimeInstantPropertyType"/>					</choice>					<group ref="gml:timeLength" minOccurs="0"/>				</sequence>			</extension>		</complexContent>	</complexType>	<!-- ================================================================== -->	<complexType name="TimePeriodPropertyType">		<sequence minOccurs="0">			<element ref="gml:TimePeriod"/>		</sequence>		<attributeGroup ref="gml:AssociationAttributeGroup"/>	</complexType>	<!-- ================================================================== -->	<!-- ==== duration & interval ===== -->	<!-- ================================================================== -->	<group name="timeLength">		<annotation>			<documentation>This model group is provided as an alternative to the abstract susbstitutionGroup head _timeLength.		ISO 19136 comment 411</documentation>		</annotation>		<choice>			<element ref="gml:duration"/>			<element ref="gml:timeInterval"/>		</choice>	</group>	<!-- ================================================================== -->	<element name="duration" type="duration">		<annotation>			<documentation xml:lang="en">This element is an instance of the primitive xsd:duration simple type to       enable use of the ISO 8601 syntax for temporal length (e.g. P5DT4H30M).       It is a valid subtype of TimeDurationType according to section 3.14.6,       rule 2.2.4 in XML Schema, Part 1.</documentation>		</annotation>	</element>	<!-- ================================================================== -->	<element name="timeInterval" type="gml:TimeIntervalLengthType">		<annotation>			<documentation>This element is a valid subtype of TimeDurationType 			according to section 3.14.6, rule 2.2.4 in XML Schema, Part 1.</documentation>		</annotation>	</element>	<!-- ===================================== -->	<complexType name="TimeIntervalLengthType" final="#all">		<annotation>			<documentation xml:lang="en">This type extends the built-in xsd:decimal simple type to allow floating-point       values for temporal length. According to  the ISO 11404 model you have to use       positiveInteger together with appropriate values for radix and factor. The       resolution of the time interval is to one radix ^(-factor) of the specified       time unit (e.g. unit="second", radix="10", factor="3" specifies a resolution       of milliseconds). It is a subtype of TimeDurationType.</documentation>		</annotation>		<simpleContent>			<extension base="decimal">				<attribute name="unit" type="gml:TimeUnitType" use="required"/>				<attribute name="radix" type="positiveInteger" use="optional"/>				<attribute name="factor" type="integer" use="optional"/>			</extension>		</simpleContent>	</complexType>	<!-- ================================================================== -->	<simpleType name="TimeUnitType">		<annotation>			<documentation xml:lang="en">Standard units for measuring time intervals (see ISO 31-1).</documentation>		</annotation>		<union>			<simpleType>				<restriction base="string">					<enumeration value="year"/>					<enumeration value="day"/>					<enumeration value="hour"/>					<enumeration value="minute"/>					<enumeration value="second"/>				</restriction>			</simpleType>			<simpleType>				<restriction base="string">					<pattern value="other:\w{2,}"/>				</restriction>			</simpleType>		</union>	</simpleType>	<!-- ================================================================== -->	<!-- ==== Time Position ===== -->	<!-- ================================================================== -->	<element name="timePosition" type="gml:TimePositionType">		<annotation>			<documentation>Direct representation of a temporal position</documentation>		</annotation>	</element>	<!-- ================================================================== -->	<complexType name="TimePositionType" final="#all">		<annotation>			<documentation xml:lang="en">Direct representation of a temporal position.       Indeterminate time values are also allowed, as described in ISO 19108. The indeterminatePosition       attribute can be used alone or it can qualify a specific value for temporal position (e.g. before       2002-12, after 1019624400).       For time values that identify position within a calendar, the calendarEraName attribute provides       the name of the calendar era to which the date is referenced (e.g. the Meiji era of the Japanese calendar).</documentation>		</annotation>		<simpleContent>			<extension base="gml:TimePositionUnion">				<attribute name="frame" type="anyURI" use="optional" default="#ISO-8601"/>				<attribute name="calendarEraName" type="string" use="optional"/>				<attribute name="indeterminatePosition" type="gml:TimeIndeterminateValueType" use="optional"/>			</extension>		</simpleContent>	</complexType>	<!-- ================================================================== -->	<simpleType name="TimePositionUnion">		<annotation>			<documentation xml:lang="en">The ISO 19108:2002 hierarchy of subtypes for temporal position are collapsed       by defining a union of XML Schema simple types for indicating temporal position relative       to a specific reference system.             Dates and dateTime may be indicated with varying degrees of precision.        dateTime by itself does not allow right-truncation, except for fractions of seconds.       When used with non-Gregorian calendars based on years, months, days,       the same lexical representation should still be used, with leading zeros added if the       year value would otherwise have fewer than four digits.              An ordinal position may be referenced via URI identifying the definition of an ordinal era.              A time coordinate value is indicated as a decimal (e.g. UNIX time, GPS calendar).</documentation>		</annotation>		<union memberTypes="gml:CalDate time dateTime anyURI decimal"/>	</simpleType>	<!-- ================================================================== -->	<simpleType name="CalDate">		<annotation>			<documentation xml:lang="en">Calendar dates may be indicated with varying degrees of precision,       using year, year-month, date.       When used with non-Gregorian calendars based on years, months, days,       the same lexical representation should still be used, with leading zeros added if the       year value would otherwise have fewer than four digits.        time is used for a position that recurs daily (see clause 5.4.4.2 of ISO 19108:2002).</documentation>		</annotation>		<union memberTypes="date gYearMonth gYear"/>	</simpleType>	<!-- ================================================================== -->	<simpleType name="TimeIndeterminateValueType">		<annotation>			<documentation xml:lang="en">This enumerated data type specifies values for indeterminate positions.</documentation>		</annotation>		<restriction base="string">			<enumeration value="after"/>			<enumeration value="before"/>			<enumeration value="now"/>			<enumeration value="unknown"/>		</restriction>	</simpleType>	<!-- ================================================================== -->	<!-- ==== Convenience properties ==== -->	<!-- ================================================================== -->	<element name="validTime" type="gml:TimePrimitivePropertyType"/>	<!-- ===================================== --></schema>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -