diff --git a/docs/mapping-standards.md b/docs/mapping-standards.md index f182c3002..0ca7d2d2f 100644 --- a/docs/mapping-standards.md +++ b/docs/mapping-standards.md @@ -47,8 +47,25 @@ The URL of the Ontology or vocabulary. For example `http://schema.org` or `http ### Type + String $type + The Class of the ontology that this mapping refers to. For example `CreativeWork`, which is a class of Schema.org, if applied +### Header + + String $header + +The header to be append to API answer, like for Dublin Core, if we need to add RDF to xml header when using Dublin Core as mapper, so: +``` +public $header = ''; +``` + +### Prefix + + String $prefix + +The optional prefix for the key labels, like ```dc:``` for Dublin Core in XML exposing. + ### Registering a new mapper For register a new mapper, the action need to be added to `tainacan-register-exposer-mappers` hook, like: ```