mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-10 02:45:32 +00:00
Fixes #9140. Fixes #9148. Keyman Developer 9.0 .kpj files included a lot of additional state metadata. We need a schema which validates these files, as they are otherwise valid to load (we'll never save them any more). Rather than add all the extra metadata to what is otherwise a fairly clean schema, we'll provide a legacy .schema.json. In the future, we may be able to merge these schemas, as we move towards the .kpj 2.0 format which doesn't list files. Ideally, all three formats (Keyman Developer 9.0 schema, call it legacy, 1.0 schema for Keyman Developer 10.0+ which has Options and Files listed, 2.0 schema for capturing just project settings for a folder) will be supported by a single schema file. |
||
|---|---|---|
| .. | ||
| kpj-9.0.schema.json | ||
| README.md | ||
kpj-9.0.schema.json
Note: KeymanDeveloperProject.Options.Version is currently implicitly
always '1.0'. It will be required for version 2.0 and later of the format.
This is a schema for for supporting legacy versions of .kpj, from Keyman Developer 9.0 and earlier, is now available. Note that this schema is not fully validating on the legacy fields, but just sufficient to pass a valid file.
You should be using kpj.schema.json for most purposes