Commit 21b9440d authored by Kim Mortimer's avatar Kim Mortimer
Browse files

Revise instrument events as per ISO 19115-2:2019

parent e43af8fe
......@@ -89,7 +89,7 @@ Revised to serve MERIDIAN
</xs:complexType>
<!-- ====================================================================== -->
<!-- Add MI_Event to MI_Instrument -->
<!-- Add MI_InstrumentationEventList to MI_Instrument, from ISO 19115-2:2019 -->
<!-- ====================================================================== -->
<xs:element name="MI_Instrument" type="MER:MI_Instrument_Type" substitutionGroup="gmi:MI_Instrument"/>
......@@ -101,7 +101,7 @@ Revised to serve MERIDIAN
<xs:complexContent>
<xs:extension base="gmi:MI_Instrument_Type">
<xs:sequence>
<xs:element name="MER:relatedEvents" type="gmi:MI_Event_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="MER:history" type="MI_InstrumentationEventList_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="gco:isoType" use="required" fixed="gmi:MI_Instrument"/>
</xs:extension>
......@@ -116,5 +116,99 @@ Revised to serve MERIDIAN
<xs:attributeGroup ref="gco:ObjectReference"/>
<xs:attribute ref="gco:nilReason"/>
</xs:complexType>
<!-- ........................................................................ -->
<xs:complexType name="MI_InstrumentationEventList">
<xs:annotation>
<xs:documentation>Instrumentation events from ISO 19115-2:2019</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="gco:AbstractObject_Type">
<xs:sequence>
<xs:element name="citation" type="gmd:CI_Citation_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="description" type="gco:CharacterString_PropertyType" minOccurs="1" maxOccurs="1"/>
<xs:element name="locale" type="gmd:PT_Locale_PropertyType" minOccurs="0" maxOccurs="1"/>
<xs:element name="constraints" type="gmd:MD_Constraints_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="instrumentationEvent" type="MI_InstrumentEvent_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="MI_InstrumentationEventList" type="MER:MI_InstrumentationEventList_Type"/>
<xs:complexType name="MI_InstrumentationEventList_PropertyType">
<xs:sequence>
<xs:element ref="MER:MI_InstrumentationEventList" minOccurs="0"/>
</xs:sequence>
<xs:attributeGroup ref="gco:ObjectReference"/>
<xs:attribute ref="gco:nilReason"/>
</xs:complexType>
<!-- ........................................................................ -->
<xs:complexType name="MI_InstrumentEvent">
<xs:annotation>
<xs:documentation>Instrumentation events from ISO 19115-2:2019</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="gco:AbstractObject_Type">
<xs:sequence>
<xs:element name="citation" type="gmd:CI_Citation_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="description" type="gco:CharacterString_PropertyType" minOccurs="1" maxOccurs="1"/>
<xs:element name="extent" type="gmd:EX_Extent_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="type" type="MER:MI_EventTypeCode_PropertyType" minOccurs="1" maxOccurs="1"/>
<xs:element name="revisionHistory" type="MER:MI_Revision_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="MI_InstrumentEvent" type="MER:MI_InstrumentEvent_Type"/>
<xs:complexType name="MI_InstrumentEvent_PropertyType">
<xs:sequence>
<xs:element ref="MER:MI_InstrumentEvent" minOccurs="0"/>
</xs:sequence>
<xs:attributeGroup ref="gco:ObjectReference"/>
<xs:attribute ref="gco:nilReason"/>
</xs:complexType>
<!-- ........................................................................ -->
<xs:complexType name="MI_Revision">
<xs:annotation>
<xs:documentation>Instrumentation events from ISO 19115-2:2019</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="gco:AbstractObject_Type">
<xs:sequence>
<xs:element name="description" type="gco:CharacterString_PropertyType" minOccurs="1" maxOccurs="1"/>
<xs:element name="responsibleParty" type="gmd:CI_ResponsibleParty_PropertyType" minOccurs="1" maxOccurs="unbounded"/>
<xs:element name="dateInfo" type="gmd:CI_Date_PropertyType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="MI_Revision" type="MER:MI_Revision_Type"/>
<xs:complexType name="MI_Revision_PropertyType">
<xs:sequence>
<xs:element ref="MER:MI_Revision" minOccurs="0"/>
</xs:sequence>
<xs:attributeGroup ref="gco:ObjectReference"/>
<xs:attribute ref="gco:nilReason"/>
</xs:complexType>
<!-- =========================================================================== -->
<!-- ........................................................................ -->
<xs:element name="MI_EventTypeCode" type="gco:CodeListValue_Type" substitutionGroup="gco:CharacterString"/>
<!-- ........................................................................ -->
<xs:complexType name="MI_EventTypeCode_PropertyType">
<xs:sequence>
<xs:element ref="MER:MI_EventTypeCode" minOccurs="0"/>
</xs:sequence>
<xs:attribute ref="gco:nilReason"/>
</xs:complexType>
</xs:schema>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment