$schema: https://json-schema.org/draft/2020-12/schema
title: Heritage Site
description: 'A designated cultural heritage site or pilot study area, typed as CIDOC-CRM
  E27 Site

  (a subclass of E53 Place and E26 Physical Feature). Profiles ogc.heritage.place,

  inheriting JSON-FG geometry and core CIDOC-CRM place attributes, and adding site-level

  designation, responsible organisation and rights fields.


  A garden, palace complex or protected landscape is modelled as a heritage-site with
  an

  appropriate siteType; sub-zones within the site are modelled as ogc.heritage.place
  records

  linked back via partOf.

  '
allOf:
- $ref: https://ogcincubator.github.io/bblocks-heritage/build/annotated/heritage/place/schema.yaml
- type: object
  properties:
    properties:
      type: object
      properties:
        siteType:
          type: string
          format: uri
          description: 'Heritage designation type as a controlled vocabulary URI (typically
            Getty AAT). Examples: palace complex, garden, World Heritage Site, national
            monument. Maps to crm:P2_has_type.'
          x-jsonld-id: http://www.cidoc-crm.org/cidoc-crm/P2_has_type
          x-jsonld-type: '@id'
        designation:
          type: string
          description: Formal heritage designation code or label, e.g. a UNESCO World
            Heritage List reference number or national inventory entry. Maps to crm:P1_is_identified_by
            as a second identifier alongside the local inventory identifier.
          x-jsonld-id: http://www.cidoc-crm.org/cidoc-crm/P1_is_identified_by
        responsibleOrganisation:
          type: string
          description: Name or URI of the body responsible for managing or custodying
            this site (crm:P50_has_current_keeper).
          x-jsonld-id: http://www.cidoc-crm.org/cidoc-crm/P50_has_current_keeper
        rights:
          type: string
          description: Access and use rights statement, preferably a Creative Commons
            or rights statement URI (dct:rights).
          x-jsonld-id: http://purl.org/dc/terms/rights
        hdtoType:
          type: string
          const: hdto:HC3_Tangible_Heritage_Entity
          description: "Fixed HDTO co-type (ECCCH Heritage Digital Twin Ontology,
            D7.1). Maps via context directly to rdf:type. Required so every instance
            is HDTO-typed on a plain JSON-LD parse \u2014 this block has no other
            CIDOC-CRM class triple to derive it from (it profiles `place`, whose JSON-FG
            envelope fixes `type` to the literal `\"Feature\"`)."
          x-jsonld-id: http://www.w3.org/1999/02/22-rdf-syntax-ns#type
          x-jsonld-type: '@id'
      required:
      - siteType
      - hdtoType
x-jsonld-prefixes:
  rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
  crm: http://www.cidoc-crm.org/cidoc-crm/
  dct: http://purl.org/dc/terms/
  hdto: http://isl.ics.forth.gr/ontology/echoes/
