Skip to content

Commit

Permalink
DataQuality update to align with ISO 19157-1:2023
Browse files Browse the repository at this point in the history
Testing period has elapsed
DataQuality schemas uploaded to be consistent with 19157-1:2023
  • Loading branch information
ejbleys committed Apr 22, 2024
1 parent 7f2282b commit cd37eba
Show file tree
Hide file tree
Showing 17 changed files with 2,305 additions and 47 deletions.
2 changes: 1 addition & 1 deletion 19110/-/gfc/2.1.0/gfc.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
xmlns:mcc="http://standards.iso.org/iso/19115/-3/mcc/1.0"
elementFormDefault="qualified"
targetNamespace="https://schemas.isotc211.org/19110/-/gfc/2.1"
version="2.2.0"
version="2.1.0"
>
<include schemaLocation="../../../../19110/-/gfc/2.1.0/featureCatalogue.xsd"/>
<import namespace="https://schemas.isotc211.org/19110/-/fcc/2.1" schemaLocation="../../../../19110/-/fcc/2.1.0/fcc.xsd"/>
Expand Down
16 changes: 8 additions & 8 deletions 19115/-2/mac/2.2.0/mac.sch
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:ns prefix="mac" uri="http://standards.iso.org/iso/19115/-2/mac/2.2"/>
<sch:ns prefix="cit" uri="http://standards.iso.org/iso/19115/-1/cit/1.3"/>
<sch:ns prefix="mri" uri="http://standards.iso.org/iso/19115/-1/mri/1.3"/>
<sch:ns prefix="srv" uri="http://standards.iso.org/iso/19115/-1/srv/1.3"/>
<sch:ns prefix="mdb" uri="http://standards.iso.org/iso/19115/-1/mdb/1.3"/>
<sch:ns prefix="mcc" uri="http://standards.iso.org/iso/19115/-1/mcc/1.3"/>
<sch:ns prefix="lan" uri="http://standards.iso.org/iso/19115/-1/lan/1.3"/>
<sch:ns prefix="gco" uri="http://standards.iso.org/iso/19103/-/gco/1.2"/>
<sch:ns prefix="mac" uri="https://schemas.isotc211.org/19115/-2/mac/2.2"/>
<sch:ns prefix="cit" uri="https://schemas.isotc211.org/19115/-1/cit/1.3"/>
<sch:ns prefix="mri" uri="https://schemas.isotc211.org/19115/-1/mri/1.3"/>
<sch:ns prefix="srv" uri="https://schemas.isotc211.org/iso/19115/-1/srv/1.3"/>
<sch:ns prefix="mdb" uri="https://schemas.isotc211.org/19115/-1/mdb/1.3"/>
<sch:ns prefix="mcc" uri="https://schemas.isotc211.org/19115/-1/mcc/1.3"/>
<sch:ns prefix="lan" uri="https://schemas.isotc211.org/19115/-1/lan/1.3"/>
<sch:ns prefix="gco" uri="https://schemas.isotc211.org/19103/-/gco/1.2"/>
<!--
ISO 19115-3 base requirements for metadata instance documents
Expand Down
141 changes: 105 additions & 36 deletions 19157/-/mdq/1.2.0/dataQualityResult.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
xmlns:gco="https://schemas.isotc211.org/19103/-/gco/1.2"
xmlns:gmw="https://schemas.isotc211.org/19136/-1/gmw/1.1"
xmlns:mcc="https://schemas.isotc211.org/19115/-1/mcc/1.3"
xmlns:mrc="https://schemas.isotc211.org/19115/-1/mrc/1.3"
xmlns:mrd="https://schemas.isotc211.org/19115/-1/mrd/1.3"
xmlns:msr="https://schemas.isotc211.org/19115/-1/msr/1.3"
xmlns:mdq="https://schemas.isotc211.org/19157/-/mdq/1.2"
elementFormDefault="qualified" targetNamespace="https://schemas.isotc211.org/19157/-/mdq/1.2"
version="1.2.0"
Expand All @@ -14,72 +17,96 @@
<import namespace="https://schemas.isotc211.org/19136/-1/gmw/1.1" schemaLocation="../../../../19136/-1/gmw/1.1.0/gmw.xsd"/>
<import namespace="http://www.opengis.net/gml/3.2" schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
<import namespace="https://schemas.isotc211.org/19115/-1/mcc/1.3" schemaLocation="../../../../19115/-1/mcc/1.3.0/mcc.xsd"/>
<import namespace="https://schemas.isotc211.org/19115/-1/mrc/1.3" schemaLocation="../../../../19115/-1/mrc/1.3.0/mrc.xsd"/>
<import namespace="https://schemas.isotc211.org/19115/-1/mrd/1.3" schemaLocation="../../../../19115/-1/mrd/1.3.0/mrd.xsd"/>
<import namespace="https://schemas.isotc211.org/19115/-1/msr/1.3" schemaLocation="../../../../19115/-1/msr/1.3.0/msr.xsd"/>
<!--XML Schema document created by ShapeChange - http://shapechange.net/-->
<element name="DQ_ConformanceResult" substitutionGroup="mdq:AbstractDQ_Result" type="mdq:DQ_ConformanceResult_Type">
<!-- ============ -->
<complexType name="AbstractDQ_Result_PropertyType">
<sequence minOccurs="0">
<element ref="mdq:AbstractDQ_Result"/>
</sequence>
<attributeGroup ref="gco:ObjectReference"/>
<attribute ref="gco:nilReason"/>
</complexType>
<!-- _________________ -->
<element abstract="true" name="AbstractDQ_Result" substitutionGroup="gco:AbstractObject" type="mdq:AbstractDQ_Result_Type">
<annotation>
<documentation>information about the outcome of evaluating the obtained value (or set of values) against a specified acceptable conformance quality level</documentation>
<documentation>generalization of more specific result classes</documentation>
</annotation>
</element>
<complexType name="DQ_ConformanceResult_Type">
<!-- _________________ -->
<complexType abstract="true" name="AbstractDQ_Result_Type">
<complexContent>
<extension base="mdq:AbstractDQ_Result_Type">
<extension base="gco:AbstractObject_Type">
<sequence>
<element name="specification" type="mcc:Abstract_Citation_PropertyType">
<annotation>
<documentation>citation of data product specification or user requirement against which data is being evaluated</documentation>
</annotation>
</element>
<element minOccurs="0" name="explanation" type="gco:CharacterString_PropertyType">
<element minOccurs="0" name="resultScope" type="mcc:MD_Scope_PropertyType">
<annotation>
<documentation>explanation of the meaning of conformance for this result</documentation>
<documentation>scope of the result</documentation>
</annotation>
</element>
<element name="pass" type="gco:Boolean_PropertyType">
<element minOccurs="0" name="dateTime" type="gco:DateTime_PropertyType">
<annotation>
<documentation>indication of the conformance result where 0 = fail and 1 = pass</documentation>
<documentation>date when the result was generated</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- ============ -->
<complexType name="DQ_ConformanceResult_PropertyType">
<sequence minOccurs="0">
<element ref="mdq:DQ_ConformanceResult"/>
</sequence>
<attributeGroup ref="gco:ObjectReference"/>
<attribute ref="gco:nilReason"/>
</complexType>
<element name="DQ_DescriptiveResult" substitutionGroup="mdq:AbstractDQ_Result" type="mdq:DQ_DescriptiveResult_Type">
<!-- _________________ -->
<element name="DQ_ConformanceResult" substitutionGroup="mdq:AbstractDQ_Result" type="mdq:DQ_ConformanceResult_Type">
<annotation>
<documentation>data quality descriptive result</documentation>
<documentation>information about the outcome of evaluating the obtained value (or set of values) against a specified acceptable conformance quality level</documentation>
</annotation>
</element>
<complexType name="DQ_DescriptiveResult_Type">
<!-- _________________ -->
<complexType name="DQ_ConformanceResult_Type">
<complexContent>
<extension base="mdq:AbstractDQ_Result_Type">
<sequence>
<element name="statement" type="gco:CharacterString_PropertyType">
<element name="specification" type="mcc:Abstract_Citation_PropertyType">
<annotation>
<documentation>textual expression of the descriptive result</documentation>
<documentation>citation of data product specification or user requirement against which data is being evaluated</documentation>
</annotation>
</element>
<element minOccurs="0" name="explanation" type="gco:CharacterString_PropertyType">
<annotation>
<documentation>explanation of the meaning of conformance for this result</documentation>
</annotation>
</element>
<element name="pass" type="gco:Boolean_PropertyType">
<annotation>
<documentation>indication of the conformance result where 0 = fail and 1 = pass</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="DQ_DescriptiveResult_PropertyType">
<!-- ============ -->
<complexType name="DQ_QuantitativeResult_PropertyType">
<sequence minOccurs="0">
<element ref="mdq:DQ_DescriptiveResult"/>
<element ref="mdq:DQ_QuantitativeResult"/>
</sequence>
<attributeGroup ref="gco:ObjectReference"/>
<attribute ref="gco:nilReason"/>
</complexType>
<!-- _________________ -->
<element name="DQ_QuantitativeResult" substitutionGroup="mdq:AbstractDQ_Result" type="mdq:DQ_QuantitativeResult_Type">
<annotation>
<documentation>the values or information about the value(s) (or set of values) obtained from applying a data quality measure</documentation>
</annotation>
</element>
<!-- _________________ -->
<complexType name="DQ_QuantitativeResult_Type">
<complexContent>
<extension base="mdq:AbstractDQ_Result_Type">
Expand All @@ -103,42 +130,84 @@
</extension>
</complexContent>
</complexType>
<element name="valueUnit" type="gmw:UnitOfMeasure_PropertyType"/>
<complexType name="DQ_QuantitativeResult_PropertyType">
<!-- ============ -->
<complexType name="DQ_DescriptiveResult_PropertyType">
<sequence minOccurs="0">
<element ref="mdq:DQ_QuantitativeResult"/>
<element ref="mdq:DQ_DescriptiveResult"/>
</sequence>
<attributeGroup ref="gco:ObjectReference"/>
<attribute ref="gco:nilReason"/>
</complexType>
<element abstract="true" name="AbstractDQ_Result" substitutionGroup="gco:AbstractObject" type="mdq:AbstractDQ_Result_Type">
<!-- _________________ -->
<element name="DQ_DescriptiveResult" substitutionGroup="mdq:AbstractDQ_Result" type="mdq:DQ_DescriptiveResult_Type">
<annotation>
<documentation>generalization of more specific result classes</documentation>
<documentation>data quality descriptive result</documentation>
</annotation>
</element>
<complexType abstract="true" name="AbstractDQ_Result_Type">
<!-- _________________ -->
<complexType name="DQ_DescriptiveResult_Type">
<complexContent>
<extension base="gco:AbstractObject_Type">
<extension base="mdq:AbstractDQ_Result_Type">
<sequence>
<element minOccurs="0" name="dateTime" type="gco:DateTime_PropertyType">
<annotation>
<documentation>date when the result was generated</documentation>
</annotation>
</element>
<element minOccurs="0" name="resultScope" type="mcc:MD_Scope_PropertyType">
<element name="statement" type="gco:CharacterString_PropertyType">
<annotation>
<documentation>scope of the result</documentation>
<documentation>textual expression of the descriptive result</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="AbstractDQ_Result_PropertyType">
<!-- ============ -->
<complexType name="DQ_CoverageResult_PropertyType">
<sequence minOccurs="0">
<element ref="mdq:AbstractDQ_Result"/>
<element ref="mdq:DQ_CoverageResult"/>
</sequence>
<attributeGroup ref="gco:ObjectReference"/>
<attribute ref="gco:nilReason"/>
</complexType>
<!-- _________________ -->
<element name="DQ_CoverageResult" substitutionGroup="mdq:AbstractDQ_Result" type="mdq:DQ_CoverageResult_Type">
<annotation>
<documentation>data quality descriptive result</documentation>
</annotation>
</element>
<!-- _________________ -->
<complexType name="DQ_CoverageResult_Type">
<complexContent>
<extension base="mdq:AbstractDQ_Result_Type">
<sequence>
<element name="spatialRepresentationType" type="mcc:MD_SpatialRepresentationTypeCode_PropertyType">
<annotation>
<documentation>method used to spatially represent the coverage result</documentation>
</annotation>
</element>
<element name="resultSpatialRepresentation" type="msr:AbstractMD_SpatialRepresentation_PropertyType">
<annotation>
<documentation>provides the digital representation of data quality measures composing the coverage result</documentation>
</annotation>
</element>
<element name="resultContent" minOccurs="0" maxOccurs="unbounded" type="mrc:MD_RangeDimension_PropertyType">
<annotation>
<documentation>provides the description of the content of the result coverage when the quality coverage is included with the resource being described
i.e. semantic definition of the quality measure</documentation>
</annotation>
</element>
<element name="resultFormat" minOccurs="0" maxOccurs="1" type="mrd:MD_Format_PropertyType">
<annotation>
<documentation>provides information about the format of the result coverage data</documentation>
</annotation>
</element>
<element name="resultFile" minOccurs="0" maxOccurs="1" type="mrd:MD_Format_PropertyType">
<annotation>
<documentation>provides information about the data file containing the result coverage data</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- ================ -->
<element name="valueUnit" type="gmw:UnitOfMeasure_PropertyType"/>
<!-- ================ -->
</schema>
Loading

0 comments on commit cd37eba

Please sign in to comment.