Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/content/reference/mcf.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ version|Mandatory|version of MCF format|1.0|pygeometa
Property Name|Mandatory/Optional|Description|Example|Reference
-------------|------------------|-----------|-------|---------:
identifier|Mandatory|unique identifier for this metadata file|11800c2c-e6b9-11df-b9ae-0014c2c00eab|ISO 19115:2003 Section B.2.1
additional_identifiers|Optional|any additional identifiers for the resource with their scheme property|10.5324/3f342f64|ISO 19115:2003 Section B.2.1
language|Mandatory|primary language used for documenting metadata, the metadata records themselves can be provided in multiple languages nonetheless|en|ISO 19115:2003 Section B.2.1
language_alternate|Optional|alternate language used for documenting metadata|en|ISO 19115:2003 Annex J
charset|Mandatory|full name of the character coding standard used for the metadata set|utf8|ISO 19115:2003 Section B.2.1
Expand Down
16 changes: 16 additions & 0 deletions pygeometa/schemas/mcf/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ properties:
identifier:
type: string
description: unique identifier for this metadata file
additional_identifiers:
type: array
description: additional resource identifiers
items:
$ref: '#/definitions/identifier_scheme'
language:
type: string
description: primary language used for documenting metadata, the metadata records themselves can be provided in multiple languages nonetheless
Expand Down Expand Up @@ -711,3 +716,14 @@ definitions:
format: date
- type: string
format: date-time
identifier_scheme:
type: object
properties:
identifier:
type: string
description: identifier
scheme:
type: string
description: the scheme in which this identifier is defined (e.g. ark, doi, handle, isbn, lccn, sku). Note that the schema may also be a URI.
required:
- identifier
3 changes: 3 additions & 0 deletions sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ mcf:

metadata:
identifier: 3f342f64-9348-11df-ba6a-0014c2c00eab
additional_identifiers:
- identifier: 10.277/3f342f64-9348
scheme: https://doi.org/
language: en
language_alternate: fr
charset: utf8
Expand Down