{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.3/project/copy.schema.json",
  "title": "Copy",
  "description": "A placement of an original. Its elements are derived and never stored.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 12,
      "pattern": "^[^/\\s]+$"
    },
    "of": {
      "type": "string",
      "minLength": 1
    },
    "at": {
      "type": "array",
      "minItems": 2,
      "maxItems": 2,
      "prefixItems": [
        {
          "type": "number"
        },
        {
          "type": "number"
        }
      ]
    },
    "turn": {
      "type": "number",
      "minimum": -360,
      "maximum": 360,
      "default": 0
    },
    "lift": {
      "type": "number",
      "default": 0
    },
    "levelId": {
      "type": "string",
      "minLength": 1
    },
    "revision": {
      "type": "integer",
      "minimum": 0,
      "default": 0
    },
    "classifications": {
      "$ref": "../classifications/classifications.schema.json"
    }
  },
  "required": [
    "id",
    "of",
    "at"
  ],
  "x-eik-closed": true
}
