spiegel-keyman/developer/js/tests/fixtures/example.qaa.sencoten/example.qaa.sencoten.model.kmp.json
Marc Durdin 2f2f998da6 fix(developer): schema conformance for model package compiler
Fixes #3199.

Ensures that the model package compiler passes schema validation for
kmp.json. Three problems were corrected:

1. `followKeyboardVersion` is a source-only property; it should not be
   in deployable kmp.json.
2. `copyLocation` should have been a number not a string (in XML
   everything is a string... but JSON has more control here)
3. `fileType` is a source-only property; it also should not be in
   deployable kmp.json.

I have checked that the resulting files validate against the package
kmp.json schema version 1.1.0 defined at
https://github.com/keymanapp/api.keyman.com/blob/master/schemas/package/1.1.0/package.json.

None of these fixes should impact the use of these packages in target
apps. `followKeyboardVersion` and `fileType` are used only in the source
at package development time, and `copyLocation` is unused (and should be
eliminated from Keyman altogether in the future).
2021-03-01 10:57:49 +11:00

45 lines
No EOL
959 B
JSON

{
"system": {
"keymanDeveloperVersion": "12.0.1500.0",
"fileVersion": "12.0"
},
"options": {},
"info": {
"author": {
"description": "Eddie Antonio Santos",
"url": "mailto:Eddie.Santos@nrc-cnrc.gc.ca"
},
"copyright": {
"description": "© 2019 National Research Council Canada"
},
"name": {
"description": "SENĆOŦEN (Saanich Dialect) Lexical Model"
},
"version": {
"description": "1.0.3"
}
},
"files": [
{
"name": "..\\build\\example.qaa.sencoten.model.js",
"description": "Lexical model example.qaa.sencoten.model.js",
"copyLocation": 0
}
],
"lexicalModels": [
{
"name": "SENĆOŦEN dictionary",
"id": "example.qaa.sencoten",
"languages": [
{
"name": "North Straits Salish",
"id": "qaa"
},
{
"name": "SENĆOŦEN",
"id": "qaa-Latn"
}
]
}
]
}