{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scopeai-cc/json-schema/scopeai-cc-check-schema.json",
  "title": "Check",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scopeai-cc-openapi.json#/components/schemas/Check",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "project_id": {
      "type": "string",
      "format": "uuid"
    },
    "state": {
      "enum": [
        "queued",
        "running",
        "completed",
        "partial",
        "failed",
        "cancelled"
      ]
    },
    "product": {
      "type": "string"
    },
    "target_id": {
      "type": "string"
    },
    "target_model": {
      "type": "string"
    },
    "methodology_version": {
      "type": "string"
    },
    "project_revision": {
      "type": "integer"
    },
    "question_version": {
      "type": "string"
    },
    "created_at": {
      "type": "string"
    },
    "updated_at": {
      "type": "string"
    },
    "billing": {
      "type": "object",
      "properties": {
        "amount_cents": {
          "type": "integer"
        },
        "charged_cents": {
          "type": "integer"
        },
        "released_cents": {
          "type": "integer"
        },
        "remaining_cents": {
          "type": "integer"
        }
      },
      "required": [
        "amount_cents",
        "charged_cents",
        "released_cents",
        "remaining_cents"
      ],
      "additionalProperties": false
    },
    "progress": {
      "type": "object",
      "additionalProperties": {
        "type": "integer"
      }
    },
    "report": {
      "type": "object",
      "description": "按 kind 区分资料覆盖和模型API提及；模型提及排除问题中已提示品牌的回答。对比趋势须保持目标、模型、项目版本、题库版本和口径一致。"
    }
  },
  "required": [
    "id",
    "project_id",
    "state",
    "product",
    "billing",
    "report"
  ],
  "additionalProperties": true
}