spiegel-keyman/resources/standards-data/ldml-keyboards
Steven R. Loomis 900fb7d706 fix(common): fix schema fixer 🙀
- keyboardTest3 didn't get a fix that had applied to keyboard[3]
- regenerate using the exact same CLDR

Fixes: #9683
2023-10-09 14:23:25 -05:00
..
techpreview fix(common): fix schema fixer 🙀 2023-10-09 14:23:25 -05:00
readme.md chore(resources): code changes for keyboard to keyboard3 🙀 2023-09-18 19:00:32 -05:00

ldml-keyboards

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-keyboard3.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)