{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "description": "Parameters to instantiate Theia",
  "additionalProperties": false,
  "properties": {
    "autorun": {
      "title": "Automatically Run Sofware/Instance",
      "description": "The option used to pilot automatic build and run of software and instances hosted inside Theia. When 'running', build and run is done automatically in the background. When 'stopped' build and run processes are stopped and need to be run manually. When 'disabled', the user can manage it directly in the local supervisord. ",
      "type": "string",
      "enum": [
        "running",
        "stopped",
        "disabled"
      ],
      "default": "running"
    },
    "embedded-sr": {
      "title": "Embedded Software URL",
      "description": "Optional URL of a software to be embedded",
      "type": "string"
    },
    "embedded-sr-type": {
      "title": "Embedded Software Type",
      "description": "Type of the optional embedded software",
      "type": "string"
    },
    "frontend-guid": {
      "title": "Frontend Instance ID",
      "description": "Unique identifier of the frontend instance, like \"SOFTINST-11031\".",
      "type": "string"
    },
    "frontend-sr": {
      "title": "Frontend Software URL",
      "description": "Software Release URL of the frontend instance, like \"http://example.com/path/to/software.cfg\".",
      "type": "string",
      "format": "uri",
      "default": "http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/software/apache-frontend/software.cfg"
    },
    "frontend-sr-type": {
      "title": "Frontend Software Type",
      "description": "Type of the frontend instance, like \"frontend\".",
      "type": "string",
      "default": "RootSoftwareInstance"
    },
    "additional-frontend-guid": {
      "title": "Additional Frontend Instance ID",
      "description": "Unique identifier of the additional frontend instance, like \"SOFTINST-11031\", if empty won't be requested.",
      "type": "string"
    },
    "additional-frontend-sr": {
      "title": "Additional Frontend Software URL",
      "description": "Software Release URL of the frontend instance, like \"http://example.com/path/to/software.cfg\".",
      "type": "string",
      "format": "uri",
      "default": "http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/software/apache-frontend/software.cfg"
    },
    "additional-frontend-sr-type": {
     "title": "Additional Frontend Software Type",
      "description": "Type of the frontend instance, like \"frontend\".",
      "type": "string",
      "default": "RootSoftwareInstance"
    }
  }
}