After
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"nextCursor": {
"type": [
"string",
"null"
]
},
"stories": {
"items": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"aiConfidence": {
"type": [
"string",
"null"
]
},
"aiVerdict": {
"type": [
"string",
"null"
]
},
"browsers": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"enum": [
"new",
"changed"
],
"type": "string"
},
"name": {
"type": "string"
},
"status": {
"enum": [
"accepted",
"denied",
"ignored",
"pending"
],
"type": "string"
},
"storyId": {
"type": "string"
},
"title": {
"type": "string"
},
"unstable": {
"type": "boolean"
},
"viewports": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"storyId",
"title",
"name",
"kind",
"status",
"browsers",
"viewports",
"aiVerdict",
"aiConfidence",
"unstable"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"browsers": {
"items": {
"type": "string"
},
"type": "array"
},
"lastBuildId": {
"format": "uuid",
"type": "string"
},
"name": {
"type": "string"
},
"storyId": {
"type": "string"
},
"title": {
"type": "string"
},
"viewports": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"storyId",
"title",
"name",
"lastBuildId",
"browsers",
"viewports"
],
"type": "object"
}
]
},
"type": "array"
}
},
"required": [
"stories",
"nextCursor"
],
"type": "object"
}