We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d116b1a + e276869 commit ab72150Copy full SHA for ab72150
1 file changed
internal/validation/schema/rules-schema.json
@@ -33,6 +33,18 @@
33
"description": "The version of the ruleset",
34
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$"
35
},
36
+ "tags": {
37
+ "type": "array",
38
+ "description": "Tags to categorize or label the ruleset",
39
+ "items": {
40
+ "type": "string",
41
+ "minLength": 1,
42
+ "maxLength": 50,
43
+ "pattern": "^[a-zA-Z0-9-_]+$"
44
+ },
45
+ "uniqueItems": true,
46
+ "maxItems": 20
47
48
"rules": {
49
"type": "object",
50
"description": "A map of rule names to their versions",
0 commit comments