Add "license" field to Community Module JSON schema. (#25085)
Add "license" field to community module schema.
This commit is contained in:
parent
3cd2924985
commit
da166d4d8b
5 changed files with 13 additions and 3 deletions
|
@ -250,12 +250,14 @@ class CommunityModuleJSONEncoder(QMKJSONEncoder):
|
|||
return '00module_name'
|
||||
if key == 'maintainer':
|
||||
return '01maintainer'
|
||||
if key == 'license':
|
||||
return '02license'
|
||||
if key == 'url':
|
||||
return '02url'
|
||||
return '03url'
|
||||
if key == 'features':
|
||||
return '03features'
|
||||
return '04features'
|
||||
if key == 'keycodes':
|
||||
return '04keycodes'
|
||||
return '05keycodes'
|
||||
elif self.indentation_level == 3: # keycodes
|
||||
if key == 'key':
|
||||
return '00key'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue