{"resource":"https://rs-branch.demo.cba.raidiam.io","resource_name":"CBA Retail Branch and ATM Locator","resource_documentation":"https://rs-branch.demo.cba.raidiam.io/","authorization_servers":["https://netbank.demo.cba.raidiam.io"],"bearer_methods_supported":["header"],"scopes_supported":["openid","branch.read"],"authorization_details_types_supported":["branch_read"],"dpop_signing_alg_values_supported":["ES256"],"dpop_bound_access_tokens_required":false,"tls_client_certificate_bound_access_tokens":false,"cba_resource_profile":{"profile_version":"1.0","treatment":"CBA side illustration, not a Raidiam product","operator":"Commonwealth Bank business banking, illustrative reference model","domain":"accounts payable","summary":"Branch addresses, opening hours, accessibility and ATM availability. Public information, served as a governed resource so that every read is attributable to a delegation.","read_only":true,"dpop_binding":{"mode":"bound","description":"This resource verifies a DPoP proof whenever one is presented, and requires one whenever the access token carries a cnf.jkt claim. Plain bearer tokens are still accepted while the authorization server is being moved onto sender constrained tokens."},"trust":{"authorization_server":"https://netbank.demo.cba.raidiam.io","trust_anchor":"https://authority.directory.cba.raidiam.io/authority/5a27c88b-97ed-4d37-a3c8-59c66b19aa25","federation_required":true,"description":"The authorization server named above is trusted only while it resolves to the federation trust anchor named here. The chain is walked and each subordinate statement verified before any token is accepted."},"authorization_details_profiles":[{"type":"branch_read","title":"Branch and ATM information","description":"Authority to read branch locations, opening hours and ATM availability. It carries no access to any customer record and no ability to change anything.","actions":["read"],"required_members":["type","purpose"],"optional_members":[],"example":{"type":"branch_read","purpose":"Answer a customer question about opening hours"}}],"required_token_claims":[{"claim":"sub","required":false,"description":"The customer on whose behalf the question is being asked, when there is one."},{"claim":"root_grant","required":false,"description":"The delegation this read belongs to, recorded on every decision."},{"claim":"act","required":false,"description":"The RFC 8693 actor chain, recorded on every decision."},{"claim":"authorization_details[branch_read]","required":true,"description":"The authority to read branch information."}],"policies":[{"id":"rs.authenticated_caller","title":"Every call carries a token from the named authorization server","statement":"Calls are accepted only with an access token issued by https://netbank.demo.cba.raidiam.io and addressed to this resource as its audience. A token minted for a different resource is refused even when it is otherwise valid.","denial_reason":"missing_access_token, invalid_token","enforced_at":"authorization","remedy":"Read this metadata document, then request a token from the authorization server it names, with this resource as the audience."},{"id":"rs.authority_gate","title":"Authority is the RFC 9396 detail type, not a scope","statement":"Each tool names one authorization_details type. The token must carry that type, or an umbrella type that narrows to it. Holding a scope, or holding authority for a neighbouring resource, does not admit the call.","denial_reason":"insufficient_authority","enforced_at":"authorization","remedy":"Obtain a token carrying the detail type the tool names. Delegation only ever narrows, so the delegating envelope must already contain it."},{"id":"rs.revocation_honoured","title":"A revoked delegation stops working before its tokens expire","statement":"Revocation arrives as a Shared Signals event and is applied to the delegation, not to a single token. Every token issued under a revoked delegation is refused from that moment, whatever its expiry says.","denial_reason":"delegation_revoked","enforced_at":"authorization","remedy":"The customer must grant a fresh delegation. There is no way to appeal a revocation at the resource."},{"id":"rs.dpop_binding","title":"Sender constrained tokens are bound to the key that holds them","statement":"A DPoP proof is verified whenever one is presented, and is required whenever the access token names a key in its cnf.jkt claim. Each proof is accepted once, so a captured proof cannot be replayed.","denial_reason":"dpop_proof_required, invalid_dpop_proof, dpop_key_mismatch, dpop_proof_replayed, access_token_not_dpop_bound","enforced_at":"authorization","remedy":"Request the access token with a DPoP proof so the authorization server binds it to your key, then send a fresh proof with every call."},{"id":"rs.read_only_resource","title":"CBA Retail Branch and ATM Locator never changes state","statement":"This resource publishes read_only true and exposes no path that writes. A mutating tool is refused before it runs, regardless of the authority the caller presents, so an agent cannot widen its own position by writing here.","denial_reason":"resource_is_read_only","enforced_at":"authorization","remedy":"State changing instructions belong to the resource that owns the record. This one only reports."},{"id":"rs.request_validity","title":"A malformed request is refused with the reason it was malformed","statement":"Arguments are validated before any business rule runs, and the refusal names the argument at fault rather than returning a bare failure.","denial_reason":"tool_error, invalid_amount, unknown_tool","enforced_at":"execution","remedy":"Correct the named argument. The tool schemas are published in this document."},{"id":"branch.public_data_is_still_governed","title":"Public information, governed access","statement":"Nothing this resource returns is confidential. It still requires a token from the retail platform, because an estate that governs only its sensitive resources cannot say who asked it anything. Every read here is attributable to a delegation and appears in the decision log.","denial_reason":"missing_authority","enforced_at":"authorization","remedy":"Obtain a branch_read authority from the retail platform."},{"id":"branch.known_branches_only","title":"Only branches in the register","statement":"A branch identifier this register does not hold is refused as unknown, with the full list of identifiers it does hold, so a caller can correct itself in one step.","denial_reason":"unknown_branch","enforced_at":"execution","remedy":"Call find_branch first."}],"tools":[{"name":"find_branch","description":"Find branches by suburb, postcode or state. Returns the address, opening hours and accessibility of each.","required_authorization_details_type":"branch_read","mutates":false,"http_endpoint":"https://rs-branch.demo.cba.raidiam.io/api/find_branch","mcp_tool":"find_branch"},{"name":"branch_hours","description":"Opening hours for one branch.","required_authorization_details_type":"branch_read","mutates":false,"http_endpoint":"https://rs-branch.demo.cba.raidiam.io/api/branch_hours","mcp_tool":"branch_hours"},{"name":"atm_nearby","description":"Branches with an ATM, nearest first by the order the register holds them.","required_authorization_details_type":"branch_read","mutates":false,"http_endpoint":"https://rs-branch.demo.cba.raidiam.io/api/atm_nearby","mcp_tool":"atm_nearby"}],"interfaces":{"mcp":{"transport":"streamable-http","endpoint":"https://rs-branch.demo.cba.raidiam.io/mcp","description":"Model Context Protocol over Streamable HTTP. The same authority gate applies as on the HTTP endpoints."},"http":{"style":"json","endpoint_template":"https://rs-branch.demo.cba.raidiam.io/api/{tool}","description":"A plain JSON twin of every tool, sharing one handler with the MCP surface."}},"observability":{"decisions_endpoint":"https://rs-branch.demo.cba.raidiam.io/decisions","description":"The most recent admission decisions, allowed and refused, each carrying the policy that decided it and the values the decision turned on.","correlation":{"request_header":"x-correlation-id","also_accepted":["traceparent","access token correlation_id claim","access token txn claim"],"response_header":"x-correlation-id","echoed_in":["the response body of every allowed call","the body of every refusal","every decision log entry"],"lookup":"https://rs-branch.demo.cba.raidiam.io/decisions?correlation_id={id}","description":"Send an identifier from whatever triggered the work and this resource records its decision under that identifier rather than minting its own. One id therefore runs from the trigger, through the token issued for it, to the decision made here, and the decisions taken under it can be read back in order."},"recorded_per_decision":["the correlation id and where it came from","the authorization server, the published key that verified the token, and whether that server was resolved to the configured federation trust anchor","the agent identity that made the call and the full delegation chain behind it, as asserted by the authorization server in the RFC 8693 act claim","the delegating customer and the root delegation","the authorization_details types held against the type the tool required","the outcome, and for a refusal the policy that decided it and the values it turned on"]}}}