{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "MicroServices Deploy Stage",
    "description": "Feb Demo Microservices GitHub Schema",
    "longDescription": "The GitHub Service allows you to create or use an existing GitHub repository to store your source code.",
    "type": "object",
    "properties": {
        "catalog-api-repo_name": {
            "type": "string"
        },
        "catalog-api-repo_url": {
            "type": "string"
        }
    },
    "required": [
        "catalog-api-repo_name",
        "catalog-api-repo_url"
    ],
    "form": [
        {
            "type": "validator",
            "url": "https://devops.stage1.ng.bluemix.net/develop/setup/bm-helper/custom_github_helper.html"
        },
        {
            "type": "table",
            "columnCount": 3,
            "widths": [
                "47%",
                "6%",
                "47%"
            ],
            "items": [
                {
                    "type": "label",
                    "title": "Source Repository"
                },
                {
                    "type": "label",
                    "title": ""
                },
                {
                    "type": "label",
                    "title": "Target Repository"
                },
                {
                    "type": "text",
                    "key": "catalog-api-repo_url"
                },
                {
                    "type": "icon",
                    "iconType": "right_arrow"
                },
                {
                    "type": "text",
                    "key": "catalog-api-repo_name"
                }
            ]
        }
    ]
}