{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adro1b33/main/json-schema/adro1b33-bundle-purchase-schema.json",
  "title": "BundlePurchase",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adro1b33-credits-api-openapi.yml#/components/schemas/BundlePurchase",
  "type": "object",
  "properties": {
    "paymentId": {
      "type": "string",
      "readOnly": true
    },
    "paymentStatus": {
      "type": "string",
      "readOnly": true
    },
    "teamId": {
      "type": "integer",
      "readOnly": true
    },
    "bundleId": {
      "type": "integer",
      "readOnly": true
    },
    "creditsSnapshot": {
      "type": "integer",
      "maximum": 2147483647,
      "minimum": 0
    },
    "priceSnapshotMinor": {
      "type": "integer",
      "readOnly": true
    },
    "currencySnapshot": {
      "type": "string",
      "maxLength": 8
    },
    "display": {
      "type": "object",
      "additionalProperties": {},
      "readOnly": true
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    }
  },
  "required": [
    "bundleId",
    "createdAt",
    "creditsSnapshot",
    "currencySnapshot",
    "display",
    "paymentId",
    "paymentStatus",
    "priceSnapshotMinor",
    "teamId"
  ]
}