{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://decision-integrity-service.wheelerhubbell.chatgpt.site/result.schema.json","title":"Decision Integrity paid attested result","type":"object","required":["service","serviceVersion","issuedAt","evaluation","payment","attestation"],"properties":{"service":{"const":"https://decision-integrity-service.wheelerhubbell.chatgpt.site"},"serviceVersion":{"type":"string"},"issuedAt":{"type":"string","format":"date-time"},"evaluation":{"type":"object","required":["state","reasons","bounds","unknowns","qualifiers","provenance","inputDigest","preservedRecord","executionPermitted"],"properties":{"state":{"enum":["AUTHORIZED","BOUNDED","AWAITING_AUTHORITY","DENIED"]},"executionPermitted":{"type":"boolean"},"reasons":{"type":"array","items":{"type":"object"}},"bounds":{"type":"array","items":{"type":"object"}},"unknowns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9:_.-]{0,127}$","maxLength":128},"text":{"type":"string","minLength":1,"maxLength":8192},"blocking":{"type":"boolean"}},"required":["id","text","blocking"],"additionalProperties":false},"minItems":0,"maxItems":64},"qualifiers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9:_.-]{0,127}$","maxLength":128},"text":{"type":"string","minLength":1,"maxLength":8192}},"required":["id","text"],"additionalProperties":false},"minItems":0,"maxItems":64},"provenance":{"type":"array","items":{"type":"object"}},"inputDigest":{"type":"string","pattern":"^[a-f0-9]{64}$"},"preservedRecord":{"$ref":"https://decision-integrity-service.wheelerhubbell.chatgpt.site/schema.json"}}},"payment":{"type":"object","required":["network","asset","amount","payTo","payer","transaction","verified","settled"],"properties":{"network":{"const":"eip155:8453"},"asset":{"const":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"amount":{"const":"1000000"},"payTo":{"const":"0x1050eddd8282623b0c263ed6bdbd42370bbc28d3"},"verified":{"const":true},"settled":{"const":true},"transaction":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"}}},"attestation":{"type":"object","required":["type","algorithm","keyId","jwks","jws"],"properties":{"type":{"const":"JWS"},"algorithm":{"const":"EdDSA"},"jws":{"type":"string"},"jwks":{"const":"https://decision-integrity-service.wheelerhubbell.chatgpt.site/.well-known/jwks.json"},"keyId":{"type":"string"}}}}}