crimescore-io · JSON-LD Context

Crimescore Io Context

JSON-LD context defining the semantic vocabulary for Crimescore Io from crimescore-io.

10 Classes 37 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/
crimescore: https://crimescore.io/schema#

Classes

CoordinateScoreResponse ScoreComponent CoordinateScoreDetailsResponse ZctaScoreDetailsResponse ZctaScoreResponse ContributorObservation TopContributor NearbyIncidentsResponse RecentIncident ErrorResponse

Properties

Property Type Container
geoid string
resolved
safety_score integer
safety_grade string
components
data
component reference
contributors list
zcta string
label string
comparison string
value_display string
reference_display string
reference_label string
observations list
direction string
impact string
capturedAt dateTime
center
radius_m integer
hours integer
limit integer
count integer
scannedCells integer
incidents list
id string
categories list
latitude decimal
longitude decimal
cityCode string
reportedAt dateTime
severity integer
level integer
rank integer
distance_m integer
error string
message string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://crimescore.io/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "crimescore": "https://crimescore.io/schema#",
    "CoordinateScoreResponse": "crimescore:CoordinateScoreResponse",
    "geoid": {
      "@id": "crimescore:geoid",
      "@type": "xsd:string"
    },
    "resolved": {
      "@id": "crimescore:resolved"
    },
    "safety_score": {
      "@id": "crimescore:safety_score",
      "@type": "xsd:integer"
    },
    "safety_grade": {
      "@id": "crimescore:safety_grade",
      "@type": "xsd:string"
    },
    "components": {
      "@id": "crimescore:components"
    },
    "data": {
      "@id": "crimescore:data"
    },
    "ScoreComponent": "crimescore:ScoreComponent",
    "CoordinateScoreDetailsResponse": "crimescore:CoordinateScoreDetailsResponse",
    "component": {
      "@id": "crimescore:component",
      "@type": "@id"
    },
    "contributors": {
      "@id": "crimescore:contributors",
      "@container": "@list"
    },
    "ZctaScoreDetailsResponse": "crimescore:ZctaScoreDetailsResponse",
    "zcta": {
      "@id": "crimescore:zcta",
      "@type": "xsd:string"
    },
    "ZctaScoreResponse": "crimescore:ZctaScoreResponse",
    "ContributorObservation": "crimescore:ContributorObservation",
    "label": {
      "@id": "crimescore:label",
      "@type": "xsd:string"
    },
    "comparison": {
      "@id": "crimescore:comparison",
      "@type": "xsd:string"
    },
    "value_display": {
      "@id": "crimescore:value_display",
      "@type": "xsd:string"
    },
    "reference_display": {
      "@id": "crimescore:reference_display",
      "@type": "xsd:string"
    },
    "reference_label": {
      "@id": "crimescore:reference_label",
      "@type": "xsd:string"
    },
    "TopContributor": "crimescore:TopContributor",
    "observations": {
      "@id": "crimescore:observations",
      "@container": "@list"
    },
    "direction": {
      "@id": "crimescore:direction",
      "@type": "xsd:string"
    },
    "impact": {
      "@id": "crimescore:impact",
      "@type": "xsd:string"
    },
    "NearbyIncidentsResponse": "crimescore:NearbyIncidentsResponse",
    "capturedAt": {
      "@id": "crimescore:capturedAt",
      "@type": "xsd:dateTime"
    },
    "center": {
      "@id": "crimescore:center"
    },
    "radius_m": {
      "@id": "crimescore:radius_m",
      "@type": "xsd:integer"
    },
    "hours": {
      "@id": "crimescore:hours",
      "@type": "xsd:integer"
    },
    "limit": {
      "@id": "crimescore:limit",
      "@type": "xsd:integer"
    },
    "count": {
      "@id": "crimescore:count",
      "@type": "xsd:integer"
    },
    "scannedCells": {
      "@id": "crimescore:scannedCells",
      "@type": "xsd:integer"
    },
    "incidents": {
      "@id": "crimescore:incidents",
      "@container": "@list"
    },
    "RecentIncident": "crimescore:RecentIncident",
    "id": {
      "@id": "crimescore:id",
      "@type": "xsd:string"
    },
    "categories": {
      "@id": "crimescore:categories",
      "@container": "@list"
    },
    "latitude": {
      "@id": "crimescore:latitude",
      "@type": "xsd:decimal"
    },
    "longitude": {
      "@id": "crimescore:longitude",
      "@type": "xsd:decimal"
    },
    "cityCode": {
      "@id": "crimescore:cityCode",
      "@type": "xsd:string"
    },
    "reportedAt": {
      "@id": "crimescore:reportedAt",
      "@type": "xsd:dateTime"
    },
    "severity": {
      "@id": "crimescore:severity",
      "@type": "xsd:integer"
    },
    "level": {
      "@id": "crimescore:level",
      "@type": "xsd:integer"
    },
    "rank": {
      "@id": "crimescore:rank",
      "@type": "xsd:integer"
    },
    "distance_m": {
      "@id": "crimescore:distance_m",
      "@type": "xsd:integer"
    },
    "ErrorResponse": "crimescore:ErrorResponse",
    "error": {
      "@id": "crimescore:error",
      "@type": "xsd:string"
    },
    "message": {
      "@id": "crimescore:message",
      "@type": "xsd:string"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "crimescore-io API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects crimescore-io'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-30) from openapi/crimescore-io-openapi.yaml.",
  "dcterms:created": "2026-10-30",
  "dcterms:source": [
    "openapi/crimescore-io-openapi.yaml"
  ]
}