{ "$schema": "http://json-schema.org/draft-04/schema", "title": "Some new object", "type": "object", "description": "The new object in the scheme.", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "properties": { "prop1" : { "type": "string", "description": "String property of extended object." }, "uri": { "type": "string", "description": "The uri of the content.", "format": "uriref", "gltf_detailedDescription": "The uri of the content file. Relative paths are relative to the .gltf file. Instead of referencing an external file, the uri can also be a data-uri.", "gltf_uriType": "text" }, "prop2": { "type": "string", "description": "The second property" }, "name": { }, "extensions": { }, "extras": { } }, "oneOf": [ { "required": [ "uri" ] }, { "required": [ "prop2" ] } ] }