{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "title": "Independent projected artwork margins",
  "properties": {
    "schema": {
      "const": "bts.detached-projected-margin-archive.v1"
    },
    "deviceId": {
      "const": "06-09"
    },
    "archiveId": {
      "const": "dry-art-margin-0609"
    },
    "sourceVersion": {
      "const": "authored-only-v1"
    },
    "revision": {
      "type": "integer",
      "minimum": 1
    },
    "parentObservationRevision": {
      "type": "integer",
      "minimum": 0
    },
    "id": {
      "enum": [
        "A",
        "B",
        "C"
      ]
    },
    "plaqueDimsMm": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "minItems": 2,
      "maxItems": 2
    },
    "referenceOutlineMm": {
      "const": [
        28,
        17
      ]
    },
    "gapsEachSideMm": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "minItems": 2,
      "maxItems": 2
    },
    "class": {
      "enum": [
        "clear",
        "boundary",
        "overhang"
      ]
    },
    "carriageSeatMm": {
      "enum": [
        47,
        0,
        -47
      ]
    },
    "coordinateFrame": {
      "type": "string"
    },
    "physicalLayerNote": {
      "type": "string"
    },
    "provenance": {
      "type": "string"
    },
    "actualInstrumentUse": {
      "const": false
    }
  },
  "required": [
    "schema",
    "deviceId",
    "archiveId",
    "sourceVersion",
    "revision",
    "parentObservationRevision",
    "id",
    "plaqueDimsMm",
    "referenceOutlineMm",
    "gapsEachSideMm",
    "class",
    "carriageSeatMm",
    "coordinateFrame",
    "physicalLayerNote",
    "provenance",
    "actualInstrumentUse"
  ],
  "additionalProperties": false
}
