{
  "title": "Schema for Executing Serverless deploy apps",
  "description": "Serverless deployment execution options",
  "type": "object",
  "properties": {
    "buildTarget": {
      "type": "string",
      "description": "The target to run to build you the app"
    },
    "waitUntilTargets": {
      "type": "array",
      "description": "The targets to run to before starting the node app",
      "default": [],
      "items": {
        "type": "string"
      }
    },
    "config": {
      "type": "string",
      "description": "The serverless.yml location"
    },
    "location": {
      "type": "string",
      "description": "The src file location"
    },
    "package": {
      "type": "string",
      "default": ".serverless",
      "description": "The build output files location"
    },
    "stage": {
      "type": "string",
      "description": "The stage of the deployment"
    },
    "function": {
      "type": "string",
      "description": "The src file location"
    },
    "list": {
      "type": "boolean",
      "default": false,
      "description": "Command will list information about your deployments"
    },
    "updateConfig": {
      "type": "boolean",
      "default": false,
      "description": "Updates function configuration, e.g. Timeout or Memory Size without deploying code (Works only with --function)"
    },
    "ignoreScripts": {
      "type": "boolean",
      "default": true,
      "description": "Updates ignoreScripts false to use own package with dev environment"
    },
    "packager": {
      "type": "string",
      "default": "YARN",
      "description": "the packager to use for resolving dependencies"
    },
    "serverlessPackagePath": {
      "type": "string",
      "description": "the packaging path for your serverless application (.severless folder)"
    },
    "args": {
      "type": "string",
      "description": "Extra arguments. You can pass them as follows: nx run project:target --args='--aws-profile=sit_profile'."
    }
  },
  "additionalProperties": false,
  "required": ["buildTarget", "config", "location", "package", "stage"]
}
