After
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"diffs": {
"items": {
"additionalProperties": false,
"properties": {
"aiConfidence": {
"type": [
"string",
"null"
]
},
"aiFlagReason": {
"type": [
"string",
"null"
]
},
"aiReasoning": {
"type": [
"string",
"null"
]
},
"aiSummary": {
"type": [
"string",
"null"
]
},
"aiVerdict": {
"type": [
"string",
"null"
]
},
"baselineUrl": {
"type": [
"string",
"null"
]
},
"browser": {
"type": "string"
},
"candidateUrl": {
"type": "string"
},
"changed": {
"type": "boolean"
},
"decision": {
"type": [
"string",
"null"
]
},
"diffResultId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
]
},
"diffUrl": {
"type": [
"string",
"null"
]
},
"metrics": {
"additionalProperties": false,
"properties": {
"bbox": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"height": {
"type": "number"
},
"width": {
"type": "number"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"x",
"y",
"width",
"height"
],
"type": "object"
},
{
"type": "null"
}
]
},
"changedPct": {
"type": "number"
},
"changedPx": {
"type": "number"
},
"changedPxAdjusted": {
"type": "number"
},
"flakinessPx": {
"type": "number"
},
"flakinessScore": {
"type": "number"
},
"hadBaseline": {
"type": "boolean"
},
"height": {
"type": "number"
},
"sizeChanged": {
"type": "boolean"
},
"threshold": {
"type": "number"
},
"width": {
"type": "number"
}
},
"type": "object"
},
"storyId": {
"type": "string"
},
"viewport": {
"type": "string"
}
},
"required": [
"diffResultId",
"storyId",
"viewport",
"browser",
"changed",
"decision",
"metrics",
"baselineUrl",
"candidateUrl",
"diffUrl",
"aiSummary",
"aiVerdict",
"aiConfidence",
"aiReasoning",
"aiFlagReason"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"diffs"
],
"type": "object"
}