{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/codai-ro/json-schema/codai-ro-device-plugin-item-schema.json",
  "title": "DevicePluginItem",
  "description": "An installed audio plugin as a desktop reported it.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codai-ro-devices-api-openapi.yml#/components/schemas/DevicePluginItem",
  "type": "object",
  "required": [
    "format",
    "id",
    "name"
  ],
  "additionalProperties": false,
  "properties": {
    "format": {
      "type": "string",
      "enum": [
        "clap",
        "vst3"
      ]
    },
    "id": {
      "type": "string",
      "pattern": "^(?:[a-zA-Z0-9][a-zA-Z0-9._-]{0,127}|[0-9A-Fa-f]{32})$"
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100
    },
    "vendor": {
      "type": "string",
      "maxLength": 100
    },
    "version": {
      "type": "string",
      "maxLength": 40
    },
    "kind": {
      "type": "string",
      "enum": [
        "instrument",
        "effect",
        "other"
      ]
    },
    "verdict": {
      "type": "string",
      "enum": [
        "compatible",
        "limited",
        "failed"
      ],
      "description": "codai validator verdict on that machine, when it ran."
    }
  }
}