{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-receipt-request-schema.json",
  "title": "ReceiptRequest",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/prove-attestedmemory-openapi.json#/components/schemas/ReceiptRequest",
  "properties": {
    "subject_actor": {
      "type": "string",
      "pattern": "^did:actor:[0-9a-f]{64}$",
      "title": "Subject Actor"
    },
    "action": {
      "type": "string",
      "maxLength": 120,
      "minLength": 2,
      "title": "Action"
    },
    "resource": {
      "type": "string",
      "maxLength": 300,
      "minLength": 1,
      "title": "Resource"
    },
    "payload": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Payload"
    },
    "attributes": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Attributes"
    }
  },
  "type": "object",
  "required": [
    "subject_actor",
    "action",
    "resource"
  ]
}