forked from KhronosGroup/glTF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buffer.schema.json
25 lines (25 loc) · 912 Bytes
/
buffer.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
{
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Buffer",
"type": "object",
"description": "A buffer points to binary geometry, animation, or skins.",
"allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ],
"properties": {
"uri": {
"type": "string",
"description": "The uri of the buffer.",
"format": "uriref",
"gltf_detailedDescription": "The uri of the buffer. Relative paths are relative to the .gltf file. Instead of referencing an external file, the uri can also be a data-uri.",
"gltf_uriType": "application"
},
"byteLength": {
"type": "integer",
"description": "The length of the buffer in bytes.",
"minimum": 1
},
"name": { },
"extensions": { },
"extras": { }
},
"required": [ "byteLength" ]
}