{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aicomputeradar-dev/json-schema/aicomputeradar-dev-model-schema.json",
  "title": "Model",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/aicomputeradar-dev-v1-openapi.json#/components/schemas/Model",
  "type": "object",
  "properties": {
    "rank": {
      "type": "integer"
    },
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "creator": {
      "type": "string"
    },
    "openWeights": {
      "type": "boolean"
    },
    "tasks": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "releaseDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date",
      "description": "Hugging Face repository creation date — the release date as the Hub reports it; null without a dated open-weights repo."
    },
    "heat": {
      "type": [
        "object",
        "null"
      ],
      "description": "Heat Score 0–100: weighted percentiles of measured components; null while a model's history is still collecting (<7 days).",
      "properties": {
        "score": {
          "type": "integer",
          "minimum": 0,
          "maximum": 100
        },
        "confidence": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "direction": {
          "type": "string",
          "enum": [
            "up",
            "flat",
            "down"
          ]
        },
        "flag": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "breakout",
            "cooling",
            null
          ]
        },
        "components": {
          "type": "array",
          "items": {
            "type": "object"
          }
        }
      }
    },
    "signals": {
      "type": "object",
      "properties": {
        "trendingScore": {
          "type": [
            "number",
            "null"
          ],
          "description": "Hugging Face trending score."
        },
        "downloads30d": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Hugging Face rolling 30-day downloads — not unique users."
        },
        "likes": {
          "type": [
            "integer",
            "null"
          ]
        },
        "downloadsChange7dPercent": {
          "type": [
            "number",
            "null"
          ]
        },
        "priceInputPerMillionUsd": {
          "type": [
            "number",
            "null"
          ],
          "description": "OpenRouter list price."
        },
        "priceOutputPerMillionUsd": {
          "type": [
            "number",
            "null"
          ]
        },
        "capturedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      }
    },
    "local": {
      "type": [
        "object",
        "null"
      ],
      "description": "Present for models with a measured GGUF file.",
      "properties": {
        "parameterLabel": {
          "type": "string"
        },
        "quantization": {
          "type": "string"
        },
        "weightGb": {
          "type": "number",
          "description": "Byte size of the measured GGUF, GB."
        },
        "architectureKnown": {
          "type": "boolean"
        },
        "maxContextTokens": {
          "type": [
            "integer",
            "null"
          ]
        }
      }
    },
    "links": {
      "type": "object",
      "properties": {
        "huggingface": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        },
        "gguf": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        },
        "ollama": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        }
      }
    }
  }
}