addedInput schema / examples
Added value: +[
+ {
+ "max_records": 25,
+ "query": "sourcecountry:US theme:TERROR",
+ "timespan": "7d"
+ },
+ {
+ "enddatetime": "20240115000000",
+ "max_records": 50,
+ "query": "\"artificial intelligence\" near:San Francisco~100",
+ "sort": "DateDesc",
+ "startdatetime": "20240101000000",
+ "timespan": "custom"
+ }
+]
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "articles": {
+ "description": "List of matching articles",
+ "items": {
+ "properties": {
+ "domain": {
+ "description": "News source domain",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "image": {
+ "description": "Social media image URL",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "language": {
+ "description": "Article language code",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "seen_at": {
+ "description": "Date article was indexed",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source_country": {
+ "description": "Country code of news source",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "title": {
+ "description": "Article headline",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "tone": {
+ "description": "Sentiment tone (-100 negative to +100 positive)",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "url": {
+ "description": "Article URL",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "url",
+ "title",
+ "seen_at",
+ "domain",
+ "language",
+ "source_country",
+ "tone",
+ "image"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "query": {
+ "description": "The query string used for search",
+ "type": "string"
+ },
+ "returned": {
+ "description": "Number of articles returned",
+ "type": "number"
+ },
+ "timespan": {
+ "description": "Lookback window applied (default 7d)",
+ "type": "string"
+ }
+ },
+ "required": [
+ "query",
+ "timespan",
+ "returned",
+ "articles"
+ ],
+ "type": "object"
+}