Skip to content

Commit 1a19afc

Browse files
committed
Update to metadataBase.xsd
Previous version of metadataBase had element describe with type="mdb:MD_Metadata_PropertyType" That has been corrected to type="mda:AbstractDS_Resource_PropertyType" Original renamed to metadataBaseMDAerror.xsd, located with updated file.
1 parent ac14b4f commit 1a19afc

File tree

2 files changed

+119
-1
lines changed

2 files changed

+119
-1
lines changed

19115/-1/mdb/1.3.0/metadataBase.xsd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@
7474
<element name="metadataScope" maxOccurs="unbounded" minOccurs="0" type="mdb:MD_MetadataScope_PropertyType" id="ISO19115-1.038_ISO19115-1.039"/>
7575
<!-- Inconsistency between ISO 19115-1 Conceptual model/UML diagram Figure 1 and ISO 19115-3 Implementation model for ISO 19115-1 and ISO 19115-2.
7676
This inconsistency remove the concept of MI_Metadata -->
77-
<element maxOccurs="unbounded" minOccurs="0" name="describes" type="mdb:MD_Metadata_PropertyType" id="ISO19115-1.038.x_ISO19115-1.001"/>
77+
<!-- corrected from <element maxOccurs="unbounded" minOccurs="0" name="describes" type="mdb:MD_Metadata_PropertyType" id="ISO19115-1.038.x_ISO19115-1.001"/>
78+
original now ./metadataBaseMDAerror.xsd -->
79+
<element maxOccurs="unbounded" minOccurs="0" name="describes" type="mda:AbstractDS_Resource_PropertyType" id="ISO19115-1.038.x_ISO19115-1.001"/>
7880
<!-- Inconsistency between ISO 19115-1 Conceptual model and ISO 19115-3 Implementation model for ISO 19115-1 and ISO 19115-2.
7981
This inconsistency remove the concept of MI_Metadata -->
8082
<element maxOccurs="unbounded" minOccurs="0" name="acquisitionInformation" type="mcc:Abstract_AcquisitionInformation_PropertyType" id="ISO19115-2.031_ISO19115-2.002"/>
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<schema
3+
xmlns="http://www.w3.org/2001/XMLSchema"
4+
xmlns:dqc="https://schemas.isotc211.org/19157/-/dqc/1.2"
5+
xmlns:gco="https://schemas.isotc211.org/19103/-/gco/1.2"
6+
xmlns:lan="https://schemas.isotc211.org/19115/-1/lan/1.3"
7+
xmlns:mcc="https://schemas.isotc211.org/19115/-1/mcc/1.3"
8+
xmlns:mdb="https://schemas.isotc211.org/19115/-1/mdb/1.3"
9+
xmlns:mda="https://schemas.isotc211.org/19115/-1/mda/1.3"
10+
xmlns:msr="https://schemas.isotc211.org/19115/-1/msr/1.3"
11+
elementFormDefault="qualified"
12+
targetNamespace="https://schemas.isotc211.org/19115/-1/mdb/1.3"
13+
version="1.3.0">
14+
<include schemaLocation="mdb.xsd"/>
15+
<import namespace="https://schemas.isotc211.org/19103/-/gco/1.2" schemaLocation="../../../../19103/-/gco/1.2.0/gco.xsd"/>
16+
<import namespace="https://schemas.isotc211.org/19157/-/dqc/1.2" schemaLocation="../../../../19157/-/dqc/1.2.0/dqc.xsd"/>
17+
<import namespace="https://schemas.isotc211.org/19115/-1/lan/1.3" schemaLocation="../../../../19115/-1/lan/1.3.0/lan.xsd"/>
18+
<import namespace="https://schemas.isotc211.org/19115/-1/mcc/1.3" schemaLocation="../../../../19115/-1/mcc/1.3.0/mcc.xsd"/>
19+
<import namespace="https://schemas.isotc211.org/19115/-1/mda/1.3" schemaLocation="../../../../19115/-1/mda/1.3.0/mda.xsd"/>
20+
<import namespace="https://schemas.isotc211.org/19115/-1/msr/1.3" schemaLocation="../../../../19115/-1/msr/1.3.0/msr.xsd"/>
21+
<!--XML Schema document created by ShapeChange - http://shapechange.net/-->
22+
<!-- =========================================================================== -->
23+
<element name="MD_Metadata" substitutionGroup="mcc:Abstract_Metadata" type="mdb:MD_Metadata_Type" id="ISO19115-1.015">
24+
<annotation><documentation>root entity which defines metadata about a resource or resources</documentation></annotation>
25+
</element>
26+
<!-- ........................................................................ -->
27+
<complexType name="MD_Metadata_Type">
28+
<complexContent>
29+
<extension base="mcc:Abstract_Metadata_Type">
30+
<sequence>
31+
<!-- Order Change to align with UML implementation model sequenceNumber-->
32+
<element name="metadataIdentifier" minOccurs="0" type="mcc:MD_Identifier_PropertyType" id="ISO19115-1.016_ISO19115-1.431"/>
33+
<element name="defaultLocale" minOccurs="0" type="lan:PT_Locale_PropertyType" id="ISO19115-1.017_ISO19115-1.447">
34+
<annotation><documentation>Provides information about an alternatively used localized character string for a linguistic extension</documentation></annotation>
35+
</element>
36+
<element name="parentMetadata" minOccurs="0" type="mcc:Abstract_Citation_PropertyType" id="ISO19115-1.018_ISO19115-1.361">
37+
<annotation><documentation>Identifier and onlineResource for a parent metadata record</documentation></annotation>
38+
</element>
39+
<!-- Moved to 38 -->
40+
<!-- <element name="metadataScope" maxOccurs="unbounded" minOccurs="0" type="mdb:MD_MetadataScope_PropertyType" id="ISO19115-1.038_ISO19115-1.039"/> -->
41+
<element name="contact" maxOccurs="unbounded" type="mcc:Abstract_Responsibility_PropertyType" id="ISO19115-1.019_ISO19115-1.376">
42+
<annotation><documentation>party responsible for the metadata information</documentation></annotation>
43+
</element>
44+
<element name="dateInfo" maxOccurs="unbounded" type="mcc:Abstract_TypedDate_PropertyType" id="ISO19115-1.020_ISO19115-1.402">
45+
<annotation><documentation>Date(s) other than creation dateEG: expiry date</documentation></annotation>
46+
</element>
47+
<element name="metadataStandard" maxOccurs="unbounded" minOccurs="0" type="mcc:Abstract_Citation_PropertyType" id="ISO19115-1.021_ISO19115-1.361">
48+
<annotation><documentation>Citation for the standards to which the metadata conforms</documentation></annotation>
49+
</element>
50+
<element name="metadataProfile" maxOccurs="unbounded" minOccurs="0" type="mcc:Abstract_Citation_PropertyType" id="ISO19115-1.022_ISO19115-1.361"/>
51+
<element name="alternativeMetadataReference" maxOccurs="unbounded" minOccurs="0" type="mcc:Abstract_Citation_PropertyType" id="ISO19115-1.023_ISO19115-1.361">
52+
<annotation><documentation>unique Identifier and onlineResource for alternative metadata</documentation></annotation>
53+
</element>
54+
<element name="otherLocale" maxOccurs="unbounded" minOccurs="0" type="lan:PT_Locale_PropertyType" id="ISO19115-1.024_ISO19115-1.447"/>
55+
<element name="metadataLinkage" maxOccurs="unbounded" minOccurs="0" type="mcc:Abstract_OnlineResource_PropertyType" id="ISO19115-1.025_ISO19115-1.405">
56+
<annotation><documentation>online location where the metadata is available</documentation></annotation>
57+
</element>
58+
<element name="spatialRepresentationInfo" maxOccurs="unbounded" minOccurs="0" type="mcc:Abstract_SpatialRepresentation_PropertyType" id="ISO19115-1.026_ISO19115-1.147"/>
59+
<element name="referenceSystemInfo" maxOccurs="unbounded" minOccurs="0" type="mcc:Abstract_ReferenceSystem_PropertyType" id="ISO19115-1.027_ISO19115-1.179"/>
60+
<element name="metadataExtensionInfo" maxOccurs="unbounded" minOccurs="0" type="mcc:Abstract_MetadataExtension_PropertyType" id="ISO19115-1.028_ISO19115-1.275"/>
61+
<element name="identificationInfo" maxOccurs="unbounded" type="mcc:Abstract_ResourceDescription_PropertyType" id="ISO19115-1.029_ISO19115-1.042"/>
62+
<element name="contentInfo" maxOccurs="unbounded" minOccurs="0" type="mcc:Abstract_ContentInformation_PropertyType" id="ISO19115-1.030_ISO19115-1.182"/>
63+
<element name="distributionInfo" maxOccurs="unbounded" minOccurs="0" type="mcc:Abstract_Distribution_PropertyType" id="ISO19115-1.031_ISO19115-1.237"/>
64+
<element name="dataQualityInfo" maxOccurs="unbounded" minOccurs="0" type="dqc:Abstract_DataQuality_PropertyType" id="ISO19115-1.032_ISO19157.001"/>
65+
<!-- Moved to 37 -->
66+
<!-- <element name="resourceLineage" maxOccurs="unbounded" minOccurs="0" type="mcc:Abstract_LineageInformation_PropertyType" id="ISO19115-1.037_ISO19115-1.118"/> -->
67+
<element name="portrayalCatalogueInfo" maxOccurs="unbounded" minOccurs="0" type="mcc:Abstract_PortrayalCatalogueInformation_PropertyType" id="ISO19115-1.033_ISO19115-1.235"/>
68+
<element name="metadataConstraints" maxOccurs="unbounded" minOccurs="0" type="mcc:Abstract_Constraints_PropertyType" id="ISO19115-1.034_ISO19115-1.098"/>
69+
<element name="applicationSchemaInfo" maxOccurs="unbounded" minOccurs="0" type="mcc:Abstract_ApplicationSchemaInformation_PropertyType" id="ISO19115-1.035_ISO19115-1.292"/>
70+
<element name="metadataMaintenance" minOccurs="0" type="mcc:Abstract_MaintenanceInformation_PropertyType" id="ISO19115-1.036_ISO19115-1.140"/>
71+
<!-- Moved to align with ISO 19115-1:2014 data dictionary-->
72+
<element name="resourceLineage" maxOccurs="unbounded" minOccurs="0" type="mcc:Abstract_LineageInformation_PropertyType" id="ISO19115-1.037_ISO19115-1.118"/>
73+
<!-- Moved to align with ISO 19115-1:2014 data dictionary-->
74+
<element name="metadataScope" maxOccurs="unbounded" minOccurs="0" type="mdb:MD_MetadataScope_PropertyType" id="ISO19115-1.038_ISO19115-1.039"/>
75+
<!-- Inconsistency between ISO 19115-1 Conceptual model/UML diagram Figure 1 and ISO 19115-3 Implementation model for ISO 19115-1 and ISO 19115-2.
76+
This inconsistency remove the concept of MI_Metadata -->
77+
<!-- should have been <element maxOccurs="unbounded" minOccurs="0" name="describes" type="mda:AbstractDS_Resource_PropertyType" id="ISO19115-1.038.x_ISO19115-1.001"/> -->
78+
<element maxOccurs="unbounded" minOccurs="0" name="describes" type="mdb:MD_Metadata_PropertyType" id="ISO19115-1.038.x_ISO19115-1.001"/>
79+
<!-- Inconsistency between ISO 19115-1 Conceptual model and ISO 19115-3 Implementation model for ISO 19115-1 and ISO 19115-2.
80+
This inconsistency remove the concept of MI_Metadata -->
81+
<element maxOccurs="unbounded" minOccurs="0" name="acquisitionInformation" type="mcc:Abstract_AcquisitionInformation_PropertyType" id="ISO19115-2.031_ISO19115-2.002"/>
82+
</sequence>
83+
</extension>
84+
</complexContent>
85+
</complexType>
86+
<!-- ........................................................................ -->
87+
<complexType name="MD_Metadata_PropertyType">
88+
<sequence minOccurs="0">
89+
<element ref="mdb:MD_Metadata"/>
90+
</sequence>
91+
<attributeGroup ref="gco:ObjectReference"/>
92+
<attribute ref="gco:nilReason"/>
93+
</complexType>
94+
<!-- =========================================================================== -->
95+
<element name="MD_MetadataScope" substitutionGroup="gco:AbstractObject" type="mdb:MD_MetadataScope_Type" id="ISO19115-1.039"/>
96+
<!-- ........................................................................ -->
97+
<complexType name="MD_MetadataScope_Type">
98+
<complexContent>
99+
<extension base="gco:AbstractObject_Type">
100+
<sequence>
101+
<element name="resourceScope" type="mcc:MD_ScopeCode_PropertyType" id="ISO19115-1.040_ISO19115-1.B.3.28"/>
102+
<element minOccurs="0" name="name" type="gco:CharacterString_PropertyType" id="ISO19115-1.041_ISO19103"/>
103+
</sequence>
104+
</extension>
105+
</complexContent>
106+
</complexType>
107+
<!-- ........................................................................ -->
108+
<complexType name="MD_MetadataScope_PropertyType">
109+
<sequence minOccurs="0">
110+
<element ref="mdb:MD_MetadataScope"/>
111+
</sequence>
112+
<attributeGroup ref="gco:ObjectReference"/>
113+
<attribute ref="gco:nilReason"/>
114+
</complexType>
115+
<!-- =========================================================================== -->
116+
</schema>

0 commit comments

Comments
 (0)