spiegel-keyman/resources/standards-data/ldml-keyboards
Steven R. Loomis 8934b9f6b8
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-10-20 15:13:41 -05:00
..
techpreview Apply suggestions from code review 2022-10-20 15:13:41 -05:00
readme.md feat(developer): use json schema to verify source file 2022-09-01 16:56:50 +10:00

ldml-keyboards

This data is from https://github.com/unicode-org/cldr.git

Data will eventually be versioned, so there would be a 42, 43 etc directory.

Currently there is a techpreview directory referring to the technical preview—work in progress work in 2022. That will very roughly correspond to https://github.com/unicode-org/cldr/tree/keyboard-preview, or pull requests thereunto.

Data Format

Each directory contains:

  • ldmlKeyboard.dtd - the DTD file

  • ldmlKeyboard.xsd - the XSD file, automatically converted from the DTD using Visual Studio, hand tweaked as necessary

  • ldml-keyboard.schema.json - the JSON schema file, automatically converted from the XSD using xsd2json (https://github.com/Mermade/jgeXml), hand tweaked as necessary:

    • change toplevel "id" to "$id"
    • add "type": "object" to /keyboard
    • change /keyboard/keys/key type to "array"
  • imports/ - the importable data files (TODO-LDML)