diff --git a/general/manifest.json b/general/manifest.json index 870a4e2e..f6743345 100644 --- a/general/manifest.json +++ b/general/manifest.json @@ -1 +1 @@ -{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.manifest","type":"object","title":"Manifest Schema","description":"The minecraft manifest schema","required":["format_version","header"],"examples":[{"format_version":2,"header":{"description":"pack.description","name":"pack.name","uuid":"UUID2","min_engine_version":[1,16,0],"version":[1,0,0]},"modules":[{"type":"data","uuid":"UUID2","version":[1,0,0]}]}],"defaultSnippets":[{"label":"New Manifest","body":{"format_version":2,"header":{"description":"pack.description","name":"pack.name","uuid":"$UUID","min_engine_version":[1,16,0],"version":[1,0,0]},"modules":[{"type":"data","uuid":"$UUID","version":[1,0,0]}]}}],"allOf":[{"if":{"properties":{"format_version":{"const":1,"type":"number","title":"Format Version"}}},"then":{"$ref":"#/definitions/A"}},{"if":{"properties":{"format_version":{"const":2,"type":"number","title":"Format Version"}}},"then":{"$ref":"#/definitions/D"}}],"definitions":{"A_uuidv4":{"$ref":"#/definitions/B"},"A_version":{"$ref":"#/definitions/C"},"B":{"description":"A valid uuid v4","format":"uuid","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","title":"A UUID V4","type":"string","defaultSnippets":[{"label":"new UUID v4","body":"$UUID"}]},"C":{"type":"array","title":"Version Numbering","description":"A version made of 3 numbers","examples":[[1,0,0]],"items":[{"type":"number","minimum":1,"title":""},{"type":"number","minimum":0,"title":"Major"},{"type":"number","minimum":0,"title":"Minor"}]},"A":{"type":"object","title":"Manifest V1 Schema","description":"The manifest file contains all the basic information about the pack that Minecraft needs to identify it. The tables below contain all the components of the manifest, their individual properties, and what they mean.","additionalProperties":false,"required":["format_version","header"],"properties":{"format_version":{"type":"number","description":"This defines the current version of the manifest. Don't change this unless you have a good reason to","title":"Format Version"},"header":{"required":["name","uuid","version"],"properties":{"name":{"type":"string","default":0,"description":"This is the name of the pack as it appears within Minecraft","title":"Name"},"description":{"type":"string","default":0,"description":"This is a short description of the pack. It will appear in the game below the name of the pack. We recommend keeping it to 1-2 lines.","title":"Description"},"uuid":{"type":"string","$ref":"#/definitions/A_uuidv4","description":"This is a special type of identifier that uniquely identifies this pack from any other pack. UUIDs are written in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx where each x is a hexadecimal value (0-9 or a-f). We recommend using an online service to generate this and guarantee their uniqueness (just bing UUID Generator to find some)","title":"UUID"},"version":{"$ref":"#/definitions/A_version","description":"This is the version of your pack in the format [majorVersion, minorVersion, revision].","title":"Version"},"min_engine_version":{"type":"string","$ref":"#/definitions/A_version","description":"This is the minimum version of the game that this pack was written for. This helps the game identify whether any backwards compatibility is needed for your pack. You should always use the highest version currently available when creating packs","title":"Minimum Engine Version"},"lock_template_options":{"type":"boolean","description":"UNDOCUMENTED: lock template options","title":"Lock Template Options"},"base_game_version":{"$ref":"#/definitions/A_version","description":"UNDOCUMENTED: base game version","title":"Base Game Version"}},"description":"UNDOCUMENTED: header","title":"Header"},"modules":{"type":"array","title":"Modules","items":{"additionalProperties":false,"type":"object","description":"UNDOCUMENTED: modules","title":"Modules","required":["type","uuid","version"],"properties":{"type":{"description":"This is the type of the module. Can be any of the following: resources, data, client_data, interface, world_template","type":"string","enum":["resources","data","client_data","interface","world_template","skin_pack"],"title":"Type"},"description":{"type":"string","description":"This is a short description of the module. This is not user-facing at the moment but is a good place to remind yourself why the module is defined","title":"Description"},"uuid":{"$ref":"#/definitions/A_uuidv4","description":"This is a unique identifier for the module in the same format as the pack's UUID in the header. This should be different from the pack's UUID, and different for every module","title":"UUID"},"version":{"$ref":"#/definitions/A_version","description":"This is the version of the module in the same format as the pack's version in the header. This can be used to further identify changes in your pack","title":"Version"}}},"description":"UNDOCUMENTED: modules"},"dependencies":{"type":"array","description":"These are the different features that the pack makes use of that aren't necessarily enabled by default.","items":{"additionalProperties":false,"type":"object","properties":{"uuid":{"type":"string","$ref":"#/definitions/A_uuidv4","description":"This is the unique identifier of the pack that this pack depends on. It needs to be the exact same UUID that the pack has defined in the header section of it's manifest file","title":"UUID"},"version":{"$ref":"#/definitions/A_version","description":"This is the specific version of the pack that your pack depends on. Should match the version the other pack has in its manifest file","title":"Version"}},"description":"UNDOCUMENTED: dependencies","title":"Dependencies"},"title":"Dependencies"},"capabilities":{"type":"object","title":"Capabilities","description":"These are the different features that the pack makes use of that aren't necessarily enabled by default.","properties":{"experimental_custom_ui":{"type":"boolean","description":"Allows HTML files in the pack to be used for custom UI, and scripts in the pack to call and manipulate custom UI","title":"Experimental Custom Ui"},"chemistry":{"type":"boolean","description":"Allows the pack to add, change or replace Chemistry functionality","title":"Chemistry"}}},"metadata":{"authors":{"title":"Authors","description":"Name of the author(s) of the pack","type":"array","items":{"type":"string","title":"Name","description":"Name of the author of the pack"}},"license":{"type":"string","description":"The license of the pack","title":"License"},"url":{"type":"string","description":"The home website of your pack","title":"Url"},"description":"UNDOCUMENTED: metadata","title":"Metadata"}}},"D_uuidv4":{"type":"string","title":"An UUID V4","description":"A valid uuid v4","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","format":"uuid"},"D_version":{"$ref":"#/definitions/C"},"D":{"type":"object","title":"Manifest V2 Schema","description":"The manifest file contains all the basic information about the pack that Minecraft needs to identify it. The tables below contain all the components of the manifest, their individual properties, and what they mean.","required":["format_version","header"],"additionalProperties":false,"properties":{"format_version":{"title":"Format Version","type":"number","description":"What version of Minecraft is required in order to run the manifest file."},"capabilities":{"type":"object","title":"Capabilities","description":"These are the different features that the pack makes use of that aren't necessarily enabled by default.","properties":{"experimental_custom_ui":{"type":"boolean","description":"Allows HTML files in the pack to be used for custom UI, and scripts in the pack to call and manipulate custom UI","title":"Experimental Custom Ui"},"chemistry":{"type":"boolean","description":"Allows the pack to add, change or replace Chemistry functionality","title":"Chemistry"},"raytraced":{"type":"boolean","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Raytraced"}}},"dependencies":{"type":"array","title":"Dependencies","description":"Section containing definitions for any other packs that are required in order for this manifest.json file to work.","items":{"additionalProperties":false,"type":"object","title":"Dependency","description":"Section containing definitions for any other packs that are required in order for this manifest.json file to work.","properties":{"uuid":{"type":"string","$ref":"#/definitions/D_uuidv4","description":"This is the unique identifier of the pack that this pack depends on. It needs to be the exact same UUID that the pack has defined in the header section of it's manifest file","title":"Uuid"},"version":{"$ref":"#/definitions/D_version","description":"This is the specific version of the pack that your pack depends on. Should match the version the other pack has in its manifest file","title":"Version"}}}},"header":{"description":"Section containing information regarding the name of the pack, description, and other features that are public facing.","title":"Header","required":["description","name","uuid","version"],"properties":{"base_game_version":{"$ref":"#/definitions/D_version","title":"Base Game Version","description":"This is the version of the base game your world template requires, specified as [majorVersion, minorVersion, revision]. We use this to determine what version of the base game resource and behavior packs to apply when your content is used."},"description":{"title":"Description","type":"string","default":0,"description":"This is a short description of the pack. It will appear in the game below the name of the pack. We recommend keeping it to 1-2 lines."},"lock_template_options":{"title":"Lock Template Options","type":"boolean","description":"This option is required for any world templates. This will lock the player from modifying the options of the world."},"min_engine_version":{"title":"Minimum Engine Version","$ref":"#/definitions/D_version","description":"This is the minimum version of the game that this pack was written for. This is a required field for resource and behavior packs. This helps the game identify whether any backwards compatibility is needed for your pack. You should always use the highest version currently available when creating packs"},"name":{"title":"Name","type":"string","description":"This is the name of the pack as it appears within Minecraft. This is a required field."},"uuid":{"title":"UUID","$ref":"#/definitions/D_uuidv4","description":"This is a special type of identifier that uniquely identifies this pack from any other pack. UUIDs are written in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx where each x is a hexadecimal value (0-9 or a-f). We recommend using an online service to generate this and guarantee their uniqueness (just bing UUID Generator to find some)"},"version":{"title":"Version","$ref":"#/definitions/D_version","description":"This is the version of your pack in the format [majorVersion, minorVersion, revision]."}}},"modules":{"type":"array","title":"Modules","description":"Section containing information regarding the type of content that is being brought in.","items":{"type":"object","additionalProperties":false,"description":"Section containing information regarding the type of content that is being brought in.","title":"Module","required":["type","uuid","version"],"properties":{"description":{"type":"string","description":"This is a short description of the module. This is not user-facing at the moment but is a good place to remind yourself why the module is defined","title":"Description"},"type":{"type":"string","enum":["resources","data","client_data","interface","world_template","javascript"],"description":"This is the type of the module.","title":"Type"},"uuid":{"$ref":"#/definitions/D_uuidv4","description":"This is a unique identifier for the module in the same format as the pack's UUID in the header. This should be different from the pack's UUID, and different for every module","title":"Uuid"},"version":{"$ref":"#/definitions/D_version","description":"This is the version of your pack in the format [majorVersion, minorVersion, revision]. The version number is used when importing a pack that has been imported before. The new pack will replace the old one if the version is higher, and ignored if it's the same or lower","title":"Version"},"entry":{"type":"string","title":"Entry","description":"The javascript entry point for tests, only works if types has been set to `javascript`"}}}},"metadata":{"additionalProperties":false,"type":"object","description":"Section containing the metadata about the file such as authors and licensing information.","title":"Metadata","properties":{"authors":{"title":"Authors","description":"Name of the author(s) of the pack","type":"array","items":{"type":"string","title":"Name","description":"Name of the author of the pack"}},"license":{"type":"string","title":"License","description":"The license of the pack"},"url":{"type":"string","format":"uri","title":"Url","description":"The home website of your pack"},"generated_with":{"title":"Generated With","description":"A list of tools and their version that have modified this pack","type":"object","propertyNames":{"pattern":"^[a-zA-Z0-9\\_\\-]+$","maxLength":32,"maximum":32},"additionalProperties":{"type":"array","examples":[["1.0.0"]],"title":"Tool","description":"The tool and the version used to modified this pack","items":{"type":"string","title":"Version","examples":["1.0.0"],"pattern":"^[0-9]+\\.[0-9]+\\.[0-9]+$"}}}}}}}}} \ No newline at end of file +{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.manifest","type":"object","title":"Manifest Schema","description":"The minecraft manifest schema","required":["format_version","header"],"examples":[{"format_version":2,"header":{"description":"pack.description","name":"pack.name","uuid":"UUID2","min_engine_version":[1,16,0],"version":[1,0,0]},"modules":[{"type":"data","uuid":"UUID2","version":[1,0,0]}]}],"defaultSnippets":[{"label":"New Manifest","body":{"format_version":2,"header":{"description":"pack.description","name":"pack.name","uuid":"$UUID","min_engine_version":[1,16,0],"version":[1,0,0]},"modules":[{"type":"data","uuid":"$UUID","version":[1,0,0]}]}}],"allOf":[{"if":{"properties":{"format_version":{"const":1,"type":"number","title":"Format Version"}}},"then":{"$ref":"#/definitions/A"}},{"if":{"properties":{"format_version":{"const":2,"type":"number","title":"Format Version"}}},"then":{"$ref":"#/definitions/D"}}],"definitions":{"A_uuidv4":{"$ref":"#/definitions/B"},"A_version":{"$ref":"#/definitions/C"},"B":{"description":"A valid uuid v4","format":"uuid","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","title":"A UUID V4","type":"string","defaultSnippets":[{"label":"new UUID v4","body":"$UUID"}]},"C":{"type":"array","title":"Version Numbering","description":"A version made of 3 numbers","examples":[[1,0,0]],"items":[{"type":"number","minimum":1,"title":""},{"type":"number","minimum":0,"title":"Major"},{"type":"number","minimum":0,"title":"Minor"}]},"A":{"type":"object","title":"Manifest V1 Schema","description":"The manifest file contains all the basic information about the pack that Minecraft needs to identify it. The tables below contain all the components of the manifest, their individual properties, and what they mean.","additionalProperties":false,"required":["format_version","header"],"properties":{"format_version":{"type":"number","description":"This defines the current version of the manifest. Don't change this unless you have a good reason to","title":"Format Version"},"header":{"required":["name","uuid","version"],"properties":{"name":{"type":"string","default":0,"description":"This is the name of the pack as it appears within Minecraft","title":"Name"},"description":{"type":"string","default":0,"description":"This is a short description of the pack. It will appear in the game below the name of the pack. We recommend keeping it to 1-2 lines.","title":"Description"},"uuid":{"type":"string","$ref":"#/definitions/A_uuidv4","description":"This is a special type of identifier that uniquely identifies this pack from any other pack. UUIDs are written in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx where each x is a hexadecimal value (0-9 or a-f). We recommend using an online service to generate this and guarantee their uniqueness (just bing UUID Generator to find some)","title":"UUID"},"version":{"$ref":"#/definitions/A_version","description":"This is the version of your pack in the format [majorVersion, minorVersion, revision].","title":"Version"},"min_engine_version":{"type":"string","$ref":"#/definitions/A_version","description":"This is the minimum version of the game that this pack was written for. This helps the game identify whether any backwards compatibility is needed for your pack. You should always use the highest version currently available when creating packs","title":"Minimum Engine Version"},"lock_template_options":{"type":"boolean","description":"UNDOCUMENTED: lock template options","title":"Lock Template Options"},"base_game_version":{"$ref":"#/definitions/A_version","description":"UNDOCUMENTED: base game version","title":"Base Game Version"}},"description":"UNDOCUMENTED: header","title":"Header"},"modules":{"type":"array","title":"Modules","items":{"additionalProperties":false,"type":"object","description":"UNDOCUMENTED: modules","title":"Modules","required":["type","uuid","version"],"properties":{"type":{"description":"This is the type of the module. Can be any of the following: resources, data, client_data, interface, world_template","type":"string","enum":["resources","data","client_data","interface","world_template","skin_pack"],"title":"Type"},"description":{"type":"string","description":"This is a short description of the module. This is not user-facing at the moment but is a good place to remind yourself why the module is defined","title":"Description"},"uuid":{"$ref":"#/definitions/A_uuidv4","description":"This is a unique identifier for the module in the same format as the pack's UUID in the header. This should be different from the pack's UUID, and different for every module","title":"UUID"},"version":{"$ref":"#/definitions/A_version","description":"This is the version of the module in the same format as the pack's version in the header. This can be used to further identify changes in your pack","title":"Version"}}},"description":"UNDOCUMENTED: modules"},"dependencies":{"type":"array","description":"These are the different features that the pack makes use of that aren't necessarily enabled by default.","items":{"additionalProperties":false,"type":"object","properties":{"uuid":{"type":"string","$ref":"#/definitions/A_uuidv4","description":"This is the unique identifier of the pack that this pack depends on. It needs to be the exact same UUID that the pack has defined in the header section of it's manifest file","title":"UUID"},"version":{"$ref":"#/definitions/A_version","description":"This is the specific version of the pack that your pack depends on. Should match the version the other pack has in its manifest file","title":"Version"}},"description":"UNDOCUMENTED: dependencies","title":"Dependencies"},"title":"Dependencies"},"capabilities":{"type":"object","title":"Capabilities","description":"These are the different features that the pack makes use of that aren't necessarily enabled by default.","properties":{"experimental_custom_ui":{"type":"boolean","description":"Allows HTML files in the pack to be used for custom UI, and scripts in the pack to call and manipulate custom UI","title":"Experimental Custom Ui"},"chemistry":{"type":"boolean","description":"Allows the pack to add, change or replace Chemistry functionality","title":"Chemistry"}}},"metadata":{"authors":{"title":"Authors","description":"Name of the author(s) of the pack","type":"array","items":{"type":"string","title":"Name","description":"Name of the author of the pack"}},"license":{"type":"string","description":"The license of the pack","title":"License"},"url":{"type":"string","description":"The home website of your pack","title":"Url"},"description":"UNDOCUMENTED: metadata","title":"Metadata"}}},"D_uuidv4":{"type":"string","title":"An UUID V4","description":"A valid uuid v4","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","format":"uuid"},"D_version":{"$ref":"#/definitions/C"},"D":{"type":"object","title":"Manifest V2 Schema","description":"The manifest file contains all the basic information about the pack that Minecraft needs to identify it. The tables below contain all the components of the manifest, their individual properties, and what they mean.","required":["format_version","header"],"additionalProperties":false,"properties":{"format_version":{"title":"Format Version","type":"number","description":"This defines the current version of the manifest. Don't change this unless you have a good reason to"},"capabilities":{"type":"object","title":"Capabilities","description":"These are the different features that the pack makes use of that aren't necessarily enabled by default.","properties":{"experimental_custom_ui":{"type":"boolean","description":"Allows HTML files in the pack to be used for custom UI, and scripts in the pack to call and manipulate custom UI","title":"Experimental Custom Ui"},"chemistry":{"type":"boolean","description":"Allows the pack to add, change or replace Chemistry functionality","title":"Chemistry"},"raytraced":{"type":"boolean","description":"Indicates that this pack contains Raytracing Enhanced or Physical Based Materials for rendering","title":"Raytraced"}}},"dependencies":{"type":"array","title":"Dependencies","description":"Section containing definitions for any other packs that are required in order for this manifest.json file to work.","items":{"additionalProperties":false,"type":"object","title":"Dependency","description":"Section containing definitions for any other packs that are required in order for this manifest.json file to work.","properties":{"uuid":{"type":"string","$ref":"#/definitions/D_uuidv4","description":"This is the unique identifier of the pack that this pack depends on. It needs to be the exact same UUID that the pack has defined in the header section of it's manifest file","title":"Uuid"},"version":{"$ref":"#/definitions/D_version","description":"This is the specific version of the pack that your pack depends on. Should match the version the other pack has in its manifest file","title":"Version"}}}},"header":{"description":"Section containing information regarding the name of the pack, description, and other features that are public facing.","title":"Header","required":["description","name","uuid","version"],"properties":{"base_game_version":{"$ref":"#/definitions/D_version","title":"Base Game Version","description":"This is the version of the base game your world template requires, specified as [majorVersion, minorVersion, revision]. We use this to determine what version of the base game resource and behavior packs to apply when your content is used."},"description":{"title":"Description","type":"string","default":0,"description":"This is a short description of the pack. It will appear in the game below the name of the pack. We recommend keeping it to 1-2 lines."},"lock_template_options":{"title":"Lock Template Options","type":"boolean","description":"This option is required for any world templates. This will lock the player from modifying the options of the world."},"min_engine_version":{"title":"Minimum Engine Version","$ref":"#/definitions/D_version","description":"This is the minimum version of the game that this pack was written for. This is a required field for resource and behavior packs. This helps the game identify whether any backwards compatibility is needed for your pack. You should always use the highest version currently available when creating packs"},"name":{"title":"Name","type":"string","description":"This is the name of the pack as it appears within Minecraft. This is a required field."},"uuid":{"title":"UUID","$ref":"#/definitions/D_uuidv4","description":"This is a special type of identifier that uniquely identifies this pack from any other pack. UUIDs are written in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx where each x is a hexadecimal value (0-9 or a-f). We recommend using an online service to generate this and guarantee their uniqueness (just bing UUID Generator to find some)"},"version":{"title":"Version","$ref":"#/definitions/D_version","description":"This is the version of your pack in the format [majorVersion, minorVersion, revision]."}}},"modules":{"type":"array","title":"Modules","description":"Section containing information regarding the type of content that is being brought in.","items":{"type":"object","additionalProperties":false,"description":"Section containing information regarding the type of content that is being brought in.","title":"Module","required":["type","uuid","version"],"properties":{"description":{"type":"string","description":"This is a short description of the module. This is not user-facing at the moment but is a good place to remind yourself why the module is defined","title":"Description"},"type":{"type":"string","enum":["resources","data","client_data","interface","world_template","javascript"],"description":"This is the type of the module.","title":"Type"},"uuid":{"$ref":"#/definitions/D_uuidv4","description":"This is a unique identifier for the module in the same format as the pack's UUID in the header. This should be different from the pack's UUID, and different for every module","title":"Uuid"},"version":{"$ref":"#/definitions/D_version","description":"This is the version of your pack in the format [majorVersion, minorVersion, revision]. The version number is used when importing a pack that has been imported before. The new pack will replace the old one if the version is higher, and ignored if it's the same or lower","title":"Version"},"entry":{"type":"string","title":"Entry","description":"The javascript entry point for tests, only works if types has been set to `javascript`"}}}},"metadata":{"additionalProperties":false,"type":"object","description":"Section containing the metadata about the file such as authors and licensing information.","title":"Metadata","properties":{"authors":{"title":"Authors","description":"Name of the author(s) of the pack","type":"array","items":{"type":"string","title":"Name","description":"Name of the author of the pack"}},"license":{"type":"string","title":"License","description":"The license of the pack"},"url":{"type":"string","format":"uri","title":"Url","description":"The home website of your pack"},"generated_with":{"title":"Generated With","description":"A list of tools and their version that have modified this pack","type":"object","propertyNames":{"pattern":"^[a-zA-Z0-9\\_\\-]+$","maxLength":32,"maximum":32},"additionalProperties":{"type":"array","examples":[["1.0.0"]],"title":"Tool","description":"The tool and the version used to modified this pack","items":{"type":"string","title":"Version","examples":["1.0.0"],"pattern":"^[0-9]+\\.[0-9]+\\.[0-9]+$"}}}}}}}}} \ No newline at end of file