{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://litlfred.github.io/bootstrap/0.1.0/schemas/model-registry.schema.json",
  "$comment": "Generated by the bootstrap toolset (https://github.com/litlfred/bootstrap-tools, scripts/gen-bootstrap-schemas.ts) from its Zod source — do not edit; change the Zod.",
  "title": "Model Registry",
  "description": "Which languages a model is good at, and whether a person checked. Only `human-validated` is ever acted on, and only a person can grant it.",
  "type": "object",
  "properties": {
    "$schema": {
      "type": "string",
      "const": "model-registry/1.0.0"
    },
    "models": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/@-]*$"
          },
          "title": {
            "type": "string",
            "minLength": 1
          },
          "preferredLanguages": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 2
            }
          },
          "validation": {
            "type": "string",
            "enum": [
              "unverified",
              "self-reported",
              "human-validated"
            ]
          },
          "validatedBy": {
            "type": "string"
          },
          "validatedOn": {
            "type": "string"
          },
          "note": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "title",
          "validation"
        ]
      }
    }
  },
  "required": [
    "$schema",
    "models"
  ]
}
