{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/flint-network/json-schema/flint-network-scout-credits-topup-response-schema.json",
  "title": "ScoutCreditsTopupResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/flint-network-scout-credits-api-openapi.yml#/components/schemas/ScoutCreditsTopupResponse",
  "type": "object",
  "required": [
    "ok",
    "credits_added",
    "balance",
    "receipt_id",
    "receipt_url"
  ],
  "properties": {
    "ok": {
      "const": true
    },
    "credits_added": {
      "const": 100
    },
    "balance": {
      "type": "integer",
      "minimum": 0
    },
    "receipt_id": {
      "type": "string",
      "pattern": "^fsr_"
    },
    "receipt_url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    }
  }
}