{"type": "object", "errorMessage": {"not": "Only one of host_path, key is allowed, or none should exist"}, "patternProperties": {"^\\${{\\s*if(.*?)\\s*}}$": {"anyOf": [{"type": "object", "errorMessage": {"not": "Only one of host_path, key is allowed, or none should exist"}, "patternProperties": {}, "not": {"required": ["host_path", "key"], "type": "object"}, "additionalProperties": false, "externalDocs": {"url": "https://docs.architect.io/reference/architect-yml#volumespec"}, "properties": {"host_path": {"anyOf": [{"type": "string"}, {"pattern": "\\${{\\s*(.*?)\\s*}}", "errorMessage": {"pattern": "must be an interpolation ref ex. $__arc__{{ secrets.example }}"}, "type": "string"}]}, "readonly": {"default": false, "anyOf": [{"type": "boolean"}, {"pattern": "\\${{\\s*(.*?)\\s*}}", "errorMessage": {"pattern": "must be an interpolation ref ex. $__arc__{{ secrets.example }}"}, "type": "string"}]}, "mount_path": {"anyOf": [{"type": "string"}, {"pattern": "\\${{\\s*(.*?)\\s*}}", "errorMessage": {"pattern": "must be an interpolation ref ex. $__arc__{{ secrets.example }}"}, "type": "string"}]}, "key": {"anyOf": [{"type": "string"}, {"pattern": "\\${{\\s*(.*?)\\s*}}", "errorMessage": {"pattern": "must be an interpolation ref ex. $__arc__{{ secrets.example }}"}, "type": "string"}], "externalDocs": {"url": "https://docs.architect.io/components/services/#volumes"}}}}]}}, "not": {"required": ["host_path", "key"], "type": "object"}, "additionalProperties": false, "externalDocs": {"url": "https://docs.architect.io/reference/architect-yml#volumespec"}, "properties": {"host_path": {"anyOf": [{"type": "string"}, {"pattern": "\\${{\\s*(.*?)\\s*}}", "errorMessage": {"pattern": "must be an interpolation ref ex. $__arc__{{ secrets.example }}"}, "type": "string"}]}, "readonly": {"default": false, "anyOf": [{"type": "boolean"}, {"pattern": "\\${{\\s*(.*?)\\s*}}", "errorMessage": {"pattern": "must be an interpolation ref ex. $__arc__{{ secrets.example }}"}, "type": "string"}]}, "mount_path": {"anyOf": [{"type": "string"}, {"pattern": "\\${{\\s*(.*?)\\s*}}", "errorMessage": {"pattern": "must be an interpolation ref ex. $__arc__{{ secrets.example }}"}, "type": "string"}]}, "key": {"anyOf": [{"type": "string"}, {"pattern": "\\${{\\s*(.*?)\\s*}}", "errorMessage": {"pattern": "must be an interpolation ref ex. $__arc__{{ secrets.example }}"}, "type": "string"}], "externalDocs": {"url": "https://docs.architect.io/components/services/#volumes"}}}}