spiegel-keyman/resources/standards-data/keylayout
Sabine 0033e2cdac feat(developer):
consolidate imports
use prefix '@__' instead of   '@_'
remove fixupEmptyStringToEmptyObject_keylayout and use fixupEmptyStringToEmptyObject instead
2026-02-17 23:15:19 +01:00
..
dtd feat(developer): 2026-02-17 23:15:19 +01: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): 2026-02-17 23:15:19 +01: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)