{"$id":"https://checkout.fizzl.eu/mandate/schema.json","$schema":"https://json-schema.org/draft/2020-12/schema","name":"Agent mandate","description":"What an AI agent may pay on behalf of its owner, who issued this credential and can revoke it.","type":"object","properties":{"credentialSubject":{"type":"object","properties":{"id":{"title":"Credential subject id","type":"string","description":"The agent's Web3 ID public key"},"attributes":{"type":"object","properties":{"maxPerPayment":{"title":"Most per payment","type":"integer","description":"In atomic units of the asset"},"maxPerDay":{"title":"Most per day","type":"integer","description":"In atomic units of the asset, per UTC day"},"asset":{"title":"Asset","type":"string","description":"CCD or a protocol-level token id"},"payer":{"title":"Paying account","type":"string","description":"The first 31 characters of the account the agent pays from"},"exam":{"title":"Exam result","type":"string","description":"The id of a passed exam at exam.fizzl.eu (optional)"}},"required":["maxPerPayment","maxPerDay","asset","payer"]}},"required":["id","attributes"]}},"required":["credentialSubject"]}