1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-09-26 15:05:19 +00:00
Files
2025-09-09 10:02:11 -07:00

451 lines
9.2 KiB
JSON

{
"$id": "2110239417",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"1132802736": {
"properties": {
"description": {
"type": "string"
},
"entry": {
"type": "string"
},
"language": {
"type": "string"
},
"type": {
"type": "string"
},
"uuid": {
"$ref": "#/definitions/1616419299",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
},
"version": {
"$ref": "#/definitions/4243943436",
"pattern": "^([1-9]+)\\.([0-9]+)\\.([0-9]+)$"
}
},
"required": [
"type",
"uuid",
"version"
],
"title": "Module",
"type": "object"
},
"1403051027": {
"properties": {
"default": {
"type": "number"
},
"max": {
"type": "number"
},
"min": {
"type": "number"
},
"name": {
"pattern": "^(?:(?!^(minecraft):).)+:(?:.)+$",
"type": "string"
},
"step": {
"exclusiveMinimum": 0,
"type": "number"
},
"text": {
"type": "string"
},
"type": {
"enum": [
"label",
"slider",
"toggle",
"dropdown"
],
"title": "SettingType",
"type": "string"
}
},
"required": [
"default",
"max",
"min",
"name",
"step",
"text",
"type"
],
"title": "SliderSetting",
"type": "object"
},
"1415538356": {
"properties": {
"name": {
"minLength": 1,
"type": "string"
},
"text": {
"minLength": 1,
"type": "string"
}
},
"required": [
"name",
"text"
],
"title": "DropdownOption",
"type": "object"
},
"1616419299": {
"title": "UUID",
"type": "string"
},
"1627012538": {
"properties": {
"module_name": {
"type": "string"
},
"version": {
"oneOf": [
{
"enum": [
"alpha",
"beta"
],
"title": "VersionSelectType",
"type": "string"
},
{
"$ref": "#/definitions/4243943436"
}
]
}
},
"required": [
"module_name",
"version"
],
"title": "NativeModuleDependency",
"type": "object"
},
"1774886605": {
"properties": {
"authors": {
"items": {
"type": "string"
},
"type": "array"
},
"generated_with": {
"additionalProperties": {
"items": {
"$ref": "#/definitions/4243943436"
},
"type": "array"
},
"type": "object"
},
"license": {
"type": "string"
},
"product_type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"title": "Metadata",
"type": "object"
},
"2251212786": {
"properties": {
"text": {
"type": "string"
},
"type": {
"enum": [
"label",
"slider",
"toggle",
"dropdown"
],
"title": "SettingType",
"type": "string"
}
},
"required": [
"text",
"type"
],
"title": "LabelSetting",
"type": "object"
},
"292634909": {
"properties": {
"allow_random_seed": {
"type": "boolean"
},
"base_game_version": {
"type": "string"
},
"description": {
"type": "string"
},
"lock_template_options": {
"type": "boolean"
},
"min_engine_version": {
"type": "string"
},
"name": {
"minLength": 1,
"type": "string"
},
"pack_optimization_version": {
"$ref": "#/definitions/4243943436"
},
"pack_scope": {
"type": "string"
},
"platform_locked": {
"type": "boolean"
},
"uuid": {
"$ref": "#/definitions/1616419299",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
},
"version": {
"$ref": "#/definitions/4243943436",
"pattern": "^([1-9]+)\\.([0-9]+)\\.([0-9]+)$"
}
},
"required": [
"name",
"uuid",
"version"
],
"title": "Header",
"type": "object"
},
"3861161488": {
"properties": {
"uuid": {
"$ref": "#/definitions/1616419299",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
},
"version": {
"$ref": "#/definitions/4243943436",
"pattern": "^([1-9]+)\\.([0-9]+)\\.([0-9]+)$"
}
},
"required": [
"uuid",
"version"
],
"title": "PackDependency",
"type": "object"
},
"3968873291": {
"properties": {
"default": {
"minLength": 1,
"type": "string"
},
"name": {
"pattern": "^(?:(?!^(minecraft):).)+:(?:.)+$",
"type": "string"
},
"options": {
"items": {
"$ref": "#/definitions/1415538356"
},
"minItems": 2,
"type": "array"
},
"text": {
"type": "string"
},
"type": {
"enum": [
"label",
"slider",
"toggle",
"dropdown"
],
"title": "SettingType",
"type": "string"
}
},
"required": [
"default",
"name",
"options",
"text",
"type"
],
"title": "DropdownSetting",
"type": "object"
},
"3991289792": {
"properties": {
"default": {
"type": "boolean"
},
"name": {
"pattern": "^(?:(?!^(minecraft):).)+:(?:.)+$",
"type": "string"
},
"text": {
"type": "string"
},
"type": {
"enum": [
"label",
"slider",
"toggle",
"dropdown"
],
"title": "SettingType",
"type": "string"
}
},
"required": [
"default",
"name",
"text",
"type"
],
"title": "ToggleSetting",
"type": "object"
},
"4147404371": {
"properties": {
"buildMeta": {
"type": "string"
},
"major": {
"type": "integer"
},
"minor": {
"type": "integer"
},
"patch": {
"type": "integer"
},
"preRelease": {
"type": "string"
}
},
"title": "SemVersionProxy",
"type": "object"
},
"4241525955": {
"properties": {
"folder_name": {
"type": "string"
},
"memory_performance_tier": {
"maximum": 5,
"minimum": 0,
"type": "integer"
},
"name": {
"type": "string"
}
},
"required": [
"folder_name",
"memory_performance_tier",
"name"
],
"title": "Subpack",
"type": "object"
},
"4243943436": {
"oneOf": [
{
"$ref": "#/definitions/4147404371"
},
{
"type": "string"
}
],
"title": "SemVersion"
}
},
"properties": {
"capabilities": {
"items": {
"type": "string"
},
"type": "array"
},
"dependencies": {
"items": {
"oneOf": [
{
"$ref": "#/definitions/3861161488"
},
{
"$ref": "#/definitions/1627012538"
}
]
},
"type": "array"
},
"format_version": {
"type": "integer"
},
"has_education_metadata": {
"type": "boolean"
},
"header": {
"$ref": "#/definitions/292634909"
},
"metadata": {
"$ref": "#/definitions/1774886605"
},
"modules": {
"items": {
"$ref": "#/definitions/1132802736"
},
"minItems": 1,
"type": "array"
},
"settings": {
"items": {
"oneOf": [
{
"$ref": "#/definitions/2251212786"
},
{
"$ref": "#/definitions/1403051027"
},
{
"$ref": "#/definitions/3991289792"
},
{
"$ref": "#/definitions/3968873291"
}
]
},
"minItems": 1,
"type": "array"
},
"subpacks": {
"items": {
"$ref": "#/definitions/4241525955"
},
"type": "array"
}
},
"required": [
"format_version",
"header",
"modules"
],
"title": "PackManifestDocument",
"type": "object",
"x-format-version": "3.0.0"
}