{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/emporix/json-schema/emporix-provider-models-response-schema.json",
  "title": "ProviderModelsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/emporix-model-api-openapi.yml#/components/schemas/ProviderModelsResponse",
  "type": "object",
  "properties": {
    "provider": {
      "$ref": "#/$defs/ApiKeyLlmProvider"
    },
    "models": {
      "type": "array",
      "description": "List of models available for the provider.",
      "items": {
        "$ref": "#/$defs/ModelResponse"
      }
    }
  },
  "required": [
    "provider",
    "models"
  ],
  "$defs": {
    "ApiKeyLlmProvider": {
      "type": "string",
      "description": "Type of the LLM Provider. The supported providers allows you to provide your own API key. When using this providers, the `apiKey` property cannot be omitted.",
      "enum": [
        "openai",
        "google",
        "anthropic"
      ]
    },
    "ModelResponse": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Model identifier to use in agent LLM configuration."
        },
        "name": {
          "type": "string",
          "description": "Display name of the model."
        },
        "description": {
          "type": "string",
          "description": "Short description of the model. Available for some providers, such as Google."
        },
        "thinking": {
          "type": "boolean",
          "description": "Indicates whether the model supports thinking capabilities."
        }
      },
      "required": [
        "id",
        "name"
      ]
    }
  }
}