{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "MicroServices Deploy Stage",
    "description": "Feb Demo Microservices Stage Schema",
    "longDescription": "The Delivery Pipeline for Devops Services allows you to automate your continuous deployment setup.",
    "type": "object",
    "properties": {
        "dev-region": {
            "description": "The bluemix region",
            "type": "string"
        },
        "dev-organization": {
            "description": "The bluemix org",
            "type": "string"
        },
        "dev-space": {
            "description": "The bluemix space",
            "type": "string"
        },
        "catalog-app-name": {
            "description": "catalog app name",
            "type": "string"
        }
    },
    "required": [
        "dev-region",
        "dev-organization",
        "dev-space",
        "catalog-app-name"
    ],
    "form": [
        {
            "type": "validator",
            "url": "https://devops.stage1.ng.bluemix.net/develop/setup/bm-helper/helper.html"
        },
        {
            "type": "text",
            "readonly": true,
            "title": "Catalog App Name",
            "key": "catalog-app-name"
        },
        {
            "type": "table",
            "columnCount": 4,
            "widths": [
                "15%",
                "28%",
                "28%",
                "28%"
            ],
            "items": [
                {
                    "type": "label",
                    "title": ""
                },
                {
                    "type": "label",
                    "title": "Region"
                },
                {
                    "type": "label",
                    "title": "Organization"
                },
                {
                    "type": "label",
                    "title": "Space"
                },
                {
                    "type": "label",
                    "title": "Dev Stage"
                },
                {
                    "type": "select",
                    "key": "dev-region"
                },
                {
                    "type": "select",
                    "key": "dev-organization"
                },
                {
                    "type": "select",
                    "key": "dev-space",
                    "readonly": false
                }
            ]
        }
    ]
}