Add "license" field to Community Module JSON schema. (#25085)

Add "license" field to community module schema.
This commit is contained in:
Pascal Getreuer 2025-03-31 22:06:42 -07:00 committed by GitHub
parent 3cd2924985
commit da166d4d8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 13 additions and 3 deletions

View file

@ -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'