CityJSON
the representation of 3D city models
| 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
version
const: "2.0"
required
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
role
string
from ISO 19115 codelist
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