mirror of
https://gitlab.com/gridtracker.org/gridtracker
synced 2026-08-13 17:52:40 -04:00
213 lines
No EOL
11 KiB
JSON
213 lines
No EOL
11 KiB
JSON
{
|
|
"$id": "awards.schema.json",
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"description": "List of awards by sponsor and programmatic definitions of each",
|
|
"patternProperties": {
|
|
"[0-9A-Z]{2,10}": {
|
|
"title": "Awards Tracker Definitions",
|
|
"type": "object",
|
|
"required": [
|
|
"awards",
|
|
"compiledBy",
|
|
"mixed",
|
|
"qsl_req",
|
|
"sponsor",
|
|
"website"
|
|
],
|
|
"properties": {
|
|
"awards": {
|
|
"description": "A list of awards from this sponsor with a programmatic description of each",
|
|
"type": "object",
|
|
"patternProperties": {
|
|
"[0-9A-Z]{3,10}": {
|
|
"title": "Awards",
|
|
"type": "object",
|
|
"required": [
|
|
"name",
|
|
"rule",
|
|
"sponsor",
|
|
"tooltip"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Full name of the award"
|
|
},
|
|
"rule": {
|
|
"type": "object",
|
|
"description": "Award rules",
|
|
"properties": {
|
|
"band": {
|
|
"type": "array",
|
|
"description": "Array of bands this award is valid for, or single array value mixed",
|
|
"items": {
|
|
"type": "string",
|
|
"enum": [
|
|
"Mixed",
|
|
"160m",
|
|
"80m",
|
|
"60m",
|
|
"40m",
|
|
"30m",
|
|
"20m",
|
|
"17m",
|
|
"15m",
|
|
"12m",
|
|
"11m",
|
|
"10m",
|
|
"6m",
|
|
"4m",
|
|
"2m",
|
|
"1.25m",
|
|
"70cm",
|
|
"33cm",
|
|
"23cm"
|
|
]
|
|
}
|
|
},
|
|
"call": {
|
|
"type": "array",
|
|
"description": "Array of valid callsigns needed to work for award",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"count": {
|
|
"type": "array",
|
|
"description": "Array of the count of type that is needed for this award",
|
|
"items": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"dxcc": {
|
|
"type": "array",
|
|
"description": "DXCC entity by ARRL DXCC entity number that are valid for award",
|
|
"items": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"endorse": {
|
|
"type": "array",
|
|
"description": "Array of bands to that count as single band endorsements (if any)",
|
|
"items": {
|
|
"type": "string",
|
|
"enum": [
|
|
"Mixed",
|
|
"160m",
|
|
"80m",
|
|
"60m",
|
|
"40m",
|
|
"30m",
|
|
"20m",
|
|
"17m",
|
|
"15m",
|
|
"12m",
|
|
"11m",
|
|
"10m",
|
|
"6m",
|
|
"4m",
|
|
"2m",
|
|
"1.25m",
|
|
"70cm",
|
|
"33cm",
|
|
"23cm"
|
|
]
|
|
}
|
|
},
|
|
"mode": {
|
|
"type": "array",
|
|
"description": "Array of modes valid for award",
|
|
"items": {
|
|
"type": "string",
|
|
"enum": [
|
|
"Mixed",
|
|
"CW",
|
|
"Digital",
|
|
"FT8",
|
|
"FT4",
|
|
"Phone"
|
|
]
|
|
}
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"description": "The type of award",
|
|
"enum": [
|
|
"call",
|
|
"callarea",
|
|
"calls2band",
|
|
"calls2dxcc",
|
|
"cnty",
|
|
"cont",
|
|
"cont2band",
|
|
"cont5",
|
|
"cont52band",
|
|
"count",
|
|
"cqz",
|
|
"dxcc",
|
|
"dxcc2band",
|
|
"grids",
|
|
"IOTA",
|
|
"mode",
|
|
"numsfx",
|
|
"px",
|
|
"pxa",
|
|
"pxplus",
|
|
"sfx",
|
|
"states",
|
|
"states2band"
|
|
]
|
|
},
|
|
"unique": {
|
|
"type": "array",
|
|
"description": "Number of uniques that is required",
|
|
"items": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"zone": {
|
|
"type": "array",
|
|
"description": "Zone Numbers that must be worked for award",
|
|
"items": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"sponsor": {
|
|
"type": "string",
|
|
"description": "Short name of award sponsor"
|
|
},
|
|
"tooltip": {
|
|
"type": "string",
|
|
"description": "Text for award tracker tooltip"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"compiledBy": {
|
|
"description": "The name/callsign of the custodian of this award sponsor data",
|
|
"type": "string"
|
|
},
|
|
"mixed": {
|
|
"description": "List of bands considered for 'mixed band' of each award",
|
|
"items": {},
|
|
"type": "array"
|
|
},
|
|
"qsl_req": {
|
|
"description": "Do contacts have to be QSL'd and if so how to qualify for this award sponsor",
|
|
"type": "string"
|
|
},
|
|
"sponsor": {
|
|
"description": "Full proper name of awards sponsor",
|
|
"type": "string"
|
|
},
|
|
"website": {
|
|
"description": "The URI of the awards sponsor's official website",
|
|
"type": "uri"
|
|
}
|
|
}
|
|
}
|
|
} |