Created
October 29, 2022 12:12
-
-
Save arn4v/6eab90816c47b40d99ca97603b0e7efe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"title": "Generated schema for Root", | |
"type": "object", | |
"properties": { | |
"port": { | |
"type": "number" | |
}, | |
"db": { | |
"type": "object", | |
"properties": { | |
"clickhouse": { | |
"type": "object", | |
"properties": { | |
"host": { | |
"type": "string" | |
}, | |
"port": { | |
"type": "number" | |
}, | |
"user": { | |
"type": "string" | |
}, | |
"password": { | |
"type": "string" | |
}, | |
"database": { | |
"type": "string" | |
}, | |
"migration_table_name": { | |
"type": "string" | |
}, | |
"events_table_name": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"host", | |
"port", | |
"user", | |
"password", | |
"database", | |
"migration_table_name", | |
"events_table_name" | |
] | |
}, | |
"postgres": { | |
"type": "object", | |
"properties": { | |
"host": { | |
"type": "string" | |
}, | |
"port": { | |
"type": "number" | |
}, | |
"user": { | |
"type": "string" | |
}, | |
"password": { | |
"type": "string" | |
}, | |
"database": { | |
"type": "string" | |
}, | |
"migration_table_name": { | |
"type": "string" | |
}, | |
"users_table_name": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"host", | |
"port", | |
"user", | |
"password", | |
"database", | |
"migration_table_name", | |
"users_table_name" | |
] | |
} | |
}, | |
"required": [ | |
"clickhouse", | |
"postgres" | |
] | |
} | |
}, | |
"required": [ | |
"port", | |
"db" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment