{"externalDocs": {"url": "https://docs.architect.io/reference/architect-yml#databasespec"}, "required": ["type"], "patternProperties": {"^\\${{\\s*if(.*?)\\s*}}$": {"anyOf": [{"externalDocs": {"url": "https://docs.architect.io/reference/architect-yml#databasespec"}, "required": ["type"], "patternProperties": {}, "additionalProperties": false, "type": "object", "properties": {"connection_string": {"anyOf": [{"type": "string", "format": "uri"}, {"type": "null"}, {"pattern": "\\${{\\s*(.*?)\\s*}}", "errorMessage": {"pattern": "must be an interpolation ref ex. $__arc__{{ secrets.example }}"}, "type": "string"}]}, "type": {"type": "string", "errorMessage": "must be of the format <engine>:<version> (e.g. postgres:13)", "anyOf": [{"enum": ["postgres:10", "postgres:11", "postgres:12", "postgres:13", "postgres:14", "postgres:15", "mysql:5", "mysql:6", "mysql:7", "mysql:8", "mariadb:10"], "type": "string"}, {"pattern": "\\${{\\s*(.*?)\\s*}}", "errorMessage": {"pattern": "must be an interpolation ref ex. $__arc__{{ secrets.example }}"}, "type": "string"}]}}}]}}, "additionalProperties": false, "type": "object", "properties": {"connection_string": {"anyOf": [{"type": "string", "format": "uri"}, {"type": "null"}, {"pattern": "\\${{\\s*(.*?)\\s*}}", "errorMessage": {"pattern": "must be an interpolation ref ex. $__arc__{{ secrets.example }}"}, "type": "string"}]}, "type": {"type": "string", "errorMessage": "must be of the format <engine>:<version> (e.g. postgres:13)", "anyOf": [{"enum": ["postgres:10", "postgres:11", "postgres:12", "postgres:13", "postgres:14", "postgres:15", "mysql:5", "mysql:6", "mysql:7", "mysql:8", "mariadb:10"], "type": "string"}, {"pattern": "\\${{\\s*(.*?)\\s*}}", "errorMessage": {"pattern": "must be an interpolation ref ex. $__arc__{{ secrets.example }}"}, "type": "string"}]}}}