{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/autonomous-solutions/json-schema/autonomous-solutions-card-payment-request-schema-schema.json",
  "title": "CardPaymentRequestSchema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/autonomous-solutions-user-payment-api-openapi.yml#/components/schemas/CardPaymentRequestSchema",
  "properties": {
    "payment_method_id": {
      "type": "string",
      "title": "Payment Method Id"
    },
    "order_id": {
      "type": "integer",
      "title": "Order Id"
    },
    "deal_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Deal Id"
    },
    "deal_ids": {
      "anyOf": [
        {
          "items": {
            "type": "integer"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Deal Ids"
    },
    "venbucks_to_redeem": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Venbucks To Redeem"
    }
  },
  "type": "object",
  "required": [
    "payment_method_id",
    "order_id"
  ]
}