Data:UŊMAO: Difference between revisions

From Nguhcraft Wiki
Jump to navigation Jump to search
Annwan created the page Data:UŊMAO using a non-default content model "JSON"
 
No edit summary
Line 1: Line 1:
{}
{
"__schema": {
"currencies": {
"description": "Currencies known to the UŊMAO",
"type": [
{
"code": "3 letters; first 2 describe a country code as per [[Data:Places]]",
"place_override": "string; 2 letter code of country if it changed since the withdrawal of a currency",
"name": "string",
"link_override": "string",
"backing_resource": "3 letters; according to resources in this file or `___`",
"backing_val": "number; value in the backing resource",
"discontinued": "true|string; include if the currency has been discontinued, if it’s a string, that’s the reason, if so the `normalized_val` field is mandatory",
"normalized_val": "number; value in slablet, if the currency is in circulation and both `backing_resource` and `backing_val` are specified, it should be omitted."
}
]
},
"resources": {
"description": "Resources tracked by the UŊMAO",
"type": [
{
"code": "3 letters;",
"name": "string",
"link_override": "string",
"normalized_val": "number; value in slablet",
"slab_exchange": "bool; whether the resource is accepted by the slab exchange"
}
]
}
},
"currencies": [],
"resources": [
{
"code": "XCC",
"name": "Diamond",
"normalized_val": 0.8888888888889,
"slab_exchange": true
},
{
"code": "XNE",
"name": "Netherite Ingot",
"normalized_val": 32,
"slab_exchange": true
},
{
"code": "XPS",
"name": "Petrified Oak Slab",
"normalized_val": 32,
"slab_exchange": true
},
{
"code": "XAU",
"name": "Raw Gold",
"normalized_val": 0.1,
"slab_exchange": false
}
]
}

Revision as of 16:29, 17 February 2026

__schema
currencies
description"Currencies known to the UŊMAO"
type
code"3 letters; first 2 describe a country code as per [[Data:Places]]"
place_override"string; 2 letter code of country if it changed since the withdrawal of a currency"
name"string"
link_override"string"
backing_resource"3 letters; according to resources in this file or `___`"
backing_val"number; value in the backing resource"
discontinued"true|string; include if the currency has been discontinued, if it’s a string, that’s the reason, if so the `normalized_val` field is mandatory"
normalized_val"number; value in slablet, if the currency is in circulation and both `backing_resource` and `backing_val` are specified, it should be omitted."
resources
description"Resources tracked by the UŊMAO"
type
code"3 letters;"
name"string"
link_override"string"
normalized_val"number; value in slablet"
slab_exchange"bool; whether the resource is accepted by the slab exchange"
currencies
Empty array
resources
code"XCC"
name"Diamond"
normalized_val0.8888888888889
slab_exchangetrue
code"XNE"
name"Netherite Ingot"
normalized_val32
slab_exchangetrue
code"XPS"
name"Petrified Oak Slab"
normalized_val32
slab_exchangetrue
code"XAU"
name"Raw Gold"
normalized_val0.1
slab_exchangefalse