Version 21 (modified by 9 years ago) (diff) | ,
---|
Component Metadata Infrastructure (CMDI) 1.2 [DRAFT]
Introduction
The goal of the Component Metadata Infrastructure (CMDI) specification...
TODO
History
TODO
Terminology
The key words MUST
, MUST NOT
, REQUIRED
, SHALL
, SHALL NOT
, SHOULD
, SHOULD NOT
, RECOMMENDED
, MAY
, and OPTIONAL
in this document are to be interpreted as described in RFC2119.
Glossary
Being prepared in Google Docs
Normative References
- RFC2119
-
Key words for use in RFCs to Indicate Requirement Levels, IETF RFC 2119, March 1997,
http://www.ietf.org/rfc/rfc2119.txt
- XML-Namespaces
-
Namespaces in XML 1.0 (Third Edition), W3C, 8 December 2009,
http://www.w3.org/TR/2009/REC-xml-names-20091208/
Non-Normative References
- RFC3023
-
XML Media Types, IETF RFC 3023, January 2001,
http://www.ietf.org/rfc/rfc3023.txt
Typographic and XML Namespace conventions
The following typographic conventions for XML fragments will be used throughout this specification:
<prefix:Element>
An XML element with the Generic Identifier Element that is bound to an XML namespace denoted by the prefix prefix.@attr
An XML attribute with the name attrstring
The literal string must be used either as element content or attribute value.
The following XML namespace names and prefixes are used throughout this specification. The column "Recommended Syntax" indicates which syntax variant SHOULD
be used by the Endpoint to serialize the XML response.
Prefix | Namespace Name | Comment | Recommended Syntax |
---|---|---|---|
cmd | http://clarin.eu/cmd | CMDI instance | prefixed |
TODO: update namespaces
Structure of CMDI-files
A CMDI file contains the actual metadata of one specific resource (hereafter referred to as the described resource), and might also be referred to as a CMDI record. All CMDI files have the same structure at the top level. At a lower level, parts of its structure are defined by the CMDI profile upon which it is based.
The main structure
A CMDI file has the root element CMD with 4 subelements:
- The Header element, containing certain administrative information about the CMDI file, i.e. metadata about the file itself
- The Resources element, listing resource proxies and their interrelations, by the following subelements
- ResourceProxyList?, containing a list of ResourceProxy? elements, each referencing a file contained in or closely related to the described resource
- JournalFileProxyList?, containing a list of JournalFileProxy? elements, each referencing a file (“journal file”) containing provenance information about the described resource
- ResourceRelationList?, containing a list of ResourceRelation? elements, each representing a relationship between 2 resource files (as listed in the ResourceProxyList?)
- IsPartOf? list, containing a list of IsPartOf? elements, each referencing a larger external resource of which the described resource (as a whole) forms a part
- Components, containing one subelement corresponding to – and in turn structured according to - the CMDI profile applied.
The profile substructure exist in the profile-specific namespace, all the rest within the cmd namespace.
<About local attributes here>
In the following the main parts are described in detail
The header
Name | MdCreator? |
Description | Denotes the creator of this metadata file |
Value type | A string |
Occurrences | 0 to unbounded |
Attributes |
State purpose of header List elements in a table, giving name, "definition", type, cardinality for each
The resources section
The Resource proxy list
State purpose of Resource Proxy list (and which files should be listed here) Specify in detail how resource proxies are represented:
- all possible elements and attributes with definition, type, cardinality/obligation
The Journal File Proxy List
State purpose of Journal File Proxy list (and which files should be listed here) Specify in detail how resource proxies are represented:
- all possible elements and attributes with definition, type, cardinality/obligation
The Resource Relation List
State purpose of Resource Relation List (representing binary relations between resource (proxies) and/or other resources Specify in detail how resource relation are represented:
- all possible elements and attributes with definition, type, cardinality/obligation
The Is-Part-of List
State purpose of Is-Part-of List (representing external resources that the described resource is a part of) (NOTE: IsPartOfList? no longer in Resources section) Specify in detail how an Is-part-of relation is represented:
- all possible elements and attributes with definition, type, cardinality/obligation
The components
Sate purpose of components section, and its dependency upon profile (as given in header: MdProfile?)
The CMDI Component Specification Language
CCSL header
Component definition
Element definition
Cardinality of elements and components
Describing multilingual content
Attributes for elements and components
Transformation of CCSL into a schema
Interpretation of hierarchies of the CCSL
Interpretation of the order or elements
Interpretation of attributes
Appendices
Bibliography
IETF RFC 2045, Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies
IETF RFC 2046, Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types
IETF RFC 5646, Tags for Identifying Languages
ISO 639‐1, Codes for the representation of names of languages — Part 1: Alpha-2 code
ISO 639‐3, Codes for the representation of names of languages -- Part 3: Alpha-3 code for comprehensive coverage of languages
ISO 3166‐1, Codes for the representation of names of countries and their subdivisions — Part 1: Country codes
ISO 8601, Data elements and interchange formats — Information interchange — Representation of dates and times
ISO/IEC 10646‐1, Information technology — Universal Multiple-Octet Coded Character Set (UCS) — Part 1: Architecture and Basic Multilingual Plane XML Schema Part 2: Datatypes, Biron, P.V. and Malhotra, A. (eds.), W3C Recommendation 02 May 2001, available at <http://www.w3.org/TR/xmlschema-2/>
Attachments (12)
- CCSL.png (202.3 KB) - added by 8 years ago.
- CMDI_structure.png (204.8 KB) - added by 8 years ago.
-
CMDI_1.png (44.0 KB) - added by 8 years ago.
CMDI 1 model diagram
- CMDI 1.2 extensions to the component metadata model.html (3.7 KB) - added by 6 years ago.
- CCSL2.html (7.1 KB) - added by 6 years ago.
- CMDIFilStructure.html (6.2 KB) - added by 6 years ago.
- CMDI 1.2 extensions to the component metadata model.xml (3.0 KB) - added by 6 years ago.
- CCSL2.xml (6.5 KB) - added by 6 years ago.
- CMDIFilStructure.xml (5.6 KB) - added by 6 years ago.
- CCSL2.pdf (95.2 KB) - added by 6 years ago.
- CMDIFilStructure.pdf (102.0 KB) - added by 6 years ago.
- CMDI 1.2 extensions to the component metadata model.pdf (48.8 KB) - added by 6 years ago.
Download all attachments as: .zip