{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.pixel.source.schema.json",
  "title": "rig.pixel.source",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "kind": {
      "type": "string",
      "enum": [
        "none",
        "image-file",
        "generator",
        "image-sequence",
        "video-device",
        "video-file",
        "cast-receive"
      ]
    },
    "asset": {
      "$ref": "./_defs.schema.json#/$defs/entity"
    },
    "generatorName": {
      "$ref": "./_defs.schema.json#/$defs/string"
    },
    "sequenceFps": {
      "$ref": "./_defs.schema.json#/$defs/float"
    },
    "sequenceFrame": {
      "$ref": "./_defs.schema.json#/$defs/int"
    },
    "videoDeviceRef": {
      "$ref": "./_defs.schema.json#/$defs/uint"
    },
    "videoDeviceName": {
      "$ref": "./_defs.schema.json#/$defs/string"
    },
    "videoWidth": {
      "$ref": "./_defs.schema.json#/$defs/uint"
    },
    "videoHeight": {
      "$ref": "./_defs.schema.json#/$defs/uint"
    },
    "videoTime": {
      "$ref": "./_defs.schema.json#/$defs/float"
    }
  },
  "required": [
    "kind"
  ]
}
