Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/cityjson/latest.json
Source https://raw.githubusercontent.com/cityjson/specs/master/schemas/cityjson.min.schema.json

Validate with Lintel

npx @lintel/lintel check
Type: object

CityJSON specifications v2.0.2

Properties

type const: "CityJSON" required
Constant: "CityJSON"
version const: "2.0" required
Constant: "2.0"
CityObjects Record<string, object> required
vertices number[][] required
transform object required
2 nested properties
scale number[] required
minItems=3maxItems=3
translate number[] required
minItems=3maxItems=3
metadata object
6 nested properties
identifier string
pointOfContact object
8 nested properties
contactName string required
emailAddress string required
format=email
phone string
address object
contactType string
Values: "individual" "organization"
role string

from ISO 19115 codelist

Values: "resourceProvider" "custodian" "owner" "user" "distributor" "originator" "pointOfContact" "principalInvestigator" "processor" "publisher" "author" "sponsor" "co-author" "collaborator" "editor" "mediator" "rightsHolder" "contributor" "funder" "stakeholder"
organization string
website string
format=uripattern=^(https?)://
referenceDate string
format=date
title string
geographicalExtent number[]
minItems=6maxItems=6
referenceSystem string
pattern=^(http|https)://www.opengis.net/def/crs/
extensions Record<string, object>
appearance object
5 nested properties
default-theme-texture string
default-theme-material string
materials object[]
textures object[]
vertices-texture number[][]
geometry-templates object
2 nested properties
templates object | object | object | object | object | object | object[] required
vertices-templates number[][] required