ConsentStack · JSON-LD Context
Consentstack Io Context
JSON-LD context defining the semantic vocabulary for Consentstack Io from ConsentStack.
5 Classes
32 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
consentstack:
https://consentstack.io/schema#
Classes
GetFunctionsV1ConfigResponse
PostFunctionsV1ConsentRequest
PostFunctionsV1ConsentResponse
PostFunctionsV1ScriptsRequest
PostFunctionsV1ScriptsResponse
Properties
| Property | Type | Container |
|---|---|---|
| config | ||
| sdkCategories | list | |
| resolvedRegion | string | |
| resolvedLanguage | string | |
| resolvedContent | ||
| resolvedUi | ||
| showBranding | boolean | |
| version | decimal | |
| site_name | string | |
| scriptRules | list | |
| site_key | string | |
| anon_id | string | |
| categories | ||
| event_type | string | |
| event_action | string | |
| config_version | decimal | |
| region | string | |
| consent_model | string | |
| regulation | string | |
| time_to_action_ms | decimal | |
| interaction | string | |
| preferences_opened | boolean | |
| banner_load_time_ms | decimal | |
| banner_position | string | |
| page_url | string | |
| sdk_version | string | |
| language | string | |
| resolved_language | string | |
| success | boolean | |
| scripts | list | |
| timestamp | decimal | |
| sync_id | string |
JSON-LD Document
{
"@context": {
"@vocab": "https://consentstack.io/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"consentstack": "https://consentstack.io/schema#",
"GetFunctionsV1ConfigResponse": "consentstack:GetFunctionsV1ConfigResponse",
"config": {
"@id": "consentstack:config"
},
"sdkCategories": {
"@id": "consentstack:sdkCategories",
"@container": "@list"
},
"resolvedRegion": {
"@id": "consentstack:resolvedRegion",
"@type": "xsd:string"
},
"resolvedLanguage": {
"@id": "consentstack:resolvedLanguage",
"@type": "xsd:string"
},
"resolvedContent": {
"@id": "consentstack:resolvedContent"
},
"resolvedUi": {
"@id": "consentstack:resolvedUi"
},
"showBranding": {
"@id": "consentstack:showBranding",
"@type": "xsd:boolean"
},
"version": {
"@id": "consentstack:version",
"@type": "xsd:decimal"
},
"site_name": {
"@id": "consentstack:site_name",
"@type": "xsd:string"
},
"scriptRules": {
"@id": "consentstack:scriptRules",
"@container": "@list"
},
"PostFunctionsV1ConsentRequest": "consentstack:PostFunctionsV1ConsentRequest",
"site_key": {
"@id": "consentstack:site_key",
"@type": "xsd:string"
},
"anon_id": {
"@id": "consentstack:anon_id",
"@type": "xsd:string"
},
"categories": {
"@id": "consentstack:categories"
},
"event_type": {
"@id": "consentstack:event_type",
"@type": "xsd:string"
},
"event_action": {
"@id": "consentstack:event_action",
"@type": "xsd:string"
},
"config_version": {
"@id": "consentstack:config_version",
"@type": "xsd:decimal"
},
"region": {
"@id": "consentstack:region",
"@type": "xsd:string"
},
"consent_model": {
"@id": "consentstack:consent_model",
"@type": "xsd:string"
},
"regulation": {
"@id": "consentstack:regulation",
"@type": "xsd:string"
},
"time_to_action_ms": {
"@id": "consentstack:time_to_action_ms",
"@type": "xsd:decimal"
},
"interaction": {
"@id": "consentstack:interaction",
"@type": "xsd:string"
},
"preferences_opened": {
"@id": "consentstack:preferences_opened",
"@type": "xsd:boolean"
},
"banner_load_time_ms": {
"@id": "consentstack:banner_load_time_ms",
"@type": "xsd:decimal"
},
"banner_position": {
"@id": "consentstack:banner_position",
"@type": "xsd:string"
},
"page_url": {
"@id": "consentstack:page_url",
"@type": "xsd:string"
},
"sdk_version": {
"@id": "consentstack:sdk_version",
"@type": "xsd:string"
},
"language": {
"@id": "consentstack:language",
"@type": "xsd:string"
},
"resolved_language": {
"@id": "consentstack:resolved_language",
"@type": "xsd:string"
},
"PostFunctionsV1ConsentResponse": "consentstack:PostFunctionsV1ConsentResponse",
"success": {
"@id": "consentstack:success",
"@type": "xsd:boolean"
},
"PostFunctionsV1ScriptsRequest": "consentstack:PostFunctionsV1ScriptsRequest",
"scripts": {
"@id": "consentstack:scripts",
"@container": "@list"
},
"timestamp": {
"@id": "consentstack:timestamp",
"@type": "xsd:decimal"
},
"sync_id": {
"@id": "consentstack:sync_id",
"@type": "xsd:string"
},
"PostFunctionsV1ScriptsResponse": "consentstack:PostFunctionsV1ScriptsResponse"
},
"@type": "schema:Dataset",
"schema:name": "ConsentStack API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects ConsentStack'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-11-04) from openapi/_ae-authored/consentstack-io-openapi-generated.yml.",
"dcterms:created": "2026-11-04",
"dcterms:source": [
"openapi/_ae-authored/consentstack-io-openapi-generated.yml"
]
}