diff options
author | Pascal Getreuer <[email protected]> | 2025-03-31 22:06:42 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2025-04-01 16:06:42 +1100 |
commit | da166d4d8b1eb5cf984a08effdf20faaca2b3234 (patch) | |
tree | 07d4bac5c1f532ff5d7432c5f3fd74f924e0dfbe /lib/python/qmk/json_encoders.py | |
parent | 3cd292498566cd94983a5311156fb3b7f348d911 (diff) | |
download | qmk_firmware-da166d4d8b1eb5cf984a08effdf20faaca2b3234.tar.gz qmk_firmware-da166d4d8b1eb5cf984a08effdf20faaca2b3234.zip |
Add "license" field to Community Module JSON schema. (#25085)
Add "license" field to community module schema.
Diffstat (limited to 'lib/python/qmk/json_encoders.py')
-rwxr-xr-x | lib/python/qmk/json_encoders.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/python/qmk/json_encoders.py b/lib/python/qmk/json_encoders.py index e83a381d52..e8bcf48996 100755 --- a/lib/python/qmk/json_encoders.py +++ b/lib/python/qmk/json_encoders.py @@ -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' |