$schema: https://json-schema.org/draft/2020-12/schema
title: Fabrication Output
description: "A `digital-representation` constrained to physical-fabrication formats
  \u2014 STL or 3MF \u2014 produced\nfrom a source 3D model, with a mandatory PROV
  derivation chain (`wasDerivedFrom`) back to that\nsource (D8.2 profile F: physical
  replicas, tactile reproductions).\n"
allOf:
- $ref: https://ogcincubator.github.io/bblocks-heritage/build/annotated/heritage/digital-representation/schema.yaml
- type: object
  required:
  - mediaType
  - wasDerivedFrom
  properties:
    hdtoType:
      const: hdto:HC5_Digital_Representation
      description: "Pins the inherited hdtoType (from digital-representation, otherwise
        an enum of HC5/HC7/HC8) to HC5: this block models the digital fabrication
        file (STL/3MF) itself, not the physical 3D-printed artifact it produces \u2014
        the latter, if ever recorded, would be a separate heritage-object-family (HC3)
        record, out of scope for this block."
    mediaType:
      type: string
      enum:
      - model/stl
      - model/3mf
      description: '`model/stl` for STL or `model/3mf` for 3D Manufacturing Format.'
