schema
stringclasses 471
values | key
stringlengths 0
203
| description
stringlengths 0
4.37k
| object
stringlengths 2
322k
|
---|---|---|---|
template.schema.json
|
fieldType
|
Format for column value
|
{"type": "string", "enum": ["string", "boolean", "numeric", "date", "severity"]}
|
template.schema.json
|
utc
|
Format date to UTC time
|
{"type": "boolean"}
|
template.schema.json
|
fieldGroup
|
Indicates if the column should be shown on basic or advance mode
|
{"type": "string", "enum": ["basic", "advanced"]}
|
template.schema.json
|
filterable
|
Indicates if the column is filterable
|
{"type": "boolean"}
|
template.schema.json
|
filterType
|
Format for column filter
|
{"type": "string", "enum": ["string", "boolean", "numeric", "date", "severity"]}
|
template.schema.json
|
width
|
Column initial width
|
{"type": "integer", "minimum": 1, "examples": [60, 120, 200]}
|
template.schema.json
|
minScreenSize
|
Column minimun screen size
|
{"type": "string", "enum": ["xs", "s", "m", "l"]}
|
template.schema.json
|
pageSize
|
Rows number for each page
|
{"type": "number", "minimum": 2, "maximum": 10, "examples": [6, 7, 9]}
|
template.schema.json
|
filterable
|
Indicates if the columns should have filters
|
{"type": "boolean"}
|
template.schema.json
|
representationMetricConfigDef
|
Specific configuration for metric widget representation
|
{"type": "object", "properties": {"url": {"type": "string", "examples": ["http://${device[origin]}"]}, "titleEnabled": {"type": "boolean"}, "urlEnabled": {"type": "boolean"}, "lastUpdateEnabled": {"type": "boolean"}}, "additionalProperties": false}
|
template.schema.json
|
url
|
Define url to opened on click event
|
{"type": "string", "examples": ["http://${device[origin]}"]}
|
template.schema.json
|
titleEnabled
|
Indicate if tittle should be shown
|
{"type": "boolean"}
|
template.schema.json
|
urlEnabled
|
Indicate if event click must be enable
|
{"type": "boolean"}
|
template.schema.json
|
lastUpdateEnabled
|
Indicate if timestamp should be shown
|
{"type": "boolean"}
|
template.schema.json
|
representationGaugeConfigDef
|
Specific configuration for gauge widget representation
|
{"type": "object", "properties": {"format": {"type": "array", "items": {"type": "object", "properties": {"datapoint": {}, "color": {"type": "string", "default": "#45A5F5"}, "units": {"type": "string", "examples": ["Mb/s", "%", "m/s"]}}, "additionalProperties": true, "required": ["datapoint"]}, "minItems": 1}, "maxValue": {"type": "number", "examples": [6, 72, 90]}, "minValue": {"type": "number"}, "ranges": {"type": "array", "items": {"type": "object", "properties": {"from": {"type": "integer"}, "to": {"type": "integer"}, "severity": {"type": "integer"}}, "additionalProperties": false, "required": ["from", "to", "severity"]}}}, "additionalProperties": true, "required": ["format", "maxValue", "minValue"]}
|
template.schema.json
|
format
|
Representation for each gauge value
|
{"type": "array", "items": {"type": "object", "properties": {"datapoint": {}, "color": {"type": "string", "default": "#45A5F5"}, "units": {"type": "string", "examples": ["Mb/s", "%", "m/s"]}}, "additionalProperties": true, "required": ["datapoint"]}, "minItems": 1}
|
template.schema.json
|
items
|
value configuration
|
{"type": "object", "properties": {"datapoint": {}, "color": {"type": "string", "default": "#45A5F5"}, "units": {"type": "string", "examples": ["Mb/s", "%", "m/s"]}}, "additionalProperties": true, "required": ["datapoint"]}
|
template.schema.json
|
color
|
Color to display the value
|
{"type": "string", "default": "#45A5F5"}
|
template.schema.json
|
units
|
Color to display the value
|
{"type": "string", "examples": ["Mb/s", "%", "m/s"]}
|
template.schema.json
|
maxValue
|
Define the gauge maximum value
|
{"type": "number", "examples": [6, 72, 90]}
|
template.schema.json
|
minValue
|
Define the gauge minimum value
|
{"type": "number"}
|
template.schema.json
|
ranges
|
Value ranges representation
|
{"type": "array", "items": {"type": "object", "properties": {"from": {"type": "integer"}, "to": {"type": "integer"}, "severity": {"type": "integer"}}, "additionalProperties": false, "required": ["from", "to", "severity"]}}
|
template.schema.json
|
items
|
Gauge range definition
|
{"type": "object", "properties": {"from": {"type": "integer"}, "to": {"type": "integer"}, "severity": {"type": "integer"}}, "additionalProperties": false, "required": ["from", "to", "severity"]}
|
template.schema.json
|
from
|
First value of the range
|
{"type": "integer"}
|
template.schema.json
|
to
|
Last value of the range
|
{"type": "integer"}
|
template.schema.json
|
severity
|
Severity of the range
|
{"type": "integer"}
|
template.schema.json
|
representationCommonConfigDef
|
Common fields for grid representation
|
{"type": "object", "properties": {"firstRow": {"type": "integer", "minimum": 1, "examples": [1, 3, 4], "errorMessage": "First row should be a number greater than 1"}, "firstColumn": {"type": "integer", "minimum": 1, "maximum": 8, "examples": [1, 4, 5], "errorMessage": "First column should be a number between 1 and 8"}, "widgetWidth": {"type": "integer", "minimum": 1, "maximum": 8, "examples": [2, 4, 6], "errorMessage": "Widget width should be a number between 1 and 8"}, "widgetHeight": {"type": "integer", "minimum": 1, "examples": [5, 2, 3], "errorMessage": "Widget height should be a number greater than 1"}, "widgetType": {"type": "string", "enum": ["map", "table", "metric", "gauge"], "examples": ["map", "table"], "errorMessage": "Widget type should be one of the following options: map, table, metric, gauge"}, "widgetTitle": {"type": "string", "minLength": 1, "maxLength": 800, "examples": ["Device Info", "PNIO-Fault"], "errorMessage": "Widget title should be a string of at least one character and maximum 800 characters"}}, "required": ["firstRow", "firstColumn", "widgetWidth", "widgetHeight", "widgetType", "widgetTitle"]}
|
template.schema.json
|
firstRow
|
Define de position of the widget, first row
|
{"type": "integer", "minimum": 1, "examples": [1, 3, 4], "errorMessage": "First row should be a number greater than 1"}
|
template.schema.json
|
firstColumn
|
Define de position of the widget, first column
|
{"type": "integer", "minimum": 1, "maximum": 8, "examples": [1, 4, 5], "errorMessage": "First column should be a number between 1 and 8"}
|
template.schema.json
|
widgetWidth
|
Define de size of the widget, width
|
{"type": "integer", "minimum": 1, "maximum": 8, "examples": [2, 4, 6], "errorMessage": "Widget width should be a number between 1 and 8"}
|
template.schema.json
|
widgetHeight
|
Define de size of the widget, height
|
{"type": "integer", "minimum": 1, "examples": [5, 2, 3], "errorMessage": "Widget height should be a number greater than 1"}
|
template.schema.json
|
widgetType
|
Select widget type
|
{"type": "string", "enum": ["map", "table", "metric", "gauge"], "examples": ["map", "table"], "errorMessage": "Widget type should be one of the following options: map, table, metric, gauge"}
|
template.schema.json
|
widgetTitle
|
Text for widget title
|
{"type": "string", "minLength": 1, "maxLength": 800, "examples": ["Device Info", "PNIO-Fault"], "errorMessage": "Widget title should be a string of at least one character and maximum 800 characters"}
|
template.schema.json
|
representationDef
|
What, where and how information show in device view
|
{"type": "object", "properties": {"data": {}, "commonConfig": {}}, "allOf": [{"if": {"properties": {"commonConfig": {"type": "object", "properties": {"widgetType": {"const": "map"}}}}, "required": ["commonConfig"]}, "then": {"properties": {"data": {}, "commonConfig": {}, "specificConfig": {}}, "required": ["data", "commonConfig", "specificConfig"]}}, {"if": {"properties": {"commonConfig": {"type": "object", "properties": {"widgetType": {"const": "table"}}}}}, "then": {"properties": {"data": {}, "commonConfig": {}, "specificConfig": {}}, "required": ["data", "commonConfig", "specificConfig"]}}, {"if": {"properties": {"commonConfig": {"type": "object", "properties": {"widgetType": {"const": "metric"}}}}}, "then": {"properties": {"data": {}, "commonConfig": {}, "specificConfig": {}}, "required": ["data", "commonConfig", "specificConfig"]}}, {"if": {"properties": {"commonConfig": {"type": "object", "properties": {"widgetType": {"const": "gauge"}}}}, "required": ["commonConfig"]}, "then": {"properties": {"data": {}, "commonConfig": {}, "specificConfig": {}}, "required": ["data", "commonConfig", "specificConfig"]}}]}
|
template.schema.json
|
alias
|
Alias name for the template
|
{"type": "string", "examples": ["SCALANCE XC-200", "SCALANCE X-200"], "minLength": 1, "maxLength": 80, "errorMessage": "Should be a string of at least one character and less than 80 characters"}
|
template.schema.json
|
originTypes
|
Origin types (drivers)
|
{"type": "array", "items": {}, "minItems": 1, "uniqueItems": true, "errorMessage": "Should be a array and have at least one entry"}
|
codeship-steps.json
|
codeship-steps.yml is where you configure each step to run in your CI/CD builds with CodeShip.
|
{"$schema": "http://json-schema.org/draft-07/schema#", "definitions": {"ExternalStep": {"properties": {"name": {"type": "string"}, "type": {"type": "string", "enum": [null, "run", "serial", "push", "parallel", "load", "manual"]}, "tag": {"type": "string"}, "exclude": {"type": "string"}, "service": {"type": "string"}, "services": {"items": {"type": "string"}, "type": "array"}, "command": {"type": "string"}, "steps": {"items": {}, "type": "array"}, "image_name": {"type": "string"}, "image_tag": {"default": "latest", "type": "string"}, "registry": {"type": "string"}, "encrypted_dockercfg_path": {"type": "string"}, "dockercfg_service": {"type": "string"}, "on_fail": {"items": {}, "type": "array"}}, "if": {"properties": {"type": {"anyOf": [{"const": "run"}, {"type": "null"}]}}}, "then": {"properties": {"steps": {"type": "null"}, "image_name": {"type": "null"}, "image_tag": {"type": "null"}, "registry": {"type": "null"}}, "required": ["command"]}, "else": {"if": {"properties": {"type": {"const": "push"}}}, "then": {"properties": {"command": {"type": "null"}, "steps": {"type": "null"}}, "required": ["image_name", "registry"]}, "else": {"if": {"properties": {"type": {"anyOf": [{"const": "serial"}, {"const": "parallel"}, {"const": "manual"}]}}}, "then": {"properties": {"command": {"type": "null"}, "image_name": {"type": "null"}, "image_tag": {"type": "null"}, "registry": {"type": "null"}}, "required": ["steps"]}}}, "type": "object", "additionalProperties": false}}, "items": {}, "type": "array"}
|
|
codeship-steps.json
|
ExternalStep
|
The definition of a step
|
{"properties": {"name": {"type": "string"}, "type": {"type": "string", "enum": [null, "run", "serial", "push", "parallel", "load", "manual"]}, "tag": {"type": "string"}, "exclude": {"type": "string"}, "service": {"type": "string"}, "services": {"items": {"type": "string"}, "type": "array"}, "command": {"type": "string"}, "steps": {"items": {}, "type": "array"}, "image_name": {"type": "string"}, "image_tag": {"default": "latest", "type": "string"}, "registry": {"type": "string"}, "encrypted_dockercfg_path": {"type": "string"}, "dockercfg_service": {"type": "string"}, "on_fail": {"items": {}, "type": "array"}}, "if": {"properties": {"type": {"anyOf": [{"const": "run"}, {"type": "null"}]}}}, "then": {"properties": {"steps": {"type": "null"}, "image_name": {"type": "null"}, "image_tag": {"type": "null"}, "registry": {"type": "null"}}, "required": ["command"]}, "else": {"if": {"properties": {"type": {"const": "push"}}}, "then": {"properties": {"command": {"type": "null"}, "steps": {"type": "null"}}, "required": ["image_name", "registry"]}, "else": {"if": {"properties": {"type": {"anyOf": [{"const": "serial"}, {"const": "parallel"}, {"const": "manual"}]}}}, "then": {"properties": {"command": {"type": "null"}, "image_name": {"type": "null"}, "image_tag": {"type": "null"}, "registry": {"type": "null"}}, "required": ["steps"]}}}, "type": "object", "additionalProperties": false}
|
codeship-steps.json
|
name
|
The name of the step. Can be omitted.
|
{"type": "string"}
|
codeship-steps.json
|
type
|
The type of the step. If omitted, defaults to 'run'
|
{"type": "string", "enum": [null, "run", "serial", "push", "parallel", "load", "manual"]}
|
codeship-steps.json
|
tag
|
A pattern matching tags or branches this step and any of its children should be run against. Defaults to always running.
|
{"type": "string"}
|
codeship-steps.json
|
exclude
|
A pattern matching tags or branches on which this step should NOT be run. Defaults to empty.
|
{"type": "string"}
|
codeship-steps.json
|
service
|
The service name defined in codeship-services.yml this step will run on
|
{"type": "string"}
|
codeship-steps.json
|
services
|
A list of service names defined in codeship-services.yml that will be used for this step.
|
{"items": {"type": "string"}, "type": "array"}
|
codeship-steps.json
|
command
|
The command to be run in this step. Required with and can only be used with the 'run' type or no specified type
|
{"type": "string"}
|
codeship-steps.json
|
steps
|
A list of steps to run within this step or on_fail group. Cannot be used with 'run', 'push', or 'load' steps
|
{"items": {}, "type": "array"}
|
codeship-steps.json
|
image_name
|
The image name this push step should push to. Required with and only used by the push step
|
{"type": "string"}
|
codeship-steps.json
|
image_tag
|
The image tag this push step should push to. See https://docs.cloudbees.com/docs/cloudbees-codeship/latest/pro-builds-and-configuration/steps#_push_steps for details. Only used by the push step
|
{"default": "latest", "type": "string"}
|
codeship-steps.json
|
registry
|
The image registry this push step should push to. For Docker Hub, use https://registry-1.docker.io. Required with and only used by the push step
|
{"type": "string"}
|
codeship-steps.json
|
encrypted_dockercfg_path
|
The location of a Docker configuration file encrypted by Jet to be used with this step. Optional.
|
{"type": "string"}
|
codeship-steps.json
|
dockercfg_service
|
The name of a service defined in codeship-services.yml that provides the Docker configuration. Optional.
|
{"type": "string"}
|
codeship-steps.json
|
on_fail
|
An optional list of steps to run if this step fails.
|
{"items": {}, "type": "array"}
|
plagiarize.json
|
plagiarize.yaml configuration schema
|
{"$schema": "http://json-schema.org/draft-04/schema#", "id": "https://json.schemastore.org/plagiarize", "properties": {"repo": {"required": ["url"], "type": "object", "properties": {"url": {"type": "string"}, "checkout": {"type": "string"}}}, "strings": {"type": "object", "additionalProperties": {"type": ["string", "integer", "boolean"]}, "required": ["project"], "properties": {"project": {"type": "string"}}}, "vars": {"type": "object", "additionalProperties": {"type": ["string", "integer", "boolean"]}}}, "required": ["repo", "strings"], "type": "object"}
|
|
plagiarize.json
|
repo
|
Configuration for strings, files, and file paths to replace in target file
|
{"required": ["url"], "type": "object", "properties": {"url": {"type": "string"}, "checkout": {"type": "string"}}}
|
plagiarize.json
|
url
|
Git url of project to plagiarize
|
{"type": "string"}
|
plagiarize.json
|
checkout
|
Branch, tag, or commit to checkout from project to be plagiarized
|
{"type": "string"}
|
plagiarize.json
|
strings
|
Strings to find in target project and be replaced with plagiarized project's values
|
{"type": "object", "additionalProperties": {"type": ["string", "integer", "boolean"]}, "required": ["project"], "properties": {"project": {"type": "string"}}}
|
plagiarize.json
|
vars
|
Variables available to be used for finding and replacing by variable name. For example `$var_name: hello` would replace string '$var_name' with 'hello' in target project
|
{"type": "object", "additionalProperties": {"type": ["string", "integer", "boolean"]}}
|
minecraft-item-modifier.json
|
Configuration file defining an item modifier for a data pack for Minecraft.
|
{"$schema": "http://json-schema.org/draft-07/schema#", "definitions": {"slotEnum": {"enum": ["mainhand", "offhand", "feet", "legs", "chest", "head"]}, "numberProvider": {"properties": {"type": {"type": "string", "enum": ["minecraft:constant", "minecraft:uniform", "minecraft:binomial", "minecraft:score"]}}, "allOf": [{"if": {"properties": {"type": {"const": "minecraft:constant"}}}, "then": {"properties": {"value": {"type": "number"}}}}, {"if": {"properties": {"type": {"const": "minecraft:uniform"}}}, "then": {"properties": {"min": {"type": ["number", "object"]}, "max": {"type": ["number", "object"]}}}}, {"if": {"properties": {"type": {"const": "minecraft:binomial"}}}, "then": {"properties": {"n": {"type": ["integer", "object"]}, "p": {}}}}, {"if": {"properties": {"type": {"const": "minecraft:score"}}}, "then": {"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"}}}}]}}, "items": {"properties": {"function": {"type": "string", "enum": ["minecraft:apply_bonus", "minecraft:copy_name", "minecraft:copy_nbt", "minecraft:copy_state", "minecraft:enchant_randomly", "minecraft:enchant_with_levels", "minecraft:exploration_map", "minecraft:explosion_decay", "minecraft:furnace_smelt", "minecraft:fill_player_head", "minecraft:limit_count", "minecraft:looting_enchant", "minecraft:set_attributes", "minecraft:set_banner_pattern", "minecraft:set_contents", "minecraft:set_count", "minecraft:set_damage", "minecraft:set_enchantments", "minecraft:set_loot_table", "minecraft:set_lore", "minecraft:set_name", "minecraft:set_nbt", "minecraft:set_stew_effect"]}}, "allOf": [{"if": {"properties": {"function": {"const": "minecraft:apply_bonus"}}}, "then": {"type": "object", "properties": {"enchantment": {"type": "string"}, "formula": {"type": "string", "enum": ["binomial_with_bonus_count", "uniform_bonus_count", "ore_drops"]}, "parameters": {"type": "object", "properties": {"extra": {"type": "integer"}, "probability": {"type": "number"}, "bonusMultiplier": {"type": "number"}}}}}}, {"if": {"properties": {"function": {"const": "minecraft:copy_name"}}}, "then": {"type": "object", "properties": {"source": {"type": "string", "enum": ["block_entity"], "default": "block_entity"}}}}, {"if": {"properties": {"function": {"const": "minecraft:copy_nbt"}}}, "then": {"type": "object", "properties": {"source": {"anyOf": [{"type": "string", "enum": ["block_entity", "this", "killer", "killer_player"]}, {"type": "string"}, {"type": "object", "properties": {"type": {"type": "string", "enum": ["minecraft:context", "minecraft:storage"]}}, "allOf": [{"if": {"properties": {"type": {"const": "minecraft:context"}}}, "then": {"properties": {"target": {"type": "string"}}}}, {"if": {"properties": {"type": {"const": "minecraft:storage"}}}, "then": {"properties": {"target": {"type": "string"}}}}]}]}, "ops": {"type": "array", "items": {"type": "object", "properties": {"source": {"type": "string"}, "target": {"type": "string"}, "op": {"type": "string"}}}}}}}, {"if": {"properties": {"function": {"const": "minecraft:copy_state"}}}, "then": {"properties": {"block": {"type": "string"}, "properties": {"type": "array", "items": {"type": "string"}}}}}, {"if": {"properties": {"function": {"const": "minecraft:enchant_randomly"}}}, "then": {"properties": {"enchantments": {"type": "array"}}}}, {"if": {"properties": {"function": {"const": "minecraft:enchant_with_levels"}}}, "then": {"properties": {"treasure": {"type": "boolean"}, "levels": {"type": ["integer", "object"]}}}}, {"if": {"properties": {"function": {"const": "minecraft:exploration_map"}}}, "then": {"properties": {"destination": {"type": "string"}, "decoration": {"type": "string"}, "zoom": {"type": "integer", "default": 2}, "search_radius": {"type": "integer", "default": 50}, "skip_existing_chunks": {"type": "boolean", "default": true}}}}, {"if": {"properties": {"function": {"const": "minecraft:explosion_decay"}}}, "then": {}}, {"if": {"properties": {"function": {"const": "minecraft:furnace_smelt"}}}, "then": {}}, {"if": {"properties": {"function": {"const": "minecraft:fill_player_head"}}}, "then": {"properties": {"entity": {"type": "string"}}}}, {"if": {"properties": {"function": {"const": "minecraft:limit_count"}}}, "then": {"properties": {"limit": {"type": ["integer", "object"], "properties": {"min": {"type": ["integer", "object"]}, "max": {"type": ["integer", "object"]}}}}}}, {"if": {"properties": {"function": {"const": "minecraft:looting_enchant"}}}, "then": {"properties": {"count": {"type": ["integer", "object"]}, "limit": {"type": "integer"}}}}, {"if": {"properties": {"function": {"const": "minecraft:set_attributes"}}}, "then": {"properties": {"modifiers": {"type": "array", "items": {"type": "object", "additionalProperties": {"properties": {"name": {"type": "string"}, "attribute": {"type": "string"}, "operation": {"type": "string", "enum": ["addition", "multiply_base", "multiply_total"]}, "amount": {"type": ["number", "object"]}, "id": {"type": "string"}, "slot": {"type": ["string", "array"], "items": {"type": "string"}}}}}}}}}, {"if": {"properties": {"function": {"const": "minecraft:set_banner_pattern"}}}, "then": {"properties": {"patterns": {"type": "array", "items": {"type": "object", "additionalProperties": {"type": "object", "properties": {"pattern": {"type": "string"}, "color": {"type": "string", "enum": ["white", "orange", "magenta", "light_blue", "yellow", "lime", "pink", "gray", "light_gray", "cyan", "purple", "blue", "brown", "green", "red", "black"]}}}}}, "append": {"type": "boolean"}}}}, {"if": {"properties": {"function": {"const": "minecraft:set_contents"}}}, "then": {"properties": {"entries": {"type": "array"}}}}, {"if": {"properties": {"function": {"const": "minecraft:set_count"}}}, "then": {"properties": {"count": {"type": ["integer", "object"]}, "add": {"type": "boolean"}}}}, {"if": {"properties": {"function": {"const": "minecraft:set_damage"}}}, "then": {"properties": {"damage": {"type": ["number", "object"]}, "add": {"type": "boolean"}}}}, {"if": {"properties": {"function": {"const": "minecraft:set_enchantments"}}}, "then": {"properties": {"enchantments": {"type": "object", "additionalProperties": {"type": ["integer", "object"]}}, "add": {"type": "boolean"}}}}, {"if": {"properties": {"function": {"const": "minecraft:set_loot_table"}}}, "then": {"properties": {"name": {"type": "string"}, "seed": {"type": "integer"}}}}, {"if": {"properties": {"function": {"const": "minecraft:set_lore"}}}, "then": {"properties": {"lore": {"type": "array", "items": {"type": "object"}}, "entity": {"type": "string"}, "replace": {"type": "boolean"}}}}, {"if": {"properties": {"function": {"const": "minecraft:set_name"}}}, "then": {"properties": {"name": {"type": ["array", "object", "string"]}, "entity": {"type": "string"}}}}, {"if": {"properties": {"function": {"const": "minecraft:set_nbt"}}}, "then": {"properties": {"tag": {"type": "string"}}}}, {"if": {"properties": {"function": {"const": "minecraft:set_stew_effect"}}}, "then": {"properties": {"effects": {"type": "array", "items": {"type": "object", "additionalProperties": {"type": "object", "properties": {"type": {"type": "string"}, "duration": {"type": ["integer", "object"]}}}}}}}}]}, "type": "array"}
|
|
minecraft-item-modifier.json
|
type
|
The number provider type.
|
{"type": "string", "enum": ["minecraft:constant", "minecraft:uniform", "minecraft:binomial", "minecraft:score"]}
|
minecraft-item-modifier.json
|
then
|
A constant value.
|
{"properties": {"value": {"type": "number"}}}
|
minecraft-item-modifier.json
|
value
|
The exact value.
|
{"type": "number"}
|
minecraft-item-modifier.json
|
then
|
A random number following a uniform distribution between two values (inclusive).
|
{"properties": {"min": {"type": ["number", "object"]}, "max": {"type": ["number", "object"]}}}
|
minecraft-item-modifier.json
|
min
|
The minimum value.
|
{"type": ["number", "object"]}
|
minecraft-item-modifier.json
|
max
|
The maximum value.
|
{"type": ["number", "object"]}
|
minecraft-item-modifier.json
|
then
|
A random number following a binomial distribution.
|
{"properties": {"n": {"type": ["integer", "object"]}, "p": {}}}
|
minecraft-item-modifier.json
|
n
|
The amount of trials.
|
{"type": ["integer", "object"]}
|
minecraft-item-modifier.json
|
p
|
The probability of success on an individual trial.
|
{}
|
minecraft-item-modifier.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-item-modifier.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-item-modifier.json
|
type
|
Resource location.
|
{"type": "string", "enum": ["fixed", "context"]}
|
minecraft-item-modifier.json
|
name
|
A UUID or player name.
|
{"type": "string"}
|
minecraft-item-modifier.json
|
score
|
The scoreboard objective.
|
{"type": "string"}
|
minecraft-item-modifier.json
|
scale
|
Scale to multiply the score before returning it.
|
{"type": "number"}
|
minecraft-item-modifier.json
|
function
|
Namespaced ID of the function to apply.
|
{"type": "string", "enum": ["minecraft:apply_bonus", "minecraft:copy_name", "minecraft:copy_nbt", "minecraft:copy_state", "minecraft:enchant_randomly", "minecraft:enchant_with_levels", "minecraft:exploration_map", "minecraft:explosion_decay", "minecraft:furnace_smelt", "minecraft:fill_player_head", "minecraft:limit_count", "minecraft:looting_enchant", "minecraft:set_attributes", "minecraft:set_banner_pattern", "minecraft:set_contents", "minecraft:set_count", "minecraft:set_damage", "minecraft:set_enchantments", "minecraft:set_loot_table", "minecraft:set_lore", "minecraft:set_name", "minecraft:set_nbt", "minecraft:set_stew_effect"]}
|
minecraft-item-modifier.json
|
then
|
Applies a predefined bonus formula.
|
{"type": "object", "properties": {"enchantment": {"type": "string"}, "formula": {"type": "string", "enum": ["binomial_with_bonus_count", "uniform_bonus_count", "ore_drops"]}, "parameters": {"type": "object", "properties": {"extra": {"type": "integer"}, "probability": {"type": "number"}, "bonusMultiplier": {"type": "number"}}}}}
|
minecraft-item-modifier.json
|
enchantment
|
Enchantment ID used for level calculation.
|
{"type": "string"}
|
minecraft-item-modifier.json
|
parameters
|
Values required for the formula.
|
{"type": "object", "properties": {"extra": {"type": "integer"}, "probability": {"type": "number"}, "bonusMultiplier": {"type": "number"}}}
|
minecraft-item-modifier.json
|
extra
|
For formula 'binomial_with_bonus_count', the extra value.
|
{"type": "integer"}
|
minecraft-item-modifier.json
|
probability
|
For formula 'binomial_with_bonus_count', the probability.
|
{"type": "number"}
|
minecraft-item-modifier.json
|
bonusMultiplier
|
For formula 'uniform_bonus_count', the bonus multiplier.
|
{"type": "number"}
|
minecraft-item-modifier.json
|
then
|
For loot table type 'block', copies a block entity's CustomName tag into the item's display.
|
{"type": "object", "properties": {"source": {"type": "string", "enum": ["block_entity"], "default": "block_entity"}}}
|
minecraft-item-modifier.json
|
then
|
Copies NBT to the item.
|
{"type": "object", "properties": {"source": {"anyOf": [{"type": "string", "enum": ["block_entity", "this", "killer", "killer_player"]}, {"type": "string"}, {"type": "object", "properties": {"type": {"type": "string", "enum": ["minecraft:context", "minecraft:storage"]}}, "allOf": [{"if": {"properties": {"type": {"const": "minecraft:context"}}}, "then": {"properties": {"target": {"type": "string"}}}}, {"if": {"properties": {"type": {"const": "minecraft:storage"}}}, "then": {"properties": {"target": {"type": "string"}}}}]}]}, "ops": {"type": "array", "items": {"type": "object", "properties": {"source": {"type": "string"}, "target": {"type": "string"}, "op": {"type": "string"}}}}}}
|
minecraft-item-modifier.json
|
type
|
NBT provider type.
|
{"type": "string", "enum": ["minecraft:context", "minecraft:storage"]}
|
minecraft-item-modifier.json
|
target
|
Same as source above.
|
{"type": "string"}
|
minecraft-item-modifier.json
|
target
|
A resource location specifying the storage ID.
|
{"type": "string"}
|
minecraft-item-modifier.json
|
ops
|
A list of copy operations.
|
{"type": "array", "items": {"type": "object", "properties": {"source": {"type": "string"}, "target": {"type": "string"}, "op": {"type": "string"}}}}
|
minecraft-item-modifier.json
|
source
|
The NBT path to copy from.
|
{"type": "string"}
|
minecraft-item-modifier.json
|
target
|
The NBT path to copy to, starting from the item's tag tag.
|
{"type": "string"}
|
minecraft-item-modifier.json
|
op
|
Can be replace to replace any existing contents of the target, append to append to a list, or merge to merge into a compound tag.
|
{"type": "string"}
|
minecraft-item-modifier.json
|
then
|
Copies state properties from dropped block to the item's BlockStateTag tag.
|
{"properties": {"block": {"type": "string"}, "properties": {"type": "array", "items": {"type": "string"}}}}
|
minecraft-item-modifier.json
|
block
|
A block ID. Function fails if the block doesn't match.
|
{"type": "string"}
|
minecraft-item-modifier.json
|
properties
|
A list of property names to copy.
|
{"type": "array", "items": {"type": "string"}}
|
minecraft-item-modifier.json
|
items
|
A block state name to copy.
|
{"type": "string"}
|
minecraft-item-modifier.json
|
then
|
Enchants the item with one randomly-selected enchantment. The level of the enchantment, if applicable, is random.
|
{"properties": {"enchantments": {"type": "array"}}}
|
minecraft-item-modifier.json
|
enchantments
|
List of enchantment IDs to choose from.
|
{"type": "array"}
|
minecraft-item-modifier.json
|
then
|
Enchants the item, with the specified enchantment level (roughly equivalent to using an enchantment table at that level).
|
{"properties": {"treasure": {"type": "boolean"}, "levels": {"type": ["integer", "object"]}}}
|
minecraft-item-modifier.json
|
treasure
|
Determines whether treasure enchantments are allowed on this item.
|
{"type": "boolean"}
|
minecraft-item-modifier.json
|
levels
|
Specifies the exact enchantment level to use.
|
{"type": ["integer", "object"]}
|
minecraft-item-modifier.json
|
then
|
Converts an empty map into an explorer map leading to a nearby generated structure.
|
{"properties": {"destination": {"type": "string"}, "decoration": {"type": "string"}, "zoom": {"type": "integer", "default": 2}, "search_radius": {"type": "integer", "default": 50}, "skip_existing_chunks": {"type": "boolean", "default": true}}}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.