schema
stringclasses
471 values
key
stringlengths
0
203
description
stringlengths
0
4.37k
object
stringlengths
2
322k
minecraft-loot-table.json
value
The exact value.
{"type": "number"}
minecraft-loot-table.json
then
A random number following a uniform distribution between two values (inclusive).
{"properties": {"min": {"type": ["number", "object"]}, "max": {"type": ["number", "object"]}}}
minecraft-loot-table.json
min
The minimum value.
{"type": ["number", "object"]}
minecraft-loot-table.json
max
The maximum value.
{"type": ["number", "object"]}
minecraft-loot-table.json
then
A random number following a binomial distribution.
{"properties": {"n": {"type": ["integer", "object"]}, "p": {}}}
minecraft-loot-table.json
n
The amount of trials.
{"type": ["integer", "object"]}
minecraft-loot-table.json
p
The probability of success on an individual trial.
{}
minecraft-loot-table.json
then
A scoreboard value.
{"properties": {"target": {"type": ["string", "object"], "enum": ["this", "killer", "direct_killer", "player_killer"], "properties": {"type": {"type": "string", "enum": ["fixed", "context"]}}, "allOf": [{"if": {"properties": {"type": {"const": "fixed"}}}, "then": {"properties": {"name": {"type": "string"}}}}, {"if": {"properties": {"type": {"const": "context"}}}, "then": {"properties": {"target": {"type": "string", "enum": ["this", "killer", "direct_killer", "player_killer"]}}}}]}, "score": {"type": "string"}, "scale": {"type": "number"}}}
minecraft-loot-table.json
target
Scoreboard name provider.
{"type": ["string", "object"], "enum": ["this", "killer", "direct_killer", "player_killer"], "properties": {"type": {"type": "string", "enum": ["fixed", "context"]}}, "allOf": [{"if": {"properties": {"type": {"const": "fixed"}}}, "then": {"properties": {"name": {"type": "string"}}}}, {"if": {"properties": {"type": {"const": "context"}}}, "then": {"properties": {"target": {"type": "string", "enum": ["this", "killer", "direct_killer", "player_killer"]}}}}]}
minecraft-loot-table.json
type
Resource location.
{"type": "string", "enum": ["fixed", "context"]}
minecraft-loot-table.json
name
A UUID or player name.
{"type": "string"}
minecraft-loot-table.json
score
The scoreboard objective.
{"type": "string"}
minecraft-loot-table.json
scale
Scale to multiply the score before returning it.
{"type": "number"}
minecraft-loot-table.json
functions
Applies functions to all item stacks produced by this table. Functions are applied in order, so for example looting_enchant must be after set_count to work correctly.
{"type": "array", "items": {"type": "object", "additionalProperties": {"type": "object", "properties": {"function": {"type": "string"}, "conditions": {"type": "array", "items": {"type": "object", "additionalProperties": {"type": "object", "properties": {"condition": {"type": "string"}}}}}}}}}
minecraft-loot-table.json
additionalProperties
A function.
{"type": "object", "properties": {"function": {"type": "string"}, "conditions": {"type": "array", "items": {"type": "object", "additionalProperties": {"type": "object", "properties": {"condition": {"type": "string"}}}}}}}
minecraft-loot-table.json
function
Namespaced ID of the function to apply.
{"type": "string"}
minecraft-loot-table.json
conditions
Determines conditions for this function to be applied. If multiple conditions are specified, all must pass.
{"type": "array", "items": {"type": "object", "additionalProperties": {"type": "object", "properties": {"condition": {"type": "string"}}}}}
minecraft-loot-table.json
additionalProperties
A function.
{"type": "object", "properties": {"condition": {"type": "string"}}}
minecraft-loot-table.json
condition
Namespaced ID of condition.
{"type": "string"}
minecraft-loot-table.json
pools
A list of all pools for this loot table. Each pool used generates items from its list of items based on the number of rolls. Pools are applied in order.
{"type": "array", "items": {"type": "object", "properties": {"conditions": {"type": "array", "items": {"type": "object", "additionalProperties": {"properties": {"condition": {"type": "string"}}}}}, "functions": {"type": "array", "items": {"type": "object", "additionalProperties": {"properties": {"function": {"type": "string"}, "conditions": {"type": "array", "items": {"type": "object", "properties": {"condition": {"type": "string"}}}}}}}}, "rolls": {"type": ["integer", "object"]}, "bonus_rolls": {"type": ["number", "object"]}, "entries": {"type": "array", "items": {"type": "object", "properties": {"conditions": {"type": "array", "items": {"type": "object", "additionalProperties": {"properties": {"condition": {"type": "string"}}}}}, "functions": {"type": "array", "items": {"type": "object", "additionalProperties": {"properties": {"function": {"type": "string"}, "conditions": {"type": "array", "items": {"type": "object", "properties": {"condition": {"type": "string"}}}}}}}}, "type": {"type": "string", "enum": ["minecraft:item", "minecraft:tag", "minecraft:loot_table", "minecraft:group", "minecraft:alternatives", "minecraft:sequence", "minecraft:dynamic", "minecraft:empty"]}, "name": {"type": "string"}, "children": {"type": "array"}, "expand": {"type": "boolean"}, "weight": {"type": "integer"}, "quality": {"type": "integer"}}}}}}}
minecraft-loot-table.json
items
A pool.
{"type": "object", "properties": {"conditions": {"type": "array", "items": {"type": "object", "additionalProperties": {"properties": {"condition": {"type": "string"}}}}}, "functions": {"type": "array", "items": {"type": "object", "additionalProperties": {"properties": {"function": {"type": "string"}, "conditions": {"type": "array", "items": {"type": "object", "properties": {"condition": {"type": "string"}}}}}}}}, "rolls": {"type": ["integer", "object"]}, "bonus_rolls": {"type": ["number", "object"]}, "entries": {"type": "array", "items": {"type": "object", "properties": {"conditions": {"type": "array", "items": {"type": "object", "additionalProperties": {"properties": {"condition": {"type": "string"}}}}}, "functions": {"type": "array", "items": {"type": "object", "additionalProperties": {"properties": {"function": {"type": "string"}, "conditions": {"type": "array", "items": {"type": "object", "properties": {"condition": {"type": "string"}}}}}}}}, "type": {"type": "string", "enum": ["minecraft:item", "minecraft:tag", "minecraft:loot_table", "minecraft:group", "minecraft:alternatives", "minecraft:sequence", "minecraft:dynamic", "minecraft:empty"]}, "name": {"type": "string"}, "children": {"type": "array"}, "expand": {"type": "boolean"}, "weight": {"type": "integer"}, "quality": {"type": "integer"}}}}}}
minecraft-loot-table.json
conditions
Determines conditions for this pool to be used. If multiple conditions are specified, all must pass.
{"type": "array", "items": {"type": "object", "additionalProperties": {"properties": {"condition": {"type": "string"}}}}}
minecraft-loot-table.json
additionalProperties
A condition.
{"properties": {"condition": {"type": "string"}}}
minecraft-loot-table.json
condition
Namespaced ID of condition.
{"type": "string"}
minecraft-loot-table.json
functions
Applies functions to all item stacks produced by this pool. Functions are applied in order, so for example looting_enchant must be after set_count to work correctly.
{"type": "array", "items": {"type": "object", "additionalProperties": {"properties": {"function": {"type": "string"}, "conditions": {"type": "array", "items": {"type": "object", "properties": {"condition": {"type": "string"}}}}}}}}
minecraft-loot-table.json
additionalProperties
A function.
{"properties": {"function": {"type": "string"}, "conditions": {"type": "array", "items": {"type": "object", "properties": {"condition": {"type": "string"}}}}}}
minecraft-loot-table.json
function
Namespaced ID of the function to apply.
{"type": "string"}
minecraft-loot-table.json
conditions
Determines conditions for this function to be applied. If multiple conditions are specified, all must pass.
{"type": "array", "items": {"type": "object", "properties": {"condition": {"type": "string"}}}}
minecraft-loot-table.json
items
A condition.
{"type": "object", "properties": {"condition": {"type": "string"}}}
minecraft-loot-table.json
condition
Namespaced ID of condition.
{"type": "string"}
minecraft-loot-table.json
rolls
Specifies the number of rolls on the pool.
{"type": ["integer", "object"]}
minecraft-loot-table.json
bonus_rolls
Specifies the number of bonus rolls on the pool per point of luck. Rounded down after multiplying.
{"type": ["number", "object"]}
minecraft-loot-table.json
entries
A list of all things that can be produced by this pool. One entry is chosen per roll as a weighted random selection from all entries without failing conditions.
{"type": "array", "items": {"type": "object", "properties": {"conditions": {"type": "array", "items": {"type": "object", "additionalProperties": {"properties": {"condition": {"type": "string"}}}}}, "functions": {"type": "array", "items": {"type": "object", "additionalProperties": {"properties": {"function": {"type": "string"}, "conditions": {"type": "array", "items": {"type": "object", "properties": {"condition": {"type": "string"}}}}}}}}, "type": {"type": "string", "enum": ["minecraft:item", "minecraft:tag", "minecraft:loot_table", "minecraft:group", "minecraft:alternatives", "minecraft:sequence", "minecraft:dynamic", "minecraft:empty"]}, "name": {"type": "string"}, "children": {"type": "array"}, "expand": {"type": "boolean"}, "weight": {"type": "integer"}, "quality": {"type": "integer"}}}}
minecraft-loot-table.json
items
An entry.
{"type": "object", "properties": {"conditions": {"type": "array", "items": {"type": "object", "additionalProperties": {"properties": {"condition": {"type": "string"}}}}}, "functions": {"type": "array", "items": {"type": "object", "additionalProperties": {"properties": {"function": {"type": "string"}, "conditions": {"type": "array", "items": {"type": "object", "properties": {"condition": {"type": "string"}}}}}}}}, "type": {"type": "string", "enum": ["minecraft:item", "minecraft:tag", "minecraft:loot_table", "minecraft:group", "minecraft:alternatives", "minecraft:sequence", "minecraft:dynamic", "minecraft:empty"]}, "name": {"type": "string"}, "children": {"type": "array"}, "expand": {"type": "boolean"}, "weight": {"type": "integer"}, "quality": {"type": "integer"}}}
minecraft-loot-table.json
conditions
Determines conditions for this entry to be used. If multiple conditions are specified, all must pass.
{"type": "array", "items": {"type": "object", "additionalProperties": {"properties": {"condition": {"type": "string"}}}}}
minecraft-loot-table.json
additionalProperties
A condition.
{"properties": {"condition": {"type": "string"}}}
minecraft-loot-table.json
condition
Namespaced ID of condition.
{"type": "string"}
minecraft-loot-table.json
functions
Applies functions to the item stack or item stacks being produced. Functions are applied in order, so for example looting_enchant must be after set_count to work correctly.
{"type": "array", "items": {"type": "object", "additionalProperties": {"properties": {"function": {"type": "string"}, "conditions": {"type": "array", "items": {"type": "object", "properties": {"condition": {"type": "string"}}}}}}}}
minecraft-loot-table.json
additionalProperties
A function.
{"properties": {"function": {"type": "string"}, "conditions": {"type": "array", "items": {"type": "object", "properties": {"condition": {"type": "string"}}}}}}
minecraft-loot-table.json
function
Namespaced ID of the function to apply.
{"type": "string"}
minecraft-loot-table.json
conditions
Determines conditions for this function to be applied. If multiple conditions are specified, all must pass.
{"type": "array", "items": {"type": "object", "properties": {"condition": {"type": "string"}}}}
minecraft-loot-table.json
items
A condition.
{"type": "object", "properties": {"condition": {"type": "string"}}}
minecraft-loot-table.json
condition
Namespaced ID of condition.
{"type": "string"}
minecraft-loot-table.json
type
Namespaced ID type of entry.
{"type": "string", "enum": ["minecraft:item", "minecraft:tag", "minecraft:loot_table", "minecraft:group", "minecraft:alternatives", "minecraft:sequence", "minecraft:dynamic", "minecraft:empty"]}
minecraft-loot-table.json
expand
For type 'tag', if set to true, it chooses one item of the tag, each with the same weight and quality. If false, it generates one of each of the items in the tag.
{"type": "boolean"}
minecraft-loot-table.json
weight
Determines how often this entry is chosen out of all the entries in the pool. Entries with higher weights are used more often (chance is this entry's weight⁄total of all considered entries' weights).
{"type": "integer"}
minecraft-loot-table.json
quality
Modifies the entry's weight based on the killing/opening/fishing player's luck attribute. Formula is floor( weight + (quality * generic.luck)).
{"type": "integer"}
tokenlist.schema.json
Schema for lists of tokens compatible with the Uniswap Interface
{"$schema": "http://json-schema.org/draft-07/schema#", "definitions": {"Version": {"type": "object", "examples": [{"major": 1, "minor": 0, "patch": 0}], "additionalProperties": false, "properties": {"major": {"type": "integer", "minimum": 0, "examples": [1, 2]}, "minor": {"type": "integer", "minimum": 0, "examples": [0, 1]}, "patch": {"type": "integer", "minimum": 0, "examples": [0, 1]}}, "required": ["major", "minor", "patch"]}, "TagIdentifier": {"type": "string", "minLength": 1, "maxLength": 10, "pattern": "^[\\w]+$", "examples": ["compound", "stablecoin"]}, "ExtensionIdentifier": {"type": "string", "minLength": 1, "maxLength": 40, "pattern": "^[\\w]+$", "examples": ["color", "is_fee_on_transfer", "aliases"]}, "ExtensionMap": {"type": "object", "maxProperties": 10, "propertyNames": {}, "additionalProperties": {}, "examples": [{"color": "#000000", "is_verified_by_me": true}, {"x-bridged-addresses-by-chain": {"1": {"bridgeAddress": "0x4200000000000000000000000000000000000010", "tokenAddress": "0x4200000000000000000000000000000000000010"}}}]}, "ExtensionPrimitiveValue": {"anyOf": [{"type": "string", "minLength": 1, "maxLength": 42, "examples": ["#00000"]}, {"type": "boolean", "examples": [true]}, {"type": "number", "examples": [15]}, {"type": "null"}]}, "ExtensionValue": {"anyOf": [{}, {"type": "object", "maxProperties": 10, "propertyNames": {}, "additionalProperties": {}}]}, "ExtensionValueInner0": {"anyOf": [{}, {"type": "object", "maxProperties": 10, "propertyNames": {}, "additionalProperties": {}}]}, "ExtensionValueInner1": {"anyOf": [{}]}, "TagDefinition": {"type": "object", "additionalProperties": false, "properties": {"name": {"type": "string", "pattern": "^[ \\w]+$", "minLength": 1, "maxLength": 20}}, "required": ["name", "description"], "examples": [{"name": "Stablecoin"}]}, "TokenInfo": {"type": "object", "additionalProperties": false, "properties": {"chainId": {"type": "integer", "minimum": 1, "examples": [1, 42]}, "address": {"type": "string", "pattern": "^0x[a-fA-F0-9]{40}$", "examples": ["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"]}, "decimals": {"type": "integer", "minimum": 0, "maximum": 255, "examples": [18]}, "name": {"type": "string", "minLength": 0, "maxLength": 40, "anyOf": [{"const": ""}, {"pattern": "^[ \\S+]+$"}], "examples": ["USD Coin"]}, "symbol": {"type": "string", "minLength": 0, "maxLength": 20, "anyOf": [{"const": ""}, {"pattern": "^\\S+$"}], "examples": ["USDC"]}, "logoURI": {"type": "string", "format": "uri", "examples": ["ipfs://QmXfzKRvjZz3u5JRgC4v5mGVbm9ahrUiB4DgzHBsnWbTMM"]}, "tags": {"type": "array", "items": {}, "maxItems": 10, "examples": ["stablecoin", "compound"]}, "extensions": {}}, "required": ["chainId", "address", "decimals", "name", "symbol"]}}, "type": "object", "properties": {"name": {"type": "string", "minLength": 1, "maxLength": 30, "pattern": "^[\\w ]+$", "examples": ["My Token List"]}, "timestamp": {"type": "string", "format": "date-time"}, "version": {}, "tokens": {"type": "array", "items": {}, "minItems": 1, "maxItems": 10000}, "tokenMap": {"type": "object", "minProperties": 1, "maxProperties": 10000, "propertyNames": {"type": "string"}, "additionalProperties": {}, "examples": [{"4_0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984": {"name": "Uniswap", "address": "0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984", "symbol": "UNI", "decimals": 18, "chainId": 4, "logoURI": "ipfs://QmXttGpZrECX5qCyXbBQiqgQNytVGeZW5Anewvh2jc4psg"}}]}, "keywords": {"type": "array", "items": {"type": "string", "minLength": 1, "maxLength": 20, "pattern": "^[\\w ]+$", "examples": ["compound", "lending", "personal tokens"]}, "maxItems": 20, "uniqueItems": true}, "tags": {"type": "object", "propertyNames": {}, "additionalProperties": {}, "maxProperties": 20, "examples": [{"stablecoin": {"name": "Stablecoin"}}]}, "logoURI": {"type": "string", "format": "uri", "examples": ["ipfs://QmXfzKRvjZz3u5JRgC4v5mGVbm9ahrUiB4DgzHBsnWbTMM"]}}, "required": ["name", "timestamp", "version", "tokens"]}
tokenlist.schema.json
Version
The version of the list, used in change detection
{"type": "object", "examples": [{"major": 1, "minor": 0, "patch": 0}], "additionalProperties": false, "properties": {"major": {"type": "integer", "minimum": 0, "examples": [1, 2]}, "minor": {"type": "integer", "minimum": 0, "examples": [0, 1]}, "patch": {"type": "integer", "minimum": 0, "examples": [0, 1]}}, "required": ["major", "minor", "patch"]}
tokenlist.schema.json
major
The major version of the list. Must be incremented when tokens are removed from the list or token addresses are changed.
{"type": "integer", "minimum": 0, "examples": [1, 2]}
tokenlist.schema.json
minor
The minor version of the list. Must be incremented when tokens are added to the list.
{"type": "integer", "minimum": 0, "examples": [0, 1]}
tokenlist.schema.json
patch
The patch version of the list. Must be incremented for any changes to the list.
{"type": "integer", "minimum": 0, "examples": [0, 1]}
tokenlist.schema.json
TagIdentifier
The unique identifier of a tag
{"type": "string", "minLength": 1, "maxLength": 10, "pattern": "^[\\w]+$", "examples": ["compound", "stablecoin"]}
tokenlist.schema.json
ExtensionIdentifier
The name of a token extension property
{"type": "string", "minLength": 1, "maxLength": 40, "pattern": "^[\\w]+$", "examples": ["color", "is_fee_on_transfer", "aliases"]}
tokenlist.schema.json
ExtensionMap
An object containing any arbitrary or vendor-specific token metadata
{"type": "object", "maxProperties": 10, "propertyNames": {}, "additionalProperties": {}, "examples": [{"color": "#000000", "is_verified_by_me": true}, {"x-bridged-addresses-by-chain": {"1": {"bridgeAddress": "0x4200000000000000000000000000000000000010", "tokenAddress": "0x4200000000000000000000000000000000000010"}}}]}
tokenlist.schema.json
TagDefinition
Definition of a tag that can be associated with a token via its identifier
{"type": "object", "additionalProperties": false, "properties": {"name": {"type": "string", "pattern": "^[ \\w]+$", "minLength": 1, "maxLength": 20}}, "required": ["name", "description"], "examples": [{"name": "Stablecoin"}]}
tokenlist.schema.json
name
The name of the tag
{"type": "string", "pattern": "^[ \\w]+$", "minLength": 1, "maxLength": 20}
tokenlist.schema.json
description
A user-friendly description of the tag
{"type": "string", "pattern": "^[ \\w\\.,:]+$", "minLength": 1, "maxLength": 200}
tokenlist.schema.json
examples
A token with value pegged to another asset
{"name": "Stablecoin"}
tokenlist.schema.json
TokenInfo
Metadata for a single token in a token list
{"type": "object", "additionalProperties": false, "properties": {"chainId": {"type": "integer", "minimum": 1, "examples": [1, 42]}, "address": {"type": "string", "pattern": "^0x[a-fA-F0-9]{40}$", "examples": ["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"]}, "decimals": {"type": "integer", "minimum": 0, "maximum": 255, "examples": [18]}, "name": {"type": "string", "minLength": 0, "maxLength": 40, "anyOf": [{"const": ""}, {"pattern": "^[ \\S+]+$"}], "examples": ["USD Coin"]}, "symbol": {"type": "string", "minLength": 0, "maxLength": 20, "anyOf": [{"const": ""}, {"pattern": "^\\S+$"}], "examples": ["USDC"]}, "logoURI": {"type": "string", "format": "uri", "examples": ["ipfs://QmXfzKRvjZz3u5JRgC4v5mGVbm9ahrUiB4DgzHBsnWbTMM"]}, "tags": {"type": "array", "items": {}, "maxItems": 10, "examples": ["stablecoin", "compound"]}, "extensions": {}}, "required": ["chainId", "address", "decimals", "name", "symbol"]}
tokenlist.schema.json
chainId
The chain ID of the Ethereum network where this token is deployed
{"type": "integer", "minimum": 1, "examples": [1, 42]}
tokenlist.schema.json
address
The checksummed address of the token on the specified chain ID
{"type": "string", "pattern": "^0x[a-fA-F0-9]{40}$", "examples": ["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"]}
tokenlist.schema.json
decimals
The number of decimals for the token balance
{"type": "integer", "minimum": 0, "maximum": 255, "examples": [18]}
tokenlist.schema.json
name
The name of the token
{"type": "string", "minLength": 0, "maxLength": 40, "anyOf": [{"const": ""}, {"pattern": "^[ \\S+]+$"}], "examples": ["USD Coin"]}
tokenlist.schema.json
symbol
The symbol for the token
{"type": "string", "minLength": 0, "maxLength": 20, "anyOf": [{"const": ""}, {"pattern": "^\\S+$"}], "examples": ["USDC"]}
tokenlist.schema.json
logoURI
A URI to the token logo asset; if not set, interface will attempt to find a logo based on the token address; suggest SVG or PNG of size 64x64
{"type": "string", "format": "uri", "examples": ["ipfs://QmXfzKRvjZz3u5JRgC4v5mGVbm9ahrUiB4DgzHBsnWbTMM"]}
tokenlist.schema.json
tags
An array of tag identifiers associated with the token; tags are defined at the list level
{"type": "array", "items": {}, "maxItems": 10, "examples": ["stablecoin", "compound"]}
tokenlist.schema.json
name
The name of the token list
{"type": "string", "minLength": 1, "maxLength": 30, "pattern": "^[\\w ]+$", "examples": ["My Token List"]}
tokenlist.schema.json
timestamp
The timestamp of this list version; i.e. when this immutable version of the list was created
{"type": "string", "format": "date-time"}
tokenlist.schema.json
tokens
The list of tokens included in the list
{"type": "array", "items": {}, "minItems": 1, "maxItems": 10000}
tokenlist.schema.json
tokenMap
A mapping of key 'chainId_tokenAddress' to its corresponding token object
{"type": "object", "minProperties": 1, "maxProperties": 10000, "propertyNames": {"type": "string"}, "additionalProperties": {}, "examples": [{"4_0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984": {"name": "Uniswap", "address": "0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984", "symbol": "UNI", "decimals": 18, "chainId": 4, "logoURI": "ipfs://QmXttGpZrECX5qCyXbBQiqgQNytVGeZW5Anewvh2jc4psg"}}]}
tokenlist.schema.json
keywords
Keywords associated with the contents of the list; may be used in list discoverability
{"type": "array", "items": {"type": "string", "minLength": 1, "maxLength": 20, "pattern": "^[\\w ]+$", "examples": ["compound", "lending", "personal tokens"]}, "maxItems": 20, "uniqueItems": true}
tokenlist.schema.json
items
A keyword to describe the contents of the list
{"type": "string", "minLength": 1, "maxLength": 20, "pattern": "^[\\w ]+$", "examples": ["compound", "lending", "personal tokens"]}
tokenlist.schema.json
tags
A mapping of tag identifiers to their name and description
{"type": "object", "propertyNames": {}, "additionalProperties": {}, "maxProperties": 20, "examples": [{"stablecoin": {"name": "Stablecoin"}}]}
tokenlist.schema.json
stablecoin
A token with value pegged to another asset
{"name": "Stablecoin"}
tokenlist.schema.json
logoURI
A URI for the logo of the token list; prefer SVG or PNG of size 256x256
{"type": "string", "format": "uri", "examples": ["ipfs://QmXfzKRvjZz3u5JRgC4v5mGVbm9ahrUiB4DgzHBsnWbTMM"]}
theme.json
lightbox
Settings related to the lightbox behavior.
{"type": "object", "properties": {"enabled": {"type": "boolean", "default": false}, "animation": {"type": "string", "enum": ["fade", "zoom", ""]}}, "additionalProperties": false}
theme.json
enabled
Allow users to enable the lightbox behavior.
{"type": "boolean", "default": false}
theme.json
animation
Set lightbox animation. Possible values: `fade`, `zoom`, `''` (empty string).
{"type": "string", "enum": ["fade", "zoom", ""]}
theme.json
ref
A reference to another property value. e.g. `styles.color.text`
{"type": "string"}
theme.json
appearanceTools
Setting that enables the following UI tools: - border: color, radius, style, width - color: link - dimensions: minHeight - position: sticky - spacing: blockGap, margin, padding - typography: lineHeight
{"type": "boolean", "default": false}
theme.json
useRootPaddingAwareAlignments
_**Note:** Since WordPress 6.1._ Enables root padding (the values from `styles.spacing.padding`) to be applied to the contents of full-width blocks instead of the root block. Please note that when using this setting, `styles.spacing.padding` should always be set as an object with `top`, `right`, `bottom`, `left` values declared separately.
{"type": "boolean", "default": false}
theme.json
border
Settings related to borders.
{"type": "object", "properties": {"color": {"type": "boolean", "default": false}, "radius": {"type": "boolean", "default": false}, "style": {"type": "boolean", "default": false}, "width": {"type": "boolean", "default": false}}, "additionalProperties": false}
theme.json
color
Allow users to set custom border colors.
{"type": "boolean", "default": false}
theme.json
radius
Allow users to set custom border radius.
{"type": "boolean", "default": false}
theme.json
style
Allow users to set custom border styles.
{"type": "boolean", "default": false}
theme.json
width
Allow users to set custom border widths.
{"type": "boolean", "default": false}
theme.json
shadow
Settings related to shadows.
{"type": "object", "properties": {"defaultPresets": {"type": "boolean", "default": true}, "presets": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "slug": {"type": "string"}, "shadow": {"type": "string"}}, "required": ["name", "slug", "shadow"], "additionalProperties": false}}}, "additionalProperties": false}
theme.json
defaultPresets
Allow users to choose shadows from the default shadow presets.
{"type": "boolean", "default": true}
theme.json
presets
Shadow presets for the shadow picker. Generates a single custom property (`--wp--preset--shadow--{slug}`) per preset value.
{"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "slug": {"type": "string"}, "shadow": {"type": "string"}}, "required": ["name", "slug", "shadow"], "additionalProperties": false}}
theme.json
name
Name of the shadow preset, translatable.
{"type": "string"}
theme.json
slug
Kebab-case unique identifier for the shadow preset.
{"type": "string"}
theme.json
shadow
CSS box-shadow value
{"type": "string"}
theme.json
color
Settings related to colors.
{"type": "object", "properties": {"background": {"type": "boolean", "default": true}, "custom": {"type": "boolean", "default": true}, "customDuotone": {"type": "boolean", "default": true}, "customGradient": {"type": "boolean", "default": true}, "defaultDuotone": {"type": "boolean", "default": true}, "defaultGradients": {"type": "boolean", "default": true}, "defaultPalette": {"type": "boolean", "default": true}, "duotone": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "slug": {"type": "string"}, "colors": {"type": "array", "items": {"type": "string"}}}, "required": ["name", "slug", "colors"], "additionalProperties": false}}, "gradients": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "slug": {"type": "string"}, "gradient": {"type": "string"}}, "required": ["name", "slug", "gradient"], "additionalProperties": false}}, "link": {"type": "boolean", "default": false}, "palette": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "slug": {"type": "string"}, "color": {"type": "string"}}, "required": ["name", "slug", "color"], "additionalProperties": false}}, "text": {"type": "boolean", "default": true}}, "additionalProperties": false}
theme.json
background
Allow users to set background colors.
{"type": "boolean", "default": true}
theme.json
custom
Allow users to select custom colors.
{"type": "boolean", "default": true}
theme.json
customDuotone
Allow users to create custom duotone filters.
{"type": "boolean", "default": true}
theme.json
customGradient
Allow users to create custom gradients.
{"type": "boolean", "default": true}
theme.json
defaultDuotone
Allow users to choose filters from the default duotone filter presets.
{"type": "boolean", "default": true}
theme.json
defaultGradients
Allow users to choose colors from the default gradients.
{"type": "boolean", "default": true}