changedOutput schema / anyOf
Previous value: -[
- {
- "anyOf": [
- {
- "description": "Whether a result's receipt seals exactly that request and that result and every rule of its form holds, and the key it names.",
- "properties": {
- "form": {
- "description": "The receipt's form: rfc8785, or first.",
- "type": [
- "string",
- "null"
- ]
- },
- "key": {
- "type": [
- "string",
- "null"
- ]
- },
- "planner": {
- "description": "For a job under a contract, what its reasoning says: the route chosen, the class wanted and given, whether the choice depends on the host, what was kept, and the shadow.",
- "type": "object"
- },
- "provider": {
- "description": "For a provider's result, what it says of itself.",
- "type": "object"
- },
- "reasons": {
- "description": "Each rule the receipt breaks (the provider protocol's section 8.4, wasmq_form among them for a wasmQ job): none when it is valid.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "signer": {
- "description": "That key as a did:key.",
- "type": [
- "string",
- "null"
- ]
- },
- "valid": {
- "type": "boolean"
- },
- "wasmq": {
- "additionalProperties": false,
- "description": "For a wasmQ job (quantum-wasmq section 6.5), beside the verdict: how the run ended, each rule of the profile's form it breaks, and where the host's unsealed words differ from what is sealed, which change no verdict.",
- "properties": {
- "notes": {
- "description": "Where the body's unsealed status or method differs from what is sealed or is missing, and members nothing seals: told beside the verdict, and no part of it.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "outcome": {
- "description": "The sealed result's status: ok, or fault.",
- "type": [
- "string",
- "null"
- ]
- },
- "problems": {
- "description": "Each rule of quantum-wasmq section 6.5 the job breaks, in words (the reason wasmq_form): the first 64, then how many more. Empty when it breaks none.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "outcome",
- "problems",
- "notes"
- ],
- "type": "object"
- }
- },
- "required": [
- "valid"
- ],
- "type": "object"
- },
- {
- "description": "An estimate's check: its seal, every estimate's receipt, and the request re-run here giving the same figures.",
- "properties": {
- "estimates": {
- "type": "integer"
- },
- "key": {
- "type": [
- "string",
- "null"
- ]
- },
- "reasons": {
- "description": "The provider protocol's section 8.4 reasons: none, since an answer is run again only once its receipt and every rule hold; a receipt that fails is answered with its reasons alone.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "receipts": {
- "type": "boolean"
- },
- "reproduced": {
- "type": "boolean"
- },
- "rerun_error": {
- "description": "Why the request could not be run again, when no host runs it (a request an estimate refuses): the answer is then not valid, and nothing is reproduced. Null when it ran.",
- "type": [
- "string",
- "null"
- ]
- },
- "signed": {
- "type": "boolean"
- },
- "signer": {
- "type": [
- "string",
- "null"
- ]
- },
- "valid": {
- "type": "boolean"
- }
- },
- "required": [
- "valid",
- "signed",
- "receipts",
- "reproduced"
- ],
- "type": "object"
- },
- {
- "description": "A set's check: the set's receipt over its request and head, the items the request gives at their indices, every item's own receipt, the root over the leaves and each item's path.",
- "properties": {
- "derived": {
- "type": "boolean"
- },
- "form": {
- "type": [
- "string",
- "null"
- ]
- },
- "items": {
- "minimum": 0,
- "type": "integer"
- },
- "items_sealed": {
- "type": "boolean"
- },
- "key": {
- "type": [
- "string",
- "null"
- ]
- },
- "reasons": {
- "description": "Each rule the set's receipt breaks (the provider protocol's sections 8.4 and 8.6): none when it is valid.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "root": {
- "type": "boolean"
- },
- "signed": {
- "type": "boolean"
- },
- "signer": {
- "description": "That key as a did:key, where a surface gives it.",
- "type": [
- "string",
- "null"
- ]
- },
- "valid": {
- "type": "boolean"
- }
- },
- "required": [
- "valid",
- "signed",
- "derived",
- "items",
- "items_sealed",
- "root"
- ],
- "type": "object"
- }
- ],
- "description": "Whether a result's receipt seals exactly that request and that result, and the key it names; for an estimate, also every estimate's receipt and the request re-run here; for a set, also every item's receipt, the root over them and each item's path."
- },
- {
- "description": "A refusal as data: the message, every code in it (the last is the code), its outcome and meaning as the code's table gives them. A host that refuses for its own reasons gives the error alone.",
- "properties": {
- "code": {
- "type": [
- "string",
- "null"
- ]
- },
- "codes": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "error": {
- "type": "string"
- },
- "meaning": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "outcome": {
- "enum": [
- "refused",
- "retry",
- "failed",
- "lowered",
- "carried",
- "preserved",
- "warned",
- "dropped",
- "defaulted"
- ]
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "anyOf": [
+ {
+ "description": "Whether a result's receipt seals exactly that request and that result and every rule of its form holds, and the key it names.",
+ "properties": {
+ "answer": {
+ "description": "For a job whose result seals the engine's verdict of its answer (the provider protocol's section 8.9): the verdict worked out again here. Its level, whether it holds, the layer that decided it with that layer's limits, the result's accuracy class, and again: reproduced, partly, host_statement (nothing of it could be worked out again here: it is the host's statement under its seal) or differs (not the verdict the job bears out: the job is then not valid, though its seal holds).",
+ "properties": {
+ "accuracy": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "again": {
+ "enum": [
+ "reproduced",
+ "partly",
+ "host_statement",
+ "differs"
+ ]
+ },
+ "checks": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "differences": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "holds": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "layer": {
+ "type": "string"
+ },
+ "level": {
+ "type": "string"
+ },
+ "limits": {
+ "type": "string"
+ },
+ "schema": {
+ "const": "wai.quantum.verdict/1"
+ },
+ "statement": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "level",
+ "holds",
+ "layer",
+ "again",
+ "checks",
+ "differences",
+ "statement"
+ ],
+ "type": "object"
+ },
+ "compile": {
+ "description": "For a sealed compile, or a job that ran compiled and carries its certificate's chain (wai/extensions/quantum-compile.md section 6): what a second look at the certificate found. again is reproduced (compiled again here, the request gives this certificate byte for byte), partly (not reproduced; the output was held to the program here by a tableau, in exact arithmetic or on dense unitaries, and whole says which), host_statement (its form holds, and nothing more could be decided here) or differs (not the certificate the request bears out: the job is then not valid, though its seal holds; differences says why).",
+ "properties": {
+ "again": {
+ "enum": [
+ "reproduced",
+ "partly",
+ "host_statement",
+ "differs"
+ ]
+ },
+ "differences": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "form": {
+ "description": "chained: every pass names its digests, its layer and its distance. earlier: sealed before certificates carried them.",
+ "enum": [
+ "chained",
+ "earlier"
+ ]
+ },
+ "layer": {
+ "description": "The layer the whole compile stands on, as the certificate states it.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "passes": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "weakest": {
+ "description": "The weakest layer among its passes' checks, as the certificate states it.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "whole": {
+ "description": "With partly: the check of the whole output against the whole program made here, its layer among it.",
+ "type": "object"
+ },
+ "why": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "again",
+ "form",
+ "passes",
+ "differences",
+ "why"
+ ],
+ "type": "object"
+ },
+ "form": {
+ "description": "The receipt's form: rfc8785, or first.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "given": {
+ "description": "How the job was given (section 9): its own text; its members, judged as the message wrote them; or a value already parsed, with no text to judge.",
+ "enum": [
+ "text",
+ "members",
+ "parsed"
+ ]
+ },
+ "key": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "not_seen": {
+ "description": "For a job given parsed: what parsing loses, which this verdict could not see.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "planner": {
+ "description": "For a job under a contract, what its reasoning says: the route chosen, the class wanted and given, whether the choice depends on the host, what was kept, and the shadow.",
+ "type": "object"
+ },
+ "provider": {
+ "description": "For a provider's result, what it says of itself.",
+ "type": "object"
+ },
+ "reasons": {
+ "description": "Each rule the receipt breaks (the provider protocol's section 8.4, wasmq_form among them for a wasmQ job): none when it is valid.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "signer": {
+ "description": "That key as a did:key.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "time": {
+ "description": "What the receipt seals of when it was issued (the provider protocol's section 8.2), for a receipt of its form: the time, in milliseconds since 1970 by its signer's clock, or that it seals none.",
+ "properties": {
+ "issued_ms": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "not_after_ms": {
+ "description": "The first moment the receipt is no longer offered; null when it states none.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "sealed": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "sealed"
+ ],
+ "type": "object"
+ },
+ "valid": {
+ "type": "boolean"
+ },
+ "wasmq": {
+ "additionalProperties": false,
+ "description": "For a wasmQ job (quantum-wasmq section 6.5), beside the verdict: how the run ended, each rule of the profile's form it breaks, and where the host's unsealed words differ from what is sealed, which change no verdict.",
+ "properties": {
+ "notes": {
+ "description": "Where the body's unsealed status or method differs from what is sealed or is missing, and members nothing seals: told beside the verdict, and no part of it.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "outcome": {
+ "description": "The sealed result's status: ok, or fault.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "problems": {
+ "description": "Each rule of quantum-wasmq section 6.5 the job breaks, in words (the reason wasmq_form): the first 64, then how many more. Empty when it breaks none.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "outcome",
+ "problems",
+ "notes"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "valid"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "An estimate's check: its seal, every estimate's receipt, and the request re-run here giving the same figures.",
+ "properties": {
+ "checked_at_ms": {
+ "description": "With a time to hold the receipt to (section 8.8): that time.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "estimates": {
+ "type": "integer"
+ },
+ "given": {
+ "description": "From a surface that says how the job was given (the provider protocol's section 9): its own text; its members, judged as the message wrote them; or a value already parsed, with no text to judge.",
+ "enum": [
+ "text",
+ "members",
+ "parsed"
+ ]
+ },
+ "key": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "not_seen": {
+ "description": "For a job given parsed: what parsing loses, which this verdict could not see.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "reasons": {
+ "description": "The provider protocol's section 8.4 reasons: none, since an answer is run again only once its receipt and every rule hold; a receipt that fails is answered with its reasons alone.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "receipts": {
+ "type": "boolean"
+ },
+ "reproduced": {
+ "type": "boolean"
+ },
+ "rerun_error": {
+ "description": "Why the request could not be run again, when no host runs it (a request an estimate refuses): the answer is then not valid, and nothing is reproduced. Null when it ran.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "signed": {
+ "type": "boolean"
+ },
+ "signer": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "skew_ms": {
+ "description": "How far after checked_at_ms a receipt's issue may be.",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "time": {
+ "description": "What the receipt seals of when it was issued (the provider protocol's section 8.2): the time, in milliseconds since 1970 by its signer's clock, or that it seals none.",
+ "properties": {
+ "issued_ms": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "not_after_ms": {
+ "description": "The first moment the receipt is no longer offered; null when it states none.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "sealed": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "sealed"
+ ],
+ "type": "object"
+ },
+ "trust": {
+ "description": "With a trust list (section 8.8): whether it lists the receipt's key, and the window and revocation its entry gives.",
+ "properties": {
+ "listed": {
+ "type": "boolean"
+ },
+ "not_after_ms": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "not_before_ms": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "revoked_from_ms": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "listed"
+ ],
+ "type": "object"
+ },
+ "valid": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "valid",
+ "signed",
+ "receipts",
+ "reproduced"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "A set's check: the set's receipt over its request and head, the items the request gives at their indices, every item's own receipt, the root over the leaves and each item's path.",
+ "properties": {
+ "checked_at_ms": {
+ "description": "With a time to hold the receipt to (section 8.8): that time.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "derived": {
+ "type": "boolean"
+ },
+ "form": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "given": {
+ "description": "From a surface that says how the job was given (the provider protocol's section 9): its own text; its members, judged as the message wrote them; or a value already parsed, with no text to judge.",
+ "enum": [
+ "text",
+ "members",
+ "parsed"
+ ]
+ },
+ "items": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "items_sealed": {
+ "type": "boolean"
+ },
+ "key": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "not_seen": {
+ "description": "For a job given parsed: what parsing loses, which this verdict could not see.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "reasons": {
+ "description": "Each rule the set's receipt breaks (the provider protocol's sections 8.4 and 8.6): none when it is valid.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "root": {
+ "type": "boolean"
+ },
+ "signed": {
+ "type": "boolean"
+ },
+ "signer": {
+ "description": "That key as a did:key, where a surface gives it.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "skew_ms": {
+ "description": "How far after checked_at_ms a receipt's issue may be.",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "time": {
+ "description": "What the set's receipt seals of when it was issued (the provider protocol's section 8.2): the time, in milliseconds since 1970 by its signer's clock, or that it seals none.",
+ "properties": {
+ "issued_ms": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "not_after_ms": {
+ "description": "The first moment the receipt is no longer offered; null when it states none.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "sealed": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "sealed"
+ ],
+ "type": "object"
+ },
+ "trust": {
+ "description": "With a trust list (section 8.8): whether it lists the receipt's key, and the window and revocation its entry gives.",
+ "properties": {
+ "listed": {
+ "type": "boolean"
+ },
+ "not_after_ms": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "not_before_ms": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "revoked_from_ms": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "listed"
+ ],
+ "type": "object"
+ },
+ "valid": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "valid",
+ "signed",
+ "derived",
+ "items",
+ "items_sealed",
+ "root"
+ ],
+ "type": "object"
+ }
+ ],
+ "description": "Whether a result's receipt seals exactly that request and that result, and the key it names; for an estimate, also every estimate's receipt and the request re-run here; for a set, also every item's receipt, the root over them and each item's path."
+ },
+ {
+ "description": "A refusal as data: the message, every code in it (the last is the code), its outcome and meaning as the code's table gives them. A host that refuses for its own reasons gives the error alone.",
+ "properties": {
+ "code": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "codes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "error": {
+ "type": "string"
+ },
+ "meaning": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "outcome": {
+ "enum": [
+ "refused",
+ "retry",
+ "failed",
+ "lowered",
+ "carried",
+ "preserved",
+ "warned",
+ "dropped",
+ "defaulted"
+ ]
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+]