{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "/modules/copy.json",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "copy",
      "description": "The copy module is a short-hand method of adding a COPY instruction into the Containerfile.\nhttps://blue-build.org/reference/modules/copy/"
    },
    "no-cache": {
      "type": "boolean",
      "default": false,
      "description": "Whether to disabling caching for this layer.\nhttps://blue-build.org/reference/module/#no-cache-optional"
    },
    "from": {
      "type": "string",
      "description": "Equivalent to the --from property in a COPY statement, use to specify an image to copy from.\nBy default, the COPY source is the build environment's file tree."
    },
    "src": {
      "type": "string",
      "description": "Path to source file or directory."
    },
    "dest": {
      "type": "string",
      "description": "Path to destination file or directory."
    }
  },
  "required": [
    "type",
    "src",
    "dest"
  ],
  "additionalProperties": false
}