{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zairalabs-ai/json-schema/zairalabs-ai-version-info-schema.json",
  "title": "VersionInfo",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/klaxon-api-guide-openapi.json#/components/schemas/VersionInfo",
  "type": "object",
  "required": [
    "version",
    "status",
    "lts",
    "released_at",
    "base_url",
    "compatible_schema_versions"
  ],
  "properties": {
    "version": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "deprecated",
        "sunset"
      ]
    },
    "lts": {
      "type": "boolean",
      "description": "`true` when this version is designated long-term-support — it remains active for at least `lts_overlap_days` after a successor is released. Production integrations should pin to an LTS version."
    },
    "released_at": {
      "type": "string",
      "format": "date-time"
    },
    "deprecated_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Non-null when status is deprecated or sunset. Also emitted as the `Deprecation` response header on affected endpoints."
    },
    "sunset_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Non-null when status is deprecated or sunset. Emitted as the `Sunset` response header on affected endpoints."
    },
    "replaced_by": {
      "type": [
        "string",
        "null"
      ],
      "description": "Version slug of the successor. Emitted as `Link rel=\"successor-version\"` on deprecated endpoints."
    },
    "base_url": {
      "type": "string",
      "format": "uri"
    },
    "compatible_schema_versions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Tool-entry `schema_version` ranges this API version serves. Machine-readable compatibility matrix."
    }
  }
}