{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aitopia-ai/json-schema/aitopia-ai-model-schema.json",
  "title": "Model",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aitopia-ai-openapi.json#/components/schemas/Model",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "type": {
      "type": [
        "string",
        "null"
      ]
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "capabilities": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "price": {
      "$ref": "#/$defs/Price"
    },
    "execution_mode": {
      "type": [
        "string",
        "null"
      ]
    },
    "recommended": {
      "type": "boolean"
    }
  },
  "$defs": {
    "Price": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "credits": {
          "type": [
            "number",
            "null"
          ]
        },
        "min": {
          "type": "number"
        },
        "max": {
          "type": "number"
        },
        "per_second": {
          "type": "number"
        }
      }
    }
  }
}