changedOutput schema / anyOf
Previous value: -[
- {
- "properties": {
- "articles": {
- "items": {
- "properties": {
- "provenance": {
- "description": "Origin of one record: stable id, clean canonical URL, publisher, the exact published revision served, a ready citation, primary sources and review status.",
- "properties": {
- "canonical_url": {
- "description": "Published location without tracking parameters.",
- "format": "uri",
- "type": "string"
- },
- "cite_as": {
- "type": "string"
- },
- "contract": {
- "const": "wiki-provenance/1",
- "type": "string"
- },
- "id": {
- "description": "<locale>:<slug> for an article, <dataset>:<record id> for a dataset row.",
- "type": "string"
- },
- "primary_sources": {
- "items": {
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "name",
- "url"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "publisher": {
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "name",
- "url"
- ],
- "type": "object"
- },
- "verification_status": {
- "enum": [
- "verified",
- "pending",
- "unknown"
- ],
- "type": "string"
- },
- "version": {
- "description": "Revision of exactly the material served: for an article the snapshot content hash (the HTML ETag value); for a dataset record the dataset revision it was published in, not the published filename. Null when unknown.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "contract",
- "id",
- "canonical_url",
- "publisher",
- "version",
- "cite_as",
- "primary_sources",
- "verification_status"
- ],
- "type": "object"
- },
- "slug": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "slug",
- "title",
- "url",
- "provenance"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "calendar": {
- "items": {
- "properties": {
- "date": {
- "type": "string"
- },
- "label": {
- "type": "string"
- }
- },
- "required": [
- "label",
- "date"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "calendarStatus": {
- "properties": {
- "missingInputs": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "reason": {
- "type": "string"
- },
- "state": {
- "enum": [
- "not_calculated"
- ],
- "type": "string"
- }
- },
- "required": [
- "state",
- "reason",
- "missingInputs"
- ],
- "type": "object"
- },
- "cautions": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "complaintUrl": {
- "type": "string"
- },
- "deadlines": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "escalation": {
- "items": {
- "properties": {
- "how": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "source": {
- "type": "string"
- },
- "status": {
- "enum": [
- "open",
- "later",
- "conditional",
- "closed"
- ],
- "type": "string"
- },
- "statusNote": {
- "type": "string"
- },
- "when": {
- "type": "string"
- },
- "who": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "when",
- "how",
- "who",
- "status",
- "statusNote"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "firstSteps": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "headline": {
- "type": "string"
- },
- "letters": {
- "items": {
- "properties": {
- "body": {
- "type": "string"
- },
- "kind": {
- "enum": [
- "complaint",
- "data_request"
- ],
- "type": "string"
- },
- "purpose": {
- "type": "string"
- },
- "title": {
- "type": "string"
- }
- },
- "required": [
- "kind",
- "title",
- "purpose",
- "body"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "reportedStage": {
- "description": "Stage reported by the caller, not a verified procedural event or eligibility finding.",
- "enum": [
- "notice",
- "replied",
- "deadline_passed",
- "closed"
- ],
- "type": "string"
- },
- "service": {
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "why": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "title",
- "why"
- ],
- "type": "object"
- },
- "statutoryReply": {
- "description": "UK/EU whole native complaint-reply cell with all conditions, caveats and quotations. Personal scope and statutory due date remain unknown. Null outside this cohort.",
- "type": [
- "object",
- "null"
- ]
- },
- "verdict": {
- "type": "string"
- }
- },
- "required": [
- "headline",
- "verdict",
- "firstSteps",
- "escalation",
- "deadlines",
- "calendar",
- "letters",
- "service",
- "cautions",
- "articles",
- "complaintUrl"
- ],
- "type": "object"
- },
- {
- "properties": {
- "complete": {
- "const": true
- },
- "format": {
- "const": "wiki-bank-case-compact/1"
- },
- "materialSha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "materialWireSha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "omittedDerived": {
- "properties": {
- "nativeContextMarkdownSha256": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "nativeContextMarkdownSha256"
- ],
- "type": "object"
- },
- "payload": {
- "description": "Original native material except derived nativeContextMarkdown. Only object occurrences in sources arrays become { $wikiBankSource: id }. Resolve complete source objects from sourcesById before inspecting citations or verifying native owner byte hashes. Preserve order and repeated occurrences.",
- "type": "object"
- },
- "sourcesById": {
- "additionalProperties": {
- "type": "object"
- },
- "description": "Complete source objects keyed by canonical full-object SHA plus exact JSON wire SHA. Qualifications, translations, locators, unknown fields and property order participate in identity.",
- "type": "object"
- }
- },
- "required": [
- "format",
- "complete",
- "payload",
- "sourcesById",
- "materialSha256",
- "materialWireSha256",
- "omittedDerived"
- ],
- "type": "object"
- },
- {
- "properties": {
- "complete": {
- "const": false
- },
- "format": {
- "const": "wiki-bank-case-held/1"
- },
- "fullFormatLimitBytes": {
- "type": "integer"
- },
- "limitBytes": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "reason": {
- "const": "response_budget_exceeded"
- },
- "recovery": {
- "anyOf": [
- {
- "type": "null"
- },
- {
- "properties": {
- "format": {
- "enum": [
- "json",
- "full"
- ]
- },
- "readMode": {
- "const": "fresh_read"
- },
- "requiresStructuredContent": {
- "type": "boolean"
- },
- "sameSnapshot": {
- "const": false
- },
- "textMode": {
- "enum": [
- "summary",
- "compatible"
- ]
- }
- },
- "required": [
- "format",
- "textMode",
- "requiresStructuredContent",
- "readMode",
- "sameSnapshot"
- ],
- "type": "object"
- }
- ]
- },
- "requestedFormat": {
- "enum": [
- "json",
- "full"
- ]
- },
- "requestedTextMode": {
- "enum": [
- "compatible",
- "summary"
- ]
- },
- "requiredBytes": {
- "type": "integer"
- },
- "retrySameRequestUseful": {
- "const": false
- },
- "state": {
- "const": "held"
- }
- },
- "required": [
- "format",
- "complete",
- "state",
- "reason",
- "limitBytes",
- "requiredBytes",
- "requestedFormat",
- "requestedTextMode",
- "fullFormatLimitBytes",
- "retrySameRequestUseful",
- "recovery",
- "message"
- ],
- "type": "object"
- },
- {
- "properties": {
- "error": {
- "type": "string"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "articles": {
+ "items": {
+ "properties": {
+ "provenance": {
+ "description": "Origin of one record: stable id, clean canonical URL, publisher, the exact published revision served, a ready citation, primary sources and review status.",
+ "properties": {
+ "canonical_url": {
+ "description": "Published location without tracking parameters.",
+ "format": "uri",
+ "type": "string"
+ },
+ "cite_as": {
+ "type": "string"
+ },
+ "contract": {
+ "const": "wiki-provenance/1",
+ "type": "string"
+ },
+ "id": {
+ "description": "<locale>:<slug> for an article, <dataset>:<record id> for a dataset row.",
+ "type": "string"
+ },
+ "primary_sources": {
+ "items": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "publisher": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "url"
+ ],
+ "type": "object"
+ },
+ "verification_status": {
+ "enum": [
+ "verified",
+ "pending",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "version": {
+ "description": "Revision of exactly the material served: for an article the snapshot content hash (the HTML ETag value); for a dataset record the dataset revision it was published in, not the published filename. Null when unknown.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "contract",
+ "id",
+ "canonical_url",
+ "publisher",
+ "version",
+ "cite_as",
+ "primary_sources",
+ "verification_status"
+ ],
+ "type": "object"
+ },
+ "slug": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "slug",
+ "title",
+ "url",
+ "provenance"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "calendar": {
+ "items": {
+ "properties": {
+ "date": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "date"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "calendarStatus": {
+ "properties": {
+ "missingInputs": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "state": {
+ "enum": [
+ "not_calculated"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "state",
+ "reason",
+ "missingInputs"
+ ],
+ "type": "object"
+ },
+ "cautions": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "complaintUrl": {
+ "type": "string"
+ },
+ "deadlines": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "escalation": {
+ "items": {
+ "properties": {
+ "how": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "open",
+ "later",
+ "conditional",
+ "closed"
+ ],
+ "type": "string"
+ },
+ "statusNote": {
+ "type": "string"
+ },
+ "when": {
+ "type": "string"
+ },
+ "who": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "when",
+ "how",
+ "who",
+ "status",
+ "statusNote"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "firstSteps": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "headline": {
+ "type": "string"
+ },
+ "letters": {
+ "items": {
+ "properties": {
+ "body": {
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "complaint",
+ "data_request"
+ ],
+ "type": "string"
+ },
+ "purpose": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "purpose",
+ "body"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "reportedStage": {
+ "description": "Stage reported by the caller, not a verified procedural event or eligibility finding.",
+ "enum": [
+ "notice",
+ "replied",
+ "deadline_passed",
+ "closed"
+ ],
+ "type": "string"
+ },
+ "service": {
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "why": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "why"
+ ],
+ "type": "object"
+ },
+ "statutoryReply": {
+ "description": "UK/EU whole native complaint-reply cell with all conditions, caveats and quotations. Personal scope and statutory due date remain unknown. Null outside this cohort.",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "verdict": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "headline",
+ "verdict",
+ "firstSteps",
+ "escalation",
+ "deadlines",
+ "calendar",
+ "letters",
+ "service",
+ "cautions",
+ "articles",
+ "complaintUrl"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "complete": {
+ "const": true
+ },
+ "format": {
+ "const": "wiki-bank-case-compact/1"
+ },
+ "materialSha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "materialWireSha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "omittedDerived": {
+ "properties": {
+ "nativeContextMarkdownSha256": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "nativeContextMarkdownSha256"
+ ],
+ "type": "object"
+ },
+ "payload": {
+ "description": "Original native material except derived nativeContextMarkdown. Only object occurrences in sources arrays become { $wikiBankSource: id }. Resolve complete source objects from sourcesById before inspecting citations or verifying native owner byte hashes. Preserve order and repeated occurrences.",
+ "type": "object"
+ },
+ "sourcesById": {
+ "additionalProperties": {
+ "type": "object"
+ },
+ "description": "Complete source objects keyed by canonical full-object SHA plus exact JSON wire SHA. Qualifications, translations, locators, unknown fields and property order participate in identity.",
+ "type": "object"
+ }
+ },
+ "required": [
+ "format",
+ "complete",
+ "payload",
+ "sourcesById",
+ "materialSha256",
+ "materialWireSha256",
+ "omittedDerived"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "complete": {
+ "const": true
+ },
+ "format": {
+ "const": "wiki-bank-case-text/1"
+ },
+ "materialFormat": {
+ "const": "wiki-bank-case-compact/1"
+ },
+ "materialLocation": {
+ "const": "content[0].text"
+ },
+ "materialSha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "materialWireSha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "sourceCount": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "textPayloadBytes": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "textPayloadSha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "format",
+ "complete",
+ "materialFormat",
+ "materialLocation",
+ "textPayloadSha256",
+ "textPayloadBytes",
+ "materialSha256",
+ "materialWireSha256",
+ "sourceCount"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "complete": {
+ "const": false
+ },
+ "format": {
+ "const": "wiki-bank-case-held/1"
+ },
+ "fullFormatLimitBytes": {
+ "type": "integer"
+ },
+ "limitBytes": {
+ "type": "integer"
+ },
+ "message": {
+ "type": "string"
+ },
+ "reason": {
+ "const": "response_budget_exceeded"
+ },
+ "recovery": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "properties": {
+ "format": {
+ "enum": [
+ "json",
+ "full"
+ ]
+ },
+ "readMode": {
+ "const": "fresh_read"
+ },
+ "requiresStructuredContent": {
+ "type": "boolean"
+ },
+ "sameSnapshot": {
+ "const": false
+ },
+ "textMode": {
+ "enum": [
+ "summary",
+ "compatible"
+ ]
+ }
+ },
+ "required": [
+ "format",
+ "textMode",
+ "requiresStructuredContent",
+ "readMode",
+ "sameSnapshot"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "requestedFormat": {
+ "enum": [
+ "json",
+ "full"
+ ]
+ },
+ "requestedTextMode": {
+ "enum": [
+ "compatible",
+ "summary"
+ ]
+ },
+ "requiredBytes": {
+ "type": "integer"
+ },
+ "retrySameRequestUseful": {
+ "const": false
+ },
+ "state": {
+ "const": "held"
+ }
+ },
+ "required": [
+ "format",
+ "complete",
+ "state",
+ "reason",
+ "limitBytes",
+ "requiredBytes",
+ "requestedFormat",
+ "requestedTextMode",
+ "fullFormatLimitBytes",
+ "retrySameRequestUseful",
+ "recovery",
+ "message"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "error": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+]