spiegel-keyman/common/schemas/kvks
Marc Durdin 78f4660557 feat(common): kvks writer for TypeScript
Also splits attributes from sub-elements in kvks-file in order to make
round-trip writing more pleasant.

Adds new round-trip test for kvks writer.

Removes incorrect property keybitmap, adds missing property layout.
2022-09-29 12:32:12 +10:00
..
kvks.schema.json feat(common): kvks writer for TypeScript 2022-09-29 12:32:12 +10:00
kvks.xsd feat(developer): add schemas for .kvk and .kvks 2022-09-26 20:05:52 +10:00
README.md feat(developer): add schemas for .kvk and .kvks 2022-09-26 20:05:52 +10:00

.kvks schema

This schema validates .kvks files, according to the reference implementation from VisualKeyboardLoaderXML.pas.

Notes on conversion from xsd to json-schema

Converted using xsd2json. Following structural changes:

  • kvk-version base type from km-version to string, copy km-version pattern in
  • remove xs:all bracketing
  • remove format:double from fontsize, change type to string
  • encoding property changed type to array
  • kvk-key added _ property for base text value