{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/beatapi/json-schema/beatapi-text-model-list-schema.json",
  "title": "TextModelList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/beatapi-text-api-openapi.yml#/components/schemas/TextModelList",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "object",
    "data"
  ],
  "properties": {
    "object": {
      "type": "string",
      "const": "list"
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TextModel"
      }
    }
  },
  "$defs": {
    "TextModel": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "id",
        "object",
        "created",
        "owned_by"
      ],
      "properties": {
        "id": {
          "$ref": "#/$defs/TextModelId"
        },
        "object": {
          "type": "string",
          "const": "model"
        },
        "created": {
          "type": "integer"
        },
        "owned_by": {
          "type": "string",
          "const": "beatapi"
        }
      }
    },
    "TextModelId": {
      "type": "string",
      "description": "Public text model id exposed by BeatAPI. Call GET /v1/models to discover the models enabled for your environment."
    }
  }
}