mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-07-23 08:42:42 +00:00
317 lines
11 KiB
JSON
317 lines
11 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "3714031231",
|
|
"x-format-version": "1.21.30",
|
|
"x-minecraft-version": "1.21.90-beta.3",
|
|
"definitions": {
|
|
"943617905": {
|
|
"title": "struct SharedTypes::v1_21_30::TradeTier",
|
|
"type": "object",
|
|
"properties": {
|
|
"groups": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/3153354884"
|
|
}
|
|
},
|
|
"total_exp_required": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": [
|
|
"groups",
|
|
"total_exp_required"
|
|
]
|
|
},
|
|
"1093643626": {
|
|
"title": "struct SharedTypes::v1_21_30::TradeItemList",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/56017534"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"choice": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/56017534"
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"choice"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"315535208": {
|
|
"title": "class Json::Value"
|
|
},
|
|
"3153354884": {
|
|
"title": "struct SharedTypes::v1_21_30::TradeGroup",
|
|
"type": "object",
|
|
"properties": {
|
|
"num_to_select": {
|
|
"type": "integer",
|
|
"minimum": 0.0
|
|
},
|
|
"trades": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/3738829565"
|
|
},
|
|
"minItems": 1
|
|
}
|
|
},
|
|
"required": [
|
|
"trades"
|
|
]
|
|
},
|
|
"1088251937": {
|
|
"title": "Filter Group",
|
|
"description": "Filters allow data objects to specify test criteria which allows their use. Filters can be defined by a single object of type (Filter Test), an array of tests, collection groups, or a combination of these objects.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/4150989894"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"description": "Filters allow data objects to specify test criteria which allows their use. Filters can be defined by a single object of type (Filter Test), an array of tests, collection groups, or a combination of these objects.",
|
|
"$ref": "#/definitions/1088251937"
|
|
}
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"AND": {
|
|
"description": "Evaluates all tests in the group, all must pass in order for the group to pass.",
|
|
"$ref": "#/definitions/1088251937"
|
|
},
|
|
"NOT": {
|
|
"description": "Evaluates all tests in the group, all must fail in order for the group to pass.",
|
|
"$ref": "#/definitions/1088251937"
|
|
},
|
|
"OR": {
|
|
"description": "Evaluates tests in the group, one or more must pass in order for the group to pass.",
|
|
"$ref": "#/definitions/1088251937"
|
|
},
|
|
"all": {
|
|
"description": "Evaluates all tests in the group, all must pass in order for the group to pass.",
|
|
"$ref": "#/definitions/1088251937"
|
|
},
|
|
"all_of": {
|
|
"description": "Evaluates all tests in the group, all must pass in order for the group to pass.",
|
|
"$ref": "#/definitions/1088251937"
|
|
},
|
|
"any": {
|
|
"description": "Evaluates tests in the group, one or more must pass in order for the group to pass.",
|
|
"$ref": "#/definitions/1088251937"
|
|
},
|
|
"any_of": {
|
|
"description": "Evaluates tests in the group, one or more must pass in order for the group to pass.",
|
|
"$ref": "#/definitions/1088251937"
|
|
},
|
|
"none_of": {
|
|
"description": "Evaluates all tests in the group, all must fail in order for the group to pass.",
|
|
"$ref": "#/definitions/1088251937"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"3738829565": {
|
|
"title": "struct SharedTypes::v1_21_30::Trade",
|
|
"type": "object",
|
|
"properties": {
|
|
"gives": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/1093643626"
|
|
},
|
|
"minItems": 1
|
|
},
|
|
"max_uses": {
|
|
"type": "integer"
|
|
},
|
|
"reward_exp": {
|
|
"type": "boolean"
|
|
},
|
|
"trader_exp": {
|
|
"type": "integer"
|
|
},
|
|
"wants": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/1093643626"
|
|
},
|
|
"minItems": 1
|
|
},
|
|
"weight": {
|
|
"type": "integer",
|
|
"minimum": 1.0
|
|
}
|
|
},
|
|
"required": [
|
|
"gives",
|
|
"wants"
|
|
]
|
|
},
|
|
"4150989894": {
|
|
"title": "Filter Test",
|
|
"type": "object",
|
|
"properties": {
|
|
"domain": {
|
|
"description": "The domain the test should be performed in.",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"operator": {
|
|
"description": "The comparison to apply with 'value'.",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"subject": {
|
|
"description": "The subject of this filter test.",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"test": {
|
|
"description": "The name of the test to apply.",
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"description": "The value being compared with the test.",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"test"
|
|
]
|
|
},
|
|
"56017534": {
|
|
"title": "struct SharedTypes::v1_21_30::TradeItem",
|
|
"type": "object",
|
|
"properties": {
|
|
"__DEP_fltrs": {
|
|
"deprecated": true,
|
|
"$ref": "#/definitions/315535208"
|
|
},
|
|
"__DEP_fnctns": {
|
|
"deprecated": true,
|
|
"$ref": "#/definitions/315535208"
|
|
},
|
|
"filters": {
|
|
"description": "Filters allow data objects to specify test criteria which allows their use. Filters can be defined by a single object of type (Filter Test), an array of tests, collection groups, or a combination of these objects.",
|
|
"$ref": "#/definitions/1088251937"
|
|
},
|
|
"functions": {
|
|
"type": "array",
|
|
"items": {
|
|
"description": "Dynamic value"
|
|
}
|
|
},
|
|
"item": {
|
|
"$ref": "#/definitions/3673881199"
|
|
},
|
|
"price_multiplier": {
|
|
"type": "number"
|
|
},
|
|
"quantity": {
|
|
"$ref": "#/definitions/2298823339"
|
|
}
|
|
},
|
|
"required": [
|
|
"item"
|
|
]
|
|
},
|
|
"3673881199": {
|
|
"title": "struct SharedTypes::Reference<4>",
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"2298823339": {
|
|
"title": "struct SharedTypes::v1_21_30::TradeItem::Quantity",
|
|
"oneOf": [
|
|
{
|
|
"type": "integer",
|
|
"minimum": 1.0
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"max": {
|
|
"type": "integer",
|
|
"minimum": 1.0
|
|
},
|
|
"min": {
|
|
"type": "integer",
|
|
"minimum": 1.0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"title": "struct SharedTypes::v1_21_30::TradeTableData",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/943617905"
|
|
}
|
|
} |