{
  "slug": "d1-general-auth",
  "name": "General Agent Authorization",
  "category": "delegation",
  "description": "Broad delegation of authority to an AI agent — defines action categories, spending caps, revocation terms, and principal liability. Structured with reference to UETA s. 14 (US) and eIDAS Art. 25 (EU).",
  "price_cents": 200,
  "parameter_schema": {
    "type": "object",
    "required": [
      "principal_name",
      "principal_type",
      "principal_registration_number",
      "principal_address",
      "agent_id",
      "agent_type",
      "scope",
      "categories",
      "spending_limit_per_tx",
      "spending_limit_monthly",
      "duration_months",
      "governing_law"
    ],
    "properties": {
      "principal_name": {
        "type": "string",
        "description": "Full legal name of the delegating entity or individual"
      },
      "principal_type": {
        "type": "string",
        "enum": ["corporation", "llc", "individual", "partnership", "foundation"],
        "description": "Legal entity type of the principal"
      },
      "principal_registration_number": {
        "type": "string",
        "description": "Company registration number, personal code, or EIN"
      },
      "principal_address": {
        "type": "string",
        "description": "Registered address of the principal"
      },
      "agent_id": {
        "type": "string",
        "description": "Agent wallet address (0x...) or platform identifier"
      },
      "agent_type": {
        "type": "string",
        "enum": ["autonomous", "supervised", "semi-autonomous"],
        "description": "Level of agent autonomy"
      },
      "scope": {
        "type": "string",
        "description": "Natural language description of authorized actions"
      },
      "categories": {
        "type": "array",
        "items": { "type": "string" },
        "description": "Approved action categories (e.g. procurement, data-queries, api-calls)"
      },
      "spending_limit_per_tx": {
        "type": "number",
        "description": "Maximum spend per single transaction in USD"
      },
      "spending_limit_monthly": {
        "type": "number",
        "description": "Maximum aggregate monthly spend in USD"
      },
      "duration_months": {
        "type": "integer",
        "description": "Contract duration in months"
      },
      "governing_law": {
        "type": "string",
        "default": "Singapore",
        "description": "Governing jurisdiction (Singapore, Delaware, England-Wales, Switzerland)"
      },
      "requires_approval_above": {
        "type": "number",
        "description": "Transaction threshold requiring separate principal approval"
      },
      "revocation_notice_hours": {
        "type": "integer",
        "default": 24,
        "description": "Hours of notice required for revocation"
      },
      "sub_delegation_allowed": {
        "type": "boolean",
        "default": false,
        "description": "Whether agent may delegate to sub-agents"
      }
    }
  }
}
