After
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"nextCursor": {
"type": [
"string",
"null"
]
},
"stories": {
"items": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"aiClassification": {
"type": [
"string",
"null"
]
},
"aiConfidence": {
"type": [
"string",
"null"
]
},
"aiFlagReason": {
"type": [
"string",
"null"
]
},
"aiIntroducedBy": {
"type": [
"string",
"null"
]
},
"aiSummary": {
"type": [
"string",
"null"
]
},
"aiVerdict": {
"type": [
"string",
"null"
]
},
"browser": {
"type": "string"
},
"changedPct": {
"type": [
"number",
"null"
]
},
"decision": {
"type": [
"string",
"null"
]
},
"diffResultId": {
"format": "uuid",
"type": "string"
},
"isNew": {
"type": "boolean"
},
"name": {
"type": "string"
},
"storyId": {
"type": "string"
},
"title": {
"type": "string"
},
"unstable": {
"type": "boolean"
},
"viewport": {
"type": "string"
}
},
"required": [
"diffResultId",
"storyId",
"title",
"name",
"viewport",
"browser",
"changedPct",
"decision",
"isNew",
"unstable",
"aiVerdict",
"aiClassification",
"aiIntroducedBy",
"aiConfidence",
"aiSummary",
"aiFlagReason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"browser": {
"type": "string"
},
"error": {
"type": "string"
},
"errorTruncated": {
"type": "boolean"
},
"kind": {
"enum": [
"render",
"interaction"
],
"type": "string"
},
"name": {
"type": "string"
},
"storyId": {
"type": "string"
},
"title": {
"type": "string"
},
"viewport": {
"type": "string"
}
},
"required": [
"storyId",
"title",
"name",
"viewport",
"browser",
"error",
"errorTruncated",
"kind"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"browser": {
"type": "string"
},
"storyId": {
"type": "string"
},
"viewport": {
"type": "string"
}
},
"required": [
"storyId",
"viewport",
"browser"
],
"type": "object"
}
]
},
"type": "array"
}
},
"required": [
"stories",
"nextCursor"
],
"type": "object"
}