Data:Post: Difference between revisions

From Nguhcraft Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
"desc": "A postal service provider",
"desc": "A postal service provider",
"type": [
"type": [
"array",
{
{
"short_code": {
"short_code": {
Line 31: Line 30:
"desc": "Locations equiped for sending and receiving mail",
"desc": "Locations equiped for sending and receiving mail",
"type": [
"type": [
"array",
{
{}
"place": {
"desc": "3 letter code for the place the the facility is in",
"type": "string"
},
"name": {
"desc": "Name of the facility (Typically something like “\u003CSettlement\u003E Post Office”",
"type": "string"
},
"address": {
"desc": "[Optional] Adress of the post office (with streets or numbers)",
"type": "string"
},
"delivering": {
"desc": "Short Codes for the providers delivering to this facility, or `true` for the central facility",
"type": {
"EITHER": [
[
"string"
],
true
]
}
},
"pickup": {
"desc": "Short Codes for the providers picking mail up at this facility, or `true` for the central facility",
"type": {
"EITHER": [
[
"string"
],
true
]
}
}
}
]
]
}
}

Revision as of 13:05, 4 January 2026

__schema
providers
desc"A postal service provider"
type
short_code
desc"A shorthand identifier for a service providers"
type"string; ideally less than 5 characters"
name
desc"The name of the service provider"
type"string"
headquarters
desc"Where the service provider is based from"
type"string"
managers
desc"Wiki links to the player(s) in charge of the service provider"
type
"array"
"string"
facilities
desc"Locations equiped for sending and receiving mail"
type
place
desc"3 letter code for the place the the facility is in"
type"string"
name
desc"Name of the facility (Typically something like “<Settlement> Post Office”"
type"string"
address
desc"[Optional] Adress of the post office (with streets or numbers)"
type"string"
delivering
desc"Short Codes for the providers delivering to this facility, or `true` for the central facility"
type
EITHER
"string"
true
pickup
desc"Short Codes for the providers picking mail up at this facility, or `true` for the central facility"
type
EITHER
"string"
true
providers
Empty array