-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Schema for EXT_binary_glTF extension
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
extensions/EXT_binary_glTF/schema/EXT_binary_glTF.image.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"$schema" : "http://json-schema.org/draft-03/schema", | ||
"title" : "EXT_binary_glTF image extension", | ||
"type" : "object", | ||
"properties" : { | ||
"bufferView" : { | ||
"type" : "string", | ||
"description" : "The id (JSON property name) of the buffer-view that references the image. Use this instead of the image's uri property.", | ||
"minLength" : 1, | ||
"required" : true | ||
}, | ||
"mimeType" : { | ||
"type" : "string", | ||
"description" : "The image's MIME type.", | ||
"minLength" : 1, | ||
"required" : true | ||
}, | ||
"width" : { | ||
"type" : "integer", | ||
"description" : "The width of the image in pixels.", | ||
"minimum" : 0, | ||
"required" : true | ||
}, | ||
"height" : { | ||
"type" : "integer", | ||
"description" : "The height of the image in pixels.", | ||
"minimum" : 0, | ||
"required" : true | ||
} | ||
}, | ||
"additionalProperties" : false | ||
} |
14 changes: 14 additions & 0 deletions
14
extensions/EXT_binary_glTF/schema/EXT_binary_glTF.shader.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"$schema" : "http://json-schema.org/draft-03/schema", | ||
"title" : "EXT_binary_glTF shader extension", | ||
"type" : "object", | ||
"properties" : { | ||
"bufferView" : { | ||
"type" : "string", | ||
"description" : "The id (JSON property name) of the buffer-view that references the shader source. Use this instead of the shader's uri property.", | ||
"minLength" : 1, | ||
"required" : true | ||
} | ||
}, | ||
"additionalProperties" : false | ||
} |