Skip to content

Latest commit

 

History

History
87 lines (75 loc) · 6.17 KB

README.md

File metadata and controls

87 lines (75 loc) · 6.17 KB

Working ISO TC211 XML Schema Repository

XML schema, transforms, schematron rules, and examples for ISO TC211 Metadata Standards

201803 Update Schema and namespace changes related to the ISO 19115-1 and ISO 19157 Ammendments, and the ISO 19115-2 Revision were included in this repository early in March 2018. We are working with ISO to migrate these changes to standards.iso.org as soon as possible. Please submit issues to this repository if you find problems with these updates. The wiki page Namespace Updates 2018 03 describes the changes.

This repository contains draft XML schema and related documents for the ISO TC211 metadata (ISO 19115-1) and data quality (ISO 19157). These are not final schemas for these standards but may be suitable for initial testing and familiarization. They are provided here to support those kinds of use cases without any expectation for persistence.

The current version of the official schema are at https://schemas.isotc211.org. These official schemas are also in the standards.iso.org directory of this repository. The directory schemas.isotc211.org includes a sub-directory for each ISO Standard that has an XML schema .

ISO Schema Repository Update

The schemas developed in this repository that include recent changes have been migrated to the Official ISO Schema Repository at https://schemas.isotc211.org on September 18, 2018. These migrated schemas have been tested by validating a metadata record that includes all of the XML changes with the namespaces shown below. If you identify problems or unexpected behaviors, please add an issue to this repository. Thanks for your patience and help.

Namespace block:

<mdb:MD_Metadata 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:gml="http://www.opengis.net/gml/3.2" 
xmlns:cat="http://standards.iso.org/iso/19115/-3/cat/1.0" 
xmlns:gco="http://standards.iso.org/iso/19115/-3/gco/1.0" 
xmlns:gcx="http://standards.iso.org/iso/19115/-3/gcx/1.0" 
xmlns:gex="http://standards.iso.org/iso/19115/-3/gex/1.0" 
xmlns:lan="http://standards.iso.org/iso/19115/-3/lan/1.0" 
xmlns:mas="http://standards.iso.org/iso/19115/-3/mas/1.0" 
xmlns:mcc="http://standards.iso.org/iso/19115/-3/mcc/1.0" 
xmlns:mco="http://standards.iso.org/iso/19115/-3/mco/1.0"
xmlns:mda="http://standards.iso.org/iso/19115/-3/mda/1.0" 
xmlns:mdq="http://standards.iso.org/iso/19157/-2/mdq/1.0" 
xmlns:mex="http://standards.iso.org/iso/19115/-3/mex/1.0" 
xmlns:mmi="http://standards.iso.org/iso/19115/-3/mmi/1.0" 
xmlns:mpc="http://standards.iso.org/iso/19115/-3/mpc/1.0" 
xmlns:mrd="http://standards.iso.org/iso/19115/-3/mrd/1.0" 
xmlns:mri="http://standards.iso.org/iso/19115/-3/mri/1.0"
xmlns:mrs="http://standards.iso.org/iso/19115/-3/mrs/1.0" 

xmlns:cit="http://standards.iso.org/iso/19115/-3/cit/2.0"
xmlns:mac="http://standards.iso.org/iso/19115/-3/mac/2.0"
xmlns:mdb="http://standards.iso.org/iso/19115/-3/mdb/2.0"
xmlns:mds="http://standards.iso.org/iso/19115/-3/mds/2.0"
xmlns:mdt="http://standards.iso.org/iso/19115/-3/mdt/2.0"
xmlns:mrl="http://standards.iso.org/iso/19115/-3/mrl/2.0"
xmlns:mrc="http://standards.iso.org/iso/19115/-3/mrc/2.0" 
xmlns:msr="http://standards.iso.org/iso/19115/-3/msr/2.0" 
xmlns:srv="http://standards.iso.org/iso/19115/-3/srv/2.0" 
xsi:schemaLocation="http://standards.iso.org/iso/19115/-3/mdb/2.0 http://standards.iso.org/iso/19115/-3/mdt/2.0/mdt.xsd">
</mdb:MD_Metadata>

The ISO TC211 Schema Repository

The ISO TC211 XML Schema repository is located at https://schemas.isotc211.org. Each part of each standard has a directory like: https://schemas.isotc211.org/StandardNumber/PartNumber/NamespacePrefix/Version. For example: https://schemas.isotc211.org/19115/-3/cit/1.0 or https://schemas.isotc211.org/19157/-2/mdq/1.0. Comments, suggestions, change requests and revisions are managed in this repository, i.e. ISO TC211 Git Repository.

Summary information about all of these namespaces is avaialble at https://schemas.isotc211.org/19115/resources/namespaceSummary.html. Each namespace directory in the repository has an index file that provides information relevant to the namespace and links. These files are described below.

Package Diagram

UML Package Diagrams show dependencies between the current namespace and others as well as the entities defined in each namespace.

Description

The Description includes information about the ISO Standard implemented in the namespace and general information about the purpose and content of the namespace.

Sample XML Files

Each namespace directory includes sample XML files for the namespace and for demonstrating related schematron rules. The namespace sample files are called xxx.xml (for namespace xxx). The schematron rule examples include xxx_valid.xml and xxx_invalid.xml examples for each schematron rule.

Codelists

If the namespace includes codelists, an xml (codelists.xml) and html (codelists.html) version of the codelists are provided.

Namespace Location

The standard location for namespace xxx is http://standards.iso.org/iso/StandardNumber/PartNumber/xxx/Version. For example: http://standards.iso.org/iso/19115/-3/cit/1.0 or http://standards.iso.org/iso/19157/-2/mdq/1.0. As new schemas are developed the namespace location will adopt the new schema location URL https://schemas.isotc211.org/StandardNumber/PartNumber/xxx/Version

Schema Location

The standard schema for namespace xxx is https://schemas.isotc211.org/StandardNumber/PartNumber/xxx/Version/xxx.xsd. For example: https://schemas.isotc211.org/19115/-3/cit/1.0/cit.xsd or https://schemas.isotc211.org/19157/-2/mdq/1.0/mdq.xsd. These XML schema include (indirectly) all the implemented concepts of the xxx namespace, but they do not contain the declaration of any types.

Related Schema

The xxx.xsd files reference other schemas that define the types included in the namespace. These usually have more descriptive names than xxx.xsd, e.g. citation.xsd.

Related Namespaces

If there are dependencies between namespace xxx and others, the standard prefix for the namespace, the URI (absolute), and the schema location (relative) are listed here.

Schematron Rules

If the namespace includes requirements that can not be tested