{
  "x402Version": 2,
  "provider": {
    "name": "HumanMirror",
    "url": "https://humanmirror.fr",
    "description": "Deterministic advisory checks and execution evidence for autonomous agent tool and payment actions."
  },
  "resources": [
    {
      "url": "https://humanmirror.fr/api/x402/safe-preflight/",
      "name": "HumanMirror Safe Preflight",
      "description": "Check one proposed autonomous-agent payment, tool call or external side effect against stated risk and confirmation criteria before execution. Advisory only; this endpoint does not authorize, sign or execute the underlying action.",
      "method": "POST",
      "mimeType": "application/json",
      "tags": [
        "ai-agent",
        "preflight",
        "payment-intent",
        "safety",
        "tool-call",
        "evidence",
        "x402"
      ],
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "10000",
          "asset": "0x833589fCD6eDb6E08f4C7C32D4f71b54bdA02913",
          "payTo": "0x48096526488f2D51df6bcA1B1f3A3639986cc3dD",
          "maxTimeoutSeconds": 60
        }
      ],
      "inputSchema": {
        "type": "object",
        "required": [
          "input"
        ],
        "properties": {
          "input": {
            "type": "object",
            "description": "Proposed action metadata; avoid secrets and private customer content."
          },
          "criteria": {
            "type": "object",
            "properties": {
              "max_risk": {
                "type": "string",
                "enum": [
                  "low",
                  "medium",
                  "high",
                  "critical"
                ]
              },
              "allow_confirmation": {
                "type": "boolean"
              }
            }
          }
        }
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "outcome_id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "outcome_type": {
            "type": "string"
          },
          "output": {
            "type": "object"
          },
          "verification": {
            "type": "object"
          },
          "proof": {
            "type": "object"
          }
        }
      },
      "exampleRequest": {
        "input": {
          "action": "propose_payment",
          "destination": "approved-invoice-workflow",
          "amount_usdc": 50
        },
        "criteria": {
          "max_risk": "medium",
          "allow_confirmation": false
        }
      }
    },
    {
      "url": "https://humanmirror.fr/api/x402/clean-json/",
      "name": "HumanMirror Clean JSON",
      "description": "Clean and canonicalize a JSON payload for agent workflows. Paid standalone request; no subscription.",
      "method": "POST",
      "mimeType": "application/json",
      "tags": [
        "json",
        "json-formatting",
        "canonicalization",
        "ai-agent",
        "x402"
      ],
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "10000",
          "asset": "0x833589fCD6eDb6E08f4C7C32D4f71b54bdA02913",
          "payTo": "0x48096526488f2D51df6bcA1B1f3A3639986cc3dD",
          "maxTimeoutSeconds": 60
        }
      ],
      "inputSchema": {
        "type": "object",
        "required": [
          "input"
        ],
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "raw": {
                "type": "string"
              }
            }
          }
        }
      },
      "exampleRequest": {
        "input": {
          "raw": "{\"b\":2,\"a\":1}"
        }
      }
    }
  ]
}
