{
  "name": "AI Source of Truth Evidence Rooms",
  "description": "Sells Evidence Rooms plans, credits, one-off cases and extra storage to shopping agents under AP2 mandates signed by the organization's owner or admin.",
  "url": "https://rooms.aisourceoftruth.com/a2a/ap2",
  "preferredTransport": "JSONRPC",
  "protocolVersion": "0.3.0",
  "version": "1.0.0",
  "provider": {
    "organization": "PromptReports LLC",
    "url": "https://rooms.aisourceoftruth.com"
  },
  "defaultInputModes": [
    "application/json"
  ],
  "defaultOutputModes": [
    "application/json"
  ],
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "extensions": [
      {
        "uri": "https://github.com/google-agentic-commerce/ap2/v1",
        "description": "Supports the Agent Payments Protocol.",
        "required": true,
        "params": {
          "roles": [
            "merchant",
            "payment-processor"
          ],
          "spec_version": "0.2",
          "spec_commit": "e1ea56db72a6385bce3e5c1112b3a56ce60acb43"
        }
      }
    ]
  },
  "securitySchemes": {
    "rooms_oauth": {
      "type": "oauth2",
      "description": "An agent token from Rooms OAuth (client credentials or device flow), with billing:write.",
      "flows": {
        "clientCredentials": {
          "tokenUrl": "https://rooms.aisourceoftruth.com/oauth/token",
          "scopes": {
            "cases:read": "cases:read",
            "cases:write": "cases:write",
            "export": "export",
            "billing:read": "billing:read",
            "billing:write": "billing:write"
          }
        }
      }
    }
  },
  "security": [
    {
      "rooms_oauth": [
        "billing:write"
      ]
    }
  ],
  "skills": [
    {
      "id": "create_checkout",
      "name": "Create a checkout",
      "description": "A merchant-signed checkout JWT for one item of the catalog (GET https://rooms.aisourceoftruth.com/api/ap2/catalog). DataPart \"ap2.checkout_request\": {\"org_id\",\"item_id\",\"quantity\",\"title\"?}.",
      "tags": [
        "merchant",
        "checkout",
        "ap2"
      ]
    },
    {
      "id": "initiate_payment",
      "name": "Pay with mandates",
      "description": "Settle a checkout. DataParts \"ap2.mandates.CheckoutMandateSdJwt\", \"ap2.mandates.PaymentMandateSdJwt\", \"org_id\", and for a card or x402 \"ap2.payment_credential\". Answers with a signed checkout receipt and payment receipt.",
      "tags": [
        "merchant",
        "payment",
        "ap2"
      ]
    }
  ],
  "ap2": {
    "merchant": {
      "id": "aisourceoftruth-rooms",
      "name": "AI Source of Truth Evidence Rooms",
      "website": "https://rooms.aisourceoftruth.com"
    },
    "payment_instrument_types": [
      "credits",
      "card"
    ],
    "catalog": "https://rooms.aisourceoftruth.com/api/ap2/catalog",
    "merchant_jwks": "https://rooms.aisourceoftruth.com/api/ap2/jwks.json",
    "mandate_keys": "https://rooms.aisourceoftruth.com/api/ap2/orgs/{org}/user-keys"
  }
}