| { |
| "definitions": {}, |
| "$schema": "http://json-schema.org/draft-07/schema#", |
| "$id": "http://example.com/root.json", |
| "type": "object", |
| "title": "The Root Schema", |
| "required": [ |
| "local", |
| "logger" |
| ], |
| "properties": { |
| "local": { |
| "$id": "#/properties/local", |
| "type": "object", |
| "title": "The Local Schema", |
| "required": [ |
| "host" |
| ], |
| "properties": { |
| "host": { |
| "$id": "#/properties/local/properties/host", |
| "type": "string", |
| "title": "The Host Schema", |
| "default": "", |
| "pattern": "^(.*)$" |
| } |
| } |
| }, |
| "logger": { |
| "$id": "#/properties/logger", |
| "type": "object", |
| "title": "The Logger Schema", |
| "required": [ |
| "level" |
| ], |
| "properties": { |
| "level": { |
| "$id": "#/properties/logger/properties/level", |
| "type": "integer", |
| "title": "The Level Schema", |
| "default": 0 |
| } |
| } |
| } |
| } |
| } |