{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "textureInfo.schema.json", "title": "Texture Info", "type": "object", "description": "Reference to a texture.", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "properties": { "index": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the texture." }, "texCoord": { "type": "integer", "description": "The set index of texture's TEXCOORD attribute used for texture coordinate mapping.", "default": 0, "minimum": 0, "gltf_detailedDescription": "This integer value is used to construct a string in the format `TEXCOORD_` which is a reference to a key in `mesh.primitives.attributes` (e.g. a value of `0` corresponds to `TEXCOORD_0`). A mesh primitive **MUST** have the corresponding texture coordinate attributes for the material to be applicable to it." }, "extensions": { }, "extras": { } }, "required": [ "index" ] }