feat(runtime): implement single-article consolidation runtime and modularize codebase
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"$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
|
||||
}
|
||||
Reference in New Issue
Block a user