Header

The header contains information required to process the file list section of the manifest. The header also provides information indicating the compatible CopyTarget software. The header includes the following information as captured and detailed in the table.

Attribute

Description

Required

Default

Domain

Example

version

Defines the list of CopyTarget versions that the manifest is compatible with.

Mandatory

 -

Decimal number

version: '1.4' 

exports

Subsection containing a list of key value pairs. The keys defined in this section are used as variable identifiers and using these keys in the filelist expands them into assigned values.

Optional

Empty list

Key: a valid variable name

Value: any valid YAML assignable value

exports:

- Key1: Value1

- Key2: Value2

imports

Subsection containing a list of additional manifests.

Optional

Empty list

List of zero, one, or more valid and compatible filepaths to additional CopyTarget manifest files.

Filepaths can be absolute or relative to the current manifest file; and this relativity is applied recursively for each nested manifest file.

Imported manifest files are processed first before continued processing of the current manifest; however, exports from the current manifest are processed and forwarded to nested manifests. Defining an export in the current manifest is made visible to the child and grandchild manifests.

imports: 

- manifest1.yaml