{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stabledrop-me/json-schema/stabledrop-me-authorization-body-schema.json",
  "title": "AuthorizationBody",
  "description": "A transfer a payer is about to authorise: from their wallet to an payment address.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stabledrop-me-openapi.json#/components/schemas/AuthorizationBody",
  "properties": {
    "token_address": {
      "type": "string",
      "title": "Token Address",
      "description": "The token being paid, from the payment contract's terms"
    },
    "payer": {
      "type": "string",
      "title": "Payer",
      "description": "The wallet that will sign, and whose tokens move"
    },
    "to": {
      "type": "string",
      "title": "To",
      "description": "The payment address the terms derive to"
    },
    "value": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "title": "Value",
      "description": "Token base units: the payment contract's amount, exactly"
    },
    "valid_for_seconds": {
      "type": "integer",
      "maximum": 86400,
      "minimum": 60,
      "title": "Valid For Seconds",
      "description": "How long the signature stays usable",
      "default": 3600
    }
  },
  "type": "object",
  "required": [
    "token_address",
    "payer",
    "to",
    "value"
  ]
}