{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://mizan.market/verdict/acp-extension.schema.json",
  "title": "market.mizan.verdict (Agentic Commerce Protocol extension)",
  "description": "Carriage for the Agentic Commerce Protocol: the fields this third-party extension adds when a seller lists it in capabilities.extensions (name market.mizan.verdict, extends $.CheckoutSessionCompleteRequest.mizan_verdict). A DelegatePaymentRequest may carry the same token as metadata.mizan_verdict (a string). Verify offline: https://mizan.market/verdict/#carriage",
  "type": "object",
  "properties": {
    "mizan_verdict": {
      "type": "object",
      "required": ["token"],
      "additionalProperties": false,
      "properties": {
        "token": {"type": "string", "pattern": "^mzv1\\.[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+$", "description": "One mizan.verdict/1 token, bound to this seller (bound_to.payee) and a rule hash (bound_to.rule)."},
        "kid": {"type": "string", "description": "The key id the token is signed with; must equal the token's kid when present."}
      }
    }
  }
}
