forked from CesiumGS/3d-tiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathi3dm.featureTable.schema.json
66 lines (66 loc) · 2.59 KB
/
i3dm.featureTable.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"$schema" : "http://json-schema.org/draft-04/schema",
"id" : "i3dm.featureTable.schema.json",
"title" : "Instanced 3D Model Feature Table",
"type" : "object",
"description" : "A set of Instanced 3D Model semantics that contains values defining the position and appearance properties for instanced models in a tile.",
"allOf" : [{
"$ref" : "featureTable.schema.json"
}, {
"properties" : {
"POSITION" : {
"$ref" : "featureTable.schema.json#/definitions/binaryBodyReference"
},
"POSITION_QUANTIZED" : {
"$ref" : "featureTable.schema.json#/definitions/binaryBodyReference"
},
"NORMAL_UP" : {
"$ref" : "featureTable.schema.json#/definitions/binaryBodyReference"
},
"NORMAL_RIGHT" : {
"$ref" : "featureTable.schema.json#/definitions/binaryBodyReference"
},
"NORMAL_UP_OCT32P" : {
"$ref" : "featureTable.schema.json#/definitions/binaryBodyReference"
},
"NORMAL_RIGHT_OCT32P" : {
"$ref" : "featureTable.schema.json#/definitions/binaryBodyReference"
},
"SCALE" : {
"$ref" : "featureTable.schema.json#/definitions/binaryBodyReference"
},
"SCALE_NON_UNIFORM" : {
"$ref" : "featureTable.schema.json#/definitions/binaryBodyReference"
},
"BATCH_ID" : {
"$ref" : "featureTable.schema.json#/definitions/binaryBodyReference"
},
"INSTANCES_LENGTH" : {
"$ref" : "featureTable.schema.json#/definitions/globalPropertyScalar"
},
"QUANTIZED_VOLUME_OFFSET" : {
"$ref" : "featureTable.schema.json#/definitions/globalPropertyCartesian3"
},
"QUANTIZED_VOLUME_SCALE": {
"$ref" : "featureTable.schema.json#/definitions/globalPropertyCartesian3"
}
},
"anyOf" : [{
"required" : ["POSITION"]
}, {
"required" : ["POSITION_QUANTIZED"]
}],
"dependencies" : {
"POSITION_QUANTIZED" : [
"QUANTIZED_VOLUME_OFFSET",
"QUANTIZED_VOLUME_SCALE"
],
"NORMAL_UP" : ["NORMAL_RIGHT"],
"NORMAL_RIGHT" : ["NORMAL_UP"],
"NORMAL_UP_OCT32P" : ["NORMAL_RIGHT_OCT32P"],
"NORMAL_RIGHT_OCT32P" : ["NORMAL_UP_OCT32P"]
},
"required" : ["INSTANCES_LENGTH"],
"additionalProperties" : false
}]
}