{
  "$schema": "http://json-schema.org/schema",
  "$id": "CloudApplicationSchema",
  "title": "Cloud Application Schema",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "$default": {
        "$source": "argv",
        "index": 0
      }
    },
    "sfserver": {
        "type": "string",
        "description": "The Spotfire Server to use",
        "x-prompt": "What is the Spotfire server you want to use ?",
        "default": "https://eu.spotfire-next.cloud.tibco.com"
      },
    "sflocation": {
        "type": "string",
        "description": "The Spotfire Report Location",
        "x-prompt": "What is the Location of the Spotfire Report you want to use ?",
        "default": "/Samples/Expense Analyzer Dashboard"
      }
    },
  "required": [
    "name","sfserver","sflocation"
  ]
}

