{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.media.text.schema.json",
  "title": "rig.media.text",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "text": {
      "$ref": "./_defs.schema.json#/$defs/string"
    },
    "font": {
      "$ref": "./_defs.schema.json#/$defs/entity"
    },
    "fontSize": {
      "$ref": "./_defs.schema.json#/$defs/float"
    },
    "axes": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "tag",
          "value"
        ],
        "properties": {
          "tag": {
            "$ref": "./_defs.schema.json#/$defs/uint32"
          },
          "value": {
            "$ref": "./_defs.schema.json#/$defs/float"
          }
        }
      }
    },
    "features": {
      "$ref": "./_defs.schema.json#/$defs/string"
    },
    "useKerning": {
      "$ref": "./_defs.schema.json#/$defs/bool"
    }
  },
  "required": [
    "text"
  ]
}
