{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/quorum-dog/json-schema/quorum-dog-certification-accepted-schema.json",
  "title": "CertificationAccepted",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/quorum-dog-openapi.json#/components/schemas/CertificationAccepted",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "batch_id": {
      "type": "string",
      "format": "uuid"
    },
    "model": {
      "type": "string"
    },
    "mode": {
      "type": [
        "string",
        "null"
      ],
      "description": "The Mode, by its ticker in COMPANY:MODE form (e.g. `QRUM:STAN`), the same name `model` takes. `null` when the Mode has no ticker or the name lookup fails; the call itself is unaffected."
    },
    "total_questions": {
      "type": "integer",
      "const": 150
    },
    "billed_usd": {
      "type": "number",
      "description": "The maximum held: per question, the mode's normal API price at 25% off. When the run finishes you are charged only for questions that produced an answer and the rest is refunded."
    },
    "max_usd": {
      "type": "number",
      "description": "The quoted maximum."
    },
    "price_basis": {
      "type": "string"
    },
    "per_difficulty": {
      "type": "object",
      "additionalProperties": true,
      "description": "Count, per-question price and subtotal."
    },
    "status_url": {
      "type": "string"
    },
    "note": {
      "type": "string"
    }
  }
}