{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/esimker-com/json-schema/esimker-com-deposit-in-schema.json",
  "title": "DepositIn",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/esimker-com-openapi.json#/components/schemas/DepositIn",
  "properties": {
    "amount_usd": {
      "anyOf": [
        {
          "type": "number",
          "maximum": 100000.0,
          "exclusiveMinimum": 0.0
        },
        {
          "type": "string",
          "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
        }
      ],
      "title": "Amount Usd"
    },
    "payment_method": {
      "type": "string",
      "pattern": "^(crypto|card)$",
      "title": "Payment Method",
      "default": "crypto"
    },
    "payment_gateway": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_-]{1,30}$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Payment Gateway"
    },
    "lang": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[A-Za-z]{2}(-[A-Za-z]{4})?$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lang"
    },
    "currency": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[A-Za-z0-9]{2,16}$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Currency"
    }
  },
  "type": "object",
  "required": [
    "amount_usd"
  ]
}