nfsense/internal/validation/schema/firewall/rule.schema.json

20 lines
No EOL
460 B
JSON

{
"$id": "https://nfsense.net/schema/firewall/rule.schema.json",
"title": "Rule",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"match": {
"$ref": "https://nfsense.net/schema/firewall/match.schema.json"
},
"comment": {
"type": "string"
},
"counter": {
"type": "boolean"
}
},
"required": ["name", "match"]
}