{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/artificialwatch/json-schema/artificialwatch-stealth-models-schema.json",
  "title": "StealthModels",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/artificialwatch-openapi.json#/components/schemas/StealthModels",
  "type": "object",
  "required": [
    "name",
    "url",
    "license",
    "generated",
    "checked",
    "count",
    "claimed",
    "models"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "license": {
      "type": "string",
      "format": "uri"
    },
    "attribution": {
      "type": "string"
    },
    "method": {
      "type": "string"
    },
    "generated": {
      "type": "string",
      "format": "date"
    },
    "checked": {
      "type": "string",
      "format": "date"
    },
    "count": {
      "type": "integer"
    },
    "claimed": {
      "type": "integer"
    },
    "median_days_to_claim": {
      "type": [
        "number",
        "null"
      ]
    },
    "models": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/StealthModel"
      }
    }
  },
  "$defs": {
    "StealthModel": {
      "type": "object",
      "required": [
        "name",
        "ids",
        "plan",
        "status",
        "listed",
        "listed_source",
        "claimed_model",
        "claimed_lab",
        "claimed_on",
        "days_to_claim",
        "claim_source",
        "removed_on",
        "removal_source",
        "model_page"
      ],
      "properties": {
        "name": {
          "type": "string",
          "description": "OpenCode's display name"
        },
        "ids": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "OpenCode's model ids"
        },
        "plan": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "claimed",
            "anonymous",
            "gone"
          ]
        },
        "listed": {
          "type": "string",
          "format": "date"
        },
        "listed_source": {
          "type": "string",
          "format": "uri",
          "description": "The OpenCode pull request that first listed it"
        },
        "claimed_model": {
          "type": [
            "string",
            "null"
          ]
        },
        "claimed_lab": {
          "type": [
            "string",
            "null"
          ]
        },
        "claimed_on": {
          "type": [
            "string",
            "null"
          ],
          "format": "date"
        },
        "days_to_claim": {
          "type": [
            "integer",
            "null"
          ]
        },
        "claim_source": {
          "type": [
            "string",
            "null"
          ],
          "description": "OpenCode's mapping pull request or the lab's own statement"
        },
        "removed_on": {
          "type": [
            "string",
            "null"
          ],
          "format": "date"
        },
        "removal_source": {
          "type": [
            "string",
            "null"
          ]
        },
        "model_page": {
          "type": [
            "string",
            "null"
          ],
          "description": "ArtificialWatch's page for the claimed model"
        }
      }
    }
  }
}