{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/orsunpay-com/json-schema/orsunpay-com-crypto-quote-dto-schema.json",
  "title": "CryptoQuoteDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/orsunpay-com-cashier-player-api-openapi.yml#/components/schemas/CryptoQuoteDto",
  "properties": {
    "amount": {
      "pattern": "^(0|[1-9]\\d{0,19})(\\.\\d{1,18})?$",
      "type": "string"
    },
    "currency": {
      "pattern": "^[A-Z]{3}$",
      "type": "string"
    },
    "fields": {
      "description": "Omit or pass an empty object; native crypto has no payer fields.",
      "maxProperties": 0,
      "type": "object"
    },
    "methodChoiceId": {
      "type": "string"
    },
    "optionChoiceId": {
      "type": "string"
    }
  },
  "required": [
    "methodChoiceId",
    "optionChoiceId",
    "amount",
    "currency"
  ],
  "type": "object"
}