changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "charged": {
+ "const": false,
+ "type": "boolean"
+ },
+ "ok": {
+ "const": true,
+ "type": "boolean"
+ },
+ "product": {
+ "const": "samedaydesk-page-change-http",
+ "type": "string"
+ },
+ "report": {
+ "additionalProperties": false,
+ "properties": {
+ "changes": {
+ "items": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "after": {
+ "type": "string"
+ },
+ "afterEvidence": {
+ "type": "string"
+ },
+ "before": {
+ "type": "string"
+ },
+ "beforeEvidence": {
+ "type": "string"
+ },
+ "class": {
+ "const": "semantic",
+ "type": "string"
+ },
+ "evidenceTruncated": {
+ "type": "boolean"
+ },
+ "op": {
+ "enum": [
+ "add",
+ "remove",
+ "replace"
+ ],
+ "type": "string"
+ },
+ "path": {
+ "type": "string"
+ },
+ "sourceKey": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "class",
+ "op",
+ "path",
+ "sourceKey",
+ "evidenceTruncated"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "after": {
+ "type": "string"
+ },
+ "afterEvidence": {
+ "type": "string"
+ },
+ "before": {
+ "type": "string"
+ },
+ "beforeEvidence": {
+ "type": "string"
+ },
+ "class": {
+ "const": "order",
+ "type": "string"
+ },
+ "evidenceTruncated": {
+ "type": "boolean"
+ },
+ "op": {
+ "const": "reorder",
+ "type": "string"
+ },
+ "path": {
+ "type": "string"
+ },
+ "sourceKey": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "class",
+ "op",
+ "path",
+ "sourceKey",
+ "before",
+ "after",
+ "beforeEvidence",
+ "afterEvidence",
+ "evidenceTruncated"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "after": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "afterEvidence": {
+ "type": "string"
+ },
+ "before": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "beforeEvidence": {
+ "type": "string"
+ },
+ "class": {
+ "const": "order",
+ "type": "string"
+ },
+ "op": {
+ "const": "reorder",
+ "type": "string"
+ },
+ "path": {
+ "const": "/sources",
+ "type": "string"
+ },
+ "sourceKey": {
+ "type": "null"
+ }
+ },
+ "required": [
+ "class",
+ "op",
+ "path",
+ "sourceKey",
+ "before",
+ "after",
+ "beforeEvidence",
+ "afterEvidence"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "claims": {
+ "additionalProperties": false,
+ "properties": {
+ "comparable": {
+ "type": "boolean"
+ },
+ "complete": {
+ "type": "boolean"
+ },
+ "contentUnchangedProven": {
+ "type": "boolean"
+ },
+ "current": {
+ "const": false,
+ "type": "boolean"
+ },
+ "fresh": {
+ "const": false,
+ "type": "boolean"
+ },
+ "noChangeProven": {
+ "type": "boolean"
+ },
+ "paymentImpliesUsefulOutput": {
+ "const": false,
+ "type": "boolean"
+ },
+ "usefulOutputProven": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "noChangeProven",
+ "contentUnchangedProven",
+ "comparable",
+ "complete",
+ "current",
+ "fresh",
+ "usefulOutputProven",
+ "paymentImpliesUsefulOutput"
+ ],
+ "type": "object"
+ },
+ "coverageUnknown": {
+ "items": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "afterPresent": {
+ "type": "boolean"
+ },
+ "beforePresent": {
+ "type": "boolean"
+ },
+ "field": {
+ "enum": [
+ "title",
+ "description",
+ "canonical",
+ "lang",
+ "openGraph",
+ "twitter",
+ "jsonLd",
+ "headings",
+ "links",
+ "text",
+ "aiReadiness"
+ ],
+ "type": "string"
+ },
+ "reason": {
+ "const": "absent_field_is_coverage_unknown_not_deletion",
+ "type": "string"
+ },
+ "sourceKey": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "sourceKey",
+ "field",
+ "beforePresent",
+ "afterPresent",
+ "reason"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "side": {
+ "enum": [
+ "before",
+ "after"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "side",
+ "code"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "field": {
+ "type": "null"
+ },
+ "reason": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceKey": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "sourceKey",
+ "field",
+ "reason"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "fields": {
+ "items": {
+ "enum": [
+ "title",
+ "description",
+ "canonical",
+ "lang",
+ "openGraph",
+ "twitter",
+ "jsonLd",
+ "headings",
+ "links",
+ "text",
+ "aiReadiness"
+ ],
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "freshness": {
+ "enum": [
+ "unknown",
+ "inverted"
+ ],
+ "type": "string"
+ },
+ "kind": {
+ "anyOf": [
+ {
+ "enum": [
+ "merchant_extract_batch",
+ "c1_batch_result",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "observations": {
+ "additionalProperties": false,
+ "properties": {
+ "after": {
+ "anyOf": [
+ {
+ "$ref": "#/properties/report/properties/observations/properties/before/anyOf/0"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "before": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "artifactObservedAt": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "charged": {},
+ "jobId": {},
+ "jobStatus": {},
+ "ok": {},
+ "rows": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "completedAt": {},
+ "fetchedAt": {},
+ "fetchedAtIsNotFreshness": {
+ "const": true,
+ "type": "boolean"
+ },
+ "itemId": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "requestedAt": {},
+ "requestedAtIsNotFreshness": {
+ "const": true,
+ "type": "boolean"
+ },
+ "sourceKey": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "sourceKey",
+ "itemId",
+ "requestedAtIsNotFreshness",
+ "fetchedAtIsNotFreshness"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "snapshotObservedAt": {
+ "anyOf": [
+ {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "snapshotObservedAt",
+ "artifactObservedAt",
+ "rows"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "note": {
+ "const": "Source URL identity is separate from two-time observation identity. fetchedAt and completedAt are observation metadata, not content freshness.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "before",
+ "after",
+ "note"
+ ],
+ "type": "object"
+ },
+ "provenance": {
+ "additionalProperties": false,
+ "properties": {
+ "afterSha256": {
+ "$ref": "#/properties/report/properties/snapshot/properties/before/properties/sha256"
+ },
+ "beforeSha256": {
+ "$ref": "#/properties/report/properties/snapshot/properties/before/properties/sha256"
+ },
+ "c1": {
+ "additionalProperties": false,
+ "properties": {
+ "acceptance": {
+ "const": "in_repo_public_identity_helper",
+ "type": "string"
+ },
+ "commit": {
+ "const": "c247d0381ea41ab0975a666b53fc75c09db8a071",
+ "type": "string"
+ },
+ "license": {
+ "const": "MIT",
+ "type": "string"
+ },
+ "module": {
+ "const": "extract-batch-c1/url-guard.mjs",
+ "type": "string"
+ }
+ },
+ "required": [
+ "commit",
+ "module",
+ "license",
+ "acceptance"
+ ],
+ "type": "object"
+ },
+ "c2": {
+ "additionalProperties": false,
+ "properties": {
+ "acceptance": {
+ "const": "reviewed_source_vendored",
+ "type": "string"
+ },
+ "commit": {
+ "const": "f4c6cff982f662ccfe65171b2ebb03b74cf4a986",
+ "type": "string"
+ },
+ "license": {
+ "const": "MIT",
+ "type": "string"
+ },
+ "merge": {
+ "const": "670ce6e926dc5543d29c5a8afb2c9025846b46d6",
+ "type": "string"
+ },
+ "pullRequest": {
+ "const": 28,
+ "type": "number"
+ },
+ "source": {
+ "const": "examples/customer-x402/src/page-change/vendor/change-digest",
+ "type": "string"
+ }
+ },
+ "required": [
+ "commit",
+ "merge",
+ "pullRequest",
+ "source",
+ "license",
+ "acceptance"
+ ],
+ "type": "object"
+ },
+ "comparedWithClock": {
+ "type": "null"
+ },
+ "digestSha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "elapsedMs": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "merchant": {
+ "additionalProperties": false,
+ "properties": {
+ "acceptance": {
+ "const": "in_repo_public_batch_schema",
+ "type": "string"
+ },
+ "commit": {
+ "const": "d7ceb857de7c25a0113e5b6914ff73a1c8afd760",
+ "type": "string"
+ },
+ "files": {
+ "items": [
+ {
+ "const": "extract-batch.mjs",
+ "type": "string"
+ },
+ {
+ "const": "extract-batch-config.mjs",
+ "type": "string"
+ }
+ ],
+ "maxItems": 2,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "commit",
+ "files",
+ "acceptance"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "c1",
+ "c2",
+ "merchant",
+ "comparedWithClock",
+ "beforeSha256",
+ "afterSha256",
+ "elapsedMs",
+ "digestSha256"
+ ],
+ "type": "object"
+ },
+ "rows": {
+ "additionalProperties": false,
+ "properties": {
+ "duplicates": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "afterIds": {
+ "items": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "type": "array"
+ },
+ "beforeIds": {
+ "items": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "type": "array"
+ },
+ "reason": {
+ "const": "duplicate_source_identity",
+ "type": "string"
+ },
+ "sourceKey": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "sourceKey",
+ "beforeIds",
+ "afterIds",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "failed": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "after": {
+ "$ref": "#/properties/report/properties/rows/properties/failed/items/properties/before"
+ },
+ "before": {
+ "additionalProperties": false,
+ "properties": {
+ "error": {},
+ "id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "enum": [
+ "pending",
+ "success",
+ "partial",
+ "failure",
+ "unknown",
+ "skipped_duplicate"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "status"
+ ],
+ "type": "object"
+ },
+ "sourceKey": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "sourceKey",
+ "before",
+ "after"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "matched": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "after": {
+ "$ref": "#/properties/report/properties/rows/properties/matched/items/properties/before"
+ },
+ "before": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "enum": [
+ "pending",
+ "success",
+ "partial",
+ "failure",
+ "unknown",
+ "skipped_duplicate"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "status"
+ ],
+ "type": "object"
+ },
+ "source": {
+ "type": "string"
+ },
+ "sourceKey": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "sourceKey",
+ "source",
+ "before",
+ "after"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "missing": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "missingSide": {
+ "enum": [
+ "before",
+ "after"
+ ],
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
+ },
+ "sourceKey": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "pending",
+ "success",
+ "partial",
+ "failure",
+ "unknown",
+ "skipped_duplicate"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "sourceKey",
+ "missingSide",
+ "status",
+ "source",
+ "id"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "unknown": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "after": {
+ "$ref": "#/properties/report/properties/rows/properties/failed/items/properties/before"
+ },
+ "before": {
+ "$ref": "#/properties/report/properties/rows/properties/failed/items/properties/before"
+ },
+ "sourceKey": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "sourceKey",
+ "before",
+ "after"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "matched",
+ "missing",
+ "failed",
+ "unknown",
+ "duplicates"
+ ],
+ "type": "object"
+ },
+ "schema": {
+ "const": "pilot/page-change-brief/v1",
+ "type": "string"
+ },
+ "snapshot": {
+ "additionalProperties": false,
+ "properties": {
+ "after": {
+ "additionalProperties": false,
+ "properties": {
+ "byteLength": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "issues": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "mediaType": {
+ "anyOf": [
+ {
+ "const": "application/json",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "observedAt": {
+ "anyOf": [
+ {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sha256": {
+ "$ref": "#/properties/report/properties/snapshot/properties/before/properties/sha256"
+ },
+ "source": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "supplied",
+ "type": "string"
+ },
+ "path": {
+ "type": "null"
+ },
+ "role": {
+ "const": "after",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "path",
+ "role"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "present",
+ "missing",
+ "invalid"
+ ],
+ "type": "string"
+ },
+ "truncated": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "status",
+ "mediaType",
+ "observedAt",
+ "truncated",
+ "byteLength",
+ "sha256",
+ "source",
+ "issues"
+ ],
+ "type": "object"
+ },
+ "before": {
+ "additionalProperties": false,
+ "properties": {
+ "byteLength": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "issues": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "mediaType": {
+ "anyOf": [
+ {
+ "const": "application/json",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "observedAt": {
+ "anyOf": [
+ {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sha256": {
+ "anyOf": [
+ {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "source": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "supplied",
+ "type": "string"
+ },
+ "path": {
+ "type": "null"
+ },
+ "role": {
+ "const": "before",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "path",
+ "role"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "present",
+ "missing",
+ "invalid"
+ ],
+ "type": "string"
+ },
+ "truncated": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "status",
+ "mediaType",
+ "observedAt",
+ "truncated",
+ "byteLength",
+ "sha256",
+ "source",
+ "issues"
+ ],
+ "type": "object"
+ },
+ "claims": {
+ "additionalProperties": false,
+ "properties": {
+ "comparable": {
+ "type": "boolean"
+ },
+ "current": {
+ "const": false,
+ "type": "boolean"
+ },
+ "fresh": {
+ "const": false,
+ "type": "boolean"
+ },
+ "noChangeProven": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "noChangeProven",
+ "current",
+ "comparable",
+ "fresh"
+ ],
+ "type": "object"
+ },
+ "freshness": {
+ "enum": [
+ "unknown",
+ "inverted"
+ ],
+ "type": "string"
+ },
+ "limitsHit": {
+ "items": {
+ "enum": [
+ "maxBytes",
+ "maxJsonNodes",
+ "maxJsonDepth",
+ "maxChanges",
+ "maxSequenceLength"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "schema": {
+ "const": "pilot/change-digest/v1",
+ "type": "string"
+ },
+ "verdict": {
+ "enum": [
+ "changed",
+ "unchanged",
+ "reordered",
+ "incomplete",
+ "incomparable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "schema",
+ "verdict",
+ "claims",
+ "freshness",
+ "before",
+ "after",
+ "limitsHit"
+ ],
+ "type": "object"
+ },
+ "summary": {
+ "additionalProperties": false,
+ "properties": {
+ "coverageUnknown": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "duplicates": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "failed": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "matched": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "missing": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "order": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "semantic": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "unknown": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "matched",
+ "missing",
+ "failed",
+ "unknown",
+ "duplicates",
+ "coverageUnknown",
+ "semantic",
+ "order"
+ ],
+ "type": "object"
+ },
+ "verdict": {
+ "enum": [
+ "changed",
+ "unchanged",
+ "reordered",
+ "incomplete",
+ "ambiguous",
+ "incomparable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "schema",
+ "kind",
+ "verdict",
+ "fields",
+ "claims",
+ "freshness",
+ "snapshot",
+ "summary",
+ "rows",
+ "coverageUnknown",
+ "changes",
+ "observations",
+ "provenance"
+ ],
+ "type": "object"
+ },
+ "schemaVersion": {
+ "const": "samedaydesk.page-change-http.v0",
+ "type": "string"
+ }
+ },
+ "required": [
+ "ok",
+ "product",
+ "schemaVersion",
+ "charged",
+ "report"
+ ],
+ "type": "object"
+}