{ "$id": "https://example.com/config.schema.json", "$schema": "http://json-schema.org/draft-07/schema#", "title": "config", "type": "object", "properties": { "dsn": { "type": "string" }, "foo": { "const": "bar" }, "bar": { "type": "string", "enum": ["foo", "bar", "baz"] } }, "required": ["dsn"] }