1+ {
2+ "$schema" : " http://json-schema.org/schema#" ,
3+ "$ref" : " #/definitions/ModelInfo" ,
4+
5+ "definitions" : {
6+ "ModelInfo" : {
7+ "type" : " object" ,
8+ "properties" : {
9+ "id" : { "type" : " string" },
10+ "name" : { "type" : " string" },
11+ "authorName" : { "type" : " string" },
12+ "authorEmail" : { "type" : " string" , "format" : " email" },
13+ "description" : { "type" : " string" },
14+ "license" : { "type" : " string" , "enum" : [" mit" ] },
15+ "languages" : { "type" : " array" , "items" : { "type" : " string" }, "uniqueItems" : true },
16+ "lastModifiedDate" : { "type" : " string" , "format" : " date-time" },
17+ "packageFilename" : { "type" : " string" },
18+ "packageFileSize" : { "type" : " number" },
19+ "jsFilename" : { "type" : " string" },
20+ "jsFileSize" : { "type" : " number" },
21+ "isRTL" : { "type" : " boolean" },
22+ "packageIncludes" : { "type" : " array" , "items" : { "type" : " string" , "enum" : [" fonts" ] }, "additionalItems" : false },
23+ "version" : { "type" : " string" },
24+ "minKeymanVersion" : { "type" : " string" , "pattern" : " ^\\ d+\\ .0$" },
25+ "helpLink" : { "type" : " string" , "pattern" : " ^http(s)?://help\\ .keyman(-staging)?\\ .com(.localhost)?/model/" },
26+ "sourcePath" : { "type" : " string" , "pattern" : " ^(release|experimental)/.+/.+$" },
27+ "related" : { "type" : " object" , "patternProperties" : {
28+ "." : { "$ref" : " #/definitions/ModelRelatedInfo" }
29+ },
30+ "additionalProperties" : false
31+ }
32+ },
33+ "required" : [
34+ " license" , " languages"
35+ ],
36+ "additionalProperties" : false
37+ },
38+
39+ "ModelRelatedInfo" : {
40+ "type" : " object" ,
41+ "properties" : {
42+ "deprecates" : { "type" : " boolean" },
43+ "deprecatedBy" : { "type" : " boolean" }
44+ },
45+ "required" : [],
46+ "additionalProperties" : false
47+ }
48+ }
49+ }
0 commit comments