{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Source Carrier",
  "description": "A physical original document, photograph, drawing, negative or bound volume that carries heritage information (CIDOC-CRM E31 Document). Records the physical carrier \u2014 the entity from which digital surrogates (ogc.heritage.digital-surrogate) are derived \u2014 including repository location, archival reference, rights and physical condition.",
  "type": "object",
  "required": [
    "id",
    "type",
    "carrierType",
    "title"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uri",
      "description": "Persistent URI identifying this source carrier record.",
      "x-jsonld-id": "@id"
    },
    "type": {
      "const": "SourceCarrier",
      "description": "Fixed type token identifying this record as a source carrier (maps to crm:E31_Document).",
      "x-jsonld-id": "@type"
    },
    "carrierType": {
      "type": "string",
      "format": "uri",
      "description": "Getty AAT URI for the physical carrier type, e.g.: paper document (300264612), photograph (300046300), architectural drawing (300034787), photographic negative (300127173), bound volume (300028051).",
      "x-jsonld-id": "http://www.cidoc-crm.org/cidoc-crm/P2_has_type",
      "x-jsonld-type": "@id"
    },
    "title": {
      "type": "string",
      "description": "Title or descriptive label of the physical carrier (crm:P102_has_title).",
      "x-jsonld-id": "http://www.cidoc-crm.org/cidoc-crm/P102_has_title"
    },
    "creator": {
      "oneOf": [
        {
          "type": "string",
          "format": "uri"
        },
        {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uri"
          }
        }
      ],
      "description": "URI(s) of the person(s) or organisation(s) who created the carrier (dct:creator).",
      "x-jsonld-id": "http://purl.org/dc/terms/creator",
      "x-jsonld-type": "@id"
    },
    "datePeriod": {
      "type": "string",
      "description": "Date or date range of creation (free text or ISO 8601, e.g. \"1742\", \"1890\u20131910\").",
      "x-jsonld-id": "http://www.cidoc-crm.org/cidoc-crm/P4_has_time-span"
    },
    "language": {
      "type": "string",
      "description": "BCP 47 language code of the textual content, if applicable (e.g. \"it\", \"en\", \"mt\").",
      "x-jsonld-id": "http://www.cidoc-crm.org/cidoc-crm/P72_has_language"
    },
    "repository": {
      "type": "string",
      "description": "Name or URI of the institution holding the physical carrier (crm:P50_has_current_keeper). Use a URI where available (e.g. ISNI, Wikidata).",
      "x-jsonld-id": "http://www.cidoc-crm.org/cidoc-crm/P50_has_current_keeper"
    },
    "archivalCode": {
      "type": "string",
      "description": "Archival reference code, call number or shelfmark assigned by the holding institution (crm:P1_is_identified_by), e.g. \"ASTo, Corte, Venaria Reale, mazzo 12, n. 3\".",
      "x-jsonld-id": "http://www.cidoc-crm.org/cidoc-crm/P1_is_identified_by"
    },
    "collection": {
      "type": "string",
      "description": "Collection or archival series to which this carrier belongs (dct:isPartOf).",
      "x-jsonld-id": "http://purl.org/dc/terms/isPartOf"
    },
    "physicalFormat": {
      "type": "string",
      "description": "Physical dimensions, substrate and format description, e.g. \"44 \u00d7 62 cm, ink on paper, rolled\".",
      "x-jsonld-id": "http://www.cidoc-crm.org/cidoc-crm/P3_has_note"
    },
    "condition": {
      "type": "string",
      "description": "Overall physical condition of the carrier, e.g. \"good\", \"fragile \u2014 foxing on margins\", \"damaged \u2014 lower third missing\" (crm:P44_has_condition).",
      "x-jsonld-id": "http://www.cidoc-crm.org/cidoc-crm/P44_has_condition"
    },
    "rights": {
      "type": "string",
      "description": "Access rights or licence URI or label, e.g. a Creative Commons URI or \"Restricted \u2014 archive access only\" (dct:rights).",
      "x-jsonld-id": "http://purl.org/dc/terms/rights"
    },
    "documentsObject": {
      "type": "string",
      "format": "uri",
      "description": "URI of the heritage-object, place or site that this carrier documents (crm:P70_documents). Optional \u2014 use when the primary subject is known.",
      "x-jsonld-id": "http://www.cidoc-crm.org/cidoc-crm/P70_documents",
      "x-jsonld-type": "@id"
    }
  },
  "x-jsonld-extra-terms": {
    "SourceCarrier": "http://www.cidoc-crm.org/cidoc-crm/E31_Document"
  },
  "x-jsonld-prefixes": {
    "crm": "http://www.cidoc-crm.org/cidoc-crm/",
    "dct": "http://purl.org/dc/terms/"
  }
}