Skip to content

WorkflowCompleted schema

{
    "$schema": "http://json-schema.org/draft/2019-09/schema#",
    "title": "JSON SCHEMA for opentestfactory.org/v1alpha1 WorkflowCompleted manifests",
    "type": "object",

    "properties": {
        "apiVersion": { "const": "opentestfactory.org/v1alpha1" },
        "kind": { "const": "WorkflowCompleted" },
        "metadata": {
            "type": "object",
            "properties": {
                "name": { "type": "string" },
                "workflow_id": { "type": "string" },

                "labels": {
                    "type": "object",
                    "patternProperties": {
                        "^([a-zA-Z0-9-.]+/)?[a-zA-Z0-9]([a-zA-Z0-9._-]*[a-zA-Z0-9])?$": {
                            "type": "string"
                        }
                    },
                    "minProperties": 1,
                    "additionalProperties": false
                }
            },
            "additionalProperties": true,
            "required": [ "name", "workflow_id" ]
        }
    },
    "required": [ "apiVersion", "kind", "metadata" ],
    "additionalProperties": false
}