repository
stringclasses
528 values
commit
stringlengths
40
40
commitDate
timestamp[s]
path
stringlengths
11
149
repoStars
int64
5
94.9k
repoLastFetched
stringclasses
528 values
content
stringlengths
48
736k
license
stringclasses
14 values
language
stringclasses
7 values
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/asset.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "asset.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "description": "Metadata about the glTF asset.", "properties": { "copyright": { "description": "A copyright message suitable for display to credit the content creator.", "type": "string" }, "extensions": {}, "extras": {}, "generator": { "description": "Tool that generated this glTF model. Useful for debugging.", "type": "string" }, "minVersion": { "description": "The minimum glTF version in the form of `<major>.<minor>` that this asset targets. This property **MUST NOT** be greater than the asset version.", "pattern": "^[0-9]+\\.[0-9]+$", "type": "string" }, "version": { "description": "The glTF version in the form of `<major>.<minor>` that this asset targets.", "pattern": "^[0-9]+\\.[0-9]+$", "type": "string" } }, "required": [ "version" ], "title": "Asset", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/camera.orthographic.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "camera.orthographic.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "description": "An orthographic camera containing properties to create an orthographic projection matrix.", "properties": { "extensions": {}, "extras": {}, "xmag": { "description": "The floating-point horizontal magnification of the view. This value **MUST NOT** be equal to zero. This value **SHOULD NOT** be negative.", "type": "number" }, "ymag": { "description": "The floating-point vertical magnification of the view. This value **MUST NOT** be equal to zero. This value **SHOULD NOT** be negative.", "type": "number" }, "zfar": { "description": "The floating-point distance to the far clipping plane. This value **MUST NOT** be equal to zero. `zfar` **MUST** be greater than `znear`.", "exclusiveMinimum": 0.0, "type": "number" }, "znear": { "description": "The floating-point distance to the near clipping plane.", "minimum": 0.0, "type": "number" } }, "required": [ "xmag", "ymag", "zfar", "znear" ], "title": "Camera Orthographic", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/glTF.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "glTF.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "dependencies": { "scene": [ "scenes" ] }, "description": "The root object for a glTF asset.", "properties": { "accessors": { "description": "An array of accessors.", "gltf_detailedDescription": "An array of accessors. An accessor is a typed view into a bufferView.", "items": { "$ref": "accessor.schema.json" }, "minItems": 1, "type": "array" }, "animations": { "description": "An array of keyframe animations.", "items": { "$ref": "animation.schema.json" }, "minItems": 1, "type": "array" }, "asset": { "allOf": [ { "$ref": "asset.schema.json" } ], "description": "Metadata about the glTF asset." }, "bufferViews": { "description": "An array of bufferViews.", "gltf_detailedDescription": "An array of bufferViews. A bufferView is a view into a buffer generally representing a subset of the buffer.", "items": { "$ref": "bufferView.schema.json" }, "minItems": 1, "type": "array" }, "buffers": { "description": "An array of buffers.", "gltf_detailedDescription": "An array of buffers. A buffer points to binary geometry, animation, or skins.", "items": { "$ref": "buffer.schema.json" }, "minItems": 1, "type": "array" }, "cameras": { "description": "An array of cameras.", "gltf_detailedDescription": "An array of cameras. A camera defines a projection matrix.", "items": { "$ref": "camera.schema.json" }, "minItems": 1, "type": "array" }, "extensions": {}, "extensionsRequired": { "description": "Names of glTF extensions required to properly load this asset.", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "extensionsUsed": { "description": "Names of glTF extensions used in this asset.", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "extras": {}, "images": { "description": "An array of images.", "gltf_detailedDescription": "An array of images. An image defines data used to create a texture.", "items": { "$ref": "image.schema.json" }, "minItems": 1, "type": "array" }, "materials": { "description": "An array of materials.", "gltf_detailedDescription": "An array of materials. A material defines the appearance of a primitive.", "items": { "$ref": "material.schema.json" }, "minItems": 1, "type": "array" }, "meshes": { "description": "An array of meshes.", "gltf_detailedDescription": "An array of meshes. A mesh is a set of primitives to be rendered.", "items": { "$ref": "mesh.schema.json" }, "minItems": 1, "type": "array" }, "nodes": { "description": "An array of nodes.", "items": { "$ref": "node.schema.json" }, "minItems": 1, "type": "array" }, "samplers": { "description": "An array of samplers.", "gltf_detailedDescription": "An array of samplers. A sampler contains properties for texture filtering and wrapping modes.", "items": { "$ref": "sampler.schema.json" }, "minItems": 1, "type": "array" }, "scene": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the default scene.", "gltf_detailedDescription": "The index of the default scene. This property **MUST NOT** be defined, when `scenes` is undefined." }, "scenes": { "description": "An array of scenes.", "items": { "$ref": "scene.schema.json" }, "minItems": 1, "type": "array" }, "skins": { "description": "An array of skins.", "gltf_detailedDescription": "An array of skins. A skin is defined by joints and matrices.", "items": { "$ref": "skin.schema.json" }, "minItems": 1, "type": "array" }, "textures": { "description": "An array of textures.", "items": { "$ref": "texture.schema.json" }, "minItems": 1, "type": "array" } }, "required": [ "asset" ], "title": "glTF", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/extension.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "additionalProperties": { "type": "object" }, "description": "Dictionary object with extension-specific objects.", "properties": {}, "title": "Extension", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/material.occlusionTextureInfo.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "textureInfo.schema.json" } ], "properties": { "extensions": {}, "extras": {}, "index": {}, "strength": { "default": 1.0, "description": "A scalar multiplier controlling the amount of occlusion applied.", "gltf_detailedDescription": "A scalar multiplier controlling the amount of occlusion applied. A value of 0.0 means no occlusion. A value of 1.0 means full occlusion. This value affects the resulting color using the formula: `occludedColor = lerp(color, color * <sampled occlusion texture value>, <occlusion strength>)`. This value is ignored if the corresponding texture is not specified. This value is linear.", "maximum": 1.0, "minimum": 0.0, "type": "number" }, "texCoord": {} }, "title": "Material Occlusion Texture Info", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/animation.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "animation.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "description": "A keyframe animation.", "properties": { "channels": { "description": "An array of animation channels. An animation channel combines an animation sampler with a target property being animated. Different channels of the same animation **MUST NOT** have the same targets.", "items": { "$ref": "animation.channel.schema.json" }, "minItems": 1, "type": "array" }, "extensions": {}, "extras": {}, "name": {}, "samplers": { "description": "An array of animation samplers. An animation sampler combines timestamps with a sequence of output values and defines an interpolation algorithm.", "items": { "$ref": "animation.sampler.schema.json" }, "minItems": 1, "type": "array" } }, "required": [ "channels", "samplers" ], "title": "Animation", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/skin.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "skin.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "description": "Joints and matrices defining a skin.", "properties": { "extensions": {}, "extras": {}, "inverseBindMatrices": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the accessor containing the floating-point 4x4 inverse-bind matrices.", "gltf_detailedDescription": "The index of the accessor containing the floating-point 4x4 inverse-bind matrices. Its `accessor.count` property **MUST** be greater than or equal to the number of elements of the `joints` array. When undefined, each matrix is a 4x4 identity matrix." }, "joints": { "description": "Indices of skeleton nodes, used as joints in this skin.", "gltf_detailedDescription": "Indices of skeleton nodes, used as joints in this skin.", "items": { "$ref": "glTFid.schema.json" }, "minItems": 1, "type": "array", "uniqueItems": true }, "name": {}, "skeleton": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the node used as a skeleton root.", "gltf_detailedDescription": "The index of the node used as a skeleton root. The node **MUST** be the closest common root of the joints hierarchy or a direct or indirect parent node of the closest common root." } }, "required": [ "joints" ], "title": "Skin", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/mesh.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "description": "A set of primitives to be rendered. A node can contain one mesh. A node's transform places the mesh in the scene.", "properties": { "extensions": {}, "extras": {}, "name": {}, "primitives": { "description": "An array of primitives, each defining geometry to be rendered with a material.", "items": { "$ref": "mesh.primitive.schema.json" }, "minItems": 1, "type": "array" }, "weights": { "description": "Array of weights to be applied to the Morph Targets.", "items": { "type": "number" }, "minItems": 1, "type": "array" } }, "required": [ "primitives" ], "title": "Mesh", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/material.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "material.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "dependencies": { "alphaCutoff": [ "alphaMode" ] }, "description": "The material appearance of a primitive.", "properties": { "alphaCutoff": { "default": 0.5, "description": "The alpha cutoff value of the material.", "gltf_detailedDescription": "Specifies the cutoff threshold when in `MASK` alpha mode. If the alpha value is greater than or equal to this value then it is rendered as fully opaque, otherwise, it is rendered as fully transparent. A value greater than `1.0` will render the entire material as fully transparent. This value **MUST** be ignored for other alpha modes. When `alphaMode` is not defined, this value **MUST NOT** be defined.", "minimum": 0.0, "type": "number" }, "alphaMode": { "anyOf": [ { "const": "OPAQUE", "description": "The alpha value is ignored, and the rendered output is fully opaque." }, { "const": "MASK", "description": "The rendered output is either fully opaque or fully transparent depending on the alpha value and the specified `alphaCutoff` value; the exact appearance of the edges **MAY** be subject to implementation-specific techniques such as \"`Alpha-to-Coverage`\"." }, { "const": "BLEND", "description": "The alpha value is used to composite the source and destination areas. The rendered output is combined with the background using the normal painting operation (i.e. the Porter and Duff over operator)." }, { "type": "string" } ], "default": "OPAQUE", "description": "The alpha rendering mode of the material.", "gltf_detailedDescription": "The material's alpha rendering mode enumeration specifying the interpretation of the alpha value of the base color." }, "doubleSided": { "default": false, "description": "Specifies whether the material is double sided.", "gltf_detailedDescription": "Specifies whether the material is double sided. When this value is false, back-face culling is enabled. When this value is true, back-face culling is disabled and double-sided lighting is enabled. The back-face **MUST** have its normals reversed before the lighting equation is evaluated.", "type": "boolean" }, "emissiveFactor": { "default": [ 0.0, 0.0, 0.0 ], "description": "The factors for the emissive color of the material.", "gltf_detailedDescription": "The factors for the emissive color of the material. This value defines linear multipliers for the sampled texels of the emissive texture.", "items": { "maximum": 1.0, "minimum": 0.0, "type": "number" }, "maxItems": 3, "minItems": 3, "type": "array" }, "emissiveTexture": { "allOf": [ { "$ref": "textureInfo.schema.json" } ], "description": "The emissive texture.", "gltf_detailedDescription": "The emissive texture. It controls the color and intensity of the light being emitted by the material. This texture contains RGB components encoded with the sRGB transfer function. If a fourth component (A) is present, it **MUST** be ignored. When undefined, the texture **MUST** be sampled as having `1.0` in RGB components." }, "extensions": {}, "extras": {}, "name": {}, "normalTexture": { "allOf": [ { "$ref": "material.normalTextureInfo.schema.json" } ], "description": "The tangent space normal texture.", "gltf_detailedDescription": "The tangent space normal texture. The texture encodes RGB components with linear transfer function. Each texel represents the XYZ components of a normal vector in tangent space. The normal vectors use the convention +X is right and +Y is up. +Z points toward the viewer. If a fourth component (A) is present, it **MUST** be ignored. When undefined, the material does not have a tangent space normal texture." }, "occlusionTexture": { "allOf": [ { "$ref": "material.occlusionTextureInfo.schema.json" } ], "description": "The occlusion texture.", "gltf_detailedDescription": "The occlusion texture. The occlusion values are linearly sampled from the R channel. Higher values indicate areas that receive full indirect lighting and lower values indicate no indirect lighting. If other channels are present (GBA), they **MUST** be ignored for occlusion calculations. When undefined, the material does not have an occlusion texture." }, "pbrMetallicRoughness": { "allOf": [ { "$ref": "material.pbrMetallicRoughness.schema.json" } ], "description": "A set of parameter values that are used to define the metallic-roughness material model from Physically Based Rendering (PBR) methodology. When undefined, all the default values of `pbrMetallicRoughness` **MUST** apply." } }, "title": "Material", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/accessor.sparse.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "description": "Sparse storage of attributes that deviate from their initialization value.", "properties": { "count": { "description": "Number of entries stored in the sparse array.", "gltf_detailedDescription": "The number of attributes encoded in this sparse accessor.", "minimum": 1, "type": "integer" }, "extensions": {}, "extras": {}, "indices": { "allOf": [ { "$ref": "accessor.sparse.indices.schema.json" } ], "description": "Index array of size `count` that points to those accessor attributes that deviate from their initialization value. Indices must strictly increase." }, "values": { "allOf": [ { "$ref": "accessor.sparse.values.schema.json" } ], "description": "Array of size `count` times number of components, storing the displaced accessor attributes pointed by `indices`. Substituted values must have the same `componentType` and number of components as the base accessor." } }, "required": [ "count", "indices", "values" ], "title": "Accessor Sparse", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/mesh.primitive.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "mesh.primitive.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "description": "Geometry to be rendered with the given material.", "gltf_webgl": "`drawElements()` and `drawArrays()`", "properties": { "attributes": { "additionalProperties": { "$ref": "glTFid.schema.json" }, "description": "A plain JSON object, where each key corresponds to a mesh attribute semantic and each value is the index of the accessor containing attribute's data.", "minProperties": 1, "type": "object" }, "extensions": {}, "extras": {}, "indices": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the accessor that contains the vertex indices.", "gltf_detailedDescription": "The index of the accessor that contains the vertex indices. When this is undefined, the primitive defines non-indexed geometry. When defined, the accessor **MUST** have `SCALAR` type and an unsigned integer component type.", "gltf_webgl": "`drawElements()` when defined and `drawArrays()` otherwise." }, "material": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the material to apply to this primitive when rendering." }, "mode": { "anyOf": [ { "const": 0, "description": "POINTS", "type": "integer" }, { "const": 1, "description": "LINES", "type": "integer" }, { "const": 2, "description": "LINE_LOOP", "type": "integer" }, { "const": 3, "description": "LINE_STRIP", "type": "integer" }, { "const": 4, "description": "TRIANGLES", "type": "integer" }, { "const": 5, "description": "TRIANGLE_STRIP", "type": "integer" }, { "const": 6, "description": "TRIANGLE_FAN", "type": "integer" }, { "type": "integer" } ], "default": 4, "description": "The topology type of primitives to render." }, "targets": { "description": "An array of morph targets.", "items": { "additionalProperties": { "$ref": "glTFid.schema.json" }, "description": "A plain JSON object specifying attributes displacements in a morph target, where each key corresponds to one of the three supported attribute semantic (`POSITION`, `NORMAL`, or `TANGENT`) and each value is the index of the accessor containing the attribute displacements' data.", "minProperties": 1, "type": "object" }, "minItems": 1, "type": "array" } }, "required": [ "attributes" ], "title": "Mesh Primitive", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/sampler.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "sampler.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "description": "Texture sampler properties for filtering and wrapping modes.", "properties": { "extensions": {}, "extras": {}, "magFilter": { "anyOf": [ { "const": 9728, "description": "NEAREST", "type": "integer" }, { "const": 9729, "description": "LINEAR", "type": "integer" }, { "type": "integer" } ], "description": "Magnification filter.", "gltf_webgl": "`samplerParameteri()` with pname equal to TEXTURE_MAG_FILTER" }, "minFilter": { "anyOf": [ { "const": 9728, "description": "NEAREST", "type": "integer" }, { "const": 9729, "description": "LINEAR", "type": "integer" }, { "const": 9984, "description": "NEAREST_MIPMAP_NEAREST", "type": "integer" }, { "const": 9985, "description": "LINEAR_MIPMAP_NEAREST", "type": "integer" }, { "const": 9986, "description": "NEAREST_MIPMAP_LINEAR", "type": "integer" }, { "const": 9987, "description": "LINEAR_MIPMAP_LINEAR", "type": "integer" }, { "type": "integer" } ], "description": "Minification filter.", "gltf_webgl": "`samplerParameteri()` with pname equal to TEXTURE_MIN_FILTER" }, "name": {}, "wrapS": { "anyOf": [ { "const": 33071, "description": "CLAMP_TO_EDGE", "type": "integer" }, { "const": 33648, "description": "MIRRORED_REPEAT", "type": "integer" }, { "const": 10497, "description": "REPEAT", "type": "integer" }, { "type": "integer" } ], "default": 10497, "description": "S (U) wrapping mode.", "gltf_detailedDescription": "S (U) wrapping mode. All valid values correspond to WebGL enums.", "gltf_webgl": "`samplerParameteri()` with pname equal to TEXTURE_WRAP_S" }, "wrapT": { "anyOf": [ { "const": 33071, "description": "CLAMP_TO_EDGE", "type": "integer" }, { "const": 33648, "description": "MIRRORED_REPEAT", "type": "integer" }, { "const": 10497, "description": "REPEAT", "type": "integer" }, { "type": "integer" } ], "default": 10497, "description": "T (V) wrapping mode.", "gltf_webgl": "`samplerParameteri()` with pname equal to TEXTURE_WRAP_T" } }, "title": "Sampler", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/material.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "dependencies": { "alphaCutoff": [ "alphaMode" ] }, "description": "The material appearance of a primitive.", "properties": { "alphaCutoff": { "default": 0.5, "description": "The alpha cutoff value of the material.", "gltf_detailedDescription": "Specifies the cutoff threshold when in `MASK` mode. If the alpha value is greater than or equal to this value then it is rendered as fully opaque, otherwise, it is rendered as fully transparent. A value greater than 1.0 will render the entire material as fully transparent. This value is ignored for other modes.", "minimum": 0.0, "type": "number" }, "alphaMode": { "anyOf": [ { "description": "The alpha value is ignored and the rendered output is fully opaque.", "enum": [ "OPAQUE" ] }, { "description": "The rendered output is either fully opaque or fully transparent depending on the alpha value and the specified alpha cutoff value.", "enum": [ "MASK" ] }, { "description": "The alpha value is used to composite the source and destination areas. The rendered output is combined with the background using the normal painting operation (i.e. the Porter and Duff over operator).", "enum": [ "BLEND" ] }, { "type": "string" } ], "default": "OPAQUE", "description": "The alpha rendering mode of the material.", "gltf_detailedDescription": "The material's alpha rendering mode enumeration specifying the interpretation of the alpha value of the main factor and texture." }, "doubleSided": { "default": false, "description": "Specifies whether the material is double sided.", "gltf_detailedDescription": "Specifies whether the material is double sided. When this value is false, back-face culling is enabled. When this value is true, back-face culling is disabled and double sided lighting is enabled. The back-face must have its normals reversed before the lighting equation is evaluated.", "type": "boolean" }, "emissiveFactor": { "default": [ 0.0, 0.0, 0.0 ], "description": "The emissive color of the material.", "gltf_detailedDescription": "The RGB components of the emissive color of the material. These values are linear. If an emissiveTexture is specified, this value is multiplied with the texel values.", "items": { "maximum": 1.0, "minimum": 0.0, "type": "number" }, "maxItems": 3, "minItems": 3, "type": "array" }, "emissiveTexture": { "allOf": [ { "$ref": "textureInfo.schema.json" } ], "description": "The emissive map texture.", "gltf_detailedDescription": "The emissive map controls the color and intensity of the light being emitted by the material. This texture contains RGB components encoded with the sRGB transfer function. If a fourth component (A) is present, it is ignored." }, "extensions": {}, "extras": {}, "name": {}, "normalTexture": { "allOf": [ { "$ref": "material.normalTextureInfo.schema.json" } ], "description": "The normal map texture.", "gltf_detailedDescription": "A tangent space normal map. The texture contains RGB components in linear space. Each texel represents the XYZ components of a normal vector in tangent space. Red [0 to 255] maps to X [-1 to 1]. Green [0 to 255] maps to Y [-1 to 1]. Blue [128 to 255] maps to Z [1/255 to 1]. The normal vectors use the convention +X is right and +Y is up. +Z points toward the viewer. In GLSL, this vector would be unpacked like so: `vec3 normalVector = tex2D(<sampled normal map texture value>, texCoord) * 2 - 1`. Client implementations should normalize the normal vectors before using them in lighting equations." }, "occlusionTexture": { "allOf": [ { "$ref": "material.occlusionTextureInfo.schema.json" } ], "description": "The occlusion map texture.", "gltf_detailedDescription": "The occlusion map texture. The occlusion values are sampled from the R channel. Higher values indicate areas that should receive full indirect lighting and lower values indicate no indirect lighting. These values are linear. If other channels are present (GBA), they are ignored for occlusion calculations." }, "pbrMetallicRoughness": { "allOf": [ { "$ref": "material.pbrMetallicRoughness.schema.json" } ], "description": "A set of parameter values that are used to define the metallic-roughness material model from Physically-Based Rendering (PBR) methodology. When not specified, all the default values of `pbrMetallicRoughness` apply." } }, "title": "Material", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/animation.sampler.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "description": "Combines input and output accessors with an interpolation algorithm to define a keyframe graph (but not its target).", "properties": { "extensions": {}, "extras": {}, "input": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of an accessor containing keyframe input values, e.g., time.", "gltf_detailedDescription": "The index of an accessor containing keyframe input values, e.g., time. That accessor must have componentType `FLOAT`. The values represent time in seconds with `time[0] >= 0.0`, and strictly increasing values, i.e., `time[n + 1] > time[n]`." }, "interpolation": { "anyOf": [ { "description": "The animated values are linearly interpolated between keyframes. When targeting a rotation, spherical linear interpolation (slerp) should be used to interpolate quaternions. The number output of elements must equal the number of input elements.", "enum": [ "LINEAR" ] }, { "description": "The animated values remain constant to the output of the first keyframe, until the next keyframe. The number of output elements must equal the number of input elements.", "enum": [ "STEP" ] }, { "description": "The animation's interpolation is computed using a cubic spline with specified tangents. The number of output elements must equal three times the number of input elements. For each input element, the output stores three elements, an in-tangent, a spline vertex, and an out-tangent. There must be at least two keyframes when using this interpolation.", "enum": [ "CUBICSPLINE" ] }, { "type": "string" } ], "default": "LINEAR", "description": "Interpolation algorithm.", "gltf_detailedDescription": "Interpolation algorithm." }, "output": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of an accessor, containing keyframe output values.", "gltf_detailedDescription": "The index of an accessor containing keyframe output values. When targeting translation or scale paths, the `accessor.componentType` of the output values must be `FLOAT`. When targeting rotation or morph weights, the `accessor.componentType` of the output values must be `FLOAT` or normalized integer. For weights, each output element stores `SCALAR` values with a count equal to the number of morph targets." } }, "required": [ "input", "output" ], "title": "Animation Sampler", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/camera.perspective.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "description": "A perspective camera containing properties to create a perspective projection matrix.", "properties": { "aspectRatio": { "description": "The floating-point aspect ratio of the field of view.", "exclusiveMinimum": true, "gltf_detailedDescription": "The floating-point aspect ratio of the field of view. When this is undefined, the aspect ratio of the canvas is used.", "minimum": 0.0, "type": "number" }, "extensions": {}, "extras": {}, "yfov": { "description": "The floating-point vertical field of view in radians.", "exclusiveMinimum": true, "minimum": 0.0, "type": "number" }, "zfar": { "description": "The floating-point distance to the far clipping plane.", "exclusiveMinimum": true, "gltf_detailedDescription": "The floating-point distance to the far clipping plane. When defined, `zfar` must be greater than `znear`. If `zfar` is undefined, runtime must use infinite projection matrix.", "minimum": 0.0, "type": "number" }, "znear": { "description": "The floating-point distance to the near clipping plane.", "exclusiveMinimum": true, "gltf_detailedDescription": "The floating-point distance to the near clipping plane.", "minimum": 0.0, "type": "number" } }, "required": [ "yfov", "znear" ], "title": "Camera Perspective", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/extras.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "extras.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "Application-specific data.", "gltf_sectionDescription": "Although `extras` **MAY** have any type, it is common for applications to store and access custom data as key/value pairs. Therefore, `extras` **SHOULD** be a JSON object rather than a primitive value for best portability.", "title": "Extras" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/accessor.sparse.indices.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "description": "Indices of those attributes that deviate from their initialization value.", "properties": { "bufferView": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the bufferView with sparse indices. Referenced bufferView can't have ARRAY_BUFFER or ELEMENT_ARRAY_BUFFER target." }, "byteOffset": { "default": 0, "description": "The offset relative to the start of the bufferView in bytes. Must be aligned.", "minimum": 0, "type": "integer" }, "componentType": { "anyOf": [ { "description": "UNSIGNED_BYTE", "enum": [ 5121 ], "type": "integer" }, { "description": "UNSIGNED_SHORT", "enum": [ 5123 ], "type": "integer" }, { "description": "UNSIGNED_INT", "enum": [ 5125 ], "type": "integer" }, { "type": "integer" } ], "description": "The indices data type.", "gltf_detailedDescription": "The indices data type. Valid values correspond to WebGL enums: `5121` (UNSIGNED_BYTE), `5123` (UNSIGNED_SHORT), `5125` (UNSIGNED_INT)." }, "extensions": {}, "extras": {} }, "required": [ "bufferView", "componentType" ], "title": "Accessor Sparse Indices", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/accessor.sparse.values.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "accessor.sparse.values.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "description": "An object pointing to a buffer view containing the deviating accessor values. The number of elements is equal to `accessor.sparse.count` times number of components. The elements have the same component type as the base accessor. The elements are tightly packed. Data **MUST** be aligned following the same rules as the base accessor.", "properties": { "bufferView": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the bufferView with sparse values. The referenced buffer view **MUST NOT** have its `target` or `byteStride` properties defined." }, "byteOffset": { "default": 0, "description": "The offset relative to the start of the bufferView in bytes.", "minimum": 0, "type": "integer" }, "extensions": {}, "extras": {} }, "required": [ "bufferView" ], "title": "Accessor Sparse Values", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/glTFProperty.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "glTFProperty.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "properties": { "extensions": { "$ref": "extension.schema.json" }, "extras": { "$ref": "extras.schema.json" } }, "title": "glTF Property", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/scene.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "scene.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "description": "The root nodes of a scene.", "properties": { "extensions": {}, "extras": {}, "name": {}, "nodes": { "description": "The indices of each root node.", "items": { "$ref": "glTFid.schema.json" }, "minItems": 1, "type": "array", "uniqueItems": true } }, "title": "Scene", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/animation.channel.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "description": "Targets an animation's sampler at a node's property.", "properties": { "extensions": {}, "extras": {}, "sampler": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of a sampler in this animation used to compute the value for the target.", "gltf_detailedDescription": "The index of a sampler in this animation used to compute the value for the target, e.g., a node's translation, rotation, or scale (TRS)." }, "target": { "allOf": [ { "$ref": "animation.channel.target.schema.json" } ], "description": "The index of the node and TRS property to target." } }, "required": [ "sampler", "target" ], "title": "Animation Channel", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/animation.channel.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "animation.channel.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "description": "An animation channel combines an animation sampler with a target property being animated.", "properties": { "extensions": {}, "extras": {}, "sampler": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of a sampler in this animation used to compute the value for the target.", "gltf_detailedDescription": "The index of a sampler in this animation used to compute the value for the target, e.g., a node's translation, rotation, or scale (TRS)." }, "target": { "allOf": [ { "$ref": "animation.channel.target.schema.json" } ], "description": "The descriptor of the animated property." } }, "required": [ "sampler", "target" ], "title": "Animation Channel", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/material.normalTextureInfo.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "material.normalTextureInfo.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "textureInfo.schema.json" } ], "properties": { "extensions": {}, "extras": {}, "index": {}, "scale": { "default": 1.0, "description": "The scalar parameter applied to each normal vector of the normal texture.", "gltf_detailedDescription": "The scalar parameter applied to each normal vector of the texture. This value scales the normal vector in X and Y directions using the formula: `scaledNormal = normalize((<sampled normal texture value> * 2.0 - 1.0) * vec3(<normal scale>, <normal scale>, 1.0))`.", "type": "number" }, "texCoord": {} }, "title": "Material Normal Texture Info", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/texture.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "description": "A texture and its sampler.", "gltf_webgl": "`createTexture()`, `deleteTexture()`, `bindTexture()`, `texImage2D()`, and `texParameterf()`", "properties": { "extensions": {}, "extras": {}, "name": {}, "sampler": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the sampler used by this texture. When undefined, a sampler with repeat wrapping and auto filtering should be used." }, "source": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the image used by this texture. When undefined, it is expected that an extension or other mechanism will supply an alternate texture source, otherwise behavior is undefined." } }, "title": "Texture", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/extension.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "extension.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": { "type": "object" }, "description": "JSON object with extension-specific objects.", "properties": {}, "title": "Extension", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/skin.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "description": "Joints and matrices defining a skin.", "properties": { "extensions": {}, "extras": {}, "inverseBindMatrices": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the accessor containing the floating-point 4x4 inverse-bind matrices. The default is that each matrix is a 4x4 identity matrix, which implies that inverse-bind matrices were pre-applied." }, "joints": { "description": "Indices of skeleton nodes, used as joints in this skin.", "gltf_detailedDescription": "Indices of skeleton nodes, used as joints in this skin. The array length must be the same as the `count` property of the `inverseBindMatrices` accessor (when defined).", "items": { "$ref": "glTFid.schema.json" }, "minItems": 1, "type": "array", "uniqueItems": true }, "name": {}, "skeleton": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the node used as a skeleton root.", "gltf_detailedDescription": "The index of the node used as a skeleton root. The node must be the closest common root of the joints hierarchy or a direct or indirect parent node of the closest common root." } }, "required": [ "joints" ], "title": "Skin", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/node.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "dependencies": { "skin": [ "mesh" ], "weights": [ "mesh" ] }, "description": "A node in the node hierarchy. When the node contains `skin`, all `mesh.primitives` must contain `JOINTS_0` and `WEIGHTS_0` attributes. A node can have either a `matrix` or any combination of `translation`/`rotation`/`scale` (TRS) properties. TRS properties are converted to matrices and postmultiplied in the `T * R * S` order to compose the transformation matrix; first the scale is applied to the vertices, then the rotation, and then the translation. If none are provided, the transform is the identity. When a node is targeted for animation (referenced by an animation.channel.target), only TRS properties may be present; `matrix` will not be present.", "not": { "anyOf": [ { "required": [ "matrix", "translation" ] }, { "required": [ "matrix", "rotation" ] }, { "required": [ "matrix", "scale" ] } ] }, "properties": { "camera": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the camera referenced by this node." }, "children": { "description": "The indices of this node's children.", "items": { "$ref": "glTFid.schema.json" }, "minItems": 1, "type": "array", "uniqueItems": true }, "extensions": {}, "extras": {}, "matrix": { "default": [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0 ], "description": "A floating-point 4x4 transformation matrix stored in column-major order.", "gltf_detailedDescription": "A floating-point 4x4 transformation matrix stored in column-major order.", "gltf_webgl": "`uniformMatrix4fv()` with the transpose parameter equal to false", "items": { "type": "number" }, "maxItems": 16, "minItems": 16, "type": "array" }, "mesh": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the mesh in this node." }, "name": {}, "rotation": { "default": [ 0.0, 0.0, 0.0, 1.0 ], "description": "The node's unit quaternion rotation in the order (x, y, z, w), where w is the scalar.", "items": { "maximum": 1.0, "minimum": -1.0, "type": "number" }, "maxItems": 4, "minItems": 4, "type": "array" }, "scale": { "default": [ 1.0, 1.0, 1.0 ], "description": "The node's non-uniform scale, given as the scaling factors along the x, y, and z axes.", "items": { "type": "number" }, "maxItems": 3, "minItems": 3, "type": "array" }, "skin": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the skin referenced by this node.", "gltf_detailedDescription": "The index of the skin referenced by this node. When a skin is referenced by a node within a scene, all joints used by the skin must belong to the same scene." }, "translation": { "default": [ 0.0, 0.0, 0.0 ], "description": "The node's translation along the x, y, and z axes.", "items": { "type": "number" }, "maxItems": 3, "minItems": 3, "type": "array" }, "weights": { "description": "The weights of the instantiated Morph Target. Number of elements must match number of Morph Targets of used mesh.", "items": { "type": "number" }, "minItems": 1, "type": "array" } }, "title": "Node", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/animation.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "description": "A keyframe animation.", "properties": { "channels": { "description": "An array of channels, each of which targets an animation's sampler at a node's property. Different channels of the same animation can't have equal targets.", "items": { "$ref": "animation.channel.schema.json" }, "minItems": 1, "type": "array" }, "extensions": {}, "extras": {}, "name": {}, "samplers": { "description": "An array of samplers that combines input and output accessors with an interpolation algorithm to define a keyframe graph (but not its target).", "items": { "$ref": "animation.sampler.schema.json" }, "minItems": 1, "type": "array" } }, "required": [ "channels", "samplers" ], "title": "Animation", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/accessor.sparse.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "accessor.sparse.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "description": "Sparse storage of accessor values that deviate from their initialization value.", "properties": { "count": { "description": "Number of deviating accessor values stored in the sparse array.", "minimum": 1, "type": "integer" }, "extensions": {}, "extras": {}, "indices": { "allOf": [ { "$ref": "accessor.sparse.indices.schema.json" } ], "description": "An object pointing to a buffer view containing the indices of deviating accessor values. The number of indices is equal to `count`. Indices **MUST** strictly increase." }, "values": { "allOf": [ { "$ref": "accessor.sparse.values.schema.json" } ], "description": "An object pointing to a buffer view containing the deviating accessor values." } }, "required": [ "count", "indices", "values" ], "title": "Accessor Sparse", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/extras.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "description": "Application-specific data.", "gltf_sectionDescription": "**Implementation Note:** Although extras may have any type, it is common for applications to store and access custom data as key/value pairs. As best practice, extras should be an Object rather than a primitive value for best portability.", "title": "Extras" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/scene.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "description": "The root nodes of a scene.", "properties": { "extensions": {}, "extras": {}, "name": {}, "nodes": { "description": "The indices of each root node.", "items": { "$ref": "glTFid.schema.json" }, "minItems": 1, "type": "array", "uniqueItems": true } }, "title": "Scene", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/image.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "dependencies": { "bufferView": [ "mimeType" ] }, "description": "Image data used to create a texture. Image can be referenced by URI or `bufferView` index. `mimeType` is required in the latter case.", "oneOf": [ { "required": [ "uri" ] }, { "required": [ "bufferView" ] } ], "properties": { "bufferView": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the bufferView that contains the image. Use this instead of the image's uri property." }, "extensions": {}, "extras": {}, "mimeType": { "anyOf": [ { "enum": [ "image/jpeg" ] }, { "enum": [ "image/png" ] }, { "type": "string" } ], "description": "The image's MIME type. Required if `bufferView` is defined." }, "name": {}, "uri": { "description": "The uri of the image.", "format": "uriref", "gltf_detailedDescription": "The uri of the image. Relative paths are relative to the .gltf file. Instead of referencing an external file, the uri can also be a data-uri. The image format must be jpg or png.", "gltf_uriType": "image", "type": "string" } }, "title": "Image", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/camera.perspective.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "camera.perspective.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "description": "A perspective camera containing properties to create a perspective projection matrix.", "properties": { "aspectRatio": { "description": "The floating-point aspect ratio of the field of view.", "exclusiveMinimum": 0.0, "gltf_detailedDescription": "The floating-point aspect ratio of the field of view. When undefined, the aspect ratio of the rendering viewport **MUST** be used.", "type": "number" }, "extensions": {}, "extras": {}, "yfov": { "description": "The floating-point vertical field of view in radians. This value **SHOULD** be less than \u03c0.", "exclusiveMinimum": 0.0, "type": "number" }, "zfar": { "description": "The floating-point distance to the far clipping plane.", "exclusiveMinimum": 0.0, "gltf_detailedDescription": "The floating-point distance to the far clipping plane. When defined, `zfar` **MUST** be greater than `znear`. If `zfar` is undefined, client implementations **SHOULD** use infinite projection matrix.", "type": "number" }, "znear": { "description": "The floating-point distance to the near clipping plane.", "exclusiveMinimum": 0.0, "gltf_detailedDescription": "The floating-point distance to the near clipping plane.", "type": "number" } }, "required": [ "yfov", "znear" ], "title": "Camera Perspective", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/node.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "node.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "dependencies": { "skin": [ "mesh" ], "weights": [ "mesh" ] }, "description": "A node in the node hierarchy. When the node contains `skin`, all `mesh.primitives` **MUST** contain `JOINTS_0` and `WEIGHTS_0` attributes. A node **MAY** have either a `matrix` or any combination of `translation`/`rotation`/`scale` (TRS) properties. TRS properties are converted to matrices and postmultiplied in the `T * R * S` order to compose the transformation matrix; first the scale is applied to the vertices, then the rotation, and then the translation. If none are provided, the transform is the identity. When a node is targeted for animation (referenced by an animation.channel.target), `matrix` **MUST NOT** be present.", "not": { "anyOf": [ { "required": [ "matrix", "translation" ] }, { "required": [ "matrix", "rotation" ] }, { "required": [ "matrix", "scale" ] } ] }, "properties": { "camera": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the camera referenced by this node." }, "children": { "description": "The indices of this node's children.", "items": { "$ref": "glTFid.schema.json" }, "minItems": 1, "type": "array", "uniqueItems": true }, "extensions": {}, "extras": {}, "matrix": { "default": [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0 ], "description": "A floating-point 4x4 transformation matrix stored in column-major order.", "gltf_webgl": "`uniformMatrix4fv()` with the transpose parameter equal to false", "items": { "type": "number" }, "maxItems": 16, "minItems": 16, "type": "array" }, "mesh": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the mesh in this node." }, "name": {}, "rotation": { "default": [ 0.0, 0.0, 0.0, 1.0 ], "description": "The node's unit quaternion rotation in the order (x, y, z, w), where w is the scalar.", "items": { "maximum": 1.0, "minimum": -1.0, "type": "number" }, "maxItems": 4, "minItems": 4, "type": "array" }, "scale": { "default": [ 1.0, 1.0, 1.0 ], "description": "The node's non-uniform scale, given as the scaling factors along the x, y, and z axes.", "items": { "type": "number" }, "maxItems": 3, "minItems": 3, "type": "array" }, "skin": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the skin referenced by this node.", "gltf_detailedDescription": "The index of the skin referenced by this node. When a skin is referenced by a node within a scene, all joints used by the skin **MUST** belong to the same scene. When defined, `mesh` **MUST** also be defined." }, "translation": { "default": [ 0.0, 0.0, 0.0 ], "description": "The node's translation along the x, y, and z axes.", "items": { "type": "number" }, "maxItems": 3, "minItems": 3, "type": "array" }, "weights": { "description": "The weights of the instantiated morph target. The number of array elements **MUST** match the number of morph targets of the referenced mesh. When defined, `mesh` **MUST** also be defined.", "items": { "type": "number" }, "minItems": 1, "type": "array" } }, "title": "Node", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/camera.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "camera.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "description": "A camera's projection. A node **MAY** reference a camera to apply a transform to place the camera in the scene.", "not": { "required": [ "perspective", "orthographic" ] }, "properties": { "extensions": {}, "extras": {}, "name": {}, "orthographic": { "allOf": [ { "$ref": "camera.orthographic.schema.json" } ], "description": "An orthographic camera containing properties to create an orthographic projection matrix. This property **MUST NOT** be defined when `perspective` is defined." }, "perspective": { "allOf": [ { "$ref": "camera.perspective.schema.json" } ], "description": "A perspective camera containing properties to create a perspective projection matrix. This property **MUST NOT** be defined when `orthographic` is defined." }, "type": { "anyOf": [ { "const": "perspective" }, { "const": "orthographic" }, { "type": "string" } ], "description": "Specifies if the camera uses a perspective or orthographic projection.", "gltf_detailedDescription": "Specifies if the camera uses a perspective or orthographic projection. Based on this, either the camera's `perspective` or `orthographic` property **MUST** be defined." } }, "required": [ "type" ], "title": "Camera", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/textureInfo.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "description": "Reference to a texture.", "properties": { "extensions": {}, "extras": {}, "index": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the texture." }, "texCoord": { "default": 0, "description": "The set index of texture's TEXCOORD attribute used for texture coordinate mapping.", "gltf_detailedDescription": "This integer value is used to construct a string in the format `TEXCOORD_<set index>` which is a reference to a key in mesh.primitives.attributes (e.g. A value of `0` corresponds to `TEXCOORD_0`). Mesh must have corresponding texture coordinate attributes for the material to be applicable to it.", "minimum": 0, "type": "integer" } }, "required": [ "index" ], "title": "Texture Info", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/material.pbrMetallicRoughness.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "material.pbrMetallicRoughness.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "description": "A set of parameter values that are used to define the metallic-roughness material model from Physically-Based Rendering (PBR) methodology.", "properties": { "baseColorFactor": { "default": [ 1.0, 1.0, 1.0, 1.0 ], "description": "The factors for the base color of the material.", "gltf_detailedDescription": "The factors for the base color of the material. This value defines linear multipliers for the sampled texels of the base color texture.", "items": { "maximum": 1.0, "minimum": 0.0, "type": "number" }, "maxItems": 4, "minItems": 4, "type": "array" }, "baseColorTexture": { "allOf": [ { "$ref": "textureInfo.schema.json" } ], "description": "The base color texture.", "gltf_detailedDescription": "The base color texture. The first three components (RGB) **MUST** be encoded with the sRGB transfer function. They specify the base color of the material. If the fourth component (A) is present, it represents the linear alpha coverage of the material. Otherwise, the alpha coverage is equal to `1.0`. The `material.alphaMode` property specifies how alpha is interpreted. The stored texels **MUST NOT** be premultiplied. When undefined, the texture **MUST** be sampled as having `1.0` in all components." }, "extensions": {}, "extras": {}, "metallicFactor": { "default": 1.0, "description": "The factor for the metalness of the material.", "gltf_detailedDescription": "The factor for the metalness of the material. This value defines a linear multiplier for the sampled metalness values of the metallic-roughness texture.", "maximum": 1.0, "minimum": 0.0, "type": "number" }, "metallicRoughnessTexture": { "allOf": [ { "$ref": "textureInfo.schema.json" } ], "description": "The metallic-roughness texture.", "gltf_detailedDescription": "The metallic-roughness texture. The metalness values are sampled from the B channel. The roughness values are sampled from the G channel. These values **MUST** be encoded with a linear transfer function. If other channels are present (R or A), they **MUST** be ignored for metallic-roughness calculations. When undefined, the texture **MUST** be sampled as having `1.0` in G and B components." }, "roughnessFactor": { "default": 1.0, "description": "The factor for the roughness of the material.", "gltf_detailedDescription": "The factor for the roughness of the material. This value defines a linear multiplier for the sampled roughness values of the metallic-roughness texture.", "maximum": 1.0, "minimum": 0.0, "type": "number" } }, "title": "Material PBR Metallic Roughness", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/texture.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "texture.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "description": "A texture and its sampler.", "gltf_webgl": "`createTexture()`, `deleteTexture()`, `bindTexture()`, `texImage2D()`, and `texParameterf()`", "properties": { "extensions": {}, "extras": {}, "name": {}, "sampler": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the sampler used by this texture. When undefined, a sampler with repeat wrapping and auto filtering **SHOULD** be used." }, "source": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the image used by this texture. When undefined, an extension or other mechanism **SHOULD** supply an alternate texture source, otherwise behavior is undefined." } }, "title": "Texture", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/glTFid.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "glTFid.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "minimum": 0, "title": "glTF Id", "type": "integer" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/camera.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "description": "A camera's projection. A node can reference a camera to apply a transform to place the camera in the scene.", "not": { "required": [ "perspective", "orthographic" ] }, "properties": { "extensions": {}, "extras": {}, "name": {}, "orthographic": { "allOf": [ { "$ref": "camera.orthographic.schema.json" } ], "description": "An orthographic camera containing properties to create an orthographic projection matrix." }, "perspective": { "allOf": [ { "$ref": "camera.perspective.schema.json" } ], "description": "A perspective camera containing properties to create a perspective projection matrix." }, "type": { "anyOf": [ { "enum": [ "perspective" ] }, { "enum": [ "orthographic" ] }, { "type": "string" } ], "description": "Specifies if the camera uses a perspective or orthographic projection.", "gltf_detailedDescription": "Specifies if the camera uses a perspective or orthographic projection. Based on this, either the camera's `perspective` or `orthographic` property will be defined." } }, "required": [ "type" ], "title": "Camera", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/animation.channel.target.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "description": "The index of the node and TRS property that an animation channel targets.", "properties": { "extensions": {}, "extras": {}, "node": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the node to target." }, "path": { "anyOf": [ { "enum": [ "translation" ] }, { "enum": [ "rotation" ] }, { "enum": [ "scale" ] }, { "enum": [ "weights" ] }, { "type": "string" } ], "description": "The name of the node's TRS property to modify, or the \"weights\" of the Morph Targets it instantiates. For the \"translation\" property, the values that are provided by the sampler are the translation along the x, y, and z axes. For the \"rotation\" property, the values are a quaternion in the order (x, y, z, w), where w is the scalar. For the \"scale\" property, the values are the scaling factors along the x, y, and z axes." } }, "required": [ "path" ], "title": "Animation Channel Target", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/glTF.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "dependencies": { "scene": [ "scenes" ] }, "description": "The root object for a glTF asset.", "properties": { "accessors": { "description": "An array of accessors.", "gltf_detailedDescription": "An array of accessors. An accessor is a typed view into a bufferView.", "items": { "$ref": "accessor.schema.json" }, "minItems": 1, "type": "array" }, "animations": { "description": "An array of keyframe animations.", "items": { "$ref": "animation.schema.json" }, "minItems": 1, "type": "array" }, "asset": { "allOf": [ { "$ref": "asset.schema.json" } ], "description": "Metadata about the glTF asset." }, "bufferViews": { "description": "An array of bufferViews.", "gltf_detailedDescription": "An array of bufferViews. A bufferView is a view into a buffer generally representing a subset of the buffer.", "items": { "$ref": "bufferView.schema.json" }, "minItems": 1, "type": "array" }, "buffers": { "description": "An array of buffers.", "gltf_detailedDescription": "An array of buffers. A buffer points to binary geometry, animation, or skins.", "items": { "$ref": "buffer.schema.json" }, "minItems": 1, "type": "array" }, "cameras": { "description": "An array of cameras.", "gltf_detailedDescription": "An array of cameras. A camera defines a projection matrix.", "items": { "$ref": "camera.schema.json" }, "minItems": 1, "type": "array" }, "extensions": {}, "extensionsRequired": { "description": "Names of glTF extensions required to properly load this asset.", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "extensionsUsed": { "description": "Names of glTF extensions used somewhere in this asset.", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "extras": {}, "images": { "description": "An array of images.", "gltf_detailedDescription": "An array of images. An image defines data used to create a texture.", "items": { "$ref": "image.schema.json" }, "minItems": 1, "type": "array" }, "materials": { "description": "An array of materials.", "gltf_detailedDescription": "An array of materials. A material defines the appearance of a primitive.", "items": { "$ref": "material.schema.json" }, "minItems": 1, "type": "array" }, "meshes": { "description": "An array of meshes.", "gltf_detailedDescription": "An array of meshes. A mesh is a set of primitives to be rendered.", "items": { "$ref": "mesh.schema.json" }, "minItems": 1, "type": "array" }, "nodes": { "description": "An array of nodes.", "items": { "$ref": "node.schema.json" }, "minItems": 1, "type": "array" }, "samplers": { "description": "An array of samplers.", "gltf_detailedDescription": "An array of samplers. A sampler contains properties for texture filtering and wrapping modes.", "items": { "$ref": "sampler.schema.json" }, "minItems": 1, "type": "array" }, "scene": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the default scene." }, "scenes": { "description": "An array of scenes.", "items": { "$ref": "scene.schema.json" }, "minItems": 1, "type": "array" }, "skins": { "description": "An array of skins.", "gltf_detailedDescription": "An array of skins. A skin is defined by joints and matrices.", "items": { "$ref": "skin.schema.json" }, "minItems": 1, "type": "array" }, "textures": { "description": "An array of textures.", "items": { "$ref": "texture.schema.json" }, "minItems": 1, "type": "array" } }, "required": [ "asset" ], "title": "glTF", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/glTFid.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "minimum": 0, "title": "glTF Id", "type": "integer" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/buffer.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "buffer.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "description": "A buffer points to binary geometry, animation, or skins.", "properties": { "byteLength": { "description": "The length of the buffer in bytes.", "minimum": 1, "type": "integer" }, "extensions": {}, "extras": {}, "name": {}, "uri": { "description": "The URI (or IRI) of the buffer.", "format": "iri-reference", "gltf_detailedDescription": "The URI (or IRI) of the buffer. Relative paths are relative to the current glTF asset. Instead of referencing an external file, this field **MAY** contain a `data:`-URI.", "gltf_uriType": "application", "type": "string" } }, "required": [ "byteLength" ], "title": "Buffer", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/asset.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "description": "Metadata about the glTF asset.", "properties": { "copyright": { "description": "A copyright message suitable for display to credit the content creator.", "type": "string" }, "extensions": {}, "extras": {}, "generator": { "description": "Tool that generated this glTF model. Useful for debugging.", "type": "string" }, "minVersion": { "description": "The minimum glTF version that this asset targets.", "pattern": "^[0-9]+\\.[0-9]+$", "type": "string" }, "version": { "description": "The glTF version that this asset targets.", "pattern": "^[0-9]+\\.[0-9]+$", "type": "string" } }, "required": [ "version" ], "title": "Asset", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/animation.channel.target.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "animation.channel.target.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "description": "The descriptor of the animated property.", "properties": { "extensions": {}, "extras": {}, "node": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the node to animate. When undefined, the animated object **MAY** be defined by an extension." }, "path": { "anyOf": [ { "const": "translation" }, { "const": "rotation" }, { "const": "scale" }, { "const": "weights" }, { "type": "string" } ], "description": "The name of the node's TRS property to animate, or the `\"weights\"` of the Morph Targets it instantiates. For the `\"translation\"` property, the values that are provided by the sampler are the translation along the X, Y, and Z axes. For the `\"rotation\"` property, the values are a quaternion in the order (x, y, z, w), where w is the scalar. For the `\"scale\"` property, the values are the scaling factors along the X, Y, and Z axes." } }, "required": [ "path" ], "title": "Animation Channel Target", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/image.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "image.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "dependencies": { "bufferView": [ "mimeType" ] }, "description": "Image data used to create a texture. Image **MAY** be referenced by an URI (or IRI) or a buffer view index.", "oneOf": [ { "required": [ "uri" ] }, { "required": [ "bufferView" ] } ], "properties": { "bufferView": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the bufferView that contains the image. This field **MUST NOT** be defined when `uri` is defined." }, "extensions": {}, "extras": {}, "mimeType": { "anyOf": [ { "const": "image/jpeg" }, { "const": "image/png" }, { "type": "string" } ], "description": "The image's media type. This field **MUST** be defined when `bufferView` is defined." }, "name": {}, "uri": { "description": "The URI (or IRI) of the image.", "format": "iri-reference", "gltf_detailedDescription": "The URI (or IRI) of the image. Relative paths are relative to the current glTF asset. Instead of referencing an external file, this field **MAY** contain a `data:`-URI. This field **MUST NOT** be defined when `bufferView` is defined.", "gltf_uriType": "image", "type": "string" } }, "title": "Image", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/textureInfo.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "textureInfo.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "description": "Reference to a texture.", "properties": { "extensions": {}, "extras": {}, "index": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the texture." }, "texCoord": { "default": 0, "description": "The set index of texture's TEXCOORD attribute used for texture coordinate mapping.", "gltf_detailedDescription": "This integer value is used to construct a string in the format `TEXCOORD_<set index>` 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.", "minimum": 0, "type": "integer" } }, "required": [ "index" ], "title": "Texture Info", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/bufferView.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "description": "A view into a buffer generally representing a subset of the buffer.", "properties": { "buffer": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the buffer." }, "byteLength": { "description": "The length of the bufferView in bytes.", "minimum": 1, "type": "integer" }, "byteOffset": { "default": 0, "description": "The offset into the buffer in bytes.", "minimum": 0, "type": "integer" }, "byteStride": { "description": "The stride, in bytes.", "gltf_detailedDescription": "The stride, in bytes, between vertex attributes. When this is not defined, data is tightly packed. When two or more accessors use the same bufferView, this field must be defined.", "gltf_webgl": "`vertexAttribPointer()` stride parameter", "maximum": 252, "minimum": 4, "multipleOf": 4, "type": "integer" }, "extensions": {}, "extras": {}, "name": {}, "target": { "anyOf": [ { "description": "ARRAY_BUFFER", "enum": [ 34962 ], "type": "integer" }, { "description": "ELEMENT_ARRAY_BUFFER", "enum": [ 34963 ], "type": "integer" }, { "type": "integer" } ], "description": "The target that the GPU buffer should be bound to.", "gltf_webgl": "`bindBuffer()`" } }, "required": [ "buffer", "byteLength" ], "title": "Buffer View", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/material.occlusionTextureInfo.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "material.occlusionTextureInfo.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "textureInfo.schema.json" } ], "properties": { "extensions": {}, "extras": {}, "index": {}, "strength": { "default": 1.0, "description": "A scalar multiplier controlling the amount of occlusion applied.", "gltf_detailedDescription": "A scalar parameter controlling the amount of occlusion applied. A value of `0.0` means no occlusion. A value of `1.0` means full occlusion. This value affects the final occlusion value as: `1.0 + strength * (<sampled occlusion texture value> - 1.0)`.", "maximum": 1.0, "minimum": 0.0, "type": "number" }, "texCoord": {} }, "title": "Material Occlusion Texture Info", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/glTFChildOfRootProperty.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "properties": { "name": { "description": "The user-defined name of this object.", "gltf_detailedDescription": "The user-defined name of this object. This is not necessarily unique, e.g., an accessor and a buffer could have the same name, or two accessors could even have the same name.", "type": "string" } }, "title": "glTF Child of Root Property", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/material.normalTextureInfo.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "textureInfo.schema.json" } ], "properties": { "extensions": {}, "extras": {}, "index": {}, "scale": { "default": 1.0, "description": "The scalar multiplier applied to each normal vector of the normal texture.", "gltf_detailedDescription": "The scalar multiplier applied to each normal vector of the texture. This value scales the normal vector using the formula: `scaledNormal = normalize((<sampled normal texture value> * 2.0 - 1.0) * vec3(<normal scale>, <normal scale>, 1.0))`. This value is ignored if normalTexture is not specified. This value is linear.", "type": "number" }, "texCoord": {} }, "title": "Material Normal Texture Info", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/sampler.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "description": "Texture sampler properties for filtering and wrapping modes.", "gltf_webgl": "`texParameterf()`", "properties": { "extensions": {}, "extras": {}, "magFilter": { "anyOf": [ { "description": "NEAREST", "enum": [ 9728 ], "type": "integer" }, { "description": "LINEAR", "enum": [ 9729 ], "type": "integer" }, { "type": "integer" } ], "description": "Magnification filter.", "gltf_detailedDescription": "Magnification filter. Valid values correspond to WebGL enums: `9728` (NEAREST) and `9729` (LINEAR).", "gltf_webgl": "`texParameterf()` with pname equal to TEXTURE_MAG_FILTER" }, "minFilter": { "anyOf": [ { "description": "NEAREST", "enum": [ 9728 ], "type": "integer" }, { "description": "LINEAR", "enum": [ 9729 ], "type": "integer" }, { "description": "NEAREST_MIPMAP_NEAREST", "enum": [ 9984 ], "type": "integer" }, { "description": "LINEAR_MIPMAP_NEAREST", "enum": [ 9985 ], "type": "integer" }, { "description": "NEAREST_MIPMAP_LINEAR", "enum": [ 9986 ], "type": "integer" }, { "description": "LINEAR_MIPMAP_LINEAR", "enum": [ 9987 ], "type": "integer" }, { "type": "integer" } ], "description": "Minification filter.", "gltf_detailedDescription": "Minification filter. All valid values correspond to WebGL enums.", "gltf_webgl": "`texParameterf()` with pname equal to TEXTURE_MIN_FILTER" }, "name": {}, "wrapS": { "anyOf": [ { "description": "CLAMP_TO_EDGE", "enum": [ 33071 ], "type": "integer" }, { "description": "MIRRORED_REPEAT", "enum": [ 33648 ], "type": "integer" }, { "description": "REPEAT", "enum": [ 10497 ], "type": "integer" }, { "type": "integer" } ], "default": 10497, "description": "s wrapping mode.", "gltf_detailedDescription": "S (U) wrapping mode. All valid values correspond to WebGL enums.", "gltf_webgl": "`texParameterf()` with pname equal to TEXTURE_WRAP_S" }, "wrapT": { "anyOf": [ { "description": "CLAMP_TO_EDGE", "enum": [ 33071 ], "type": "integer" }, { "description": "MIRRORED_REPEAT", "enum": [ 33648 ], "type": "integer" }, { "description": "REPEAT", "enum": [ 10497 ], "type": "integer" }, { "type": "integer" } ], "default": 10497, "description": "t wrapping mode.", "gltf_detailedDescription": "T (V) wrapping mode. All valid values correspond to WebGL enums.", "gltf_webgl": "`texParameterf()` with pname equal to TEXTURE_WRAP_T" } }, "title": "Sampler", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/glTFChildOfRootProperty.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "glTFChildOfRootProperty.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "properties": { "name": { "description": "The user-defined name of this object.", "gltf_detailedDescription": "The user-defined name of this object. This is not necessarily unique, e.g., an accessor and a buffer could have the same name, or two accessors could even have the same name.", "type": "string" } }, "title": "glTF Child of Root Property", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/mesh.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "mesh.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "description": "A set of primitives to be rendered. Its global transform is defined by a node that references it.", "properties": { "extensions": {}, "extras": {}, "name": {}, "primitives": { "description": "An array of primitives, each defining geometry to be rendered.", "items": { "$ref": "mesh.primitive.schema.json" }, "minItems": 1, "type": "array" }, "weights": { "description": "Array of weights to be applied to the morph targets. The number of array elements **MUST** match the number of morph targets.", "items": { "type": "number" }, "minItems": 1, "type": "array" } }, "required": [ "primitives" ], "title": "Mesh", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/camera.orthographic.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "description": "An orthographic camera containing properties to create an orthographic projection matrix.", "properties": { "extensions": {}, "extras": {}, "xmag": { "description": "The floating-point horizontal magnification of the view. Must not be zero.", "type": "number" }, "ymag": { "description": "The floating-point vertical magnification of the view. Must not be zero.", "type": "number" }, "zfar": { "description": "The floating-point distance to the far clipping plane. `zfar` must be greater than `znear`.", "exclusiveMinimum": true, "minimum": 0.0, "type": "number" }, "znear": { "description": "The floating-point distance to the near clipping plane.", "minimum": 0.0, "type": "number" } }, "required": [ "xmag", "ymag", "zfar", "znear" ], "title": "Camera Orthographic", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/buffer.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "description": "A buffer points to binary geometry, animation, or skins.", "properties": { "byteLength": { "description": "The length of the buffer in bytes.", "minimum": 1, "type": "integer" }, "extensions": {}, "extras": {}, "name": {}, "uri": { "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", "type": "string" } }, "required": [ "byteLength" ], "title": "Buffer", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/accessor.sparse.indices.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "accessor.sparse.indices.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "description": "An object pointing to a buffer view containing the indices of deviating accessor values. The number of indices is equal to `accessor.sparse.count`. Indices **MUST** strictly increase.", "properties": { "bufferView": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the buffer view with sparse indices. The referenced buffer view **MUST NOT** have its `target` or `byteStride` properties defined. The buffer view and the optional `byteOffset` **MUST** be aligned to the `componentType` byte length." }, "byteOffset": { "default": 0, "description": "The offset relative to the start of the buffer view in bytes.", "minimum": 0, "type": "integer" }, "componentType": { "anyOf": [ { "const": 5121, "description": "UNSIGNED_BYTE", "type": "integer" }, { "const": 5123, "description": "UNSIGNED_SHORT", "type": "integer" }, { "const": 5125, "description": "UNSIGNED_INT", "type": "integer" }, { "type": "integer" } ], "description": "The indices data type." }, "extensions": {}, "extras": {} }, "required": [ "bufferView", "componentType" ], "title": "Accessor Sparse Indices", "type": "object" }
Apache-2.0
en
kettle11/koi
6fc2a2c9f951c6a04900f852bcbe1b4653ec936b
2022-02-12T16:24:50
crates/kgltf/generator/schema/accessor.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$id": "accessor.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "dependencies": { "byteOffset": [ "bufferView" ] }, "description": "A typed view into a buffer view that contains raw binary data.", "properties": { "bufferView": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the bufferView.", "gltf_detailedDescription": "The index of the buffer view. When undefined, the accessor **MUST** be initialized with zeros; `sparse` property or extensions **MAY** override zeros with actual values." }, "byteOffset": { "default": 0, "description": "The offset relative to the start of the buffer view in bytes.", "gltf_detailedDescription": "The offset relative to the start of the buffer view in bytes. This **MUST** be a multiple of the size of the component datatype. This property **MUST NOT** be defined when `bufferView` is undefined.", "gltf_webgl": "`vertexAttribPointer()` offset parameter", "minimum": 0, "type": "integer" }, "componentType": { "anyOf": [ { "const": 5120, "description": "BYTE", "type": "integer" }, { "const": 5121, "description": "UNSIGNED_BYTE", "type": "integer" }, { "const": 5122, "description": "SHORT", "type": "integer" }, { "const": 5123, "description": "UNSIGNED_SHORT", "type": "integer" }, { "const": 5125, "description": "UNSIGNED_INT", "type": "integer" }, { "const": 5126, "description": "FLOAT", "type": "integer" }, { "type": "integer" } ], "description": "The datatype of the accessor's components.", "gltf_detailedDescription": "The datatype of the accessor's components. UNSIGNED_INT type **MUST NOT** be used for any accessor that is not referenced by `mesh.primitive.indices`.", "gltf_webgl": "`type` parameter of `vertexAttribPointer()`. The corresponding typed arrays are `Int8Array`, `Uint8Array`, `Int16Array`, `Uint16Array`, `Uint32Array`, and `Float32Array`." }, "count": { "description": "The number of elements referenced by this accessor.", "gltf_detailedDescription": "The number of elements referenced by this accessor, not to be confused with the number of bytes or number of components.", "minimum": 1, "type": "integer" }, "extensions": {}, "extras": {}, "max": { "description": "Maximum value of each component in this accessor.", "gltf_detailedDescription": "Maximum value of each component in this accessor. Array elements **MUST** be treated as having the same data type as accessor's `componentType`. Both `min` and `max` arrays have the same length. The length is determined by the value of the `type` property; it can be 1, 2, 3, 4, 9, or 16.\n\n`normalized` property has no effect on array values: they always correspond to the actual values stored in the buffer. When the accessor is sparse, this property **MUST** contain maximum values of accessor data with sparse substitution applied.", "items": { "type": "number" }, "maxItems": 16, "minItems": 1, "type": "array" }, "min": { "description": "Minimum value of each component in this accessor.", "gltf_detailedDescription": "Minimum value of each component in this accessor. Array elements **MUST** be treated as having the same data type as accessor's `componentType`. Both `min` and `max` arrays have the same length. The length is determined by the value of the `type` property; it can be 1, 2, 3, 4, 9, or 16.\n\n`normalized` property has no effect on array values: they always correspond to the actual values stored in the buffer. When the accessor is sparse, this property **MUST** contain minimum values of accessor data with sparse substitution applied.", "items": { "type": "number" }, "maxItems": 16, "minItems": 1, "type": "array" }, "name": {}, "normalized": { "default": false, "description": "Specifies whether integer data values are normalized before usage.", "gltf_detailedDescription": "Specifies whether integer data values are normalized (`true`) to [0, 1] (for unsigned types) or to [-1, 1] (for signed types) when they are accessed. This property **MUST NOT** be set to `true` for accessors with `FLOAT` or `UNSIGNED_INT` component type.", "gltf_webgl": "`normalized` parameter of `vertexAttribPointer()` ", "type": "boolean" }, "sparse": { "allOf": [ { "$ref": "accessor.sparse.schema.json" } ], "description": "Sparse storage of elements that deviate from their initialization value." }, "type": { "anyOf": [ { "const": "SCALAR" }, { "const": "VEC2" }, { "const": "VEC3" }, { "const": "VEC4" }, { "const": "MAT2" }, { "const": "MAT3" }, { "const": "MAT4" }, { "type": "string" } ], "description": "Specifies if the accessor's elements are scalars, vectors, or matrices." } }, "required": [ "componentType", "count", "type" ], "title": "Accessor", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/accessor.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ], "dependencies": { "byteOffset": [ "bufferView" ] }, "description": "A typed view into a bufferView. A bufferView contains raw binary data. An accessor provides a typed view into a bufferView or a subset of a bufferView similar to how WebGL's `vertexAttribPointer()` defines an attribute in a buffer.", "properties": { "bufferView": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the bufferView.", "gltf_detailedDescription": "The index of the bufferView. When not defined, accessor must be initialized with zeros; `sparse` property or extensions could override zeros with actual values." }, "byteOffset": { "default": 0, "description": "The offset relative to the start of the bufferView in bytes.", "gltf_detailedDescription": "The offset relative to the start of the bufferView in bytes. This must be a multiple of the size of the component datatype.", "gltf_webgl": "`vertexAttribPointer()` offset parameter", "minimum": 0, "type": "integer" }, "componentType": { "anyOf": [ { "description": "BYTE", "enum": [ 5120 ], "type": "integer" }, { "description": "UNSIGNED_BYTE", "enum": [ 5121 ], "type": "integer" }, { "description": "SHORT", "enum": [ 5122 ], "type": "integer" }, { "description": "UNSIGNED_SHORT", "enum": [ 5123 ], "type": "integer" }, { "description": "UNSIGNED_INT", "enum": [ 5125 ], "type": "integer" }, { "description": "FLOAT", "enum": [ 5126 ], "type": "integer" }, { "type": "integer" } ], "description": "The datatype of components in the attribute.", "gltf_detailedDescription": "The datatype of components in the attribute. All valid values correspond to WebGL enums. The corresponding typed arrays are `Int8Array`, `Uint8Array`, `Int16Array`, `Uint16Array`, `Uint32Array`, and `Float32Array`, respectively. 5125 (UNSIGNED_INT) is only allowed when the accessor contains indices, i.e., the accessor is only referenced by `primitive.indices`.", "gltf_webgl": "`vertexAttribPointer()` type parameter" }, "count": { "description": "The number of attributes referenced by this accessor.", "gltf_detailedDescription": "The number of attributes referenced by this accessor, not to be confused with the number of bytes or number of components.", "minimum": 1, "type": "integer" }, "extensions": {}, "extras": {}, "max": { "description": "Maximum value of each component in this attribute.", "gltf_detailedDescription": "Maximum value of each component in this attribute. Array elements must be treated as having the same data type as accessor's `componentType`. Both min and max arrays have the same length. The length is determined by the value of the type property; it can be 1, 2, 3, 4, 9, or 16.\n\n`normalized` property has no effect on array values: they always correspond to the actual values stored in the buffer. When accessor is sparse, this property must contain max values of accessor data with sparse substitution applied.", "items": { "type": "number" }, "maxItems": 16, "minItems": 1, "type": "array" }, "min": { "description": "Minimum value of each component in this attribute.", "gltf_detailedDescription": "Minimum value of each component in this attribute. Array elements must be treated as having the same data type as accessor's `componentType`. Both min and max arrays have the same length. The length is determined by the value of the type property; it can be 1, 2, 3, 4, 9, or 16.\n\n`normalized` property has no effect on array values: they always correspond to the actual values stored in the buffer. When accessor is sparse, this property must contain min values of accessor data with sparse substitution applied.", "items": { "type": "number" }, "maxItems": 16, "minItems": 1, "type": "array" }, "name": {}, "normalized": { "default": false, "description": "Specifies whether integer data values should be normalized.", "gltf_detailedDescription": "Specifies whether integer data values should be normalized (`true`) to [0, 1] (for unsigned types) or [-1, 1] (for signed types), or converted directly (`false`) when they are accessed. This property is defined only for accessors that contain vertex attributes or animation output data.", "gltf_webgl": "`vertexAttribPointer()` normalized parameter", "type": "boolean" }, "sparse": { "allOf": [ { "$ref": "accessor.sparse.schema.json" } ], "description": "Sparse storage of attributes that deviate from their initialization value." }, "type": { "anyOf": [ { "enum": [ "SCALAR" ] }, { "enum": [ "VEC2" ] }, { "enum": [ "VEC3" ] }, { "enum": [ "VEC4" ] }, { "enum": [ "MAT2" ] }, { "enum": [ "MAT3" ] }, { "enum": [ "MAT4" ] }, { "type": "string" } ], "description": "Specifies if the attribute is a scalar, vector, or matrix." } }, "required": [ "componentType", "count", "type" ], "title": "Accessor", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/mesh.primitive.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "description": "Geometry to be rendered with the given material.", "gltf_webgl": "`drawElements()` and `drawArrays()`", "properties": { "attributes": { "additionalProperties": { "$ref": "glTFid.schema.json" }, "description": "A dictionary object, where each key corresponds to mesh attribute semantic and each value is the index of the accessor containing attribute's data.", "minProperties": 1, "type": "object" }, "extensions": {}, "extras": {}, "indices": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the accessor that contains the indices.", "gltf_detailedDescription": "The index of the accessor that contains mesh indices. When this is not defined, the primitives should be rendered without indices using `drawArrays()`. When defined, the accessor must contain indices: the `bufferView` referenced by the accessor should have a `target` equal to 34963 (ELEMENT_ARRAY_BUFFER); `componentType` must be 5121 (UNSIGNED_BYTE), 5123 (UNSIGNED_SHORT) or 5125 (UNSIGNED_INT), the latter may require enabling additional hardware support; `type` must be `\"SCALAR\"`. For triangle primitives, the front face has a counter-clockwise (CCW) winding order. Values of the index accessor must not include the maximum value for the given component type, which triggers primitive restart in several graphics APIs and would require client implementations to rebuild the index buffer. Primitive restart values are disallowed and all index values must refer to actual vertices. As a result, the index accessor's values must not exceed the following maxima: BYTE `< 255`, UNSIGNED_SHORT `< 65535`, UNSIGNED_INT `< 4294967295`." }, "material": { "allOf": [ { "$ref": "glTFid.schema.json" } ], "description": "The index of the material to apply to this primitive when rendering." }, "mode": { "anyOf": [ { "description": "POINTS", "enum": [ 0 ], "type": "integer" }, { "description": "LINES", "enum": [ 1 ], "type": "integer" }, { "description": "LINE_LOOP", "enum": [ 2 ], "type": "integer" }, { "description": "LINE_STRIP", "enum": [ 3 ], "type": "integer" }, { "description": "TRIANGLES", "enum": [ 4 ], "type": "integer" }, { "description": "TRIANGLE_STRIP", "enum": [ 5 ], "type": "integer" }, { "description": "TRIANGLE_FAN", "enum": [ 6 ], "type": "integer" }, { "type": "integer" } ], "default": 4, "description": "The type of primitives to render.", "gltf_detailedDescription": "The type of primitives to render. All valid values correspond to WebGL enums." }, "targets": { "description": "An array of Morph Targets, each Morph Target is a dictionary mapping attributes (only `POSITION`, `NORMAL`, and `TANGENT` supported) to their deviations in the Morph Target.", "items": { "additionalProperties": { "$ref": "glTFid.schema.json" }, "description": "A dictionary object specifying attributes displacements in a Morph Target, where each key corresponds to one of the three supported attribute semantic (`POSITION`, `NORMAL`, or `TANGENT`) and each value is the index of the accessor containing the attribute displacements' data.", "minProperties": 1, "type": "object" }, "minItems": 1, "type": "array" } }, "required": [ "attributes" ], "title": "Mesh Primitive", "type": "object" }
Apache-2.0
en
kettle11/koi
e333b4ce8733447964658fde4d4f2898c9590664
2021-08-24T21:18:22
crates/kgltf/generator/schema/material.pbrMetallicRoughness.schema.json
139
2024-05-28T05:21:34.80698Z
{ "$schema": "http://json-schema.org/draft-04/schema", "allOf": [ { "$ref": "glTFProperty.schema.json" } ], "description": "A set of parameter values that are used to define the metallic-roughness material model from Physically-Based Rendering (PBR) methodology.", "properties": { "baseColorFactor": { "default": [ 1.0, 1.0, 1.0, 1.0 ], "description": "The material's base color factor.", "gltf_detailedDescription": "The RGBA components of the base color of the material. The fourth component (A) is the alpha coverage of the material. The `alphaMode` property specifies how alpha is interpreted. These values are linear. If a baseColorTexture is specified, this value is multiplied with the texel values.", "items": { "maximum": 1.0, "minimum": 0.0, "type": "number" }, "maxItems": 4, "minItems": 4, "type": "array" }, "baseColorTexture": { "allOf": [ { "$ref": "textureInfo.schema.json" } ], "description": "The base color texture.", "gltf_detailedDescription": "The base color texture. The first three components (RGB) are encoded with the sRGB transfer function. They specify the base color of the material. If the fourth component (A) is present, it represents the linear alpha coverage of the material. Otherwise, an alpha of 1.0 is assumed. The `alphaMode` property specifies how alpha is interpreted. The stored texels must not be premultiplied." }, "extensions": {}, "extras": {}, "metallicFactor": { "default": 1.0, "description": "The metalness of the material.", "gltf_detailedDescription": "The metalness of the material. A value of 1.0 means the material is a metal. A value of 0.0 means the material is a dielectric. Values in between are for blending between metals and dielectrics such as dirty metallic surfaces. This value is linear. If a metallicRoughnessTexture is specified, this value is multiplied with the metallic texel values.", "maximum": 1.0, "minimum": 0.0, "type": "number" }, "metallicRoughnessTexture": { "allOf": [ { "$ref": "textureInfo.schema.json" } ], "description": "The metallic-roughness texture.", "gltf_detailedDescription": "The metallic-roughness texture. The metalness values are sampled from the B channel. The roughness values are sampled from the G channel. These values are linear. If other channels are present (R or A), they are ignored for metallic-roughness calculations." }, "roughnessFactor": { "default": 1.0, "description": "The roughness of the material.", "gltf_detailedDescription": "The roughness of the material. A value of 1.0 means the material is completely rough. A value of 0.0 means the material is completely smooth. This value is linear. If a metallicRoughnessTexture is specified, this value is multiplied with the roughness texel values.", "maximum": 1.0, "minimum": 0.0, "type": "number" } }, "title": "Material PBR Metallic Roughness", "type": "object" }
Apache-2.0
en
cardano-foundation/CIPs
dec8b2ec6d2ba13e0a5e9d71e9d0136a6804f7a3
2023-05-06T14:31:22
CIP-0057/schemas/plutus-blueprint.json
460
2024-05-28T04:44:43.575467Z
{ "$defs": { "compiledCode": { "contentEncoding": "base16", "description": "A cbor-serialised flat-encoded Plutus script", "example": "01450100002601", "type": "string" }, "hashDigest": { "contentEncoding": "base16", "description": "Blake2b-224 hash digest of the serialised Plutus script, with language tag prefix.", "maxLength": 56, "minLength": 56, "type": "string" }, "preamble": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "license": { "type": "string" }, "plutusVersion": { "enum": [ "v1", "v2" ], "type": "string" }, "title": { "type": "string" }, "version": { "type": "string" } }, "required": [ "title", "version", "plutusVersion" ], "type": "object" }, "validator": { "properties": { "compiledCode": { "$ref": "#/$defs/compiledCode" }, "datum": { "$ref": "plutus-blueprint-argument.json" }, "description": { "type": "string" }, "hash": { "$ref": "#/$defs/hashDigest" }, "parameters": { "items": { "$ref": "plutus-blueprint-parameter.json" }, "type": "array" }, "redeemer": { "$ref": "plutus-blueprint-argument.json" }, "title": { "type": "string" } }, "required": [ "title", "redeemer" ], "type": "object" } }, "$id": "https://cips.cardano.org/cips/cip57/schemas/plutus-blueprint.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "$vocabulary": { "https://cips.cardano.org/cips/cip57": true, "https://json-schema.org/draft/2020-12/vocab/applicator": true, "https://json-schema.org/draft/2020-12/vocab/core": true, "https://json-schema.org/draft/2020-12/vocab/validation": true }, "properties": { "definitions": { "additionalProperties": true, "type": "object" }, "preamble": { "$ref": "#/$defs/preamble" }, "validators": { "items": { "$ref": "#/$defs/validator" }, "type": "array" } }, "required": [ "preamble", "validators" ], "type": "object" }
CC-BY-4.0
en
cardano-foundation/CIPs
3c0f51abd357160b4c5f94522fa2527871da727b
2024-05-14T16:57:34
CIP-0116/cardano-babbage.json
460
2024-05-28T04:44:43.575467Z
{ "$id": "cardano-babbage.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "definitions": { "Address": { "anyOf": [ { "$ref": "cardano-babbage.json#/definitions/RewardAddress" }, { "$ref": "cardano-babbage.json#/definitions/BaseAddress" }, { "$ref": "cardano-babbage.json#/definitions/PointerAddress" }, { "$ref": "cardano-babbage.json#/definitions/EnterpriseAddress" }, { "$ref": "cardano-babbage.json#/definitions/ByronAddress" } ], "title": "Address" }, "AssetName": { "format": "hex", "pattern": "^([0-9a-f][0-9a-f]){0,32}$", "title": "AssetName", "type": "string" }, "AuxiliaryData": { "additionalProperties": false, "properties": { "metadata": { "$ref": "cardano-babbage.json#/definitions/TransactionMetadata" }, "native_scripts": { "items": { "$ref": "cardano-babbage.json#/definitions/NativeScript" }, "type": "array" }, "plutus_scripts": { "items": { "$ref": "cardano-babbage.json#/definitions/PlutusScript" }, "type": "array" } }, "required": [], "title": "AuxiliaryData", "type": "object" }, "AuxiliaryDataHash": { "format": "hex", "pattern": "^[0-9a-f]{64}$", "title": "AuxiliaryDataHash", "type": "string" }, "BaseAddress": { "format": "bech32", "pattern": "^(addr1|addr_test1)[02-9ac-hj-np-z]*$", "title": "BaseAddress", "type": "string" }, "BigInt": { "description": "A long integer domain type", "examples": [ "0", "-123", "123" ], "pattern": "^(0|-?[1-9][0-9]*)$", "title": "BigInt", "type": "string" }, "Block": { "additionalProperties": false, "properties": { "auxiliary_data_set": { "additionalProperties": false, "description": "A mapping from transaction indices to AuxiliaryData values", "patternProperties": { "^(0|[1-9][0-9]*)$": { "$ref": "cardano-babbage.json#/definitions/AuxiliaryData" } }, "title": "AuxiliaryDataSet", "type": "object" }, "header": { "$ref": "cardano-babbage.json#/definitions/Header" }, "invalid_transactions": { "items": { "allOf": [ { "title": "TransactionIndex" }, { "$ref": "cardano-babbage.json#/definitions/UInt32" } ] }, "type": "array" }, "transaction_bodies": { "items": { "$ref": "cardano-babbage.json#/definitions/TransactionBody" }, "type": "array" }, "transaction_witness_sets": { "items": { "$ref": "cardano-babbage.json#/definitions/TransactionWitnessSet" }, "type": "array" } }, "required": [ "auxiliary_data_set", "header", "invalid_transactions", "transaction_bodies", "transaction_witness_sets" ], "title": "Block", "type": "object" }, "BlockHash": { "format": "hex", "maxLength": 64, "minLength": 64, "pattern": "^[0-9a-f]{64}$", "title": "BlockHash", "type": "string" }, "BootstrapWitness": { "additionalProperties": false, "properties": { "attributes": { "format": "hex", "pattern": "^([0-9a-f][0-9a-f])*$", "type": "string" }, "chain_code": { "format": "hex", "pattern": "^([0-9a-f][0-9a-f]){32}$", "type": "string" }, "signature": { "$ref": "cardano-babbage.json#/definitions/Ed25519Signature" }, "vkey": { "$ref": "cardano-babbage.json#/definitions/Ed25519PublicKey" } }, "required": [ "attributes", "chain_code", "signature", "vkey" ], "title": "BootstrapWitness", "type": "object" }, "ByronAddress": { "format": "base58", "pattern": "^[1-9A-HJ-NP-Za-km-z]+$", "title": "ByronAddress", "type": "string" }, "ByteString": { "description": "Arbitrary-length byte array", "format": "hex", "pattern": "^([0-9a-f][0-9a-f])*$", "title": "ByteString", "type": "string" }, "Certificate": { "discriminator": { "propertyName": "tag" }, "oneOf": [ { "additionalProperties": false, "properties": { "credential": { "$ref": "cardano-babbage.json#/definitions/Credential" }, "tag": { "enum": [ "stake_registration" ] } }, "required": [ "tag", "credential" ], "title": "Stake Registration Certificate", "type": "object" }, { "additionalProperties": false, "properties": { "credential": { "$ref": "cardano-babbage.json#/definitions/Credential" }, "tag": { "enum": [ "stake_deregistration" ] } }, "required": [ "tag", "credential" ], "title": "Stake Deregistration Certificate", "type": "object" }, { "additionalProperties": false, "properties": { "credential": { "$ref": "cardano-babbage.json#/definitions/Credential" }, "pool_keyhash": { "$ref": "cardano-babbage.json#/definitions/PoolPubKeyHash" }, "tag": { "enum": [ "stake_delegation" ] } }, "required": [ "tag", "credential", "pool_keyhash" ], "title": "Stake Delegation Certificate", "type": "object" }, { "additionalProperties": false, "properties": { "pool_params": { "$ref": "cardano-babbage.json#/definitions/PoolParams" }, "tag": { "enum": [ "pool_registration" ] } }, "required": [ "tag", "pool_params" ], "title": "Pool Registration Certificate", "type": "object" }, { "additionalProperties": false, "properties": { "epoch": { "$ref": "cardano-babbage.json#/definitions/UInt32" }, "pool_keyhash": { "$ref": "cardano-babbage.json#/definitions/PoolPubKeyHash" }, "tag": { "enum": [ "pool_retirement" ], "type": "string" } }, "required": [ "tag", "pool_keyhash", "epoch" ], "title": "Pool Retirement Certificate", "type": "object" }, { "additionalProperties": false, "properties": { "genesis_delegate_hash": { "$ref": "cardano-babbage.json#/definitions/GenesisDelegateHash" }, "genesis_hash": { "$ref": "cardano-babbage.json#/definitions/GenesisHash" }, "tag": { "enum": [ "genesis_key_delegation" ], "type": "string" }, "vrf_keyhash": { "$ref": "cardano-babbage.json#/definitions/VRFKeyHash" } }, "required": [ "tag", "genesis_hash", "genesis_delegate_hash", "vrf_keyhash" ], "title": "Genesis Key Delegation Certificate", "type": "object" }, { "additionalProperties": false, "properties": { "move_instantaneous_rewards": { "$ref": "cardano-babbage.json#/definitions/MoveInstantaneousRewards" }, "tag": { "enum": [ "move_instantaneous_rewards" ] } }, "required": [ "tag", "move_instantaneous_rewards" ], "title": "Move Instantaneous Rewards Certificate", "type": "object" } ], "title": "Certificate", "type": "object" }, "CostModels": { "additionalProperties": false, "properties": { "plutus_v1": { "$ref": "cardano-babbage.json#/definitions/PlutusV1CostModel" }, "plutus_v2": { "$ref": "cardano-babbage.json#/definitions/PlutusV2CostModel" } }, "required": [], "title": "CostModels", "type": "object" }, "Credential": { "discriminator": { "propertyName": "tag" }, "oneOf": [ { "additionalProperties": false, "properties": { "tag": { "enum": [ "pubkey_hash" ] }, "value": { "$ref": "cardano-babbage.json#/definitions/Ed25519KeyHash" } }, "required": [ "tag", "value" ], "type": "object" }, { "additionalProperties": false, "properties": { "tag": { "enum": [ "script_hash" ] }, "value": { "$ref": "cardano-babbage.json#/definitions/ScriptHash" } }, "required": [ "tag", "value" ], "type": "object" } ], "title": "Credential", "type": "object" }, "DNSName": { "format": "string64", "maxLength": 64, "title": "DNSName", "type": "string" }, "DataHash": { "format": "hex", "pattern": "^([0-9a-f][0-9a-f]){32}$", "title": "DataHash", "type": "string" }, "Ed25519KeyHash": { "format": "hex", "pattern": "^[0-9a-f]{56}$", "title": "Ed25519KeyHash", "type": "string" }, "Ed25519PublicKey": { "format": "hex", "pattern": "^([0-9a-f][0-9a-f]){32}$", "title": "Ed25519PublicKey", "type": "string" }, "Ed25519Signature": { "format": "hex", "pattern": "^([0-9a-f][0-9a-f]){64}$", "title": "Ed25519Signature", "type": "string" }, "EnterpriseAddress": { "format": "bech32", "pattern": "^(addr1|addr_test1)[02-9ac-hj-np-z]*$", "title": "EnterpriseAddress", "type": "string" }, "ExUnitPrices": { "additionalProperties": false, "properties": { "mem_price": { "$ref": "cardano-babbage.json#/definitions/UnitInterval" }, "step_price": { "$ref": "cardano-babbage.json#/definitions/UnitInterval" } }, "required": [ "mem_price", "step_price" ], "title": "ExUnitPrices", "type": "object" }, "ExUnits": { "additionalProperties": false, "properties": { "mem": { "$ref": "cardano-babbage.json#/definitions/UInt64" }, "steps": { "$ref": "cardano-babbage.json#/definitions/UInt64" } }, "required": [ "mem", "steps" ], "title": "ExUnits", "type": "object" }, "GenesisDelegateHash": { "format": "hex", "pattern": "^[0-9a-f]{56}$", "title": "GenesisDelegateHash", "type": "string" }, "GenesisHash": { "format": "hex", "pattern": "^[0-9a-f]{56}$", "title": "GenesisHash", "type": "string" }, "Header": { "additionalProperties": false, "properties": { "body_signature": { "$ref": "cardano-babbage.json#/definitions/KESSignature" }, "header_body": { "$ref": "cardano-babbage.json#/definitions/HeaderBody" } }, "required": [ "body_signature", "header_body" ], "title": "Header", "type": "object" }, "HeaderBody": { "additionalProperties": false, "properties": { "block_body_hash": { "$ref": "cardano-babbage.json#/definitions/BlockHash" }, "block_body_size": { "$ref": "cardano-babbage.json#/definitions/UInt32" }, "block_number": { "$ref": "cardano-babbage.json#/definitions/UInt32" }, "issuer_vkey": { "$ref": "cardano-babbage.json#/definitions/Ed25519PublicKey" }, "operational_cert": { "$ref": "cardano-babbage.json#/definitions/OperationalCert" }, "prev_hash": { "$ref": "cardano-babbage.json#/definitions/BlockHash" }, "protocol_version": { "$ref": "cardano-babbage.json#/definitions/ProtocolVersion" }, "slot": { "$ref": "cardano-babbage.json#/definitions/UInt64" }, "vrf_result": { "$ref": "cardano-babbage.json#/definitions/VRFCert" }, "vrf_vkey": { "$ref": "cardano-babbage.json#/definitions/VRFVKey" } }, "required": [ "block_number", "slot", "issuer_vkey", "vrf_vkey", "vrf_result", "block_body_size", "block_body_hash", "operational_cert", "protocol_version" ], "title": "HeaderBody", "type": "object" }, "Int128": { "description": "128-bit signed integer", "format": "int128", "pattern": "^-?(0|[1-9][0-9]*)$", "title": "Int128", "type": "string" }, "Ipv4": { "description": "IPv4 Address", "pattern": "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)\\.){3}(25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)$", "title": "Ipv4", "type": "string" }, "Ipv6": { "description": "IPv6 address", "format": "ipv6", "title": "Ipv6", "type": "string" }, "KESSignature": { "format": "hex", "maxLength": 896, "minLength": 896, "pattern": "^[0-9a-f]{896}$", "title": "KESSignature", "type": "string" }, "KESVKey": { "format": "hex", "maxLength": 64, "minLength": 64, "pattern": "^[0-9a-f]{64}$", "title": "KESVKey", "type": "string" }, "Language": { "enum": [ "plutus_v1", "plutus_v2" ], "title": "Language", "type": "string" }, "MIRPot": { "enum": [ "reserves", "treasury" ], "title": "MIRPot" }, "Mint": { "description": "Minting or burning of assets. A mapping from policy IDs (script hashes) to mappings from asset names to amounts (that can be negative). Allows for duplicate script hash keys.", "items": { "additionalProperties": false, "properties": { "assets": { "items": { "additionalProperties": false, "properties": { "amount": { "$ref": "cardano-babbage.json#/definitions/NonZeroInt64" }, "asset_name": { "$ref": "cardano-babbage.json#/definitions/AssetName" } }, "required": [ "asset_name", "amount" ], "title": "Assets", "type": "object" }, "type": "array" }, "script_hash": { "$ref": "cardano-babbage.json#/definitions/ScriptHash" } }, "required": [ "script_hash", "assets" ], "type": "object" }, "title": "Mint", "type": "array" }, "MoveInstantaneousRewards": { "discriminator": { "propertyName": "tag" }, "oneOf": [ { "additionalProperties": false, "properties": { "pot": { "$ref": "cardano-babbage.json#/definitions/MIRPot" }, "rewards": { "description": "Distribution of rewards", "items": { "additionalProperties": false, "properties": { "key": { "$ref": "cardano-babbage.json#/definitions/Credential" }, "value": { "$ref": "cardano-babbage.json#/definitions/Int128" } }, "required": [ "key", "value" ], "type": "object" }, "title": "MIRToStakeCredentials", "type": "array" }, "tag": { "enum": [ "to_stake_creds" ] } }, "required": [ "pot", "rewards" ], "title": "Move Instantaneous Rewards to stake credentials", "type": "object" }, { "additionalProperties": false, "properties": { "amount": { "$ref": "cardano-babbage.json#/definitions/UInt64" }, "pot": { "$ref": "cardano-babbage.json#/definitions/MIRPot" }, "tag": { "enum": [ "to_other_pot" ] } }, "required": [ "pot", "amount" ], "title": "Move Instantaneous Rewards to other Pot (reserves or treasury)", "type": "object" } ], "title": "MoveInstantaneousRewards", "type": "object" }, "MultiAsset": { "additionalProperties": false, "description": "A mapping from policy IDs (script hashes) to mappings from asset names to amounts", "patternProperties": { "^[0-9a-f]{56}$": { "additionalProperties": false, "patternProperties": { "^([0-9a-f][0-9a-f]){0,32}$": { "$ref": "cardano-babbage.json#/definitions/PosInt64" } }, "type": "object" } }, "title": "MultiAsset", "type": "object" }, "NativeScript": { "discriminator": { "propertyName": "tag" }, "oneOf": [ { "additionalProperties": false, "properties": { "pubkey": { "$ref": "cardano-babbage.json#/definitions/Ed25519KeyHash" }, "tag": { "enum": [ "pubkey" ], "type": "string" } }, "required": [ "tag", "pubkey" ], "title": "ScriptPubkey", "type": "object" }, { "additionalProperties": false, "properties": { "scripts": { "items": { "$ref": "cardano-babbage.json#/definitions/NativeScript" }, "type": "array" }, "tag": { "enum": [ "all" ], "type": "string" } }, "required": [ "tag", "scripts" ], "title": "ScriptAll", "type": "object" }, { "additionalProperties": false, "properties": { "scripts": { "items": { "$ref": "cardano-babbage.json#/definitions/NativeScript" }, "type": "array" }, "tag": { "enum": [ "any" ], "type": "string" } }, "required": [ "tag", "scripts" ], "title": "ScriptAny", "type": "object" }, { "additionalProperties": false, "properties": { "n": { "$ref": "cardano-babbage.json#/definitions/UInt32" }, "scripts": { "items": { "$ref": "cardano-babbage.json#/definitions/NativeScript" }, "type": "array" }, "tag": { "enum": [ "n_of_k" ], "type": "string" } }, "required": [ "tag", "scripts", "n" ], "title": "ScriptNOfK", "type": "object" }, { "additionalProperties": false, "properties": { "slot": { "$ref": "cardano-babbage.json#/definitions/UInt64" }, "tag": { "enum": [ "timelock_start" ], "type": "string" } }, "required": [ "tag", "slot" ], "title": "TimelockStart", "type": "object" }, { "additionalProperties": false, "properties": { "slot": { "$ref": "cardano-babbage.json#/definitions/UInt64" }, "tag": { "enum": [ "timelock_expiry" ], "type": "string" } }, "required": [ "tag", "slot" ], "title": "TimelockExpiry", "type": "object" } ], "title": "NativeScript", "type": "object" }, "NetworkId": { "enum": [ "testnet", "mainnet" ], "title": "NetworkId", "type": "string" }, "NonZeroInt64": { "description": "64-bit signed integer, zero excluded. Ranges: -9223372036854775808..-1 and 1..9223372036854775807", "pattern": "^-?([1-9][0-9]*)$", "title": "NonZeroInt64", "type": "string" }, "OperationalCert": { "additionalProperties": false, "properties": { "hot_vkey": { "$ref": "cardano-babbage.json#/definitions/KESVKey" }, "kes_period": { "$ref": "cardano-babbage.json#/definitions/UInt32" }, "sequence_number": { "$ref": "cardano-babbage.json#/definitions/UInt32" }, "sigma": { "$ref": "cardano-babbage.json#/definitions/Ed25519Signature" } }, "required": [ "hot_vkey", "kes_period", "sequence_number", "sigma" ], "title": "OperationalCert", "type": "object" }, "PlutusData": { "discriminator": { "propertyName": "tag" }, "oneOf": [ { "properties": { "contents": { "items": { "$ref": "cardano-babbage.json#/definitions/PlutusData" }, "type": "array" }, "tag": { "enum": [ "list" ] } }, "title": "PlutusDataList", "type": "object" }, { "properties": { "alternative": { "$ref": "cardano-babbage.json#/definitions/UInt64" }, "data": { "items": { "$ref": "cardano-babbage.json#/definitions/PlutusData" }, "type": "array" }, "tag": { "enum": [ "constr" ] } }, "title": "PlutusDataConstr", "type": "object" }, { "properties": { "contents": { "items": { "properties": { "key": { "$ref": "cardano-babbage.json#/definitions/PlutusData" }, "value": { "$ref": "cardano-babbage.json#/definitions/PlutusData" } }, "type": "object" }, "type": "array" }, "tag": { "enum": [ "map" ] } }, "title": "PlutusDataMap", "type": "object" }, { "properties": { "tag": { "enum": [ "integer" ], "type": "string" }, "value": { "$ref": "cardano-babbage.json#/definitions/BigInt" } }, "title": "PlutusDataInteger", "type": "object" }, { "properties": { "tag": { "enum": [ "bytes" ] }, "value": { "format": "hex", "pattern": "^([0-9a-f][0-9a-f])*$", "type": "string" } }, "title": "PlutusDataBytes", "type": "object" } ], "title": "PlutusData", "type": "object" }, "PlutusScript": { "additionalProperties": false, "properties": { "bytes": { "format": "hex", "pattern": "^([0-9a-f][0-9a-f])+$", "type": "string" }, "language": { "$ref": "cardano-babbage.json#/definitions/Language" } }, "required": [ "language", "bytes" ], "title": "PlutusScript", "type": "object" }, "PlutusV1CostModel": { "items": { "$ref": "cardano-babbage.json#/definitions/Int128" }, "maxItems": 166, "minItems": 166, "title": "PlutusV1CostModel", "type": "array" }, "PlutusV2CostModel": { "items": { "$ref": "cardano-babbage.json#/definitions/Int128" }, "maxItems": 175, "minItems": 175, "title": "PlutusV2CostModel", "type": "array" }, "PointerAddress": { "format": "bech32", "pattern": "^(addr1|addr_test1)[02-9ac-hj-np-z]*$", "title": "PointerAddress", "type": "string" }, "PoolMetadata": { "additionalProperties": false, "properties": { "hash": { "$ref": "cardano-babbage.json#/definitions/PoolMetadataHash" }, "url": { "$ref": "cardano-babbage.json#/definitions/URL" } }, "required": [ "url", "hash" ], "title": "PoolMetadata", "type": "object" }, "PoolMetadataHash": { "description": "Pool Metadata Hash", "format": "hex", "pattern": "^[0-9a-f]{64}$", "title": "PoolMetadataHash", "type": "string" }, "PoolParams": { "additionalProperties": false, "properties": { "cost": { "$ref": "cardano-babbage.json#/definitions/UInt64" }, "margin": { "$ref": "cardano-babbage.json#/definitions/UnitInterval" }, "operator": { "$ref": "cardano-babbage.json#/definitions/PoolPubKeyHash" }, "pledge": { "$ref": "cardano-babbage.json#/definitions/UInt64" }, "pool_metadata": { "$ref": "cardano-babbage.json#/definitions/PoolMetadata" }, "pool_owners": { "items": { "$ref": "cardano-babbage.json#/definitions/Ed25519KeyHash" }, "type": "array" }, "relays": { "items": { "$ref": "cardano-babbage.json#/definitions/Relay" }, "type": "array" }, "reward_account": { "$ref": "cardano-babbage.json#/definitions/RewardAddress" }, "vrf_keyhash": { "$ref": "cardano-babbage.json#/definitions/VRFKeyHash" } }, "required": [ "cost", "margin", "operator", "pledge", "pool_owners", "relays", "reward_account", "vrf_keyhash" ], "title": "PoolParams", "type": "object" }, "PoolPubKeyHash": { "format": "bech32", "pattern": "^(pool1)[02-9ac-hj-np-z]*$", "title": "PoolPubKeyHash", "type": "string" }, "PosInt64": { "description": "64-bit unsigned integer, zero-excluded. 1-18446744073709551615", "format": "posint64", "pattern": "^([1-9][0-9]*)$", "title": "PosInt64", "type": "string" }, "ProtocolParamUpdate": { "additionalProperties": false, "properties": { "ada_per_utxo_byte": { "$ref": "cardano-babbage.json#/definitions/UInt64" }, "collateral_percentage": { "$ref": "cardano-babbage.json#/definitions/UInt32" }, "cost_models": { "$ref": "cardano-babbage.json#/definitions/CostModels" }, "d": { "$ref": "cardano-babbage.json#/definitions/UnitInterval" }, "execution_costs": { "$ref": "cardano-babbage.json#/definitions/ExUnitPrices" }, "expansion_rate": { "$ref": "cardano-babbage.json#/definitions/UnitInterval" }, "key_deposit": { "$ref": "cardano-babbage.json#/definitions/UInt64" }, "max_block_body_size": { "$ref": "cardano-babbage.json#/definitions/UInt32" }, "max_block_ex_units": { "$ref": "cardano-babbage.json#/definitions/ExUnits" }, "max_block_header_size": { "$ref": "cardano-babbage.json#/definitions/UInt32" }, "max_collateral_inputs": { "$ref": "cardano-babbage.json#/definitions/UInt32" }, "max_epoch": { "$ref": "cardano-babbage.json#/definitions/UInt32" }, "max_tx_ex_units": { "$ref": "cardano-babbage.json#/definitions/ExUnits" }, "max_tx_size": { "$ref": "cardano-babbage.json#/definitions/UInt32" }, "max_value_size": { "$ref": "cardano-babbage.json#/definitions/UInt32" }, "min_pool_cost": { "$ref": "cardano-babbage.json#/definitions/UInt64" }, "minfee_a": { "$ref": "cardano-babbage.json#/definitions/UInt64" }, "minfee_b": { "$ref": "cardano-babbage.json#/definitions/UInt64" }, "n_opt": { "$ref": "cardano-babbage.json#/definitions/UInt64" }, "pool_deposit": { "$ref": "cardano-babbage.json#/definitions/UInt64" }, "pool_pledge_influence": { "$ref": "cardano-babbage.json#/definitions/UnitInterval" }, "protocol_version": { "$ref": "cardano-babbage.json#/definitions/ProtocolVersion" }, "treasury_growth_rate": { "$ref": "cardano-babbage.json#/definitions/UnitInterval" } }, "required": [], "title": "ProtocolParamUpdate", "type": "object" }, "ProtocolVersion": { "additionalProperties": false, "properties": { "major": { "$ref": "cardano-babbage.json#/definitions/UInt32" }, "minor": { "$ref": "cardano-babbage.json#/definitions/UInt32" } }, "required": [ "major", "minor" ], "title": "ProtocolVersion", "type": "object" }, "Redeemer": { "additionalProperties": false, "properties": { "data": { "$ref": "cardano-babbage.json#/definitions/PlutusData" }, "ex_units": { "$ref": "cardano-babbage.json#/definitions/ExUnits" }, "index": { "$ref": "cardano-babbage.json#/definitions/UInt64" }, "tag": { "$ref": "cardano-babbage.json#/definitions/RedeemerTag" } }, "required": [ "data", "tag", "index", "ex_units" ], "title": "Redeemer", "type": "object" }, "RedeemerTag": { "enum": [ "spend", "mint", "cert", "reward" ], "title": "RedeemerTag", "type": "string" }, "Relay": { "discriminator": { "propertyName": "tag" }, "oneOf": [ { "additionalProperties": false, "properties": { "ipv4": { "$ref": "cardano-babbage.json#/definitions/Ipv4" }, "ipv6": { "$ref": "cardano-babbage.json#/definitions/Ipv6" }, "port": { "maximum": 65535, "type": "integer" }, "tag": { "enum": [ "single_host_addr" ] } }, "required": [ "tag" ], "title": "SingleHostAddr", "type": "object" }, { "additionalProperties": false, "properties": { "dns_name": { "$ref": "cardano-babbage.json#/definitions/DNSName" }, "port": { "maximum": 65535, "minimum": 1, "type": "integer" }, "tag": { "enum": [ "single_host_name" ] } }, "required": [ "tag", "dns_name" ], "title": "SingleHostName", "type": "object" }, { "additionalProperties": false, "properties": { "dns_name": { "$ref": "cardano-babbage.json#/definitions/DNSName" }, "tag": { "enum": [ "multi_host_name" ] } }, "required": [ "tag", "dns_name" ], "title": "MultiHostName", "type": "object" } ], "title": "Relay", "type": "object" }, "RewardAddress": { "format": "bech32", "pattern": "^(stake1|stake_test1)[02-9ac-hj-np-z]*$", "title": "RewardAddress", "type": "string" }, "ScriptDataHash": { "format": "hex", "pattern": "^[0-9a-f]{64}$", "title": "ScriptDataHash", "type": "string" }, "ScriptHash": { "format": "hex", "pattern": "^[0-9a-f]{56}$", "title": "ScriptHash", "type": "string" }, "ScriptRef": { "discriminator": { "propertyName": "tag" }, "oneOf": [ { "additionalProperties": false, "properties": { "tag": { "enum": [ "plutus_script" ], "type": "string" }, "value": { "$ref": "cardano-babbage.json#/definitions/PlutusScript" } }, "required": [ "tag", "value" ], "title": "PlutusScript", "type": "object" }, { "additionalProperties": false, "properties": { "tag": { "enum": [ "native_script" ], "type": "string" }, "value": { "$ref": "cardano-babbage.json#/definitions/NativeScript" } }, "required": [ "tag", "value" ], "title": "NativeScript", "type": "object" } ], "title": "ScriptRef", "type": "object" }, "Transaction": { "additionalProperties": false, "properties": { "auxiliary_data": { "$ref": "cardano-babbage.json#/definitions/AuxiliaryData" }, "body": { "$ref": "cardano-babbage.json#/definitions/TransactionBody" }, "is_valid": { "type": "boolean" }, "witness_set": { "$ref": "cardano-babbage.json#/definitions/TransactionWitnessSet" } }, "required": [ "body", "is_valid", "witness_set" ], "title": "Transaction", "type": "object" }, "TransactionBody": { "additionalProperties": false, "properties": { "auxiliary_data_hash": { "$ref": "cardano-babbage.json#/definitions/AuxiliaryDataHash" }, "certs": { "items": { "$ref": "cardano-babbage.json#/definitions/Certificate" }, "type": "array" }, "collateral": { "items": { "$ref": "cardano-babbage.json#/definitions/TransactionInput" }, "title": "Collateral Inputs", "type": "array" }, "collateral_return": { "allOf": [ { "$ref": "cardano-babbage.json#/definitions/TransactionOutput" }, { "description": "Collateral return, introduced in CIP-40", "title": "Collateral Return" } ] }, "fee": { "$ref": "cardano-babbage.json#/definitions/UInt64" }, "inputs": { "items": { "$ref": "cardano-babbage.json#/definitions/TransactionInput" }, "type": "array" }, "mint": { "$ref": "cardano-babbage.json#/definitions/Mint" }, "network_id": { "$ref": "cardano-babbage.json#/definitions/NetworkId" }, "outputs": { "items": { "$ref": "cardano-babbage.json#/definitions/TransactionOutput" }, "type": "array" }, "reference_inputs": { "items": { "$ref": "cardano-babbage.json#/definitions/TransactionInput" }, "type": "array" }, "required_signers": { "items": { "$ref": "cardano-babbage.json#/definitions/Ed25519KeyHash" }, "title": "Required signers", "type": "array" }, "script_data_hash": { "$ref": "cardano-babbage.json#/definitions/ScriptDataHash" }, "total_collateral": { "$ref": "cardano-babbage.json#/definitions/UInt64" }, "ttl": { "$ref": "cardano-babbage.json#/definitions/UInt64" }, "update": { "$ref": "cardano-babbage.json#/definitions/Update" }, "validity_start_interval": { "$ref": "cardano-babbage.json#/definitions/UInt64" }, "withdrawals": { "items": { "additionalProperties": false, "properties": { "key": { "$ref": "cardano-babbage.json#/definitions/RewardAddress" }, "value": { "$ref": "cardano-babbage.json#/definitions/UInt64" } }, "type": "object" }, "type": "array" } }, "required": [ "inputs", "outputs", "fee" ], "title": "TransactionBody", "type": "object" }, "TransactionHash": { "format": "hex", "maxLength": 64, "minLength": 64, "pattern": "^[0-9a-f]{64}$", "title": "TransactionHash", "type": "string" }, "TransactionInput": { "additionalProperties": false, "properties": { "index": { "$ref": "cardano-babbage.json#/definitions/UInt32" }, "transaction_id": { "$ref": "cardano-babbage.json#/definitions/TransactionHash" } }, "required": [ "transaction_id", "index" ], "title": "TransactionInput", "type": "object" }, "TransactionMetadata": { "items": { "additionalProperties": false, "properties": { "key": { "$ref": "cardano-babbage.json#/definitions/UInt64" }, "value": { "$ref": "cardano-babbage.json#/definitions/TransactionMetadatum" } }, "required": [ "key", "value" ], "type": "object" }, "title": "TransactionMetadata", "type": "array" }, "TransactionMetadatum": { "discriminator": { "propertyName": "tag" }, "oneOf": [ { "additionalProperties": false, "properties": { "contents": { "items": { "additionalProperties": false, "properties": { "key": { "$ref": "cardano-babbage.json#/definitions/TransactionMetadatum" }, "value": { "$ref": "cardano-babbage.json#/definitions/TransactionMetadatum" } }, "required": [ "key", "value" ], "type": "object" }, "type": "array" }, "tag": { "enum": [ "map" ] } }, "required": [ "tag", "contents" ], "type": "object" }, { "additionalProperties": false, "properties": { "contents": { "items": { "$ref": "cardano-babbage.json#/definitions/TransactionMetadatum" }, "type": "array" }, "tag": { "enum": [ "list" ] } }, "required": [ "tag", "contents" ], "type": "object" }, { "additionalProperties": false, "properties": { "tag": { "enum": [ "int" ] }, "value": { "$ref": "cardano-babbage.json#/definitions/Int128" } }, "required": [ "tag", "value" ], "type": "object" }, { "additionalProperties": false, "properties": { "tag": { "enum": [ "bytes" ] }, "value": { "format": "hex", "pattern": "^([0-9a-f][0-9a-f]){0,64}$", "type": "string" } }, "required": [ "tag", "value" ], "type": "object" }, { "additionalProperties": false, "description": "UTF-8 string. Maximum size is 64 bytes, but there is no way to express byte length limit in a json-schema (maxLength limits the number of characters)", "properties": { "tag": { "enum": [ "string" ] }, "value": { "format": "string64", "maxLength": 64, "type": "string" } }, "required": [ "tag", "value" ], "title": "Metadata String", "type": "object" } ], "title": "TransactionMetadatum", "type": "object" }, "TransactionOutput": { "properties": { "address": { "$ref": "cardano-babbage.json#/definitions/Address" }, "amount": { "$ref": "cardano-babbage.json#/definitions/Value" }, "plutus_data": { "discriminator": { "propertyName": "tag" }, "oneOf": [ { "properties": { "tag": { "enum": [ "datum" ] }, "value": { "$ref": "cardano-babbage.json#/definitions/PlutusData" } }, "type": "object" }, { "properties": { "tag": { "enum": [ "datum_hash" ] }, "value": { "$ref": "cardano-babbage.json#/definitions/DataHash" } }, "type": "object" } ], "type": "object" }, "script_ref": { "$ref": "cardano-babbage.json#/definitions/ScriptRef" } }, "required": [ "address", "amount" ], "title": "TransactionOutput", "type": "object" }, "TransactionUnspentOutput": { "additionalProperties": false, "properties": { "input": { "$ref": "cardano-babbage.json#/definitions/TransactionInput" }, "output": { "$ref": "cardano-babbage.json#/definitions/TransactionOutput" } }, "required": [ "input", "output" ], "title": "TransactionUnspentOutput", "type": "object" }, "TransactionWitnessSet": { "properties": { "bootstraps": { "items": { "$ref": "cardano-babbage.json#/definitions/BootstrapWitness" }, "title": "BootstrapWitnesses", "type": "array" }, "native_scripts": { "items": { "$ref": "cardano-babbage.json#/definitions/NativeScript" }, "title": "NativeScripts", "type": "array" }, "plutus_data": { "items": { "$ref": "cardano-babbage.json#/definitions/PlutusData" }, "title": "PlutusList", "type": "array" }, "plutus_scripts": { "items": { "$ref": "cardano-babbage.json#/definitions/PlutusScript" }, "title": "PlutusScripts", "type": "array" }, "redeemers": { "items": { "$ref": "cardano-babbage.json#/definitions/Redeemer" }, "title": "Redeemers", "type": "array" }, "vkeywitnesses": { "items": { "$ref": "cardano-babbage.json#/definitions/Vkeywitness" }, "title": "VkeyWitnesses", "type": "array" } }, "required": [], "title": "TransactionWitnessSet", "type": "object" }, "UInt32": { "description": "32-bit unsigned integer", "maximum": 4294967295, "minimum": 0, "title": "UInt32", "type": "integer" }, "UInt64": { "description": "64-bit unsigned integer", "format": "uint64", "pattern": "^(0|[1-9][0-9]*)$", "title": "UInt64", "type": "string" }, "URL": { "description": "UTF-8 URL string. Maximum size is 64 bytes, but there is no way to express byte length limit in a json-schema (maxLength limits the number of characters)", "format": "string64", "maxLength": 64, "title": "URL", "type": "string" }, "UnitInterval": { "additionalProperties": false, "properties": { "denominator": { "$ref": "cardano-babbage.json#/definitions/UInt64" }, "numerator": { "$ref": "cardano-babbage.json#/definitions/UInt64" } }, "title": "UnitInterval", "type": "object" }, "Update": { "additionalProperties": false, "properties": { "epoch": { "$ref": "cardano-babbage.json#/definitions/UInt32" }, "proposed_protocol_parameter_updates": { "additionalProperties": false, "description": "A mapping from GenesisHash to ProtocolParamUpdate", "patternProperties": { "^[0-9a-f]{56}$": { "$ref": "cardano-babbage.json#/definitions/ProtocolParamUpdate", "title": "ProtocolParamUpdate for a given GenesisHash" } }, "title": "ProposedProtocolParameterUpdates", "type": "object" } }, "required": [ "epoch", "proposed_protocol_parameter_updates" ], "title": "Update", "type": "object" }, "VRFCert": { "additionalProperties": false, "properties": { "output": { "$ref": "cardano-babbage.json#/definitions/ByteString" }, "proof": { "$ref": "cardano-babbage.json#/definitions/ByteString", "pattern": "^[0-9a-f]{160}$", "type": "string" } }, "required": [ "output", "proof" ], "title": "VRFCert", "type": "object" }, "VRFKeyHash": { "description": "blake2b_256 digest of a VRF verification key, encoded as bech32", "format": "bech32", "pattern": "^vrf_vkh[02-9ac-hj-np-z]*", "title": "VRFKeyHash", "type": "string" }, "VRFVKey": { "format": "hex", "maxLength": 64, "minLength": 64, "pattern": "^[0-9a-f]{64}$", "title": "VRFVKey", "type": "string" }, "Value": { "additionalProperties": false, "properties": { "assets": { "$ref": "cardano-babbage.json#/definitions/MultiAsset" }, "coin": { "$ref": "cardano-babbage.json#/definitions/UInt64" } }, "required": [ "coin" ], "title": "Value", "type": "object" }, "Vkeywitness": { "additionalProperties": false, "properties": { "signature": { "$ref": "cardano-babbage.json#/definitions/Ed25519Signature" }, "vkey": { "$ref": "cardano-babbage.json#/definitions/Ed25519PublicKey" } }, "required": [ "vkey", "signature" ], "title": "Vkeywitness", "type": "object" } }, "title": "Cardano Domain Types" }
CC-BY-4.0
en
cardano-foundation/CIPs
dec8b2ec6d2ba13e0a5e9d71e9d0136a6804f7a3
2023-05-06T14:31:22
CIP-0057/schemas/plutus-data.json
460
2024-05-28T04:44:43.575467Z
{ "$defs": { "annotation": { "properties": { "description": { "type": "string" }, "title": { "type": "string" } }, "type": "object" }, "applicator": { "maxProperties": 1, "minProperties": 1, "properties": { "allOf": { "$ref": "#/$defs/schemaArray" }, "anyOf": { "$ref": "#/$defs/schemaArray" }, "not": { "$ref": "#" }, "oneOf": { "$ref": "#/$defs/schemaArray" } }, "type": "object" }, "bytes": { "properties": { "dataType": { "const": "bytes", "type": "string" } }, "required": [ "dataType" ], "type": "object" }, "constructor": { "properties": { "dataType": { "const": "constructor", "type": "string" }, "fields": { "items": { "$ref": "#" }, "type": "array" }, "index": { "minimum": 0, "type": "integer" } }, "required": [ "dataType", "index", "fields" ], "type": "object" }, "integer": { "properties": { "dataType": { "const": "integer", "type": "string" } }, "required": [ "dataType" ], "type": "object" }, "list": { "properties": { "dataType": { "const": "list", "type": "string" }, "items": { "oneOf": [ { "$ref": "#" }, { "items": { "$ref": "#" }, "type": "array" } ] } }, "required": [ "dataType", "items" ], "type": "object" }, "map": { "dataType": "object", "properties": { "dataType": { "const": "map", "type": "string" }, "keys": { "$ref": "#" }, "values": { "$ref": "#" } }, "required": [ "dataType", "keys", "values" ] }, "primitive": { "oneOf": [ { "$ref": "#/$defs/integer" }, { "$ref": "#/$defs/bytes" }, { "$ref": "#/$defs/list" }, { "$ref": "#/$defs/map" }, { "$ref": "#/$defs/constructor" } ] }, "schemaArray": { "items": { "$ref": "#" }, "minItems": 1, "type": "array" } }, "$id": "https://cips.cardano.org/cips/cip57/schemas/plutus-data.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "$vocabulary": { "https://cips.cardano.org/cips/cip57": true, "https://json-schema.org/draft/2020-12/vocab/applicator": true, "https://json-schema.org/draft/2020-12/vocab/core": true, "https://json-schema.org/draft/2020-12/vocab/validation": true }, "allOf": [ { "$ref": "#/$defs/annotation" }, { "anyOf": [ { "$ref": "#/$defs/primitive" }, { "$ref": "#/$defs/applicator" } ] } ] }
CC-BY-4.0
en
cardano-foundation/CIPs
aa96cef123ece05523eb082613aaae93d2f930d1
2024-03-05T16:35:36
CIP-0057/schemas/plutus-blueprint.json
460
2024-05-28T04:44:43.575467Z
{ "$defs": { "compiledCode": { "contentEncoding": "base16", "description": "A cbor-serialised flat-encoded Plutus script", "example": "01450100002601", "type": "string" }, "hashDigest": { "contentEncoding": "base16", "description": "Blake2b-224 hash digest of the serialised Plutus script, with language tag prefix.", "maxLength": 56, "minLength": 56, "type": "string" }, "preamble": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "license": { "type": "string" }, "plutusVersion": { "enum": [ "v1", "v2", "v3" ], "type": "string" }, "title": { "type": "string" }, "version": { "type": "string" } }, "required": [ "title", "version", "plutusVersion" ], "type": "object" }, "validator": { "properties": { "compiledCode": { "$ref": "#/$defs/compiledCode" }, "datum": { "$ref": "plutus-blueprint-argument.json" }, "description": { "type": "string" }, "hash": { "$ref": "#/$defs/hashDigest" }, "parameters": { "items": { "$ref": "plutus-blueprint-parameter.json" }, "type": "array" }, "redeemer": { "$ref": "plutus-blueprint-argument.json" }, "title": { "type": "string" } }, "required": [ "title", "redeemer" ], "type": "object" } }, "$id": "https://cips.cardano.org/cips/cip57/schemas/plutus-blueprint.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "$vocabulary": { "https://cips.cardano.org/cips/cip57": true, "https://json-schema.org/draft/2020-12/vocab/applicator": true, "https://json-schema.org/draft/2020-12/vocab/core": true, "https://json-schema.org/draft/2020-12/vocab/validation": true }, "properties": { "definitions": { "additionalProperties": true, "type": "object" }, "preamble": { "$ref": "#/$defs/preamble" }, "validators": { "items": { "$ref": "#/$defs/validator" }, "type": "array" } }, "required": [ "preamble", "validators" ], "type": "object" }
CC-BY-4.0
en
cardano-foundation/CIPs
dec8b2ec6d2ba13e0a5e9d71e9d0136a6804f7a3
2023-05-06T14:31:22
CIP-0057/schemas/plutus-builtin.json
460
2024-05-28T04:44:43.575467Z
{ "$defs": { "_boolean": { "properties": { "dataType": { "const": "#boolean", "type": "string" } }, "required": [ "dataType" ], "type": "object" }, "_bytes": { "properties": { "dataType": { "const": "#bytes", "type": "string" } }, "required": [ "dataType" ], "type": "object" }, "_integer": { "properties": { "dataType": { "const": "#integer", "type": "string" } }, "required": [ "dataType" ], "type": "object" }, "_list": { "properties": { "dataType": { "const": "#list", "type": "string" }, "items": { "$ref": "plutus-data.json" } }, "required": [ "dataType", "items" ], "type": "object" }, "_pair": { "dataType": "object", "properties": { "dataType": { "const": "#pair", "type": "string" }, "left": { "$ref": "plutus-data.json" }, "right": { "$ref": "plutus-data.json" } }, "required": [ "dataType", "left", "right" ] }, "_string": { "properties": { "dataType": { "const": "#string", "type": "string" } }, "required": [ "dataType" ], "type": "object" }, "_unit": { "properties": { "dataType": { "const": "#unit", "type": "string" } }, "required": [ "dataType" ], "type": "object" }, "annotation": { "properties": { "description": { "type": "string" }, "title": { "type": "string" } }, "type": "object" }, "applicator": { "maxProperties": 1, "minProperties": 1, "properties": { "allOf": { "$ref": "#/$defs/schemaArray" }, "anyOf": { "$ref": "#/$defs/schemaArray" }, "not": { "$ref": "#" }, "oneOf": { "$ref": "#/$defs/schemaArray" } }, "type": "object" }, "primitive": { "oneOf": [ { "$ref": "#/$defs/_unit" }, { "$ref": "#/$defs/_boolean" }, { "$ref": "#/$defs/_integer" }, { "$ref": "#/$defs/_bytes" }, { "$ref": "#/$defs/_string" }, { "$ref": "#/$defs/_pair" }, { "$ref": "#/$defs/_list" } ] }, "schemaArray": { "items": { "$ref": "#" }, "minItems": 1, "type": "array" } }, "$id": "https://cips.cardano.org/cips/cip57/schemas/plutus-builtin.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "$vocabulary": { "https://cips.cardano.org/cips/cip57": true, "https://json-schema.org/draft/2020-12/vocab/applicator": true, "https://json-schema.org/draft/2020-12/vocab/core": true, "https://json-schema.org/draft/2020-12/vocab/validation": true }, "allOf": [ { "$ref": "#/$defs/annotation" }, { "anyOf": [ { "$ref": "#/$defs/primitive" }, { "$ref": "#/$defs/applicator" } ] } ] }
CC-BY-4.0
en
cardano-foundation/CIPs
cf54d51b1d82d0be86d9406fa8fcdf2c4d2eb73f
2024-03-05T16:35:16
CIP-0057/schemas/plutus-builtin.json
460
2024-05-28T04:44:43.575467Z
{ "$defs": { "_boolean": { "properties": { "dataType": { "const": "#boolean", "type": "string" } }, "required": [ "dataType" ], "type": "object" }, "_bytes": { "properties": { "dataType": { "const": "#bytes", "type": "string" } }, "required": [ "dataType" ], "type": "object" }, "_integer": { "properties": { "dataType": { "const": "#integer", "type": "string" } }, "required": [ "dataType" ], "type": "object" }, "_list": { "properties": { "dataType": { "const": "#list", "type": "string" }, "items": { "$ref": "plutus-data.json" } }, "required": [ "dataType", "items" ], "type": "object" }, "_pair": { "dataType": "object", "properties": { "dataType": { "const": "#pair", "type": "string" }, "left": { "$ref": "plutus-data.json" }, "right": { "$ref": "plutus-data.json" } }, "required": [ "dataType", "left", "right" ], "type": "object" }, "_string": { "properties": { "dataType": { "const": "#string", "type": "string" } }, "required": [ "dataType" ], "type": "object" }, "_unit": { "properties": { "dataType": { "const": "#unit", "type": "string" } }, "required": [ "dataType" ], "type": "object" }, "annotation": { "properties": { "description": { "type": "string" }, "title": { "type": "string" } }, "type": "object" }, "applicator": { "maxProperties": 1, "minProperties": 1, "properties": { "allOf": { "$ref": "#/$defs/schemaArray" }, "anyOf": { "$ref": "#/$defs/schemaArray" }, "not": { "$ref": "#" }, "oneOf": { "$ref": "#/$defs/schemaArray" } }, "type": "object" }, "primitive": { "oneOf": [ { "$ref": "#/$defs/_unit" }, { "$ref": "#/$defs/_boolean" }, { "$ref": "#/$defs/_integer" }, { "$ref": "#/$defs/_bytes" }, { "$ref": "#/$defs/_string" }, { "$ref": "#/$defs/_pair" }, { "$ref": "#/$defs/_list" } ] }, "schemaArray": { "items": { "$ref": "#" }, "minItems": 1, "type": "array" } }, "$id": "https://cips.cardano.org/cips/cip57/schemas/plutus-builtin.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "$vocabulary": { "https://cips.cardano.org/cips/cip57": true, "https://json-schema.org/draft/2020-12/vocab/applicator": true, "https://json-schema.org/draft/2020-12/vocab/core": true, "https://json-schema.org/draft/2020-12/vocab/validation": true }, "allOf": [ { "$ref": "#/$defs/annotation" }, { "anyOf": [ { "$ref": "#/$defs/primitive" }, { "$ref": "#/$defs/applicator" } ] } ] }
CC-BY-4.0
en
cardano-foundation/CIPs
dec8b2ec6d2ba13e0a5e9d71e9d0136a6804f7a3
2023-05-06T14:31:22
CIP-0057/schemas/plutus-blueprint-argument.json
460
2024-05-28T04:44:43.575467Z
{ "$defs": { "applicator": { "properties": { "oneOf": { "$ref": "#/$defs/schemaArray" } }, "required": [ "oneOf" ], "type": "object" }, "purpose": { "enum": [ "spend", "mint", "withdraw", "publish" ], "type": "string" }, "schemaArray": { "items": { "$ref": "#" }, "minItems": 1, "type": "array" } }, "$id": "https://cips.cardano.org/cips/cip57/schemas/plutus-blueprint-argument.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "$vocabulary": { "https://cips.cardano.org/cips/cip57": true, "https://json-schema.org/draft/2020-12/vocab/applicator": true, "https://json-schema.org/draft/2020-12/vocab/core": true, "https://json-schema.org/draft/2020-12/vocab/validation": true }, "properties": { "description": { "type": "string" }, "purpose": { "anyOf": [ { "$ref": "#/$defs/purpose" }, { "properties": { "oneOf": { "items": { "$ref": "#/$defs/purpose" }, "minItems": 1, "type": "array" } }, "required": [ "oneOf" ], "type": "object" } ] }, "schema": { "anyOf": [ { "$ref": "plutus-data.json" }, { "$ref": "#/$defs/applicator" } ] }, "title": { "type": "string" } }, "required": [ "schema" ], "type": "object" }
CC-BY-4.0
en
cardano-foundation/CIPs
cf54d51b1d82d0be86d9406fa8fcdf2c4d2eb73f
2024-03-05T16:35:16
CIP-0057/schemas/plutus-data.json
460
2024-05-28T04:44:43.575467Z
{ "$defs": { "annotation": { "properties": { "description": { "type": "string" }, "title": { "type": "string" } }, "type": "object" }, "applicator": { "maxProperties": 1, "minProperties": 1, "properties": { "allOf": { "$ref": "#/$defs/schemaArray" }, "anyOf": { "$ref": "#/$defs/schemaArray" }, "not": { "$ref": "#" }, "oneOf": { "$ref": "#/$defs/schemaArray" } }, "type": "object" }, "bytes": { "properties": { "dataType": { "const": "bytes", "type": "string" } }, "required": [ "dataType" ], "type": "object" }, "constructor": { "properties": { "dataType": { "const": "constructor", "type": "string" }, "fields": { "items": { "$ref": "#" }, "type": "array" }, "index": { "minimum": 0, "type": "integer" } }, "required": [ "dataType", "index", "fields" ], "type": "object" }, "integer": { "properties": { "dataType": { "const": "integer", "type": "string" } }, "required": [ "dataType" ], "type": "object" }, "list": { "properties": { "dataType": { "const": "list", "type": "string" }, "items": { "oneOf": [ { "$ref": "#" }, { "items": { "$ref": "#" }, "type": "array" } ] } }, "required": [ "dataType", "items" ], "type": "object" }, "map": { "dataType": "object", "properties": { "dataType": { "const": "map", "type": "string" }, "keys": { "$ref": "#" }, "values": { "$ref": "#" } }, "required": [ "dataType", "keys", "values" ], "type": "object" }, "primitive": { "oneOf": [ { "$ref": "#/$defs/integer" }, { "$ref": "#/$defs/bytes" }, { "$ref": "#/$defs/list" }, { "$ref": "#/$defs/map" }, { "$ref": "#/$defs/constructor" } ] }, "schemaArray": { "items": { "$ref": "#" }, "minItems": 1, "type": "array" } }, "$id": "https://cips.cardano.org/cips/cip57/schemas/plutus-data.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "$vocabulary": { "https://cips.cardano.org/cips/cip57": true, "https://json-schema.org/draft/2020-12/vocab/applicator": true, "https://json-schema.org/draft/2020-12/vocab/core": true, "https://json-schema.org/draft/2020-12/vocab/validation": true }, "allOf": [ { "$ref": "#/$defs/annotation" }, { "anyOf": [ { "$ref": "#/$defs/primitive" }, { "$ref": "#/$defs/applicator" } ] } ] }
CC-BY-4.0
en
cardano-foundation/CIPs
dec8b2ec6d2ba13e0a5e9d71e9d0136a6804f7a3
2023-05-06T14:31:22
CIP-0057/schemas/plutus-blueprint-parameter.json
460
2024-05-28T04:44:43.575467Z
{ "$defs": { "applicator": { "properties": { "oneOf": { "$ref": "#/$defs/schemaArray" } }, "required": [ "oneOf" ], "type": "object" }, "purpose": { "enum": [ "spend", "mint", "withdraw", "publish" ], "type": "string" }, "schemaArray": { "items": { "$ref": "#" }, "minItems": 1, "type": "array" } }, "$id": "https://cips.cardano.org/cips/cip57/schemas/plutus-blueprint-parameter.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "$vocabulary": { "https://cips.cardano.org/cips/cip57": true, "https://json-schema.org/draft/2020-12/vocab/applicator": true, "https://json-schema.org/draft/2020-12/vocab/core": true, "https://json-schema.org/draft/2020-12/vocab/validation": true }, "properties": { "description": { "type": "string" }, "purpose": { "anyOf": [ { "$ref": "#/$defs/purpose" }, { "properties": { "oneOf": { "items": { "$ref": "#/$defs/purpose" }, "minItems": 1, "type": "array" } }, "required": [ "oneOf" ], "type": "object" } ] }, "schema": { "anyOf": [ { "$ref": "plutus-data.json" }, { "$ref": "plutus-builtin.json" }, { "$ref": "#/$defs/applicator" } ] }, "title": { "type": "string" } }, "required": [ "schema" ], "type": "object" }
CC-BY-4.0
en
Phillip9587/nx-stylelint
ada1d07518c3819c02583d35d948824d9392bafb
2023-10-23T21:03:45
nx-stylelint/executors.json
77
2024-05-28T05:49:43.538463Z
{ "$schema": "https://json-schema.org/draft-07/schema", "executors": { "lint": { "description": "Run stylelint on a project.", "implementation": "./src/executors/lint/executor", "schema": "./src/executors/lint/schema.json" } } }
MIT
en
Phillip9587/nx-stylelint
ada1d07518c3819c02583d35d948824d9392bafb
2023-10-23T21:03:45
nx-stylelint/src/executors/lint/schema.json
77
2024-05-28T05:49:43.538463Z
{ "$schema": "https://json-schema.org/draft-07/schema", "outputCapture": "direct-nodejs", "properties": { "allowEmptyInput": { "default": true, "description": "The executor exits without throwing an error when 'lintFilePatterns' match no files.", "type": "boolean" }, "cache": { "default": false, "description": "Store the results of processed files so that Stylelint only operates on the changed ones.", "type": "boolean" }, "cacheLocation": { "description": "Path to a file or directory for the cache location.", "type": "string" }, "configFile": { "description": "Path of the stylelint configuration file.", "type": "string" }, "fix": { "default": false, "description": "Fixes linting errors (may overwrite linted files).", "type": "boolean" }, "force": { "default": false, "description": "Succeeds even if there were linting errors.", "type": "boolean" }, "formatter": { "anyOf": [ { "enum": [ "compact", "github", "json", "string", "tap", "unix", "verbose" ] }, { "minLength": 1 } ], "default": "string", "description": "Stylelint output formatter (https://stylelint.io/user-guide/usage/options#formatter).", "type": "string" }, "ignoreDisables": { "default": false, "description": "Ignore stylelint-disable comments.", "type": "boolean" }, "ignorePath": { "description": "A path to a file containing patterns describing files to ignore. ", "type": "string" }, "lintFilePatterns": { "default": [], "description": "One or more files/dirs/globs to pass directly to Stylelint's lint() method.", "items": { "type": "string" }, "type": "array" }, "maxWarnings": { "description": "Number of warnings to trigger nonzero exit code.", "type": "number" }, "outputFile": { "description": "File to write report to.", "type": "string" }, "quiet": { "default": false, "description": "Only register problems for rules with an \"error\"-level severity (ignore \"warning\"-level).", "type": "boolean" }, "reportDescriptionlessDisables": { "default": false, "description": "Report stylelint-disable comments without a description.", "type": "boolean" }, "reportInvalidScopeDisables": { "default": false, "description": "Report stylelint-disable comments that don't match rules that are specified in the configuration object.", "type": "boolean" }, "reportNeedlessDisables": { "default": true, "description": "Report stylelint-disable comments that don't actually match any lints that need to be disabled.", "type": "boolean" }, "silent": { "default": false, "description": "Hide output text.", "type": "boolean" } }, "required": [ "lintFilePatterns" ], "title": "Stylelint Lint Target", "type": "object", "version": 2 }
MIT
en
Phillip9587/nx-stylelint
5258257d2366a21256add2f7348ecb902dc0c053
2023-10-09T18:12:32
nx-stylelint/src/generators/init/schema.json
77
2024-05-28T05:49:43.538463Z
{ "$id": "NxStylelintInit", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "scss": { "default": false, "description": "Add SCSS Language support.", "type": "boolean", "x-priority": "important" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean" } }, "required": [], "title": "Add stylelint configuration and dependencies to the workspace", "type": "object" }
MIT
en
Phillip9587/nx-stylelint
ada1d07518c3819c02583d35d948824d9392bafb
2023-10-23T21:03:45
nx-stylelint/src/generators/init/schema.json
77
2024-05-28T05:49:43.538463Z
{ "$id": "NxStylelintInit", "$schema": "https://json-schema.org/draft-07/schema", "additionalProperties": false, "properties": { "scss": { "default": false, "description": "Add SCSS Language support.", "type": "boolean", "x-priority": "important" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean" } }, "required": [], "title": "Add stylelint configuration and dependencies to the workspace.", "type": "object" }
MIT
en
Phillip9587/nx-stylelint
ada1d07518c3819c02583d35d948824d9392bafb
2023-10-23T21:03:45
nx-stylelint/generators.json
77
2024-05-28T05:49:43.538463Z
{ "$schema": "https://json-schema.org/draft-07/schema", "generators": { "configuration": { "aliases": [ "config" ], "description": "Add stylelint configuration to a project.", "factory": "./src/generators/configuration/generator", "schema": "./src/generators/configuration/schema.json" }, "init": { "description": "Add stylelint configuration and dependencies to the workspace.", "factory": "./src/generators/init/generator", "hidden": true, "schema": "./src/generators/init/schema.json" } } }
MIT
en
Phillip9587/nx-stylelint
5258257d2366a21256add2f7348ecb902dc0c053
2023-10-09T18:12:32
nx-stylelint/src/executors/lint/schema.json
77
2024-05-28T05:49:43.538463Z
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "outputCapture": "direct-nodejs", "properties": { "allowEmptyInput": { "default": true, "description": "The executor exits without throwing an error when 'lintFilePatterns' match no files.", "type": "boolean" }, "cache": { "default": false, "description": "Store the results of processed files so that Stylelint only operates on the changed ones.", "type": "boolean" }, "cacheLocation": { "description": "Path to a file or directory for the cache location.", "type": "string" }, "configFile": { "description": "Path of the stylelint configuration file.", "type": "string" }, "fix": { "default": false, "description": "Fixes linting errors (may overwrite linted files).", "type": "boolean" }, "force": { "default": false, "description": "Succeeds even if there were linting errors.", "type": "boolean" }, "formatter": { "anyOf": [ { "enum": [ "compact", "github", "json", "string", "tap", "unix", "verbose" ] }, { "minLength": 1 } ], "default": "string", "description": "Stylelint output formatter (https://stylelint.io/user-guide/usage/options#formatter).", "type": "string" }, "ignoreDisables": { "default": false, "description": "Ignore stylelint-disable comments.", "type": "boolean" }, "ignorePath": { "description": "A path to a file containing patterns describing files to ignore. ", "type": "string" }, "lintFilePatterns": { "default": [], "description": "One or more files/dirs/globs to pass directly to Stylelint's lint() method.", "items": { "type": "string" }, "type": "array" }, "maxWarnings": { "description": "Number of warnings to trigger nonzero exit code.", "type": "number" }, "outputFile": { "description": "File to write report to.", "type": "string" }, "quiet": { "default": false, "description": "Only register problems for rules with an \"error\"-level severity (ignore \"warning\"-level).", "type": "boolean" }, "reportDescriptionlessDisables": { "default": false, "description": "Report stylelint-disable comments without a description.", "type": "boolean" }, "reportInvalidScopeDisables": { "default": false, "description": "Report stylelint-disable comments that don't match rules that are specified in the configuration object.", "type": "boolean" }, "reportNeedlessDisables": { "default": true, "description": "Report stylelint-disable comments that don't actually match any lints that need to be disabled.", "type": "boolean" }, "silent": { "default": false, "description": "Hide output text.", "type": "boolean" } }, "required": [ "lintFilePatterns" ], "title": "Stylelint Lint Target", "type": "object", "version": 2 }
MIT
en
Phillip9587/nx-stylelint
5258257d2366a21256add2f7348ecb902dc0c053
2023-10-09T18:12:32
nx-stylelint/executors.json
77
2024-05-28T05:49:43.538463Z
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "builders": { "lint": { "description": "Run stylelint on a project", "implementation": "./src/executors/lint/compat", "schema": "./src/executors/lint/schema.json" } }, "executors": { "lint": { "description": "Run stylelint on a project", "implementation": "./src/executors/lint/executor", "schema": "./src/executors/lint/schema.json" } } }
MIT
en
Phillip9587/nx-stylelint
e48aa6c63308e44f51a053cabb55b9a814ed6c51
2023-10-23T19:59:31
nx-stylelint/generators.json
77
2024-05-28T05:49:43.538463Z
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "generators": { "configuration": { "aliases": [ "config" ], "description": "Add stylelint configuration to a project", "factory": "./src/generators/configuration/generator", "schema": "./src/generators/configuration/schema.json" }, "init": { "aliases": [ "ng-add" ], "description": "Add stylelint configuration and dependencies to the workspace", "factory": "./src/generators/init/generator", "hidden": true, "schema": "./src/generators/init/schema.json" } }, "name": "nx-stylelint", "schematics": { "configuration": { "aliases": [ "config" ], "description": "Add stylelint configuration to a project", "factory": "./src/generators/configuration/compat", "schema": "./src/generators/configuration/schema.json" }, "init": { "aliases": [ "ng-add" ], "description": "Add stylelint configuration and dependencies to the workspace", "factory": "./src/generators/init/compat", "hidden": true, "schema": "./src/generators/init/schema.json" } }, "version": "0.0.1" }
MIT
en
Phillip9587/nx-stylelint
ada1d07518c3819c02583d35d948824d9392bafb
2023-10-23T21:03:45
nx-stylelint/src/generators/configuration/schema.json
77
2024-05-28T05:49:43.538463Z
{ "$id": "NxStylelintProjectConfiguration", "$schema": "https://json-schema.org/draft-07/schema", "additionalProperties": false, "properties": { "formatter": { "default": "string", "description": "Stylelint output formatter (https://stylelint.io/user-guide/usage/options#formatter).", "enum": [ "compact", "github", "json", "string", "tap", "unix", "verbose" ], "type": "string", "x-priority": "important", "x-prompt": { "items": [ { "label": "compact", "value": "compact" }, { "label": "github", "value": "github" }, { "label": "json", "value": "json" }, { "label": "string (default)", "value": "string" }, { "label": "tap", "value": "tap" }, { "label": "unix", "value": "unix" }, { "label": "verbose", "value": "verbose" } ], "message": "Which formatter would you like to use?", "type": "list" } }, "project": { "$default": { "$source": "projectName" }, "description": "The name of the project.", "type": "string", "x-priority": "important" }, "scss": { "default": false, "description": "Add SCSS Language support.", "type": "boolean", "x-priority": "important" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean" } }, "required": [ "project" ], "title": "Add stylelint configuration to a project.", "type": "object" }
MIT
en
Phillip9587/nx-stylelint
5258257d2366a21256add2f7348ecb902dc0c053
2023-10-09T18:12:32
nx-stylelint/src/generators/configuration/schema.json
77
2024-05-28T05:49:43.538463Z
{ "$id": "NxStylelintProjectConfiguration", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "formatter": { "default": "string", "description": "Stylelint output formatter (https://stylelint.io/user-guide/usage/options#formatter).", "enum": [ "compact", "github", "json", "string", "tap", "unix", "verbose" ], "type": "string", "x-priority": "important", "x-prompt": { "items": [ { "label": "compact", "value": "compact" }, { "label": "github", "value": "github" }, { "label": "json", "value": "json" }, { "label": "string (default)", "value": "string" }, { "label": "tap", "value": "tap" }, { "label": "unix", "value": "unix" }, { "label": "verbose", "value": "verbose" } ], "message": "Which formatter would you like to use?", "type": "list" } }, "project": { "$default": { "$source": "projectName" }, "description": "The name of the project.", "type": "string", "x-priority": "important" }, "scss": { "default": false, "description": "Add SCSS Language support.", "type": "boolean", "x-priority": "important" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean" } }, "required": [ "project" ], "title": "Add stylelint configuration to a project", "type": "object" }
MIT
en
Phillip9587/nx-stylelint
5258257d2366a21256add2f7348ecb902dc0c053
2023-10-09T18:12:32
nx-stylelint/generators.json
77
2024-05-28T05:49:43.538463Z
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "generators": { "configuration": { "aliases": [ "config" ], "description": "Add stylelint configuration to a project", "factory": "./src/generators/configuration/generator", "schema": "./src/generators/configuration/schema.json" }, "init": { "aliases": [ "ng-add" ], "description": "Add stylelint configuration and dependencies to the workspace", "factory": "./src/generators/init/generator", "hidden": true, "schema": "./src/generators/init/schema.json" }, "scss": { "description": "Add scss support to a nx-stylelint configuration", "factory": "./src/generators/scss/generator", "schema": "./src/generators/scss/schema.json", "x-deprecated": "This generator is deprecated and will be removed in v17. Use the configuration generator with the scss option instead." } }, "name": "nx-stylelint", "schematics": { "configuration": { "aliases": [ "config" ], "description": "Add stylelint configuration to a project", "factory": "./src/generators/configuration/compat", "schema": "./src/generators/configuration/schema.json" }, "init": { "aliases": [ "ng-add" ], "description": "Add stylelint configuration and dependencies to the workspace", "factory": "./src/generators/init/compat", "hidden": true, "schema": "./src/generators/init/schema.json" }, "scss": { "description": "Add scss support to a nx-stylelint configuration", "factory": "./src/generators/scss/compat", "schema": "./src/generators/scss/schema.json", "x-deprecated": "This generator is deprecated and will be removed in v17. Use the configuration generator with the scss option instead." } }, "version": "0.0.1" }
MIT
en
ZNotify/server
76f8bf9704f94b05be22fac9fb46b5e5e9c35e44
2023-03-03T07:41:04
docs/schema.json
5
2024-05-27T05:08:38.725681Z
{ "$defs": { "Configuration": { "additionalProperties": false, "properties": { "database": { "$ref": "#/$defs/DatabaseConfiguration" }, "senders": { "$ref": "#/$defs/SenderConfiguration" }, "server": { "$ref": "#/$defs/ServerConfiguration" }, "user": { "$ref": "#/$defs/UserConfiguration" } }, "required": [ "server", "database", "user", "senders" ], "type": "object" }, "Database": { "description": "The type of database to use. Can be one of: sqlite, mysql, pgsql.", "enum": [ "sqlite", "mysql", "pgsql" ], "title": "Database type", "type": "string" }, "DatabaseConfiguration": { "additionalProperties": false, "properties": { "dsn": { "title": "Database DSN", "type": "string" }, "type": { "$ref": "#/$defs/Database" } }, "required": [ "dsn" ], "type": "object" }, "FCMConfig": { "additionalProperties": false, "properties": { "credential": { "title": "Firebase messaging credential json", "type": "string" } }, "required": [ "credential" ], "type": "object" }, "GitHubConfiguration": { "additionalProperties": false, "properties": { "client_id": { "title": "GitHub OAuth Client ID", "type": "string" }, "client_secret": { "title": "GitHub OAuth Client Secret", "type": "string" } }, "required": [ "client_id", "client_secret" ], "type": "object" }, "Mode": { "description": "The mode the server is running in. Can be one of: test, development, production.", "enum": [ "test", "development", "production" ], "title": "Server running mode", "type": "string" }, "SSOConfiguration": { "additionalProperties": false, "properties": { "github": { "$ref": "#/$defs/GitHubConfiguration", "title": "GitHub OAuth" } }, "required": [ "github" ], "type": "object" }, "SenderConfiguration": { "additionalProperties": false, "minProperties": 1, "properties": { "fcm": { "$ref": "#/$defs/FCMConfig", "title": "Firebase Cloud Messaging Sender" }, "telegram": { "$ref": "#/$defs/TelegramConfig", "title": "Telegram Sender" }, "webpush": { "$ref": "#/$defs/WebPushConfig", "title": "Web Push Sender" }, "websocket": { "title": "WebSocket Sender", "type": "boolean" }, "wns": { "title": "Windows Notification Service Sender", "type": "boolean" } }, "type": "object" }, "ServerConfiguration": { "additionalProperties": false, "properties": { "address": { "default": "0.0.0.0:14444", "title": "Server address", "type": "string" }, "mode": { "$ref": "#/$defs/Mode" }, "url": { "examples": [ "https://push.learningman.top" ], "format": "uri", "title": "Server URL", "type": "string" } }, "required": [ "address", "url" ], "type": "object" }, "TelegramConfig": { "additionalProperties": false, "properties": { "bot_token": { "title": "Telegram bot token", "type": "string" } }, "required": [ "bot_token" ], "type": "object" }, "UserConfiguration": { "additionalProperties": false, "properties": { "admins": { "items": { "type": "string" }, "minItems": 1, "title": "Admins", "type": "array" }, "sso": { "$ref": "#/$defs/SSOConfiguration", "title": "SSO" } }, "required": [ "admins", "sso" ], "type": "object" }, "WebPushConfig": { "additionalProperties": false, "properties": { "mail_to": { "format": "email", "title": "Mail to", "type": "string" }, "vapid_private_key": { "title": "VAPID Private Key", "type": "string" }, "vapid_public_key": { "title": "VAPID Public Key", "type": "string" } }, "required": [ "vapid_public_key", "vapid_private_key", "mail_to" ], "type": "object" } }, "$id": "https://github.com/ZNotify/server/app/config/configuration", "$ref": "#/$defs/Configuration", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "The configuration schema of ZNotify server.", "title": "ZNotify server configuration" }
Apache-2.0
en
ZNotify/server
3a2965267d8f1c3c3cd3716324319b5511619ec8
2023-03-02T13:37:37
docs/schema.json
5
2024-05-27T05:08:38.725681Z
{ "$defs": { "Configuration": { "additionalProperties": false, "properties": { "database": { "$ref": "#/$defs/DatabaseConfiguration" }, "senders": { "$ref": "#/$defs/SenderConfiguration" }, "server": { "$ref": "#/$defs/ServerConfiguration" }, "user": { "$ref": "#/$defs/UserConfiguration" } }, "required": [ "server", "database", "user", "senders" ], "type": "object" }, "Database": { "description": "The type of database to use. Can be one of: sqlite, mysql, pgsql.", "enum": [ "sqlite", "mysql", "pgsql" ], "title": "Database type", "type": "string" }, "DatabaseConfiguration": { "additionalProperties": false, "properties": { "dsn": { "title": "Database DSN", "type": "string" }, "type": { "$ref": "#/$defs/Database" } }, "required": [ "dsn" ], "type": "object" }, "FCMConfig": { "additionalProperties": false, "properties": { "credential": { "title": "Firebase messaging credential json", "type": "string" } }, "required": [ "credential" ], "type": "object" }, "GitHubConfiguration": { "additionalProperties": false, "properties": { "client_id": { "title": "GitHub OAuth Client ID", "type": "string" }, "client_secret": { "title": "GitHub OAuth Client Secret", "type": "string" } }, "required": [ "client_id", "client_secret" ], "type": "object" }, "Mode": { "description": "The mode the server is running in. Can be one of: test, development, production.", "enum": [ "test", "development", "production" ], "title": "Server running mode", "type": "string" }, "SSOConfiguration": { "additionalProperties": false, "properties": { "github": { "$ref": "#/$defs/GitHubConfiguration", "title": "GitHub OAuth" } }, "required": [ "github" ], "type": "object" }, "SenderConfiguration": { "additionalProperties": false, "minProperties": 1, "properties": { "fcm": { "$ref": "#/$defs/FCMConfig", "title": "Firebase Cloud Messaging Sender" }, "telegram": { "$ref": "#/$defs/TelegramConfig", "title": "Telegram Sender" }, "webpush": { "$ref": "#/$defs/WebPushConfig", "title": "Web Push Sender" }, "websocket": { "title": "WebSocket Sender", "type": "boolean" }, "wns": { "title": "Windows Notification Service Sender", "type": "boolean" } }, "type": "object" }, "ServerConfiguration": { "additionalProperties": false, "properties": { "address": { "default": "0.0.0.0:14444", "title": "Server address", "type": "string" }, "mode": { "$ref": "#/$defs/Mode" }, "url": { "examples": [ "https://push.learningman.top" ], "format": "uri", "title": "Server URL", "type": "string" } }, "required": [ "address", "url" ], "type": "object" }, "TelegramConfig": { "additionalProperties": false, "properties": { "bot_token": { "title": "Telegram bot token", "type": "string" } }, "required": [ "bot_token" ], "type": "object" }, "UserConfiguration": { "additionalProperties": false, "properties": { "admins": { "items": { "type": "string" }, "minItems": 1, "title": "Admins", "type": "array" }, "sso": { "$ref": "#/$defs/SSOConfiguration", "title": "SSO" } }, "required": [ "admins", "sso" ], "type": "object" }, "WebPushConfig": { "additionalProperties": false, "properties": { "mail_to": { "format": "email", "title": "Mail to", "type": "string" }, "vapid_private_key": { "title": "VAPID Private Key", "type": "string" }, "vapid_public_key": { "title": "VAPID Public Key", "type": "string" } }, "required": [ "vapid_public_key", "vapid_private_key", "mail_to" ], "type": "object" } }, "$ref": "#/$defs/Configuration", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "The configuration schema of ZNotify server.", "title": "ZNotify server configuration" }
Apache-2.0
en
ZNotify/server
948fc2cffd3c1300e3de426c377bd6fd158162b2
2023-03-03T09:51:16
docs/schema.json
5
2024-05-27T05:08:38.725681Z
{ "$defs": { "Configuration": { "additionalProperties": false, "properties": { "database": { "$ref": "#/$defs/DatabaseConfiguration" }, "senders": { "$ref": "#/$defs/SenderConfiguration" }, "server": { "$ref": "#/$defs/ServerConfiguration" }, "user": { "$ref": "#/$defs/UserConfiguration" } }, "required": [ "server", "database", "user", "senders" ], "type": "object" }, "Database": { "description": "The type of database to use. Can be one of: sqlite, mysql, pgsql.", "enum": [ "sqlite", "mysql", "pgsql" ], "title": "Database type", "type": "string" }, "DatabaseConfiguration": { "additionalProperties": false, "properties": { "dsn": { "title": "Database DSN", "type": "string" }, "type": { "$ref": "#/$defs/Database" } }, "required": [ "dsn" ], "type": "object" }, "FCMConfig": { "additionalProperties": false, "properties": { "credential": { "title": "Firebase messaging credential json", "type": "string" } }, "required": [ "credential" ], "type": "object" }, "GitHubConfiguration": { "additionalProperties": false, "properties": { "client_id": { "title": "GitHub OAuth Client ID", "type": "string" }, "client_secret": { "title": "GitHub OAuth Client Secret", "type": "string" } }, "required": [ "client_id", "client_secret" ], "type": "object" }, "Mode": { "description": "The mode the server is running in. Can be one of: test, development, production.", "enum": [ "test", "development", "production" ], "title": "Server running mode", "type": "string" }, "SSOConfiguration": { "additionalProperties": false, "properties": { "github": { "$ref": "#/$defs/GitHubConfiguration", "title": "GitHub OAuth" } }, "required": [ "github" ], "type": "object" }, "SenderConfiguration": { "additionalProperties": false, "minProperties": 1, "properties": { "fcm": { "$ref": "#/$defs/FCMConfig", "title": "Firebase Cloud Messaging Sender" }, "telegram": { "$ref": "#/$defs/TelegramConfig", "title": "Telegram Sender" }, "webpush": { "$ref": "#/$defs/WebPushConfig", "title": "Web Push Sender" }, "websocket": { "title": "WebSocket Sender", "type": "boolean" }, "wns": { "title": "Windows Notification Service Sender", "type": "boolean" } }, "type": "object" }, "ServerConfiguration": { "additionalProperties": false, "properties": { "address": { "default": "0.0.0.0:14444", "title": "Server address", "type": "string" }, "mode": { "$ref": "#/$defs/Mode" }, "url": { "examples": [ "https://push.learningman.top" ], "format": "uri", "title": "Server URL", "type": "string" } }, "required": [ "address", "url" ], "type": "object" }, "TelegramConfig": { "additionalProperties": false, "properties": { "bot_token": { "title": "Telegram bot token", "type": "string" } }, "required": [ "bot_token" ], "type": "object" }, "UserConfiguration": { "additionalProperties": false, "properties": { "admins": { "items": { "type": "string" }, "minItems": 1, "title": "Admins", "type": "array" }, "sso": { "$ref": "#/$defs/SSOConfiguration", "title": "SSO" } }, "required": [ "admins", "sso" ], "type": "object" }, "WebPushConfig": { "additionalProperties": false, "properties": { "mail_to": { "format": "email", "title": "Mail to", "type": "string" }, "vapid_private_key": { "title": "VAPID Private Key", "type": "string" }, "vapid_public_key": { "title": "VAPID Public Key", "type": "string" } }, "required": [ "vapid_public_key", "vapid_private_key", "mail_to" ], "type": "object" } }, "$id": "https://raw.githubusercontent.com/ZNotify/server/master/docs/schema.json", "$ref": "#/$defs/Configuration", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "The configuration schema of ZNotify server.", "title": "ZNotify server configuration" }
Apache-2.0
en
monkvision/monkjs
252ffc574c2efc8cda234f56c5853c8c4028f7e4
2024-03-06T09:49:27
packages/sights/research/schemas/sight.schema.json
27
2024-05-28T05:58:52.120793Z
{ "$id": "sight.schema", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "if": { "properties": { "category": { "const": "exterior" }, "dev": { "anyOf": [ { "const": null }, { "const": false } ] } }, "required": [ "category" ] }, "then": { "required": [ "camera" ] } } ], "definitions": { "Camera": { "$ref": "subschemas/camera.schema" }, "Category": { "$ref": "subschemas/category.schema" }, "Task": { "$ref": "subschemas/task.schema" }, "Vehicle": { "$ref": "subschemas/vehicle.schema" } }, "properties": { "angle_order": { "maximum": 360, "minimum": 0, "type": "number" }, "camera": { "$ref": "#/definitions/Camera" }, "category": { "$ref": "#/definitions/Category" }, "dev": { "type": "boolean" }, "label": { "pattern": "[a-z]+(.[a-z]+)*", "type": "string" }, "overlay": { "type": "string" }, "tasks": { "$ref": "#/definitions/Task" }, "vehicle": { "$ref": "#/definitions/Vehicle" } }, "required": [ "category", "label", "overlay", "vehicle", "tasks" ], "type": "object" }
BSD-3-Clause-Clear
en
monkvision/monkjs
252ffc574c2efc8cda234f56c5853c8c4028f7e4
2024-03-06T09:49:27
packages/sights/research/schemas/subschemas/xyzArray.schema.json
27
2024-05-28T05:58:52.120793Z
{ "$id": "subschemas/xyzArray.schema", "$schema": "https://json-schema.org/draft/2020-12/schema", "items": { "type": "number" }, "maxItems": 3, "minItems": 3, "type": "array" }
BSD-3-Clause-Clear
en
monkvision/monkjs
252ffc574c2efc8cda234f56c5853c8c4028f7e4
2024-03-06T09:49:27
packages/sights/research/schemas/subschemas/vehicleType.schema.json
27
2024-05-28T05:58:52.120793Z
{ "$id": "subschemas/vehicleType.schema", "$schema": "https://json-schema.org/draft/2020-12/schema", "enum": [ "hatchback", "crossover", "pickup", "city", "van", "sedan", "large-suv", "minivan", "suv" ], "type": "string" }
BSD-3-Clause-Clear
en
monkvision/monkjs
b57959910a1d1563cebba15154f41fe623c18d44
2023-02-02T14:36:58
packages/sights/research/data/haccord/haccord.schema.json
27
2024-05-28T05:58:52.120793Z
{ "$id": "haccord.schema", "$schema": "https://json-schema.org/draft/2020-12/schema", "definitions": { "Sight": { "$ref": "sight.schema" } }, "patternProperties": { "": { "allOf": [ { "$ref": "#/definitions/Sight" } ], "properties": { "id": { "pattern": "^haccord-[a-zA-Z\\d_-]+$", "type": "string" }, "mirror_sight": { "pattern": "^haccord-[a-zA-Z\\d_-]+$", "type": "string" } }, "required": [ "id" ], "type": "object", "unevaluatedProperties": false } }, "propertyNames": { "pattern": "haccord-[a-zA-Z\\d_-]+", "type": "string" }, "type": "object", "unevaluatedProperties": false }
BSD-3-Clause-Clear
en
monkvision/monkjs
252ffc574c2efc8cda234f56c5853c8c4028f7e4
2024-03-06T09:49:27
packages/sights/research/data/ff150/ff150.schema.json
27
2024-05-28T05:58:52.120793Z
{ "$id": "ff150.schema", "$schema": "https://json-schema.org/draft/2020-12/schema", "definitions": { "Sight": { "$ref": "sight.schema" } }, "patternProperties": { "": { "allOf": [ { "$ref": "#/definitions/Sight" } ], "properties": { "id": { "pattern": "^ff150-[a-zA-Z\\d_-]+$", "type": "string" }, "mirror_sight": { "pattern": "^ff150-[a-zA-Z\\d_-]+$", "type": "string" } }, "required": [ "id" ], "type": "object", "unevaluatedProperties": false } }, "propertyNames": { "pattern": "ff150-[a-zA-Z\\d_-]+", "type": "string" }, "type": "object", "unevaluatedProperties": false }
BSD-3-Clause-Clear
en
monkvision/monkjs
252ffc574c2efc8cda234f56c5853c8c4028f7e4
2024-03-06T09:49:27
packages/sights/research/schemas/subschemas/camera.schema.json
27
2024-05-28T05:58:52.120793Z
{ "$id": "subschemas/camera.schema", "$schema": "https://json-schema.org/draft/2020-12/schema", "definitions": { "xyzArray": { "$ref": "xyzArray.schema" } }, "properties": { "focal_length": { "minimum": 0, "type": "number" }, "location_xyz": { "$ref": "#/definitions/xyzArray" }, "name": { "type": "string" }, "rotation_xyz_deg": { "$ref": "#/definitions/xyzArray" } }, "required": [ "focal_length", "location_xyz", "name", "rotation_xyz_deg" ], "type": "object" }
BSD-3-Clause-Clear
en
monkvision/monkjs
b57959910a1d1563cebba15154f41fe623c18d44
2023-02-02T14:36:58
packages/sights/research/schemas/subschemas/xyzArray.schema.json
27
2024-05-28T05:58:52.120793Z
{ "$id": "subschemas/xyzArray.schema", "$schema": "https://json-schema.org/draft/2020-12/schema", "items": { "type": "number" }, "maxItems": 3, "minItems": 3, "type": "array" }
BSD-3-Clause-Clear
en
monkvision/monkjs
b57959910a1d1563cebba15154f41fe623c18d44
2023-02-02T14:36:58
packages/sights/research/data/jgc21/jgc21.schema.json
27
2024-05-28T05:58:52.120793Z
{ "$id": "jgc21.schema", "$schema": "https://json-schema.org/draft/2020-12/schema", "definitions": { "Sight": { "$ref": "sight.schema" } }, "patternProperties": { "": { "allOf": [ { "$ref": "#/definitions/Sight" } ], "properties": { "id": { "pattern": "^jgc21-[a-zA-Z\\d_-]+$", "type": "string" }, "mirror_sight": { "pattern": "^jgc21-[a-zA-Z\\d_-]+$", "type": "string" } }, "required": [ "id" ], "type": "object", "unevaluatedProperties": false } }, "propertyNames": { "pattern": "jgc21-[a-zA-Z\\d_-]+", "type": "string" }, "type": "object", "unevaluatedProperties": false }
BSD-3-Clause-Clear
en
monkvision/monkjs
0304e45b650aa6bdf63e2d7b629b6fc2ea3ad957
2024-05-28T12:50:46
packages/sights/research/schemas/subschemas/vehicleType.schema.json
27
2024-05-28T05:58:52.120793Z
{ "$id": "subschemas/vehicleType.schema", "$schema": "https://json-schema.org/draft/2020-12/schema", "enum": [ "hatchback", "cuv", "pickup", "city", "van", "sedan", "large-suv", "minivan", "suv" ], "type": "string" }
BSD-3-Clause-Clear
en
monkvision/monkjs
b57959910a1d1563cebba15154f41fe623c18d44
2023-02-02T14:36:58
packages/sights/research/data/ff150/ff150.schema.json
27
2024-05-28T05:58:52.120793Z
{ "$id": "ff150.schema", "$schema": "https://json-schema.org/draft/2020-12/schema", "definitions": { "Sight": { "$ref": "sight.schema" } }, "patternProperties": { "": { "allOf": [ { "$ref": "#/definitions/Sight" } ], "properties": { "id": { "pattern": "^ff150-[a-zA-Z\\d_-]+$", "type": "string" }, "mirror_sight": { "pattern": "^ff150-[a-zA-Z\\d_-]+$", "type": "string" } }, "required": [ "id" ], "type": "object", "unevaluatedProperties": false } }, "propertyNames": { "pattern": "ff150-[a-zA-Z\\d_-]+", "type": "string" }, "type": "object", "unevaluatedProperties": false }
BSD-3-Clause-Clear
en
monkvision/monkjs
252ffc574c2efc8cda234f56c5853c8c4028f7e4
2024-03-06T09:49:27
packages/sights/research/data/all/all.schema.json
27
2024-05-28T05:58:52.120793Z
{ "$id": "all.schema", "$schema": "https://json-schema.org/draft/2020-12/schema", "definitions": { "Sight": { "$ref": "sight.schema" } }, "patternProperties": { "": { "allOf": [ { "$ref": "#/definitions/Sight" } ], "properties": { "id": { "pattern": "^all-[a-zA-Z\\d_-]+$", "type": "string" }, "mirror_sight": { "pattern": "^all-[a-zA-Z\\d_-]+$", "type": "string" } }, "required": [ "id" ], "type": "object", "unevaluatedProperties": false } }, "propertyNames": { "pattern": "all-[a-zA-Z\\d_-]+", "type": "string" }, "type": "object", "unevaluatedProperties": false }
BSD-3-Clause-Clear
en
monkvision/monkjs
dee9704b5ef7426b9abe3532d6a29cae12e4c728
2023-11-13T09:27:21
packages/sights/research/schemas/sight.schema.json
27
2024-05-28T05:58:52.120793Z
{ "$id": "sight.schema", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "if": { "properties": { "category": { "const": "exterior" }, "dev": { "anyOf": [ { "const": null }, { "const": false } ] } }, "required": [ "category" ] }, "then": { "required": [ "camera" ] } } ], "definitions": { "Camera": { "$ref": "subschemas/camera.schema" }, "Category": { "$ref": "subschemas/category.schema" }, "Task": { "$ref": "subschemas/task.schema" }, "Vehicle": { "$ref": "subschemas/vehicle.schema" } }, "properties": { "angle_order": { "maximum": 360, "minimum": 0, "type": "number" }, "camera": { "$ref": "#/definitions/Camera" }, "category": { "$ref": "#/definitions/Category" }, "dev": { "type": "boolean" }, "label": { "pattern": "[a-z]+(.[a-z]+)*", "type": "string" }, "overlay": { "type": "string" }, "tasks": { "$ref": "#/definitions/Task" }, "vehicle": { "$ref": "#/definitions/Vehicle" } }, "required": [ "category", "label", "overlay", "vehicle", "tasks" ], "type": "object" }
BSD-3-Clause-Clear
en
monkvision/monkjs
dee9704b5ef7426b9abe3532d6a29cae12e4c728
2023-11-13T09:27:21
packages/sights/research/schemas/subschemas/vehicleType.schema.json
27
2024-05-28T05:58:52.120793Z
{ "$id": "subschemas/vehicleType.schema", "$schema": "https://json-schema.org/draft/2020-12/schema", "enum": [ "hatchback", "crossover", "pickup", "city", "van", "sedan", "large-suv", "minivan", "suv" ], "type": "string" }
BSD-3-Clause-Clear
en
monkvision/monkjs
252ffc574c2efc8cda234f56c5853c8c4028f7e4
2024-03-06T09:49:27
packages/sights/research/data/fesc20/fesc20.schema.json
27
2024-05-28T05:58:52.120793Z
{ "$id": "fesc20.schema", "$schema": "https://json-schema.org/draft/2020-12/schema", "definitions": { "Sight": { "$ref": "sight.schema" } }, "patternProperties": { "": { "allOf": [ { "$ref": "#/definitions/Sight" } ], "properties": { "id": { "pattern": "^fesc20-[a-zA-Z\\d_-]+$", "type": "string" }, "mirror_sight": { "pattern": "^fesc20-[a-zA-Z\\d_-]+$", "type": "string" } }, "required": [ "id" ], "type": "object", "unevaluatedProperties": false } }, "propertyNames": { "pattern": "fesc20-[a-zA-Z\\d_-]+", "type": "string" }, "type": "object", "unevaluatedProperties": false }
BSD-3-Clause-Clear
en
monkvision/monkjs
b57959910a1d1563cebba15154f41fe623c18d44
2023-02-02T14:36:58
packages/sights/research/data/vwtroc/vwtroc.schema.json
27
2024-05-28T05:58:52.120793Z
{ "$id": "vwtroc.schema", "$schema": "https://json-schema.org/draft/2020-12/schema", "definitions": { "Sight": { "$ref": "sight.schema" } }, "patternProperties": { "": { "allOf": [ { "$ref": "#/definitions/Sight" } ], "properties": { "id": { "pattern": "^vwtroc-[a-zA-Z\\d_-]+$", "type": "string" }, "mirror_sight": { "pattern": "^vwtroc-[a-zA-Z\\d_-]+$", "type": "string" } }, "required": [ "id" ], "type": "object", "unevaluatedProperties": false } }, "propertyNames": { "pattern": "vwtroc-[a-zA-Z\\d_-]+", "type": "string" }, "type": "object", "unevaluatedProperties": false }
BSD-3-Clause-Clear
en