Skip to content

FZU-AV-CR/CCMM

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Czech Core Metadata Model specification

This repository contains the specification of the Czech Core Metadata Model for research data description modelled in and generated from DataSpecer. Changes are described in RELEASE_NOTES. DataSpecer generates a schema diagram in bad resolution; therefore, we generated a diagram image in better quality. CCMM schema diagram

The structure of the repository is as follows. For the documentation and publication purposes were created GitHub pages. In each section, there is a link to the published specifications.

The CCMM model is licensed under CC BY license.

cs

Directory /cs contains Czech version of CCMM Application Profile specification. Specification is available on https://techlib.github.io/CCMM/cs/.

en

Directory /en contains English version of CCMM Application Profile specification. Specification is available on https://techlib.github.io/CCMM/en/.

XSD representation

The root directory also contains all structured artifacts generated from Dataspecer. There are many subdirectories, one per each element of the data structures.

Each subdirectory contains structured models formalized in XSD (schema.xsd). The root element for the whole profile is Dataset

Root element XSD schema
Dataset https://techlib.github.io/CCMM/dataset/schema.xsd

Sample XML

On this link is located sample XML representation of CCMM metadata. Sample refers to made up air quality data with links and relation to existing resources, introducing most of the usecases that users may encounter.

Dataspecer project

Project to open in DataSpecer is also part of the repository. You may import it into your instance of Dataspecer.

Dataspcer XSD inconsistency

Dataspecer still does not support some features and has some known bugs In the meantime, after generating XSD files from datasoecer, the following changes must be done manually:

  1. in license-document, add element iri

     <xs:sequence>
      <xs:element minOccurs="0" name="iri" type="xs:anyURI"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="label" sawsdl:modelReference="http://www.w3.org/2000/01/rdf-schema#label">
        <xs:annotation>
          <xs:documentation xml:lang="en">
            label - Label of the license document.
          </xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:string">
              <xs:attribute ref="xml:lang" use="required"/>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    
  2. in geometry, add gml namespace, import gml, change gml element to ref=gml:AbstractFeature and add srsName to wkt

    xmlns:gml="http://www.opengis.net/gml/3.2"
    
    <xs:import namespace="http://www.opengis.net/gml/3.2"
       schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
    
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="gml:AbstractGeometry"
        sawsdl:modelReference="http://www.opengis.net/ont/geosparql#asGML">
        <xs:annotation>
          <xs:documentation xml:lang="en">GML - Representation of
                geometry object as GML Literal.</xs:documentation>
        </xs:annotation>
    </xs:element>
    
    <xs:element minOccurs="0" maxOccurs="unbounded" name="wkt"
    sawsdl:modelReference="http://www.opengis.net/ont/geosparql#asWKT">
        <xs:annotation>
          <xs:documentation xml:lang="en"> WKT - Representation of geometry
            object as WKT Literal.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:string">
              <xs:attribute name="srsName" type="xs:anyURI" use="optional"/>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
     </xs:element>
    
  3. in location, add gml namespace, import gml and change bounding-box type to gml:EnvelopeType

    xmlns:gml="http://www.opengis.net/gml/3.2"
    
    <xs:import namespace="http://www.opengis.net/gml/3.2"
       schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
    
    <xs:element minOccurs="0" maxOccurs="unbounded" name="bounding_box" type="gml:EnvelopeType"
     sawsdl:modelReference="http://www.w3.org/ns/dcat#bbox">
      <xs:annotation>
        <xs:documentation xml:lang="en"> bounding box - Bounding box of the location geometry.
        </xs:documentation>
      </xs:annotation>
    </xs:element>
    

About

Czech core metadata model

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 100.0%