{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hummingdeck/json-schema/hummingdeck-create-room-label-request-schema.json",
  "title": "CreateRoomLabelRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hummingdeck-room-labels-api-openapi.yml#/components/schemas/CreateRoomLabelRequest",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "name",
    "color"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 40
    },
    "color": {
      "type": "string",
      "pattern": "^#[0-9A-Fa-f]{6}$"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 160
    }
  }
}