The list of components objects includes keys containing information about the components added to the KPA package. A list of these keys is provided in the table below.
List of keys for describing a component instance in the list of components objects
Key name
Value type
Description
Required
Example
name
String
Name of the KPA package component.
Yes
"name": "imageHighResolution"
directoryPath
String
Path of the directory relative to the path /<package name>/res where KPA package component should be installed. It is ignored if the componentType key value is set to bin or lib.
bin – an executable file. It is put into the /<program_name>/bin directory when the program is installed.
lib – shared library. It is put into the directory /<program_name>/lib when the program is installed.
res – user-defined resource. If the directoryPath key value is defined, the resource is put into the directory /<package_name>/res/<directoryPath> when the program is installed. Otherwise, the resource is put into the directory /<package_name>/res.
manifestLocale – file containing information for KPA package manifest localization. When the program is installed, KPA package manifest localization files are put into the directory /<program_name>/manifest_locales if a value is not defined for the directoryPath key.