forked from CesiumGS/3d-tiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtile.content.schema.json
19 lines (19 loc) · 1.17 KB
/
tile.content.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"$schema" : "http://json-schema.org/draft-04/schema",
"id" : "tile.content.schema.json",
"title" : "Tile Content",
"type" : "object",
"description" : "Metadata about the tile's content and a link to the content.",
"properties" : {
"boundingVolume" : {
"description" : "An optional bounding volume that tightly encloses just the tile's contents. This is used for replacement refinement; tile.boundingVolume provides spatial coherence and tile.content.boundingVolume enables tight view frustum culling. When this is omitted, tile.boundingVolume is used.",
"$ref" : "boundingVolume.schema.json"
},
"url" : {
"type" : "string",
"description" : "A string that points to the tile's contents with an absolute or relative url. When the url is relative, it is relative to the referring tileset.json. The file extension of content.url defines the tile format. The core 3D Tiles spec supports the following tile formats: Batched 3D Model (*.b3dm), Instanced 3D Model (*.i3dm), Composite (*.cmpt), and 3D Tiles TileSet (*.json)"
}
},
"required" : ["url"],
"additionalProperties" : false
}