{ "$id": "/pub/schema/flag.schema", "title": "Flag parameter", "type": "object", "properties": { "type": { "const": "flag" }, "keyword": { "$ref": "/pub/schema/keyword.schema" }, "description": { "$ref": "/pub/schema/desc.schema" }, "default": { "type": "boolean", "description": "Default flag state [ true/on or false/off ]" }, "value": { "oneOf": [ { "$ref": "/pub/schema/expression.schema" }, { "type": "object", "properties": { "literal": { "type": "boolean", "description": "Flag state" } }, "additionalProperties": false } ] } }, "required": ["type", "keyword", "description", "default"], "additionalProperties": false }