Schemas / I/O

rig.led.uv_map

v0.31.0 · draft 3 fields 1 required

Fields

FieldTypeMeaning
width int optional Optional. Grid width; absent = normalized against the host output
height int optional Optional. Grid height; absent = normalized against the host output
pixels array<object> required LED index and UV

LED UV sampling map. Format when present.

Compose rig.meta.named for the label.

Sampling / present in code. Colours are runtime cache.

JSON Schema

Resolves at https://rig.works/schemas/rig.led.uv_map.schema.jsonraw file.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.led.uv_map.schema.json",
  "title": "rig.led.uv_map",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "width": {
      "$ref": "./_defs.schema.json#/$defs/int"
    },
    "height": {
      "$ref": "./_defs.schema.json#/$defs/int"
    },
    "pixels": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "index",
          "u",
          "v"
        ],
        "properties": {
          "index": {
            "$ref": "./_defs.schema.json#/$defs/int"
          },
          "u": {
            "$ref": "./_defs.schema.json#/$defs/float"
          },
          "v": {
            "$ref": "./_defs.schema.json#/$defs/float"
          }
        }
      }
    }
  },
  "required": [
    "pixels"
  ]
}