forked from KhronosGroup/glTF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlight.schema.json
32 lines (32 loc) · 1.09 KB
/
light.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
{
"$schema" : "http://json-schema.org/draft-03/schema",
"title" : "light",
"type" : "object",
"description" : "An ambient, directional, point, or spot light.",
"extends" : { "$ref" : "glTFChildOfRootProperty.schema.json" },
"properties" : {
"ambient" : {
"extends" : { "$ref" : "lightAmbient.schema.json" },
"description" : "Ambient light source."
},
"directional" : {
"extends" : { "$ref" : "lightDirectional.schema.json" },
"description" : "Directional light source."
},
"point" : {
"extends" : { "$ref" : "lightPoint.schema.json" },
"description" : "Point light source."
},
"spot" : {
"extends" : { "$ref" : "lightSpot.schema.json" },
"description" : "Spot light source."
},
"type" : {
"type" : "string",
"description" : "Specifies the light type.",
"enum" : ["ambient", "directional", "point", "spot"],
"required" : true
}
},
"additionalProperties" : false
}