BarterShopAsset
Documentation for the BarterShopAsset asset type.
Location
BarterShops
Use in Your Files
Add this to your JSON files for IDE autocompletion and validation:
"$schema": "https://hytaledb.ginco.gg/schemas/BarterShopAsset.schema.json" Schema
DisplayNameKey
stringnull
RefreshInterval unknown
Any of
Trades arraynull
Array items: BarterTrade
TradeSlots arraynull
Array items: unknown
RestockHour
integer
All of
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "BarterShopAsset.json",
"title": "BarterShopAsset",
"description": "BarterShopAsset asset type",
"type": "object",
"allOf": [
{
"$ref": "base.schema.json"
}
],
"properties": {
"DisplayNameKey": {
"type": [
"string",
"null"
]
},
"RefreshInterval": {
"anyOf": [
{
"$ref": "common.schema.json#/$defs/RefreshInterval"
},
{
"type": "null"
}
]
},
"Trades": {
"type": [
"array",
"null"
],
"items": {
"$ref": "common.schema.json#/$defs/BarterTrade"
}
},
"TradeSlots": {
"type": [
"array",
"null"
],
"items": {
"title": "Type Selector",
"anyOf": [
{
"$ref": "common.schema.json#/$defs/FixedTradeSlot"
},
{
"$ref": "common.schema.json#/$defs/PoolTradeSlot"
}
]
}
},
"RestockHour": {
"type": "integer"
}
}
}