Skip to main content

camera_v1_0.json

camera.json Copy Json { "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "fov": { "type": ...

camera_v1_0.json

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "fov": {
      "type": "number",
      "minimum": 0,
      "maximum": 100.0
    },
    "position": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "minItems": 3,
      "maxItems": 3
    },
    "rotation": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "minItems": 4,
      "maxItems": 4
    },
    "lookat": {
      "description": "Coordinates on the environment space",
      "type": "array",
      "items": {
        "type": "number"
      },
      "minItems": 3,
      "maxItems": 3
    },
    "mode": {
      "type": "string",
      "enum": [
        "auto",
        "fixed"
      ]
    }
  },
  "required": [
    "fov",
    "position",
    "rotation"
  ]
}

Did this answer your question?