Raw schema
{
"type": "object",
"properties": {
"version": {
"type": "string",
"const": "1.0"
},
"originalRequest": {
"type": "string"
},
"groundedAnswer": {
"type": "string",
"minLength": 1,
"maxLength": 16000
},
"locale": {
"type": "string",
"minLength": 2,
"maxLength": 35
},
"profileSubject": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Canonical person name for a real-person profile. Omit when the user requests no image or the subject is not a person."
},
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-z0-9]+(?:[-_.:][a-z0-9]+)*$"
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 110
},
"body": {
"type": "string",
"maxLength": 4000
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"$ref": "#/properties/sections/items/properties/id"
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 90
},
"value": {
"type": "string",
"maxLength": 120
},
"detail": {
"type": "string",
"maxLength": 2048
},
"sourceIds": {
"type": "array",
"items": {
"$ref": "#/properties/sections/items/properties/id"
},
"maxItems": 8
}
},
"required": [
"id",
"label",
"value",
"detail",
"sourceIds"
],
"additionalProperties": false
},
"maxItems": 12
},
"sourceIds": {
"type": "array",
"items": {
"$ref": "#/properties/sections/items/properties/id"
},
"maxItems": 8
}
},
"required": [
"id",
"title",
"body",
"items",
"sourceIds"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 8
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"$ref": "#/properties/sections/items/properties/id"
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 180
},
"url": {
"type": "string",
"maxLength": 2048
}
},
"required": [
"id",
"title",
"url"
],
"additionalProperties": false
},
"maxItems": 32
},
"media": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 48,
"pattern": "^[a-z0-9]+(?:[-_.:][a-z0-9]+)*$"
},
"url": {
"type": "string",
"maxLength": 2048
},
"alt": {
"type": "string",
"minLength": 1,
"maxLength": 180
},
"caption": {
"type": "string",
"maxLength": 400
},
"role": {
"type": "string",
"enum": [
"identity",
"evidence",
"illustration"
]
},
"sourceId": {
"$ref": "#/properties/sections/items/properties/id"
}
},
"required": [
"id",
"url",
"alt",
"caption",
"role",
"sourceId"
],
"additionalProperties": false,
"description": "Optional pre-resolved attributed visual evidence from an allowed Wikimedia or Openverse image URL and an existing source page."
},
"maxItems": 4
},
"suggestedRefinements": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 140
},
"maxItems": 2
},
"continuationState": {
"type": "object",
"properties": {
"priorRunId": {
"type": "string",
"minLength": 1,
"maxLength": 96
},
"checkedIds": {
"type": "array",
"items": {
"$ref": "#/properties/sections/items/properties/id"
},
"maxItems": 96
},
"selectedIds": {
"type": "array",
"items": {
"$ref": "#/properties/sections/items/properties/id"
},
"maxItems": 24
},
"inputs": {
"type": "object",
"additionalProperties": {
"type": "string",
"maxLength": 500
},
"propertyNames": {
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-z0-9]+(?:[-_.:][a-z0-9]+)*$"
}
}
},
"required": [
"priorRunId",
"checkedIds",
"selectedIds",
"inputs"
],
"additionalProperties": false
}
},
"required": [
"version",
"originalRequest",
"groundedAnswer",
"locale",
"sections",
"sources",
"suggestedRefinements"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}