32 lines
779 B
JSON
32 lines
779 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://schemas.aftech.internal/article-consolidation/v1/enrichment-response.schema.json",
|
|
"x-contract-version": "1.0.0",
|
|
"title": "ArticleSentimentTagsResponse",
|
|
"type": "object",
|
|
"required": [
|
|
"sentiment",
|
|
"tags",
|
|
"evidence_candidate_ids"
|
|
],
|
|
"properties": {
|
|
"sentiment": {
|
|
"type": "string",
|
|
"enum": ["positive", "negative", "neutral"]
|
|
},
|
|
"tags": {
|
|
"type": "array",
|
|
"items": { "type": "string", "minLength": 1 },
|
|
"minItems": 3,
|
|
"maxItems": 8,
|
|
"uniqueItems": true
|
|
},
|
|
"evidence_candidate_ids": {
|
|
"type": "array",
|
|
"items": { "type": "string" },
|
|
"minItems": 1
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|