-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
asset.schema.json
31 lines (31 loc) · 1.14 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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "asset.schema.json",
"title": "Asset",
"type": "object",
"description": "Metadata about the glTF asset.",
"allOf": [ { "$ref": "glTFProperty.schema.json" } ],
"properties": {
"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."
},
"version": {
"type": "string",
"description": "The glTF version in the form of `<major>.<minor>` that this asset targets.",
"pattern": "^[0-9]+\\.[0-9]+$"
},
"minVersion": {
"type": "string",
"description": "The minimum glTF version in the form of `<major>.<minor>` that this asset targets. This property **MUST NOT** be greater than the asset version.",
"pattern": "^[0-9]+\\.[0-9]+$"
},
"extensions": { },
"extras": { }
},
"required": [ "version" ]
}