{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/spendnod-com/json-schema/spendnod-com-authorize-request-schema.json",
  "title": "AuthorizeRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/spendnod-com-openapi.json#/components/schemas/AuthorizeRequest",
  "properties": {
    "action": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1,
      "title": "Action"
    },
    "amount": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Amount"
    },
    "currency": {
      "type": "string",
      "maxLength": 3,
      "title": "Currency",
      "default": "USD"
    },
    "vendor": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200
        },
        {
          "type": "null"
        }
      ],
      "title": "Vendor"
    },
    "category": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ],
      "title": "Category"
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    }
  },
  "type": "object",
  "required": [
    "action"
  ]
}