{ "$schema": "http://json-schema.org/draft-07/schema", "$id": "https://raw.githubusercontent.com/tajetaje/firestore-rule-compiler/main/src/lib/model.schema.json", "type": "object", "properties": { "topLevelMatchPath": { "type": "string", "description": "The top level match parameter (i.e. /databases/{database}/documents)" }, "matches": { "type": "array", "items": { "$ref": "defs.schema.json#/definitions/match" }, "nullable": true, "description": "An array of matches to place in the rules" }, "customFunctions": { "type": "array", "items": { "type": "string" }, "nullable": true, "description": "An array of functions (strings) to place at the bottom of the rules, prettified automatically, though no syntax checking is performed" } }, "required": [ "topLevelMatchPath" ] }