Merge remote-tracking branch 'origin/master' into develop

master
QMK Bot 2023-09-20 13:14:27 +00:00
commit 21c396a3aa
2 changed files with 12 additions and 1 deletions

View File

@ -29,6 +29,10 @@
"minLength": 1, "minLength": 1,
"maxLength": 250 "maxLength": 250
}, },
"snake_case": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]*$"
},
"layout_macro": { "layout_macro": {
"oneOf": [ "oneOf": [
{ {

View File

@ -268,7 +268,11 @@
"enabled": {"type": "boolean"} "enabled": {"type": "boolean"}
} }
}, },
"features": {"$ref": "qmk.definitions.v1#/boolean_array"}, "features": {
"$ref": "qmk.definitions.v1#/boolean_array",
"propertyNames": { "$ref": "qmk.definitions.v1#/snake_case" }
},
"indicators": { "indicators": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -382,6 +386,7 @@
"properties": { "properties": {
"animations": { "animations": {
"type": "object", "type": "object",
"propertyNames": { "$ref": "qmk.definitions.v1#/snake_case" }
"additionalProperties": { "additionalProperties": {
"type": "boolean" "type": "boolean"
} }
@ -431,6 +436,7 @@
"properties": { "properties": {
"animations": { "animations": {
"type": "object", "type": "object",
"propertyNames": { "$ref": "qmk.definitions.v1#/snake_case" }
"additionalProperties": { "additionalProperties": {
"type": "boolean" "type": "boolean"
} }
@ -483,6 +489,7 @@
"properties": { "properties": {
"animations": { "animations": {
"type": "object", "type": "object",
"propertyNames": { "$ref": "qmk.definitions.v1#/snake_case" }
"additionalProperties": { "additionalProperties": {
"type": "boolean" "type": "boolean"
} }