{"type": "object", "errorMessage": {"not": "Only one of buildpack, dockerfile is allowed, or none should exist"}, "patternProperties": {"^\\${{\\s*if(.*?)\\s*}}$": {"anyOf": [{"type": "object", "errorMessage": {"not": "Only one of buildpack, dockerfile is allowed, or none should exist"}, "patternProperties": {}, "not": {"required": ["buildpack", "dockerfile"], "type": "object"}, "additionalProperties": false, "externalDocs": {"url": "https://docs.architect.io/reference/architect-yml#buildspec"}, "properties": {"buildpack": {"type": "boolean"}, "args": {"additionalProperties": false, "type": "object", "errorMessage": {"additionalProperties": "must contain only lower alphanumeric and single hyphens in the middle; max length 32"}, "patternProperties": {"^[a-zA-Z0-9_]+$": {"anyOf": [{"type": "string"}, {"type": "null"}]}, "^\\${{\\s*if(.*?)\\s*}}$": {"anyOf": [{"additionalProperties": false, "type": "object", "errorMessage": {"additionalProperties": "must contain only lower alphanumeric and single hyphens in the middle; max length 32"}, "patternProperties": {"^[a-zA-Z0-9_]+$": {"anyOf": [{"type": "string"}, {"type": "null"}]}}}]}}}, "dockerfile": {"default": "Dockerfile", "anyOf": [{"type": "string"}, {"pattern": "\\${{\\s*(.*?)\\s*}}", "errorMessage": {"pattern": "must be an interpolation ref ex. $__arc__{{ secrets.example }}"}, "type": "string"}]}, "target": {"anyOf": [{"type": "string"}, {"pattern": "\\${{\\s*(.*?)\\s*}}", "errorMessage": {"pattern": "must be an interpolation ref ex. $__arc__{{ secrets.example }}"}, "type": "string"}]}, "context": {"anyOf": [{"type": "string"}, {"pattern": "\\${{\\s*(.*?)\\s*}}", "errorMessage": {"pattern": "must be an interpolation ref ex. $__arc__{{ secrets.example }}"}, "type": "string"}]}}}]}}, "not": {"required": ["buildpack", "dockerfile"], "type": "object"}, "additionalProperties": false, "externalDocs": {"url": "https://docs.architect.io/reference/architect-yml#buildspec"}, "properties": {"buildpack": {"type": "boolean"}, "args": {"additionalProperties": false, "type": "object", "errorMessage": {"additionalProperties": "must contain only lower alphanumeric and single hyphens in the middle; max length 32"}, "patternProperties": {"^[a-zA-Z0-9_]+$": {"anyOf": [{"type": "string"}, {"type": "null"}]}, "^\\${{\\s*if(.*?)\\s*}}$": {"anyOf": [{"additionalProperties": false, "type": "object", "errorMessage": {"additionalProperties": "must contain only lower alphanumeric and single hyphens in the middle; max length 32"}, "patternProperties": {"^[a-zA-Z0-9_]+$": {"anyOf": [{"type": "string"}, {"type": "null"}]}}}]}}}, "dockerfile": {"default": "Dockerfile", "anyOf": [{"type": "string"}, {"pattern": "\\${{\\s*(.*?)\\s*}}", "errorMessage": {"pattern": "must be an interpolation ref ex. $__arc__{{ secrets.example }}"}, "type": "string"}]}, "target": {"anyOf": [{"type": "string"}, {"pattern": "\\${{\\s*(.*?)\\s*}}", "errorMessage": {"pattern": "must be an interpolation ref ex. $__arc__{{ secrets.example }}"}, "type": "string"}]}, "context": {"anyOf": [{"type": "string"}, {"pattern": "\\${{\\s*(.*?)\\s*}}", "errorMessage": {"pattern": "must be an interpolation ref ex. $__arc__{{ secrets.example }}"}, "type": "string"}]}}}