changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "description": "Either a successful probe (ok=true, report + demo) or a business error (e.g. missing url) — never a fabricated report.",
+ "oneOf": [
+ {
+ "properties": {
+ "demo": {
+ "properties": {
+ "hashSnippet": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "permalink": {
+ "type": "string"
+ },
+ "persisted": {
+ "type": "boolean"
+ },
+ "verifyPath": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "permalink",
+ "verifyPath",
+ "hashSnippet",
+ "persisted"
+ ],
+ "type": "object"
+ },
+ "ok": {
+ "const": true,
+ "type": "boolean"
+ },
+ "report": {
+ "properties": {
+ "checks": {
+ "items": {
+ "properties": {
+ "detail": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "pass",
+ "warn",
+ "fail",
+ "skip"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "status",
+ "detail"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "grade": {
+ "enum": [
+ "A",
+ "B",
+ "C",
+ "D",
+ "F"
+ ],
+ "type": "string"
+ },
+ "host": {
+ "type": "string"
+ },
+ "next": {
+ "properties": {
+ "flagship": {
+ "type": "string"
+ },
+ "sample": {
+ "type": "string"
+ },
+ "storeGuardBuy": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "origin": {
+ "type": "string"
+ },
+ "probedAt": {
+ "type": "string"
+ },
+ "score": {
+ "type": "number"
+ },
+ "summary": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "host",
+ "origin",
+ "score",
+ "grade",
+ "summary",
+ "checks",
+ "probedAt",
+ "next"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "ok",
+ "report",
+ "demo"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": true,
+ "description": "Business error — e.g. missing/invalid url argument, rate limit.",
+ "properties": {
+ "error": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+ ],
+ "type": "object"
+}