{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/glyt-net/json-schema/glyt-net-create-request-schema.json",
  "title": "CreateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/glyt-net-openapi.json#/components/schemas/CreateRequest",
  "type": "object",
  "required": [
    "action"
  ],
  "properties": {
    "action": {
      "type": "object",
      "description": "The exact action to be approved. Canonicalised (RFC 8785 / JCS) and hashed into the digest the receipt binds to.",
      "additionalProperties": true
    },
    "summary": {
      "type": "string",
      "description": "Human-readable summary shown to the operator."
    },
    "stake_tier": {
      "type": "string",
      "enum": [
        "low",
        "medium",
        "high"
      ],
      "default": "medium"
    },
    "callback_url": {
      "type": "string",
      "format": "uri",
      "description": "Optional. Receives an HMAC-signed webhook when the request settles."
    }
  }
}