Skip to content

Commit

Permalink
Schema for EXT_binary_glTF extension
Browse files Browse the repository at this point in the history
  • Loading branch information
pjcozzi committed Sep 15, 2015
1 parent 2e426d1 commit dd6fcf9
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
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
}
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
}

0 comments on commit dd6fcf9

Please sign in to comment.