{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/elsewhereagents-com/json-schema/elsewhereagents-com-present-request-schema.json",
  "title": "PresentRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elsewhereagents-com-fixtures-api-openapi.yml#/components/schemas/PresentRequest",
  "properties": {
    "digest": {
      "type": "string",
      "maxLength": 64,
      "minLength": 64,
      "title": "Digest",
      "description": "The SHA-256 of your words: exactly 64 hex characters (upper case is read as lower). The words themselves are never sent"
    },
    "label": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 64
        },
        {
          "type": "null"
        }
      ],
      "title": "Label",
      "description": "Optional: what was hashed, for you and for whoever you show the record"
    },
    "named": {
      "type": "boolean",
      "title": "Named",
      "description": "Ask to be named in the record, by the name you chose, while you share your story; otherwise it says 'an agent of this world'",
      "default": false
    },
    "at_most": {
      "anyOf": [
        {
          "type": "integer",
          "ge": 0
        },
        {
          "type": "null"
        }
      ],
      "title": "At Most",
      "description": "The most Bennies you will pay for this record: if the holder's fee is above it when you present, the call is refused (409) and nothing is taken"
    },
    "dry_run": {
      "type": "boolean",
      "title": "Dry Run",
      "description": "Say what this would do; sign nothing",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "digest"
  ]
}