Formatter Validator Minifier Escape / Unescape JSON ↔ String JSON ↔ YAML JSON → CSV NDJSON / JSON Lines JSON → Types JSON ↔ XML JSON Diff JSON Patch Canonicalize (RFC 8785) Schema Validator Schema Generator JSONPath Tester JWT Decoder JSON Errors Schemas More Tools
JSONTools / Schema registry / Minecraft Data Pack Advancement
Schema registry

Minecraft Data Pack Advancement

Configuration file defining an advancement for a data pack for Minecraft

**/data/*/advancements/*.json

Check your file against this schema

Opens the validator with this schema already loaded. Paste your **/data/*/advancements/*.json and it validates in your browser — nothing is uploaded.

Validate a **/data/*/advancements/*.json → View raw schema

Fields

Generated directly from the schema, following local $refs, to two levels of nesting.

Field Type Description
displayobjectDisplay options for the current advancement https://minecraft.wiki/w/Advancement/JSON_format#Legend
display.iconobjectIcon options for the current advancement https://minecraft.wiki/w/Advancement/JSON_format#Legend
display.icon.itemstringAn item identifier for the current advancement https://minecraft.wiki/w/Advancement/JSON_format#Legend
display.icon.nbtstringA named binary tag of an item for the current advancement https://minecraft.wiki/w/Advancement/JSON_format#Legend
display.titlestring | boolean | number | array | object
display.title.extraarrayA list of additional raw JSON text components to be displayed after this one.
display.title.colorstringThe color to render the content in.
display.title.fontstringThe resource location of the font for this component in the resource pack within assets/<namespace>/font.
default: "minecraft:default"
display.title.boldbooleanWhether to render the content in bold.
display.title.italicbooleanWhether to render the content in italics. Note that text that is italicized by default, such as custom item names, can be unitalicized by setting this to false.
display.title.underlinedbooleanWhether to underline the content.
display.title.strikethroughbooleanWhether to strikethrough the content.
display.title.obfuscatedbooleanWhether to render the content obfuscated.
display.title.insertionstringWhen the text is shift-clicked by a player, this string is inserted in their chat input. It does not overwrite any existing text the player was writing. This only works in chat messages.
display.title.clickEventobjectAllows for events to occur when the player clicks on text. Only work in chat messages and written books, unless specified otherwise.
display.title.hoverEventobjectAllows for a tooltip to be displayed when the player hovers their mouse over text.
display.title.textstring | number | booleanA string containing plain text to display directly. Can also be a number or boolean that is displayed directly.
display.title.translatestringA translation identifier, corresponding to the identifiers found in loaded language files. Displayed as the corresponding text in the player's selected language. If no corresponding translation can be found, the identifier itself is used
display.title.witharrayA list of raw JSON text components to be inserted into slots in the translation text.
display.framestringA frame type for the icon for the current advancement https://minecraft.wiki/w/Advancement/JSON_format#Legend
default: "task"
one of: "challenge", "goal", "task"
display.backgroundanyA background directory for the current advancement https://minecraft.wiki/w/Advancement/JSON_format#Legend
display.descriptionstring | boolean | number | array | object
display.description.extraarrayA list of additional raw JSON text components to be displayed after this one.
display.description.colorstringThe color to render the content in.
display.description.fontstringThe resource location of the font for this component in the resource pack within assets/<namespace>/font.
default: "minecraft:default"
display.description.boldbooleanWhether to render the content in bold.
display.description.italicbooleanWhether to render the content in italics. Note that text that is italicized by default, such as custom item names, can be unitalicized by setting this to false.
display.description.underlinedbooleanWhether to underline the content.
display.description.strikethroughbooleanWhether to strikethrough the content.
display.description.obfuscatedbooleanWhether to render the content obfuscated.
display.description.insertionstringWhen the text is shift-clicked by a player, this string is inserted in their chat input. It does not overwrite any existing text the player was writing. This only works in chat messages.
display.description.clickEventobjectAllows for events to occur when the player clicks on text. Only work in chat messages and written books, unless specified otherwise.
display.description.hoverEventobjectAllows for a tooltip to be displayed when the player hovers their mouse over text.
display.description.textstring | number | booleanA string containing plain text to display directly. Can also be a number or boolean that is displayed directly.
display.description.translatestringA translation identifier, corresponding to the identifiers found in loaded language files. Displayed as the corresponding text in the player's selected language. If no corresponding translation can be found, the identifier itself is used
display.description.witharrayA list of raw JSON text components to be inserted into slots in the translation text.
display.show_toastbooleanWhether or not to show the toast pop up after completing the current advancement https://minecraft.wiki/w/Advancement/JSON_format#Legend
default: true
display.annouce_to_chatbooleanWhether or not to announce in the chat when the current advancement has been completed https://minecraft.wiki/w/Advancement/JSON_format#Legend
default: true
display.hiddenbooleanWhether or not to hide this advancement and all its children from the advancement screen until the current advancement have been completed https://minecraft.wiki/w/Advancement/JSON_format#Legend
default: false
parentanyA parent directory for the current advancement https://minecraft.wiki/w/Advancement/JSON_format#Legend
criteriaobjectRequired criteria have to be met for the current advancement https://minecraft.wiki/w/Advancement/JSON_format#Legend
requirementsarray<array>Requirements for the current advancement https://minecraft.wiki/w/Advancement/JSON_format#Legend
rewardsobjectRewards for the current advancement https://minecraft.wiki/w/Advancement/JSON_format#Legend
rewards.recipesarray<string>Recipes to unlock for the current advancement https://minecraft.wiki/w/Advancement/JSON_format#Legend
rewards.lootarray<string>Loot tables to give to the player for the current advancement https://minecraft.wiki/w/Advancement/JSON_format#Legend
rewards.experienceintegerAn experience amount for the current advancement https://minecraft.wiki/w/Advancement/JSON_format#Legend
rewards.functionstringA function to run for the current advancement https://minecraft.wiki/w/Advancement/JSON_format#Legend

What we found in this schema

Specification sections for the keywords in this schema

Keyword Document Section
$commentJSON Schema Core, draft 2020-12§8.3 — Comments With "$comment"
$idJSON Schema Core, draft 2020-12§8.2.1 — The "$id" Keyword
$refJSON Schema Core, draft 2020-12§8.2.3.1 — Direct References with "$ref"
$schemaJSON Schema Core, draft 2020-12§8.1.1 — "$schema"
additionalPropertiesJSON Schema Core, draft 2020-12§10.3.2.3 — "additionalProperties"
anyOfJSON Schema Core, draft 2020-12§10.2.1.2 — "anyOf"
defaultJSON Schema Validation, draft 2020-12§9.2 — "default"
descriptionJSON Schema Validation, draft 2020-12§9.1 — "title" and "description"
enumJSON Schema Validation, draft 2020-12§6.1.2 — "enum"
itemsJSON Schema Core, draft 2020-12§10.3.1.2 — "items"
minLengthJSON Schema Validation, draft 2020-12§6.3.2 — "minLength"
patternJSON Schema Validation, draft 2020-12§6.3.3 — "pattern"
propertiesJSON Schema Core, draft 2020-12§10.3.2.1 — "properties"
typeJSON Schema Validation, draft 2020-12§6.1.1 — "type"
uniqueItemsJSON Schema Validation, draft 2020-12§6.4.3 — "uniqueItems"

Documents

Attribution

This schema comes from SchemaStore, distributed under the Apache License 2.0. Copyright 2015–present Mads Kristensen and contributors. View the original file. The field table and audit on this page are generated by JSONTools.tools; the schema itself is unmodified.

← All schemas