{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://loop.firmiana.si/capabilities/v1/capabilities.schema.json",
  "title": "Loop capabilities: API compatibility, features, data policy and rate limits of LLM providers, from official documentation only, with a source URL on every value",
  "type": "object",
  "additionalProperties": false,
  "required": ["schema", "version", "generated_at", "license", "providers"],
  "properties": {
    "schema": { "const": "https://loop.firmiana.si/capabilities/v1/capabilities.schema.json" },
    "version": { "const": 1 },
    "generated_at": { "type": "string", "format": "date-time" },
    "license": { "const": "CC-BY-4.0" },
    "providers": {
      "type": "array",
      "description": "One entry per provider, in the shape of provider.schema.json. A value is { v, src, note? }; a field that is missing was not confirmed on an official page and is listed in `unverified`.",
      "items": { "$ref": "provider.schema.json" }
    }
  }
}
