ObjectiveAsset
Documentation for the ObjectiveAsset asset type.
Location
Objective/Objectives
Use in Your Files
Add this to your JSON files for IDE autocompletion and validation:
"$schema": "https://hytaledb.ginco.gg/schemas/ObjectiveAsset.schema.json" Schema
Category
stringnull
TaskSets array
Array items: TaskSet
Completions arraynull
Array items: unknown
TitleId
stringnull
DescriptionId
stringnull
RemoveOnItemDrop
boolean
All of
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "ObjectiveAsset.json",
"title": "ObjectiveAsset",
"description": "ObjectiveAsset asset type",
"type": "object",
"allOf": [
{
"$ref": "base.schema.json"
}
],
"properties": {
"Category": {
"type": [
"string",
"null"
]
},
"TaskSets": {
"type": "array",
"items": {
"$ref": "common.schema.json#/$defs/TaskSet"
},
"minItems": 1
},
"Completions": {
"type": [
"array",
"null"
],
"items": {
"title": "Type Selector",
"anyOf": [
{
"$ref": "common.schema.json#/$defs/ClearObjectiveItemsCompletionAsset"
},
{
"$ref": "common.schema.json#/$defs/GiveItemsCompletionAsset"
},
{
"$ref": "common.schema.json#/$defs/ReputationCompletionAsset"
}
]
}
},
"TitleId": {
"type": [
"string",
"null"
]
},
"DescriptionId": {
"type": [
"string",
"null"
]
},
"RemoveOnItemDrop": {
"type": "boolean",
"default": false
}
}
}