$schema: https://json-schema.org/draft/2020-12/schema
title: 3D Model
description: 'A `digital-representation` constrained to real-time 3D model formats:
  glTF (binary or JSON),

  Wavefront OBJ, or an OGC 3D Tiles tileset (D8.2 profile B).

  '
allOf:
- $ref: https://ogcincubator.github.io/bblocks-heritage/build/annotated/heritage/digital-representation/schema.yaml
- type: object
  required:
  - mediaType
  properties:
    hdtoType:
      const: hdto:HC8_3D_Model
      description: "Narrows the inherited hdtoType (from digital-representation) to
        HC8 \u2014 this block's own specific HDTO class (HC8 \u2291 HC5 per D7.1)."
    mediaType:
      type: string
      enum:
      - model/gltf-binary
      - model/gltf+json
      - model/obj
      - application/json
      description: '`model/gltf-binary` (.glb) or `model/gltf+json` (.gltf) for glTF
        2.0, `model/obj` for Wavefront OBJ, or `application/json` for an OGC 3D Tiles
        tileset.'
