{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-authorize-request-schema.json",
  "title": "AuthorizeRequest",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/meter-attestedmemory-openapi.json#/components/schemas/AuthorizeRequest",
  "properties": {
    "operation": {
      "type": "string",
      "maxLength": 120,
      "minLength": 2,
      "title": "Operation"
    },
    "units": {
      "type": "integer",
      "maximum": 100000.0,
      "minimum": 1.0,
      "title": "Units",
      "default": 1
    },
    "reference": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200
        },
        {
          "type": "null"
        }
      ],
      "title": "Reference"
    }
  },
  "type": "object",
  "required": [
    "operation"
  ]
}