[aprssig] APRS device identifiers (tocalls) in YAML, XML and JSON
hessu at hes.iki.fi
Wed Oct 23 16:23:58 CDT 2013
Tonight i started the effort of publishing a machine-readable APRS
device/software identification database. This is basically tocalls.txt
in a format that can be used by software without another manual
conversion job from Bob's text format. It also contains aprsd's
identification which is not present in tocalls.txt.
The master copy is in YAML, which I personally prefer for editing by
hand using my favourite ASCII text editor. The format is suitable for
configuration files and such, and allows #comments.
Then there's a validator script which calls a YAML parser and then
checks the contents a bit (makes sure mandatory keys are present, and
non-mandatory keys are in the supported set). Should prevent most of
the stupid editing mistakes.
The validator then produces XML and JSON files which are easy to read
in most programming languages (if you don't wish to bring in a YAML
Pretty-printed JSON (with some newlines and whitespace):
Dense JSON (no whitespace for readability):
Dense XML (feedback on schema is welcome):
Documentation in the README file:
Click on the "Raw" button to find a link to the raw files.
Mic-E identifiers are still missing. I'll add it, and then make the
Ham::APRS::DeviceID use this database.
Note that I didn't actually use this version of the database for
anything yet, I just put it together tonight. There are probably some
errors in the contents.
More information about the aprssig