{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://botshelfvampire.com/uncensored-local-ai/data/schema-v1.json",
 "title": "BSV uncensored local AI picks, schema v1",
 "type": "object",
 "required": [
  "dataset",
  "version",
  "license",
  "generated_at",
  "picks",
  "datasets"
 ],
 "properties": {
  "picks": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "job",
     "repo",
     "revision",
     "files",
     "download_bytes",
     "license",
     "verified_at"
    ],
    "properties": {
     "id": {
      "type": "string",
      "description": "Stable identifier. Does not change between versions; a removed pick keeps its id retired."
     },
     "job": {
      "type": "string",
      "enum": [
       "general",
       "small",
       "moe",
       "large",
       "longctx",
       "coding",
       "reasoning",
       "vision",
       "writing",
       "agents",
       "japanese",
       "translation",
       "mlx",
       "reference",
       "embedding",
       "stt",
       "tts",
       "image"
      ]
     },
     "job_label": {
      "type": "string"
     },
     "repo": {
      "type": "string",
      "description": "Hugging Face repository id"
     },
     "repo_url": {
      "type": "string"
     },
     "revision": {
      "type": "string",
      "description": "Commit SHA of the repository at verification time"
     },
     "revision_url": {
      "type": "string"
     },
     "files": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "path": {
         "type": "string"
        },
        "bytes": {
         "type": "integer"
        },
        "sha256": {
         "type": [
          "string",
          "null"
         ],
         "description": "Git LFS SHA-256 reported by the Hub API; null for non-LFS files"
        }
       }
      }
     },
     "projector_file": {
      "type": [
       "object",
       "null"
      ],
      "description": "Vision projector (mmproj) GGUF, when the repository ships one"
     },
     "download_bytes": {
      "type": "integer",
      "description": "Sum of files plus projector"
     },
     "quantization": {
      "type": "string"
     },
     "format": {
      "type": "string"
     },
     "runtime": {
      "type": "string"
     },
     "method": {
      "type": "string",
      "description": "abliterated | heretic | fine-tune | abliterated + fine-tune | stock"
     },
     "parameters": {
      "type": [
       "integer",
       "null"
      ],
      "description": "From GGUF metadata or safetensors metadata in the Hub API"
     },
     "architecture": {
      "type": [
       "string",
       "null"
      ]
     },
     "context_length": {
      "type": [
       "integer",
       "null"
      ],
      "description": "From GGUF metadata"
     },
     "license": {
      "type": [
       "string",
       "null"
      ],
      "description": "From repository card metadata; null = not declared"
     },
     "base_model": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "repo_created": {
      "type": "string"
     },
     "repo_last_modified": {
      "type": "string"
     },
     "gated": {},
     "downloads_30d": {
      "type": [
       "integer",
       "null"
      ]
     },
     "likes": {
      "type": [
       "integer",
       "null"
      ]
     },
     "fit_comfortable_gb": {
      "type": [
       "integer",
       "null"
      ],
      "description": "Smallest memory tier where download_bytes <= 70% of the tier"
     },
     "fit_tight_gb": {
      "type": [
       "integer",
       "null"
      ],
      "description": "Smallest memory tier where download_bytes <= 85% of the tier"
     },
     "note": {
      "type": "string"
     },
     "verified_at": {
      "type": "string",
      "format": "date-time"
     },
     "verified_http": {
      "type": "integer"
     }
    }
   }
  },
  "datasets": {
   "type": "array"
  },
  "companions": {
   "type": "array"
  }
 }
}