{ "$schema": "http://json-schema.org/draft-07/schema#", "$comment": "Meta-schema enforced by tests/xpcshell/test_policies_schema.js. Every policy must declare metadata that downstream tooling relies on.", "type": "object", "properties": { "properties": { "type": "object", "additionalProperties": { "type": "object", "required": ["description", "x-category", "examples"], "properties": { "description": { "type": "string", "minLength": 25 }, "x-category": { "type": "string", "minLength": 1 }, "examples": { "type": "array", "minItems": 1 } } } } } }