Skip to content

Commit

Permalink
update jsonschema
Browse files Browse the repository at this point in the history
  • Loading branch information
hugowetterberg committed May 29, 2024
1 parent f7a6967 commit a478159
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions spec.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,12 @@
"attributes": {
"$ref": "#/$defs/ConstraintMap"
},
"enums": {
"items": {
"$ref": "#/$defs/Enum"
},
"type": "array"
},
"htmlPolicies": {
"items": {
"$ref": "#/$defs/HTMLPolicy"
Expand Down Expand Up @@ -211,6 +217,45 @@
"additionalProperties": false,
"type": "object"
},
"Enum": {
"properties": {
"declare": {
"type": "string"
},
"match": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"values": {
"additionalProperties": {
"$ref": "#/$defs/EnumConstraint"
},
"type": "object"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"values"
]
},
"EnumConstraint": {
"properties": {
"forbidden": {
"type": "boolean"
},
"deprecated": {
"$ref": "#/$defs/Deprecation"
}
},
"additionalProperties": false,
"type": "object"
},
"Glob": {
"properties": {},
"additionalProperties": false,
Expand Down Expand Up @@ -286,6 +331,9 @@
},
"type": "array"
},
"enumReference": {
"type": "string"
},
"pattern": {
"$ref": "#/$defs/Regexp"
},
Expand Down

0 comments on commit a478159

Please sign in to comment.