spiegel-keyman/resources/standards-data/keylayout
2025-08-29 09:54:33 +02:00
..
dtd feat(developer): changed copyright, imports, duplicate validationError, comments 2025-07-14 15:32:38 +02:00
create_keylayout_schema.sh chore(developer): update kmc-convert create_keylayout_schema.sh with new builder-basic.inc.sh 2025-08-29 09:54:33 +02:00
keylayout.schema.json feat(developer): remove fixup-keylayout-schema 2025-07-07 11:47:28 +02:00
readme.md feat(developer): readme; add keylayout to schema-bundler.js; remove comments in create_keylayout_schema.sh 2025-05-21 11:20:25 +02:00

Keylayout

This is to get a keylayout.schema.json for validating keylayout files

  • We first need to have a .XSD file created from a .keylayout file (which is an xml-file type ) e.g. resources\standards-data\keylayout\dtd\keylayout.xsd

  • Then we need to run ./create_keylayout_schema.sh to obtain a .schema.json file e.g resources\standards-data\keylayout\create_keylayout_schema.sh

  • Then we need to run build.sh configure of common/web/types/ which will create a schema.validate.mjs file e.g. common/web/types/build.sh configure

  • The .mjs can then be used via SchemaValidators to validate keylayout files e.g. SchemaValidators.default.keylayout(source)