{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.3/adopted/view-camera.schema.json",
  "$comment": "OpenEik 0.2: folded by tools/fold-schemas.mjs from the proposal adopted, which 0.2 makes a rule (decision D5). Written by hand from the text, not generated.",
  "title": "A 3D view's perspective camera",
  "description": "Where a 3D view's perspective camera stands and looks, position and target in mm in the model's axes, at least 1 mm apart, and its field of view, fov, in degrees (Part II, 14.3, rule 6). A tool that shows or renders the view in perspective looks so; a sheet draws a 3D view by its orthographic camera.",
  "type": "object",
  "properties": {
    "position": {
      "type": "array",
      "minItems": 3,
      "maxItems": 3,
      "prefixItems": [
        {
          "type": "number"
        },
        {
          "type": "number"
        },
        {
          "type": "number"
        }
      ]
    },
    "target": {
      "type": "array",
      "minItems": 3,
      "maxItems": 3,
      "prefixItems": [
        {
          "type": "number"
        },
        {
          "type": "number"
        },
        {
          "type": "number"
        }
      ]
    },
    "fov": {
      "type": "number",
      "minimum": 10,
      "maximum": 120
    }
  },
  "required": [
    "position",
    "target",
    "fov"
  ],
  "x-eik-closed": true
}
