COSTRINITY · JSON-LD Context
Costrinity Xyz Context
JSON-LD context defining the semantic vocabulary for Costrinity Xyz from COSTRINITY.
6 Classes
22 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
costrinity:
https://costrinity.xyz/schema#
Classes
JurisdictionId
RegionId
Error
ConsentArtifact
ConsentCheckResult
Phase1Health
Properties
| Property | Type | Container |
|---|---|---|
| error | string | |
| detail | string | |
| id | string | |
| principal_id | string | |
| source | string | |
| purpose_codes | list | |
| permitted_categories | list | |
| consent_start | dateTime | |
| consent_expiry | dateTime | |
| revoked_at | dateTime | |
| signature_verified | boolean | |
| frequency_max | integer | |
| frequency_window_hours | integer | |
| allowed | boolean | |
| reason | string | |
| matching_consent_id | string | |
| ok | boolean | |
| phase | string | |
| generated_at | dateTime | |
| required | ||
| optional | ||
| surface |
JSON-LD Document
{
"@context": {
"@vocab": "https://costrinity.xyz/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"costrinity": "https://costrinity.xyz/schema#",
"JurisdictionId": "costrinity:JurisdictionId",
"RegionId": "costrinity:RegionId",
"Error": "costrinity:Error",
"error": {
"@id": "costrinity:error",
"@type": "xsd:string"
},
"detail": {
"@id": "costrinity:detail",
"@type": "xsd:string"
},
"ConsentArtifact": "costrinity:ConsentArtifact",
"id": {
"@id": "costrinity:id",
"@type": "xsd:string"
},
"principal_id": {
"@id": "costrinity:principal_id",
"@type": "xsd:string"
},
"source": {
"@id": "costrinity:source",
"@type": "xsd:string"
},
"purpose_codes": {
"@id": "costrinity:purpose_codes",
"@container": "@list"
},
"permitted_categories": {
"@id": "costrinity:permitted_categories",
"@container": "@list"
},
"consent_start": {
"@id": "costrinity:consent_start",
"@type": "xsd:dateTime"
},
"consent_expiry": {
"@id": "costrinity:consent_expiry",
"@type": "xsd:dateTime"
},
"revoked_at": {
"@id": "costrinity:revoked_at",
"@type": "xsd:dateTime"
},
"signature_verified": {
"@id": "costrinity:signature_verified",
"@type": "xsd:boolean"
},
"frequency_max": {
"@id": "costrinity:frequency_max",
"@type": "xsd:integer"
},
"frequency_window_hours": {
"@id": "costrinity:frequency_window_hours",
"@type": "xsd:integer"
},
"ConsentCheckResult": "costrinity:ConsentCheckResult",
"allowed": {
"@id": "costrinity:allowed",
"@type": "xsd:boolean"
},
"reason": {
"@id": "costrinity:reason",
"@type": "xsd:string"
},
"matching_consent_id": {
"@id": "costrinity:matching_consent_id",
"@type": "xsd:string"
},
"Phase1Health": "costrinity:Phase1Health",
"ok": {
"@id": "costrinity:ok",
"@type": "xsd:boolean"
},
"phase": {
"@id": "costrinity:phase",
"@type": "xsd:string"
},
"generated_at": {
"@id": "costrinity:generated_at",
"@type": "xsd:dateTime"
},
"required": {
"@id": "costrinity:required"
},
"optional": {
"@id": "costrinity:optional"
},
"surface": {
"@id": "costrinity:surface"
}
},
"@type": "schema:Dataset",
"schema:name": "COSTRINITY API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects COSTRINITY'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/costrinity-xyz-openapi.yml.",
"dcterms:created": "2026-11-04",
"dcterms:source": [
"openapi/costrinity-xyz-openapi.yml"
]
}