{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/carshelpingkids-org/json-schema/carshelpingkids-org-donation-receipt-schema.json",
  "title": "DonationReceipt",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/carshelpingkids-org-api-openapi.json#/components/schemas/DonationReceipt",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "ok",
    "status",
    "reference",
    "replayed",
    "program",
    "legal_recipient",
    "receipt_url",
    "next_step",
    "submission_meaning"
  ],
  "properties": {
    "ok": {
      "type": "boolean",
      "const": true
    },
    "status": {
      "type": "string",
      "const": "received_for_review"
    },
    "reference": {
      "type": "string",
      "pattern": "^CHK-[0-9A-F]{8}$"
    },
    "replayed": {
      "type": "boolean"
    },
    "program": {
      "type": "string",
      "const": "Cars Helping Kids — Car Donations"
    },
    "legal_recipient": {
      "type": "string",
      "const": "Fainting Goat Foundation Co Inc"
    },
    "receipt_url": {
      "type": "string",
      "format": "uri"
    },
    "next_step": {
      "type": "string"
    },
    "submission_meaning": {
      "type": "string"
    }
  }
}