trendsapi-ai · JSON-LD Context
Trendsapi Ai Context
JSON-LD context defining the semantic vocabulary for Trendsapi Ai from trendsapi-ai.
10 Classes
40 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
trendsapi:
https://trendsapi.ai/schema#
Classes
Error
GetContextRequest
GetGrowthRequest
GetTimeSeriesRequest
GetTopPostsRequest
GetTopTrendsRequest
GrowthResponse
GrowthResult
TimeSeriesPoint
TopTrendsResponse
Properties
| Property | Type | Container |
|---|---|---|
| error | string | |
| message | string | |
| request_id | string | |
| days | integer | |
| keyword | string | |
| limit | integer | |
| mode | string | |
| source | string | |
| country | string | |
| language | string | |
| percent_growth | list | |
| resolution | string | |
| category | string | |
| offset | integer | |
| sort | string | |
| type | string | |
| window | string | |
| data_source | string | |
| metadata | ||
| results | list | |
| search_term | string | |
| baseline_date | date | |
| baseline_value | decimal | |
| baseline_volume | decimal | |
| direction | string | |
| growth | decimal | |
| period | string | |
| recent_date | date | |
| recent_value | decimal | |
| recent_volume | decimal | |
| volume_available | boolean | |
| volume_growth | decimal | |
| date | date | |
| value | decimal | |
| volume | decimal | |
| as_of_ts | dateTime | |
| baseline_ts | dateTime | |
| count | integer | |
| data | list | |
| note | string |
JSON-LD Document
{
"@context": {
"@vocab": "https://trendsapi.ai/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"trendsapi": "https://trendsapi.ai/schema#",
"Error": "trendsapi:Error",
"error": {
"@id": "trendsapi:error",
"@type": "xsd:string"
},
"message": {
"@id": "trendsapi:message",
"@type": "xsd:string"
},
"request_id": {
"@id": "trendsapi:request_id",
"@type": "xsd:string"
},
"GetContextRequest": "trendsapi:GetContextRequest",
"days": {
"@id": "trendsapi:days",
"@type": "xsd:integer"
},
"keyword": {
"@id": "trendsapi:keyword",
"@type": "xsd:string"
},
"limit": {
"@id": "trendsapi:limit",
"@type": "xsd:integer"
},
"mode": {
"@id": "trendsapi:mode",
"@type": "xsd:string"
},
"source": {
"@id": "trendsapi:source",
"@type": "xsd:string"
},
"GetGrowthRequest": "trendsapi:GetGrowthRequest",
"country": {
"@id": "trendsapi:country",
"@type": "xsd:string"
},
"language": {
"@id": "trendsapi:language",
"@type": "xsd:string"
},
"percent_growth": {
"@id": "trendsapi:percent_growth",
"@container": "@list"
},
"resolution": {
"@id": "trendsapi:resolution",
"@type": "xsd:string"
},
"GetTimeSeriesRequest": "trendsapi:GetTimeSeriesRequest",
"GetTopPostsRequest": "trendsapi:GetTopPostsRequest",
"GetTopTrendsRequest": "trendsapi:GetTopTrendsRequest",
"category": {
"@id": "trendsapi:category",
"@type": "xsd:string"
},
"offset": {
"@id": "trendsapi:offset",
"@type": "xsd:integer"
},
"sort": {
"@id": "trendsapi:sort",
"@type": "xsd:string"
},
"type": {
"@id": "trendsapi:type",
"@type": "xsd:string"
},
"window": {
"@id": "trendsapi:window",
"@type": "xsd:string"
},
"GrowthResponse": "trendsapi:GrowthResponse",
"data_source": {
"@id": "trendsapi:data_source",
"@type": "xsd:string"
},
"metadata": {
"@id": "trendsapi:metadata"
},
"results": {
"@id": "trendsapi:results",
"@container": "@list"
},
"search_term": {
"@id": "trendsapi:search_term",
"@type": "xsd:string"
},
"GrowthResult": "trendsapi:GrowthResult",
"baseline_date": {
"@id": "trendsapi:baseline_date",
"@type": "xsd:date"
},
"baseline_value": {
"@id": "trendsapi:baseline_value",
"@type": "xsd:decimal"
},
"baseline_volume": {
"@id": "trendsapi:baseline_volume",
"@type": "xsd:decimal"
},
"direction": {
"@id": "trendsapi:direction",
"@type": "xsd:string"
},
"growth": {
"@id": "trendsapi:growth",
"@type": "xsd:decimal"
},
"period": {
"@id": "trendsapi:period",
"@type": "xsd:string"
},
"recent_date": {
"@id": "trendsapi:recent_date",
"@type": "xsd:date"
},
"recent_value": {
"@id": "trendsapi:recent_value",
"@type": "xsd:decimal"
},
"recent_volume": {
"@id": "trendsapi:recent_volume",
"@type": "xsd:decimal"
},
"volume_available": {
"@id": "trendsapi:volume_available",
"@type": "xsd:boolean"
},
"volume_growth": {
"@id": "trendsapi:volume_growth",
"@type": "xsd:decimal"
},
"TimeSeriesPoint": "trendsapi:TimeSeriesPoint",
"date": {
"@id": "trendsapi:date",
"@type": "xsd:date"
},
"value": {
"@id": "trendsapi:value",
"@type": "xsd:decimal"
},
"volume": {
"@id": "trendsapi:volume",
"@type": "xsd:decimal"
},
"TopTrendsResponse": "trendsapi:TopTrendsResponse",
"as_of_ts": {
"@id": "trendsapi:as_of_ts",
"@type": "xsd:dateTime"
},
"baseline_ts": {
"@id": "trendsapi:baseline_ts",
"@type": "xsd:dateTime"
},
"count": {
"@id": "trendsapi:count",
"@type": "xsd:integer"
},
"data": {
"@id": "trendsapi:data",
"@container": "@list"
},
"note": {
"@id": "trendsapi:note",
"@type": "xsd:string"
}
},
"@type": "schema:Dataset",
"schema:name": "trendsapi-ai API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects trendsapi-ai's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-10-29) from openapi/trendsapi-ai-openapi.json.",
"dcterms:created": "2026-10-29",
"dcterms:source": [
"openapi/trendsapi-ai-openapi.json"
]
}