forked from KhronosGroup/glTF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
asset.schema.json
36 lines (36 loc) · 1.2 KB
/
asset.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
{
"$schema" : "http://json-schema.org/draft-04/schema",
"title" : "asset",
"type" : "object",
"description" : "Metadata about the glTF asset.",
"allOf" : [ { "$ref" : "glTFProperty.schema.json" } ],
"properties" : {
"extensions" : {},
"extras" : {},
"copyright" : {
"type" : "string",
"description" : "A copyright message suitable for display to credit the content creator."
},
"generator" : {
"type" : "string",
"description" : "Tool that generated this glTF model. Useful for debugging."
},
"premultipliedAlpha" : {
"type" : "boolean",
"description" : "Specifies if the shaders were generated with premultiplied alpha.",
"default" : false,
"gltf_webgl" : "`getContext()` with premultipliedAlpha"
},
"profile" : {
"allOf" : [ { "$ref" : "asset.profile.schema.json" } ],
"default" : {}
},
"version" : {
"type" : "string",
"pattern": "^1\\.",
"description" : "The glTF version."
}
},
"additionalProperties" : false,
"required": ["version"]
}