cityparity · JSON-LD Context
Cityparity Com Context
JSON-LD context defining the semantic vocabulary for Cityparity Com from cityparity.
6 Classes
23 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
cityparity:
https://cityparity.com/schema#
Classes
Success
Error
CompareRequest
RankRequest
SafetyNetRequest
ScoreWeights
Properties
| Property | Type | Container |
|---|---|---|
| ok | boolean | |
| data | ||
| error | string | |
| message | string | |
| hints | list | |
| issues | list | |
| source_city | string | |
| target_city | string | |
| gross_salary | decimal | |
| household | ||
| living | ||
| advanced | ||
| score_weights | reference | |
| weights | reference | |
| filter | ||
| scenario | ||
| limit | integer | |
| cities | list | |
| financial | decimal | |
| healthcare | decimal | |
| vacation | decimal | |
| childcare | decimal | |
| safety_net | decimal |
JSON-LD Document
{
"@context": {
"@vocab": "https://cityparity.com/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"cityparity": "https://cityparity.com/schema#",
"Success": "cityparity:Success",
"ok": {
"@id": "cityparity:ok",
"@type": "xsd:boolean"
},
"data": {
"@id": "cityparity:data"
},
"Error": "cityparity:Error",
"error": {
"@id": "cityparity:error",
"@type": "xsd:string"
},
"message": {
"@id": "cityparity:message",
"@type": "xsd:string"
},
"hints": {
"@id": "cityparity:hints",
"@container": "@list"
},
"issues": {
"@id": "cityparity:issues",
"@container": "@list"
},
"CompareRequest": "cityparity:CompareRequest",
"source_city": {
"@id": "cityparity:source_city",
"@type": "xsd:string"
},
"target_city": {
"@id": "cityparity:target_city",
"@type": "xsd:string"
},
"gross_salary": {
"@id": "cityparity:gross_salary",
"@type": "xsd:decimal"
},
"household": {
"@id": "cityparity:household"
},
"living": {
"@id": "cityparity:living"
},
"advanced": {
"@id": "cityparity:advanced"
},
"score_weights": {
"@id": "cityparity:score_weights",
"@type": "@id"
},
"RankRequest": "cityparity:RankRequest",
"weights": {
"@id": "cityparity:weights",
"@type": "@id"
},
"filter": {
"@id": "cityparity:filter"
},
"scenario": {
"@id": "cityparity:scenario"
},
"limit": {
"@id": "cityparity:limit",
"@type": "xsd:integer"
},
"SafetyNetRequest": "cityparity:SafetyNetRequest",
"cities": {
"@id": "cityparity:cities",
"@container": "@list"
},
"ScoreWeights": "cityparity:ScoreWeights",
"financial": {
"@id": "cityparity:financial",
"@type": "xsd:decimal"
},
"healthcare": {
"@id": "cityparity:healthcare",
"@type": "xsd:decimal"
},
"vacation": {
"@id": "cityparity:vacation",
"@type": "xsd:decimal"
},
"childcare": {
"@id": "cityparity:childcare",
"@type": "xsd:decimal"
},
"safety_net": {
"@id": "cityparity:safety_net",
"@type": "xsd:decimal"
}
},
"@type": "schema:Dataset",
"schema:name": "cityparity API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects cityparity'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/_original/cityparity-com-api-openapi.json.",
"dcterms:created": "2026-11-04",
"dcterms:source": [
"openapi/_original/cityparity-com-api-openapi.json"
]
}