1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2024-11-21 21:56:13 +00:00
bedrock-samples/metadata/json_schemas/Repair v1.20.50.json
Mike Ammerlaan 1440438305 v1.21.30.3
2024-09-17 09:13:33 -07:00

87 lines
2.6 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "3256164975",
"definitions": {
"1531870811": {
"title": "struct SharedTypes::Legacy::ItemDescriptor",
"oneOf": [
{
"type": "string"
},
{
"title": "associative container",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
],
"$metaProperties": {
"CEREAL_JSON_SCHEMA": "Item Descriptor"
}
},
"3178719147": {
"title": "struct SharedTypes::Legacy::ExpressionNode",
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "object",
"properties": {
"expression": {
"type": "string"
},
"version": {
"type": "integer"
}
},
"required": [
"expression",
"version"
]
}
],
"$metaProperties": {
"CEREAL_JSON_SCHEMA": "Expression Node"
}
}
},
"title": "struct SharedTypes::v1_20_50::RepairableItemComponent::RepairItemEntry",
"oneOf": [
{
"title": "sequence container",
"type": "array",
"items": {
"$ref": "#/definitions/1531870811"
}
},
{
"type": "object",
"properties": {
"items": {
"title": "sequence container",
"description": "Items that may be used to repair an item.",
"type": "array",
"items": {
"$ref": "#/definitions/1531870811"
}
},
"repair_amount": {
"description": "How much the item is repaired.",
"$ref": "#/definitions/3178719147"
}
},
"required": [
"items"
]
}
],
"$metaProperties": {
"CEREAL_DOCUMENTATION_TAG": false,
"CEREAL_JSON_SCHEMA": "Repair v1.20.50"
}
}