{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "form": [
        {
            "type": "validator",
            "url": "/devops/setup/bm-helper/helper.html"
        },
        {
            "type": "password",
            "readonly": false,
            "title": "IBM Cloud API Key",
            "key": "api-key"
        },
        {
            "key": "app-name",
            "readonly": false,
            "title": "App Name",
            "type": "text"
        },
        {
            "columnCount": 3,
            "items": [
                {
                    "title": "Region",
                    "type": "label"
                },
                {
                    "title": "Organization",
                    "type": "label"
                },
                {
                    "title": "Space",
                    "type": "label"
                },
                {
                    "key": "dev-region",
                    "type": "select"
                },
                {
                    "key": "dev-organization",
                    "type": "select"
                },
                {
                    "key": "dev-space",
                    "readonly": false,
                    "type": "select"
                }
            ],
            "type": "table",
            "widths": [
                "28%",
                "28%",
                "28%"
            ]
        }
    ],
    "longDescription": "The Delivery Pipeline automates continuous deployment.",
    "properties": {
        "api-key": {
            "description": "IBM Cloud API keys contain permissions that grant access to organizations, spaces, and Kubernetes clusters. You can obtain your API key with 'ibmcloud iam api-key-create' or via the console at https://cloud.ibm.com/iam/#/apikeys by clicking **Create API key** (Each API key only can be viewed once).",
            "type": "string"
        },
        "app-name": {
            "description": "app name",
            "type": "string"
        },
        "dev-organization": {
            "description": "The IBM Cloud org",
            "type": "string"
        },
        "dev-region": {
            "description": "The IBM Cloud region",
            "type": "string"
        },
        "dev-space": {
            "description": "The IBM Cloud space",
            "type": "string"
        }
    },
    "required": [
        "dev-region",
        "dev-organization",
        "dev-space",
        "app-name"
    ],
    "title": "Sample Deploy Stage",
    "type": "object"
}