added field-rule to grammar-schema.json
{
"type": "object",
- "required": [
- "name",
- "rules"
- ],
+ "required": ["name", "rules"],
"additionalProperties": false,
"required": ["type", "content"]
},
+ "field-rule": {
+ "properties": {
+ "name": { "type": "string" },
+ "type": {
+ "type": "string",
+ "pattern": "^FIELD$"
+ },
+ "content": {
+ "$ref": "#/definitions/rule"
+ }
+ },
+ "required": ["name", "type", "content"]
+ },
+
"prec-rule": {
"type": "object",
"properties": {
{ "$ref": "#/definitions/repeat1-rule" },
{ "$ref": "#/definitions/repeat-rule" },
{ "$ref": "#/definitions/token-rule" },
+ { "$ref": "#/definitions/field-rule" },
{ "$ref": "#/definitions/prec-rule" }
]
}
