Skip to content

Question: Can you show an example of template #24

@micahchoo

Description

@micahchoo

I am trying to create a mapping between dublincore and Generic - I am not able to do it

{
  "@context": "https://tropy.org/v1/contexts/template.jsonld",
  "@id": "https://tropy.org/v1/templates/dc",
  "@type": "https://tropy.org/v1/tropy#Template",
  "type": "https://tropy.org/v1/tropy#Item",
  "name": "Dublin Core to Generic - iiif",
  "version": "1.0.0",
  "domain": [],
  "creator": "Micah",
  "description": "Generic template based on the Dublic Core Metadata Element Set mapped to Tropiiify",
  "field": [
    {
      "datatype": "http://www.w3.org/2001/XMLSchema#string",
      "hint": null,
      "isConstant": false,
      "isRequired": false,
      "label": manifest label,
      "property": "http://purl.org/dc/elements/1.1/title",
      "value": null
    },
    {
      "datatype": "http://www.w3.org/2001/XMLSchema#string",
      "hint": null,
      "isConstant": false,
      "isRequired": false,
      "label": metadata:Source,
      "property": "http://purl.org/dc/elements/1.1/creator",
      "value": null
    },
    {
      "datatype": "https://tropy.org/v1/tropy#date",
      "hint": null,
      "isConstant": false,
      "isRequired": false,
      "label": metadata:Date,
      "property": "http://purl.org/dc/elements/1.1/date",
      "value": null
    },
    {
      "datatype": "http://www.w3.org/2001/XMLSchema#string",
      "hint": null,
      "isConstant": false,
      "isRequired": false,
      "label": metadata:Type,
      "property": "http://purl.org/dc/elements/1.1/type",
      "value": null
    },
    {
      "datatype": "http://www.w3.org/2001/XMLSchema#string",
      "hint": null,
      "isConstant": false,
      "isRequired": false,
      "label": metadata:Source,
      "property": "http://purl.org/dc/elements/1.1/source",
      "value": null
    },
    {
      "datatype": "http://www.w3.org/2001/XMLSchema#string",
      "hint": null,
      "isConstant": false,
      "isRequired": false,
      "label": manifest id,
      "property": "http://purl.org/dc/elements/1.1/identifier",
      "value": null
    },
    {
      "datatype": "http://www.w3.org/2001/XMLSchema#string",
      "hint": null,
      "isConstant": false,
      "isRequired": false,
      "label": manifest rights,
      "property": "http://purl.org/dc/elements/1.1/rights",
      "value": null
    },
    {
      "datatype": "http://www.w3.org/2001/XMLSchema#string",
      "hint": null,
      "isConstant": false,
      "isRequired": false,
      "label": metadata:Subject,
      "property": "http://purl.org/dc/elements/1.1/subject",
      "value": null
    },
    {
      "datatype": "http://www.w3.org/2001/XMLSchema#string",
      "hint": null,
      "isConstant": false,
      "isRequired": false,
      "label": metadata:Language,
      "property": "http://purl.org/dc/elements/1.1/language",
      "value": null
    },
    {
      "datatype": "http://www.w3.org/2001/XMLSchema#string",
      "hint": null,
      "isConstant": false,
      "isRequired": false,
      "label": metadata:Format,
      "property": "http://purl.org/dc/elements/1.1/format",
      "value": null
    },
    {
      "datatype": "http://www.w3.org/2001/XMLSchema#string",
      "hint": null,
      "isConstant": false,
      "isRequired": false,
      "label": metadata:Contributor,
      "property": "http://purl.org/dc/elements/1.1/contributor",
      "value": null
    },
    {
      "datatype": "http://www.w3.org/2001/XMLSchema#string",
      "hint": null,
      "isConstant": false,
      "isRequired": false,
      "label": manifest summary,
      "property": "http://purl.org/dc/elements/1.1/description",
      "value": null
    },
    {
      "datatype": "http://www.w3.org/2001/XMLSchema#string",
      "hint": null,
      "isConstant": false,
      "isRequired": false,
      "label": requiredstatement:value|metadata:Publisher,
      "property": "http://purl.org/dc/elements/1.1/publisher",
      "value": null
    },
    {
      "datatype": "http://www.w3.org/2001/XMLSchema#string",
      "hint": null,
      "isConstant": false,
      "isRequired": false,
      "label": metadata:Coverage,
      "property": "http://purl.org/dc/elements/1.1/coverage",
      "value": null
    },
    {
      "datatype": "http://www.w3.org/2001/XMLSchema#string",
      "hint": null,
      "isConstant": false,
      "isRequired": false,
      "label": metadata:Relation,
      "property": "http://purl.org/dc/elements/1.1/relation",
      "value": null
    }
  ]
}

What am I doing wrong?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions