DataGraph.city · JSON-LD Context

Datagraph City Context

JSON-LD context defining the semantic vocabulary for Datagraph City from DataGraph.city.

17 Classes 45 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
datagraph: https://datagraph.city/schema#

Classes

BillingPortalResponse Body_token_token_post CityInfo CityStatus HTTPValidationError QueryRequest QueryResponse QueryType ResetKeyRequest ResetKeyResponse SignupRequest SignupResponse SubscriptionStatus UsageStatsResponse UserResponse UserTier ValidationError

Properties

Property Type Container
url string
grant_type string
code string
redirect_uri string
client_id string
code_verifier string
refresh_token string
resource string
scope string
name string
status reference
datasets list
last_updated
detail list
query string
city string
category
limit integer
cypher_query
cypher_params
results list
count integer
execution_time_ms integer
query_type reference
credits_used integer
email string
message string
tier
api_key
checkout_url
user_id string
queries_this_month integer
queries_total integer
monthly_quota integer
rate_limit_per_minute integer
queries_by_locality
queries_by_category
recent_queries list
id string
subscription_status reference
created_at dateTime
api_key_prefix string
loc list
msg string
type string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://datagraph.city/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "datagraph": "https://datagraph.city/schema#",
    "BillingPortalResponse": "datagraph:BillingPortalResponse",
    "url": {
      "@id": "datagraph:url",
      "@type": "xsd:string"
    },
    "Body_token_token_post": "datagraph:Body_token_token_post",
    "grant_type": {
      "@id": "datagraph:grant_type",
      "@type": "xsd:string"
    },
    "code": {
      "@id": "datagraph:code",
      "@type": "xsd:string"
    },
    "redirect_uri": {
      "@id": "datagraph:redirect_uri",
      "@type": "xsd:string"
    },
    "client_id": {
      "@id": "datagraph:client_id",
      "@type": "xsd:string"
    },
    "code_verifier": {
      "@id": "datagraph:code_verifier",
      "@type": "xsd:string"
    },
    "refresh_token": {
      "@id": "datagraph:refresh_token",
      "@type": "xsd:string"
    },
    "resource": {
      "@id": "datagraph:resource",
      "@type": "xsd:string"
    },
    "scope": {
      "@id": "datagraph:scope",
      "@type": "xsd:string"
    },
    "CityInfo": "datagraph:CityInfo",
    "name": {
      "@id": "datagraph:name",
      "@type": "xsd:string"
    },
    "status": {
      "@id": "datagraph:status",
      "@type": "@id"
    },
    "datasets": {
      "@id": "datagraph:datasets",
      "@container": "@list"
    },
    "last_updated": {
      "@id": "datagraph:last_updated"
    },
    "CityStatus": "datagraph:CityStatus",
    "HTTPValidationError": "datagraph:HTTPValidationError",
    "detail": {
      "@id": "datagraph:detail",
      "@container": "@list"
    },
    "QueryRequest": "datagraph:QueryRequest",
    "query": {
      "@id": "datagraph:query",
      "@type": "xsd:string"
    },
    "city": {
      "@id": "datagraph:city",
      "@type": "xsd:string"
    },
    "category": {
      "@id": "datagraph:category"
    },
    "limit": {
      "@id": "datagraph:limit",
      "@type": "xsd:integer"
    },
    "cypher_query": {
      "@id": "datagraph:cypher_query"
    },
    "cypher_params": {
      "@id": "datagraph:cypher_params"
    },
    "QueryResponse": "datagraph:QueryResponse",
    "results": {
      "@id": "datagraph:results",
      "@container": "@list"
    },
    "count": {
      "@id": "datagraph:count",
      "@type": "xsd:integer"
    },
    "execution_time_ms": {
      "@id": "datagraph:execution_time_ms",
      "@type": "xsd:integer"
    },
    "query_type": {
      "@id": "datagraph:query_type",
      "@type": "@id"
    },
    "credits_used": {
      "@id": "datagraph:credits_used",
      "@type": "xsd:integer"
    },
    "QueryType": "datagraph:QueryType",
    "ResetKeyRequest": "datagraph:ResetKeyRequest",
    "email": {
      "@id": "datagraph:email",
      "@type": "xsd:string"
    },
    "ResetKeyResponse": "datagraph:ResetKeyResponse",
    "message": {
      "@id": "datagraph:message",
      "@type": "xsd:string"
    },
    "SignupRequest": "datagraph:SignupRequest",
    "tier": {
      "@id": "datagraph:tier"
    },
    "SignupResponse": "datagraph:SignupResponse",
    "api_key": {
      "@id": "datagraph:api_key"
    },
    "checkout_url": {
      "@id": "datagraph:checkout_url"
    },
    "user_id": {
      "@id": "datagraph:user_id",
      "@type": "xsd:string"
    },
    "SubscriptionStatus": "datagraph:SubscriptionStatus",
    "UsageStatsResponse": "datagraph:UsageStatsResponse",
    "queries_this_month": {
      "@id": "datagraph:queries_this_month",
      "@type": "xsd:integer"
    },
    "queries_total": {
      "@id": "datagraph:queries_total",
      "@type": "xsd:integer"
    },
    "monthly_quota": {
      "@id": "datagraph:monthly_quota",
      "@type": "xsd:integer"
    },
    "rate_limit_per_minute": {
      "@id": "datagraph:rate_limit_per_minute",
      "@type": "xsd:integer"
    },
    "queries_by_locality": {
      "@id": "datagraph:queries_by_locality"
    },
    "queries_by_category": {
      "@id": "datagraph:queries_by_category"
    },
    "recent_queries": {
      "@id": "datagraph:recent_queries",
      "@container": "@list"
    },
    "UserResponse": "datagraph:UserResponse",
    "id": {
      "@id": "datagraph:id",
      "@type": "xsd:string"
    },
    "subscription_status": {
      "@id": "datagraph:subscription_status",
      "@type": "@id"
    },
    "created_at": {
      "@id": "datagraph:created_at",
      "@type": "xsd:dateTime"
    },
    "api_key_prefix": {
      "@id": "datagraph:api_key_prefix",
      "@type": "xsd:string"
    },
    "UserTier": "datagraph:UserTier",
    "ValidationError": "datagraph:ValidationError",
    "loc": {
      "@id": "datagraph:loc",
      "@container": "@list"
    },
    "msg": {
      "@id": "datagraph:msg",
      "@type": "xsd:string"
    },
    "type": {
      "@id": "datagraph:type",
      "@type": "xsd:string"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "DataGraph.city API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects DataGraph.city'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-05) from openapi/datagraph-city-openapi.json.",
  "dcterms:created": "2026-11-05",
  "dcterms:source": [
    "openapi/datagraph-city-openapi.json"
  ]
}