changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "description": "Integrity diagnostics.",
+ "properties": {
+ "counts": {
+ "description": "Issue counts per severity.",
+ "properties": {
+ "error": {
+ "description": "Genuinely invalid data.",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "info": {
+ "description": "Declared discontinuities, such as a hard-purge journal gap.",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "legacy": {
+ "description": "Readable data that predates a contract.",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "unsupported": {
+ "description": "Data from a newer schema or policy this build cannot interpret.",
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "error",
+ "legacy",
+ "unsupported",
+ "info"
+ ],
+ "type": "object"
+ },
+ "issues": {
+ "description": "Every diagnostic found, each with a stable code and severity.",
+ "items": {
+ "description": "One diagnostic. Extra fields identify the affected entity, entry, or scope.",
+ "properties": {
+ "code": {
+ "description": "Stable diagnostic code, such as missing_relation_source, unknown_decision_status, or journal_gap.",
+ "type": "string"
+ },
+ "detail": {
+ "description": "Human-readable explanation.",
+ "type": "string"
+ },
+ "entityId": {
+ "description": "Affected entity identifier.",
+ "type": "string"
+ },
+ "entryId": {
+ "description": "Affected journal entry identifier.",
+ "type": "string"
+ },
+ "recordId": {
+ "description": "Affected record or fact identifier.",
+ "type": "string"
+ },
+ "relationId": {
+ "description": "Affected relationship identifier.",
+ "type": "string"
+ },
+ "seq": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Affected journal sequence number."
+ },
+ "severity": {
+ "description": "error is invalid data, legacy is readable but predates a contract, unsupported comes from a newer schema this build cannot interpret, info is a declared discontinuity.",
+ "enum": [
+ "error",
+ "legacy",
+ "unsupported",
+ "info"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Affected journal entry type."
+ }
+ },
+ "required": [
+ "code",
+ "severity"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "valid": {
+ "description": "False when any error or unsupported issue is present.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "valid",
+ "issues",
+ "counts"
+ ],
+ "type": "object"
+}