Patch an owned editable vector scene without rebuilding its payload. Add, replace, remove, move, or transform nodes; duplicate and mirror complete subtrees; change the canvas; or insert and regenerate parametric systems. The new render stor…
Full guide & inputs
Patch an owned editable vector scene without rebuilding its payload. Add, replace, remove, move, or transform nodes; duplicate and mirror complete subtrees; change the canvas; or insert and regenerate parametric systems. The new render stores another immutable recipe and preserves the prior recipe and owned textures as provenance inputs. Price is 3 base credits plus 1 per 100-million planned work band.
POST /api/v2/tools/revise_vector_scene
Queued execution. Requires an idempotency key; the connected client polls for the result.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"minLength": 1
},
"vector_scene_version_id": {
"type": "string",
"minLength": 1
},
"patches": {
"minItems": 1,
"maxItems": 64,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "set_canvas"
},
"width": {
"type": "integer",
"minimum": 1,
"maximum": 8192
},
"height": {
"type": "integer",
"minimum": 1,
"maximum": 8192
},
"background": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
{
"type": "null"
}
]
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"required": [
"op"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "add_node"
},
"node": {
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "group"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"parent_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"visible": {
"type": "boolean"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"darken",
"lighten",
"colour-dodge",
"colour-burn",
"hard-light",
"soft-light",
"difference",
"exclusion"
]
},
"transform": {
"type": "object",
"properties": {
"translate_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"translate_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"scale_x": {
"type": "number",
"minimum": 0.01,
"maximum": 16
},
"scale_y": {
"type": "number",
"minimum": 0.01,
"maximum": 16
},
"rotate": {
"type": "number",
"minimum": -3600,
"maximum": 3600
},
"origin_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"origin_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"mirror_x": {
"type": "boolean"
},
"mirror_y": {
"type": "boolean"
}
}
},
"clip_path_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"material_ids": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
}
},
"metadata": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"required": [
"type",
"id"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "bezier_shape"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"parent_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"visible": {
"type": "boolean"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"darken",
"lighten",
"colour-dodge",
"colour-burn",
"hard-light",
"soft-light",
"difference",
"exclusion"
]
},
"transform": {
"type": "object",
"properties": {
"translate_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"translate_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"scale_x": {
"type": "number",
"minimum": 0.01,
"maximum": 16
},
"scale_y": {
"type": "number",
"minimum": 0.01,
"maximum": 16
},
"rotate": {
"type": "number",
"minimum": -3600,
"maximum": 3600
},
"origin_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"origin_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"mirror_x": {
"type": "boolean"
},
"mirror_y": {
"type": "boolean"
}
}
},
"clip_path_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"material_ids": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
}
},
"metadata": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"paths": {
"minItems": 1,
"maxItems": 16,
"type": "array",
"items": {
"type": "object",
"properties": {
"points": {
"minItems": 2,
"maxItems": 512,
"type": "array",
"items": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"in_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"in_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"out_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"out_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
}
},
"required": [
"x",
"y"
]
}
},
"closed": {
"type": "boolean"
}
},
"required": [
"points",
"closed"
]
}
},
"fill_rule": {
"type": "string",
"enum": [
"nonzero",
"evenodd"
]
},
"fill": {
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "solid"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
}
},
"required": [
"type",
"color"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "linear_gradient"
},
"x1": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"y1": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"x2": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"y2": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"stops": {
"minItems": 2,
"maxItems": 16,
"type": "array",
"items": {
"type": "object",
"properties": {
"offset": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
}
},
"required": [
"offset",
"color"
]
}
}
},
"required": [
"type",
"x1",
"y1",
"x2",
"y2",
"stops"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "radial_gradient"
},
"cx": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"cy": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"radius": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 100000
},
"fx": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"fy": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"stops": {
"minItems": 2,
"maxItems": 16,
"type": "array",
"items": {
"type": "object",
"properties": {
"offset": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
}
},
"required": [
"offset",
"color"
]
}
}
},
"required": [
"type",
"cx",
"cy",
"radius",
"stops"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "texture"
},
"asset_id": {
"type": "string",
"minLength": 1
},
"fit": {
"type": "string",
"enum": [
"cover",
"contain",
"fill"
]
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"offset_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"offset_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"scale": {
"type": "number",
"minimum": 0.01,
"maximum": 64
},
"rotate": {
"type": "number",
"minimum": -3600,
"maximum": 3600
}
},
"required": [
"type",
"asset_id"
]
}
]
},
"stroke": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"line_cap": {
"type": "string",
"enum": [
"butt",
"round",
"square"
]
},
"line_join": {
"type": "string",
"enum": [
"miter",
"round",
"bevel"
]
},
"dash": {
"maxItems": 32,
"type": "array",
"items": {
"type": "number",
"minimum": 0,
"maximum": 8192
}
}
},
"required": [
"color",
"width"
]
},
"rough_boundary": {
"type": "object",
"properties": {
"amount": {
"type": "number",
"minimum": 0,
"maximum": 256
},
"passes": {
"type": "integer",
"minimum": 1,
"maximum": 8
}
},
"required": [
"amount"
]
}
},
"required": [
"type",
"id",
"paths"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "gradient_mesh"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"parent_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"visible": {
"type": "boolean"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"darken",
"lighten",
"colour-dodge",
"colour-burn",
"hard-light",
"soft-light",
"difference",
"exclusion"
]
},
"transform": {
"type": "object",
"properties": {
"translate_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"translate_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"scale_x": {
"type": "number",
"minimum": 0.01,
"maximum": 16
},
"scale_y": {
"type": "number",
"minimum": 0.01,
"maximum": 16
},
"rotate": {
"type": "number",
"minimum": -3600,
"maximum": 3600
},
"origin_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"origin_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"mirror_x": {
"type": "boolean"
},
"mirror_y": {
"type": "boolean"
}
}
},
"clip_path_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"material_ids": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
}
},
"metadata": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"x": {
"type": "integer",
"minimum": -100000,
"maximum": 100000
},
"y": {
"type": "integer",
"minimum": -100000,
"maximum": 100000
},
"width": {
"type": "integer",
"minimum": 1,
"maximum": 8192
},
"height": {
"type": "integer",
"minimum": 1,
"maximum": 8192
},
"columns": {
"type": "integer",
"minimum": 2,
"maximum": 8
},
"rows": {
"type": "integer",
"minimum": 2,
"maximum": 8
},
"colors": {
"minItems": 4,
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
}
}
},
"required": [
"type",
"id",
"x",
"y",
"width",
"height",
"columns",
"rows",
"colors"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "clip_path"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"parent_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"visible": {
"type": "boolean"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"darken",
"lighten",
"colour-dodge",
"colour-burn",
"hard-light",
"soft-light",
"difference",
"exclusion"
]
},
"transform": {
"type": "object",
"properties": {
"translate_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"translate_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"scale_x": {
"type": "number",
"minimum": 0.01,
"maximum": 16
},
"scale_y": {
"type": "number",
"minimum": 0.01,
"maximum": 16
},
"rotate": {
"type": "number",
"minimum": -3600,
"maximum": 3600
},
"origin_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"origin_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"mirror_x": {
"type": "boolean"
},
"mirror_y": {
"type": "boolean"
}
}
},
"clip_path_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"material_ids": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
}
},
"metadata": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"paths": {
"minItems": 1,
"maxItems": 16,
"type": "array",
"items": {
"type": "object",
"properties": {
"points": {
"minItems": 2,
"maxItems": 512,
"type": "array",
"items": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"in_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"in_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"out_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"out_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
}
},
"required": [
"x",
"y"
]
}
},
"closed": {
"type": "boolean"
}
},
"required": [
"points",
"closed"
]
}
},
"fill_rule": {
"type": "string",
"enum": [
"nonzero",
"evenodd"
]
}
},
"required": [
"type",
"id",
"paths"
]
}
]
},
"index": {
"type": "integer",
"minimum": 0,
"maximum": 1024
}
},
"required": [
"op",
"node"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "replace_node"
},
"node_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"node": {
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "group"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"parent_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"visible": {
"type": "boolean"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"darken",
"lighten",
"colour-dodge",
"colour-burn",
"hard-light",
"soft-light",
"difference",
"exclusion"
]
},
"transform": {
"type": "object",
"properties": {
"translate_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"translate_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"scale_x": {
"type": "number",
"minimum": 0.01,
"maximum": 16
},
"scale_y": {
"type": "number",
"minimum": 0.01,
"maximum": 16
},
"rotate": {
"type": "number",
"minimum": -3600,
"maximum": 3600
},
"origin_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"origin_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"mirror_x": {
"type": "boolean"
},
"mirror_y": {
"type": "boolean"
}
}
},
"clip_path_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"material_ids": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
}
},
"metadata": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"required": [
"type",
"id"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "bezier_shape"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"parent_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"visible": {
"type": "boolean"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"darken",
"lighten",
"colour-dodge",
"colour-burn",
"hard-light",
"soft-light",
"difference",
"exclusion"
]
},
"transform": {
"type": "object",
"properties": {
"translate_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"translate_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"scale_x": {
"type": "number",
"minimum": 0.01,
"maximum": 16
},
"scale_y": {
"type": "number",
"minimum": 0.01,
"maximum": 16
},
"rotate": {
"type": "number",
"minimum": -3600,
"maximum": 3600
},
"origin_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"origin_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"mirror_x": {
"type": "boolean"
},
"mirror_y": {
"type": "boolean"
}
}
},
"clip_path_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"material_ids": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
}
},
"metadata": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"paths": {
"minItems": 1,
"maxItems": 16,
"type": "array",
"items": {
"type": "object",
"properties": {
"points": {
"minItems": 2,
"maxItems": 512,
"type": "array",
"items": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"in_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"in_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"out_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"out_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
}
},
"required": [
"x",
"y"
]
}
},
"closed": {
"type": "boolean"
}
},
"required": [
"points",
"closed"
]
}
},
"fill_rule": {
"type": "string",
"enum": [
"nonzero",
"evenodd"
]
},
"fill": {
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "solid"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
}
},
"required": [
"type",
"color"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "linear_gradient"
},
"x1": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"y1": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"x2": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"y2": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"stops": {
"minItems": 2,
"maxItems": 16,
"type": "array",
"items": {
"type": "object",
"properties": {
"offset": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
}
},
"required": [
"offset",
"color"
]
}
}
},
"required": [
"type",
"x1",
"y1",
"x2",
"y2",
"stops"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "radial_gradient"
},
"cx": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"cy": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"radius": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 100000
},
"fx": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"fy": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"stops": {
"minItems": 2,
"maxItems": 16,
"type": "array",
"items": {
"type": "object",
"properties": {
"offset": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
}
},
"required": [
"offset",
"color"
]
}
}
},
"required": [
"type",
"cx",
"cy",
"radius",
"stops"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "texture"
},
"asset_id": {
"type": "string",
"minLength": 1
},
"fit": {
"type": "string",
"enum": [
"cover",
"contain",
"fill"
]
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"offset_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"offset_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"scale": {
"type": "number",
"minimum": 0.01,
"maximum": 64
},
"rotate": {
"type": "number",
"minimum": -3600,
"maximum": 3600
}
},
"required": [
"type",
"asset_id"
]
}
]
},
"stroke": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"line_cap": {
"type": "string",
"enum": [
"butt",
"round",
"square"
]
},
"line_join": {
"type": "string",
"enum": [
"miter",
"round",
"bevel"
]
},
"dash": {
"maxItems": 32,
"type": "array",
"items": {
"type": "number",
"minimum": 0,
"maximum": 8192
}
}
},
"required": [
"color",
"width"
]
},
"rough_boundary": {
"type": "object",
"properties": {
"amount": {
"type": "number",
"minimum": 0,
"maximum": 256
},
"passes": {
"type": "integer",
"minimum": 1,
"maximum": 8
}
},
"required": [
"amount"
]
}
},
"required": [
"type",
"id",
"paths"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "gradient_mesh"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"parent_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"visible": {
"type": "boolean"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"darken",
"lighten",
"colour-dodge",
"colour-burn",
"hard-light",
"soft-light",
"difference",
"exclusion"
]
},
"transform": {
"type": "object",
"properties": {
"translate_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"translate_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"scale_x": {
"type": "number",
"minimum": 0.01,
"maximum": 16
},
"scale_y": {
"type": "number",
"minimum": 0.01,
"maximum": 16
},
"rotate": {
"type": "number",
"minimum": -3600,
"maximum": 3600
},
"origin_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"origin_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"mirror_x": {
"type": "boolean"
},
"mirror_y": {
"type": "boolean"
}
}
},
"clip_path_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"material_ids": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
}
},
"metadata": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"x": {
"type": "integer",
"minimum": -100000,
"maximum": 100000
},
"y": {
"type": "integer",
"minimum": -100000,
"maximum": 100000
},
"width": {
"type": "integer",
"minimum": 1,
"maximum": 8192
},
"height": {
"type": "integer",
"minimum": 1,
"maximum": 8192
},
"columns": {
"type": "integer",
"minimum": 2,
"maximum": 8
},
"rows": {
"type": "integer",
"minimum": 2,
"maximum": 8
},
"colors": {
"minItems": 4,
"maxItems": 64,
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
}
}
},
"required": [
"type",
"id",
"x",
"y",
"width",
"height",
"columns",
"rows",
"colors"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "clip_path"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"parent_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"visible": {
"type": "boolean"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"darken",
"lighten",
"colour-dodge",
"colour-burn",
"hard-light",
"soft-light",
"difference",
"exclusion"
]
},
"transform": {
"type": "object",
"properties": {
"translate_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"translate_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"scale_x": {
"type": "number",
"minimum": 0.01,
"maximum": 16
},
"scale_y": {
"type": "number",
"minimum": 0.01,
"maximum": 16
},
"rotate": {
"type": "number",
"minimum": -3600,
"maximum": 3600
},
"origin_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"origin_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"mirror_x": {
"type": "boolean"
},
"mirror_y": {
"type": "boolean"
}
}
},
"clip_path_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"material_ids": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
}
},
"metadata": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"paths": {
"minItems": 1,
"maxItems": 16,
"type": "array",
"items": {
"type": "object",
"properties": {
"points": {
"minItems": 2,
"maxItems": 512,
"type": "array",
"items": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"in_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"in_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"out_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"out_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
}
},
"required": [
"x",
"y"
]
}
},
"closed": {
"type": "boolean"
}
},
"required": [
"points",
"closed"
]
}
},
"fill_rule": {
"type": "string",
"enum": [
"nonzero",
"evenodd"
]
}
},
"required": [
"type",
"id",
"paths"
]
}
]
}
},
"required": [
"op",
"node_id",
"node"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "remove_node"
},
"node_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"cascade": {
"type": "boolean"
}
},
"required": [
"op",
"node_id"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "move_node"
},
"node_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"parent_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"minimum": 0,
"maximum": 1024
}
},
"required": [
"op",
"node_id",
"index"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "set_transform"
},
"node_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"transform": {
"anyOf": [
{
"type": "object",
"properties": {
"translate_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"translate_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"scale_x": {
"type": "number",
"minimum": 0.01,
"maximum": 16
},
"scale_y": {
"type": "number",
"minimum": 0.01,
"maximum": 16
},
"rotate": {
"type": "number",
"minimum": -3600,
"maximum": 3600
},
"origin_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"origin_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"mirror_x": {
"type": "boolean"
},
"mirror_y": {
"type": "boolean"
}
}
},
{
"type": "null"
}
]
}
},
"required": [
"op",
"node_id",
"transform"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "add_material"
},
"material": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
},
"index": {
"type": "integer",
"minimum": 0,
"maximum": 256
}
},
"required": [
"op",
"material"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "replace_material"
},
"material_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"material": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
}
},
"required": [
"op",
"material_id",
"material"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "remove_material"
},
"material_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
}
},
"required": [
"op",
"material_id"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "duplicate_subtree"
},
"node_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"new_id_prefix": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
"parent_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"minimum": 0,
"maximum": 1024
},
"transform": {
"anyOf": [
{
"type": "object",
"properties": {
"translate_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"translate_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"scale_x": {
"type": "number",
"minimum": 0.01,
"maximum": 16
},
"scale_y": {
"type": "number",
"minimum": 0.01,
"maximum": 16
},
"rotate": {
"type": "number",
"minimum": -3600,
"maximum": 3600
},
"origin_x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"origin_y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"mirror_x": {
"type": "boolean"
},
"mirror_y": {
"type": "boolean"
}
}
},
{
"type": "null"
}
]
}
},
"required": [
"op",
"node_id",
"new_id_prefix"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "insert_system"
},
"declaration": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "botanical"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"bounds": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"width": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
},
"height": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
}
},
"required": [
"x",
"y",
"width",
"height"
]
},
"parameters": {
"type": "object",
"properties": {
"generations": {
"type": "integer",
"minimum": 1,
"maximum": 12
},
"branching": {
"type": "integer",
"minimum": 1,
"maximum": 3
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"branch_angle": {
"type": "number",
"minimum": 0,
"maximum": 180
},
"angle_jitter": {
"type": "number",
"minimum": 0,
"maximum": 90
},
"initial_length": {
"type": "number",
"minimum": 0.1,
"maximum": 100000
},
"length_decay": {
"type": "number",
"minimum": 0.1,
"maximum": 0.99
},
"initial_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"width_decay": {
"type": "number",
"minimum": 0.1,
"maximum": 0.99
},
"curvature": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"tropism": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"leaf_every": {
"type": "integer",
"minimum": 1,
"maximum": 12
},
"leaf_size": {
"type": "number",
"minimum": 0.1,
"maximum": 10000
},
"max_nodes": {
"type": "integer",
"minimum": 2,
"maximum": 1024
},
"stem_style": {
"type": "object",
"properties": {
"fill": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"materials": {
"maxItems": 8,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
}
}
}
},
"leaf_style": {
"type": "object",
"properties": {
"fill": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"materials": {
"maxItems": 8,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
}
}
}
}
},
"required": [
"generations",
"stem_style"
]
}
},
"required": [
"kind",
"id",
"seed",
"bounds",
"parameters"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "architecture"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"bounds": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"width": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
},
"height": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
}
},
"required": [
"x",
"y",
"width",
"height"
]
},
"parameters": {
"type": "object",
"properties": {
"bays": {
"type": "integer",
"minimum": 1,
"maximum": 128
},
"stories": {
"type": "integer",
"minimum": 1,
"maximum": 128
},
"horizontal_cadence": {
"minItems": 1,
"maxItems": 16,
"type": "array",
"items": {
"type": "number",
"minimum": 0.01,
"maximum": 100
}
},
"vertical_cadence": {
"minItems": 1,
"maxItems": 16,
"type": "array",
"items": {
"type": "number",
"minimum": 0.01,
"maximum": 100
}
},
"gutter": {
"type": "number",
"minimum": 0,
"maximum": 2048
},
"inset": {
"type": "number",
"minimum": 0,
"maximum": 0.49
},
"skew": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"perspective": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"arch_ratio": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"omission_rate": {
"type": "number",
"minimum": 0,
"maximum": 0.95
},
"variation": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"frame_style": {
"type": "object",
"properties": {
"fill": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"materials": {
"maxItems": 8,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
}
}
}
},
"opening_style": {
"type": "object",
"properties": {
"fill": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"materials": {
"maxItems": 8,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
}
}
}
}
},
"required": [
"bays",
"stories",
"frame_style"
]
}
},
"required": [
"kind",
"id",
"seed",
"bounds",
"parameters"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "clouds"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"bounds": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"width": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
},
"height": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
}
},
"required": [
"x",
"y",
"width",
"height"
]
},
"parameters": {
"type": "object",
"properties": {
"puff_count": {
"type": "integer",
"minimum": 1,
"maximum": 1023
},
"baseline": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"vertical_spread": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"radius_min": {
"type": "number",
"minimum": 0.1,
"maximum": 4096
},
"radius_max": {
"type": "number",
"minimum": 0.1,
"maximum": 4096
},
"elongation": {
"type": "number",
"minimum": 0.1,
"maximum": 10
},
"turbulence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"style": {
"type": "object",
"properties": {
"fill": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"materials": {
"maxItems": 8,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
}
}
}
}
},
"required": [
"puff_count",
"style"
]
}
},
"required": [
"kind",
"id",
"seed",
"bounds",
"parameters"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "constellations"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"bounds": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"width": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
},
"height": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
}
},
"required": [
"x",
"y",
"width",
"height"
]
},
"parameters": {
"type": "object",
"properties": {
"star_count": {
"type": "integer",
"minimum": 2,
"maximum": 512
},
"size_min": {
"type": "number",
"minimum": 0.1,
"maximum": 512
},
"size_max": {
"type": "number",
"minimum": 0.1,
"maximum": 4096
},
"clustering": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"minimum_spacing": {
"type": "number",
"minimum": 0,
"maximum": 4096
},
"connectivity": {
"type": "string",
"enum": [
"none",
"nearest",
"radius",
"mst"
]
},
"link_radius": {
"type": "number",
"minimum": 0.1,
"maximum": 100000
},
"maximum_degree": {
"type": "integer",
"minimum": 1,
"maximum": 16
},
"star_style": {
"type": "object",
"properties": {
"fill": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"materials": {
"maxItems": 8,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
}
}
}
},
"link_style": {
"type": "object",
"properties": {
"fill": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"materials": {
"maxItems": 8,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
}
}
}
}
},
"required": [
"star_count",
"star_style"
]
}
},
"required": [
"kind",
"id",
"seed",
"bounds",
"parameters"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "waves"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"bounds": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"width": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
},
"height": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
}
},
"required": [
"x",
"y",
"width",
"height"
]
},
"parameters": {
"type": "object",
"properties": {
"bands": {
"type": "integer",
"minimum": 1,
"maximum": 256
},
"samples": {
"type": "integer",
"minimum": 4,
"maximum": 512
},
"amplitude": {
"type": "number",
"minimum": 0,
"maximum": 100000
},
"wavelength": {
"type": "number",
"minimum": 0.1,
"maximum": 100000
},
"phase": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"direction": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"attenuation": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"turbulence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"closed_fill": {
"type": "boolean"
},
"style": {
"type": "object",
"properties": {
"fill": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"materials": {
"maxItems": 8,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
}
}
}
}
},
"required": [
"bands",
"samples",
"style"
]
}
},
"required": [
"kind",
"id",
"seed",
"bounds",
"parameters"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "terrain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"bounds": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"width": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
},
"height": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
}
},
"required": [
"x",
"y",
"width",
"height"
]
},
"parameters": {
"type": "object",
"properties": {
"columns": {
"type": "integer",
"minimum": 8,
"maximum": 256
},
"rows": {
"type": "integer",
"minimum": 8,
"maximum": 256
},
"levels": {
"minItems": 1,
"maxItems": 128,
"type": "array",
"items": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"frequency": {
"type": "number",
"minimum": 0.01,
"maximum": 100
},
"octaves": {
"type": "integer",
"minimum": 1,
"maximum": 8
},
"persistence": {
"type": "number",
"minimum": 0.01,
"maximum": 0.99
},
"lacunarity": {
"type": "number",
"minimum": 1.01,
"maximum": 8
},
"domain_warp": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"simplify": {
"type": "number",
"minimum": 0,
"maximum": 1000
},
"maximum_paths": {
"type": "integer",
"minimum": 1,
"maximum": 1023
},
"style": {
"type": "object",
"properties": {
"fill": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"materials": {
"maxItems": 8,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
}
}
}
}
},
"required": [
"columns",
"rows",
"levels",
"style"
]
}
},
"required": [
"kind",
"id",
"seed",
"bounds",
"parameters"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fabric"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"bounds": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"width": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
},
"height": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
}
},
"required": [
"x",
"y",
"width",
"height"
]
},
"parameters": {
"type": "object",
"properties": {
"folds": {
"type": "integer",
"minimum": 1,
"maximum": 256
},
"samples": {
"type": "integer",
"minimum": 4,
"maximum": 512
},
"direction": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"frequency": {
"type": "number",
"minimum": 0.01,
"maximum": 100
},
"amplitude": {
"type": "number",
"minimum": 0,
"maximum": 100000
},
"tension": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"warp": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"closed_bands": {
"type": "boolean"
},
"ridge_style": {
"type": "object",
"properties": {
"fill": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"materials": {
"maxItems": 8,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
}
}
}
},
"valley_style": {
"type": "object",
"properties": {
"fill": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"materials": {
"maxItems": 8,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
}
}
}
}
},
"required": [
"folds",
"samples",
"ridge_style"
]
}
},
"required": [
"kind",
"id",
"seed",
"bounds",
"parameters"
]
}
]
},
"parent_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"minimum": 0,
"maximum": 1024
}
},
"required": [
"op",
"declaration"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "regenerate_system"
},
"node_id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"declaration": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "botanical"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"bounds": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"width": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
},
"height": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
}
},
"required": [
"x",
"y",
"width",
"height"
]
},
"parameters": {
"type": "object",
"properties": {
"generations": {
"type": "integer",
"minimum": 1,
"maximum": 12
},
"branching": {
"type": "integer",
"minimum": 1,
"maximum": 3
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"branch_angle": {
"type": "number",
"minimum": 0,
"maximum": 180
},
"angle_jitter": {
"type": "number",
"minimum": 0,
"maximum": 90
},
"initial_length": {
"type": "number",
"minimum": 0.1,
"maximum": 100000
},
"length_decay": {
"type": "number",
"minimum": 0.1,
"maximum": 0.99
},
"initial_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"width_decay": {
"type": "number",
"minimum": 0.1,
"maximum": 0.99
},
"curvature": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"tropism": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"leaf_every": {
"type": "integer",
"minimum": 1,
"maximum": 12
},
"leaf_size": {
"type": "number",
"minimum": 0.1,
"maximum": 10000
},
"max_nodes": {
"type": "integer",
"minimum": 2,
"maximum": 1024
},
"stem_style": {
"type": "object",
"properties": {
"fill": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"materials": {
"maxItems": 8,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
}
}
}
},
"leaf_style": {
"type": "object",
"properties": {
"fill": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"materials": {
"maxItems": 8,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
}
}
}
}
},
"required": [
"generations",
"stem_style"
]
}
},
"required": [
"kind",
"id",
"seed",
"bounds",
"parameters"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "architecture"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"bounds": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"width": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
},
"height": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
}
},
"required": [
"x",
"y",
"width",
"height"
]
},
"parameters": {
"type": "object",
"properties": {
"bays": {
"type": "integer",
"minimum": 1,
"maximum": 128
},
"stories": {
"type": "integer",
"minimum": 1,
"maximum": 128
},
"horizontal_cadence": {
"minItems": 1,
"maxItems": 16,
"type": "array",
"items": {
"type": "number",
"minimum": 0.01,
"maximum": 100
}
},
"vertical_cadence": {
"minItems": 1,
"maxItems": 16,
"type": "array",
"items": {
"type": "number",
"minimum": 0.01,
"maximum": 100
}
},
"gutter": {
"type": "number",
"minimum": 0,
"maximum": 2048
},
"inset": {
"type": "number",
"minimum": 0,
"maximum": 0.49
},
"skew": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"perspective": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"arch_ratio": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"omission_rate": {
"type": "number",
"minimum": 0,
"maximum": 0.95
},
"variation": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"frame_style": {
"type": "object",
"properties": {
"fill": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"materials": {
"maxItems": 8,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
}
}
}
},
"opening_style": {
"type": "object",
"properties": {
"fill": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"materials": {
"maxItems": 8,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
}
}
}
}
},
"required": [
"bays",
"stories",
"frame_style"
]
}
},
"required": [
"kind",
"id",
"seed",
"bounds",
"parameters"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "clouds"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"bounds": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"width": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
},
"height": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
}
},
"required": [
"x",
"y",
"width",
"height"
]
},
"parameters": {
"type": "object",
"properties": {
"puff_count": {
"type": "integer",
"minimum": 1,
"maximum": 1023
},
"baseline": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"vertical_spread": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"radius_min": {
"type": "number",
"minimum": 0.1,
"maximum": 4096
},
"radius_max": {
"type": "number",
"minimum": 0.1,
"maximum": 4096
},
"elongation": {
"type": "number",
"minimum": 0.1,
"maximum": 10
},
"turbulence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"style": {
"type": "object",
"properties": {
"fill": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"materials": {
"maxItems": 8,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
}
}
}
}
},
"required": [
"puff_count",
"style"
]
}
},
"required": [
"kind",
"id",
"seed",
"bounds",
"parameters"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "constellations"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"bounds": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"width": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
},
"height": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
}
},
"required": [
"x",
"y",
"width",
"height"
]
},
"parameters": {
"type": "object",
"properties": {
"star_count": {
"type": "integer",
"minimum": 2,
"maximum": 512
},
"size_min": {
"type": "number",
"minimum": 0.1,
"maximum": 512
},
"size_max": {
"type": "number",
"minimum": 0.1,
"maximum": 4096
},
"clustering": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"minimum_spacing": {
"type": "number",
"minimum": 0,
"maximum": 4096
},
"connectivity": {
"type": "string",
"enum": [
"none",
"nearest",
"radius",
"mst"
]
},
"link_radius": {
"type": "number",
"minimum": 0.1,
"maximum": 100000
},
"maximum_degree": {
"type": "integer",
"minimum": 1,
"maximum": 16
},
"star_style": {
"type": "object",
"properties": {
"fill": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"materials": {
"maxItems": 8,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
}
}
}
},
"link_style": {
"type": "object",
"properties": {
"fill": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"materials": {
"maxItems": 8,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
}
}
}
}
},
"required": [
"star_count",
"star_style"
]
}
},
"required": [
"kind",
"id",
"seed",
"bounds",
"parameters"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "waves"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"bounds": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"width": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
},
"height": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
}
},
"required": [
"x",
"y",
"width",
"height"
]
},
"parameters": {
"type": "object",
"properties": {
"bands": {
"type": "integer",
"minimum": 1,
"maximum": 256
},
"samples": {
"type": "integer",
"minimum": 4,
"maximum": 512
},
"amplitude": {
"type": "number",
"minimum": 0,
"maximum": 100000
},
"wavelength": {
"type": "number",
"minimum": 0.1,
"maximum": 100000
},
"phase": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"direction": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"attenuation": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"turbulence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"closed_fill": {
"type": "boolean"
},
"style": {
"type": "object",
"properties": {
"fill": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"materials": {
"maxItems": 8,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
}
}
}
}
},
"required": [
"bands",
"samples",
"style"
]
}
},
"required": [
"kind",
"id",
"seed",
"bounds",
"parameters"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "terrain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"bounds": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"width": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
},
"height": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
}
},
"required": [
"x",
"y",
"width",
"height"
]
},
"parameters": {
"type": "object",
"properties": {
"columns": {
"type": "integer",
"minimum": 8,
"maximum": 256
},
"rows": {
"type": "integer",
"minimum": 8,
"maximum": 256
},
"levels": {
"minItems": 1,
"maxItems": 128,
"type": "array",
"items": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"frequency": {
"type": "number",
"minimum": 0.01,
"maximum": 100
},
"octaves": {
"type": "integer",
"minimum": 1,
"maximum": 8
},
"persistence": {
"type": "number",
"minimum": 0.01,
"maximum": 0.99
},
"lacunarity": {
"type": "number",
"minimum": 1.01,
"maximum": 8
},
"domain_warp": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"simplify": {
"type": "number",
"minimum": 0,
"maximum": 1000
},
"maximum_paths": {
"type": "integer",
"minimum": 1,
"maximum": 1023
},
"style": {
"type": "object",
"properties": {
"fill": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"materials": {
"maxItems": 8,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
}
}
}
}
},
"required": [
"columns",
"rows",
"levels",
"style"
]
}
},
"required": [
"kind",
"id",
"seed",
"bounds",
"parameters"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fabric"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"bounds": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"y": {
"type": "number",
"minimum": -100000,
"maximum": 100000
},
"width": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
},
"height": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 8192
}
},
"required": [
"x",
"y",
"width",
"height"
]
},
"parameters": {
"type": "object",
"properties": {
"folds": {
"type": "integer",
"minimum": 1,
"maximum": 256
},
"samples": {
"type": "integer",
"minimum": 4,
"maximum": 512
},
"direction": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"frequency": {
"type": "number",
"minimum": 0.01,
"maximum": 100
},
"amplitude": {
"type": "number",
"minimum": 0,
"maximum": 100000
},
"tension": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"warp": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"closed_bands": {
"type": "boolean"
},
"ridge_style": {
"type": "object",
"properties": {
"fill": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"materials": {
"maxItems": 8,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
}
}
}
},
"valley_style": {
"type": "object",
"properties": {
"fill": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"stroke_width": {
"type": "number",
"minimum": 0.1,
"maximum": 2048
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"materials": {
"maxItems": 8,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "paper"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grain"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "fibres"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 2048
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scratches"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
},
"density": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"length": {
"type": "number",
"minimum": 1,
"maximum": 4096
},
"width": {
"type": "number",
"minimum": 0.25,
"maximum": 64
},
"angle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"spread": {
"type": "number",
"minimum": 0,
"maximum": 360
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"kind",
"id",
"seed",
"color"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "registration_error"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"edge_noise": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"bleed_outside_shape": {
"type": "boolean"
},
"inks": {
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-f]{6}([0-9a-f]{2})?$"
},
"offset_x": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"offset_y": {
"type": "number",
"minimum": -128,
"maximum": 128
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "string",
"enum": [
"over",
"multiply",
"screen",
"overlay",
"soft-light"
]
}
},
"required": [
"color",
"offset_x",
"offset_y"
]
}
}
},
"required": [
"kind",
"id",
"seed",
"inks"
]
}
]
}
}
}
}
},
"required": [
"folds",
"samples",
"ridge_style"
]
}
},
"required": [
"kind",
"id",
"seed",
"bounds",
"parameters"
]
}
]
}
},
"required": [
"op",
"node_id",
"declaration"
]
}
]
}
},
"title": {
"type": "string",
"maxLength": 140
},
"label": {
"type": "string",
"maxLength": 200
},
"parent_version_id": {
"type": "string"
},
"idempotency_key": {
"type": "string",
"maxLength": 200
},
"branch_output_mode": {
"description": "Branches workspaces only, on artwork-producing tools. Defaults to publishable. draft_preview runs the exact normal priced render but retains a private utility version; choose it later with promote_branch_draft.",
"type": "string",
"enum": [
"publishable",
"draft_preview"
]
}
},
"required": [
"workspace_id",
"vector_scene_version_id",
"patches"
]
}