Generator manifest schema reference
SDK definition
Type: object
⚠️ Additional properties are not allowed.
| Property | Type | Required | Possible values | Default | Description |
|---|---|---|---|---|---|
| specification | object |
✅ | object | The SDK root specification | |
| specification.package_name | string |
✅ | string | The package name for the main SDK module | |
| specification.main_module | string |
✅ | ^[A-Za-z_][A-Za-z0-9_]*$ |
The main generated module and package directory within the project. | |
| specification.name | string |
string | The name of the SDK to expose (used for the interface and its implementations) | ||
| specification.description | string |
string | A human-readable description. Multiline YAML descriptions using \| are supported. |
||
| specification.repository_url | string |
string | The URL where the project's repository is hosted. Defaults to https://github.com/Arm-Debug/{package_name} when omitted. GitHub-specific links are generated only when this is a GitHub repository URL. Other forges are not currently supported for GitHub-specific outputs. |
||
| specification.public | boolean |
boolean | false |
Whether the project is public. Public projects are expected not to rely on private dependencies or need access to private resources. |
|
| specification.tag_latest | boolean |
boolean | false |
Automatically maintain a latest tag pointing to the most recent stable release.Consumers can follow published releases without changing their references, rather than tracking a development branch. This convenience sacrifices reproducibility and may introduce breaking changes. |
|
| specification.update_copyright_headers | boolean |
boolean | true |
Automatically maintain source-file copyright headers, which identify copyright holders, applicable years and SPDX licence identifiers. These headers establish attribution, clarify licensing terms and support automated licence checks. On GitHub, enabling this adds a workflow that updates headers on pull requests and periodically proposes maintenance changes; generator upgrades also refresh headers. |
|
| specification.disable_dependabot_generator_workflow | boolean |
boolean | false |
Disable automatic Upgrade Generator workflow runs on Dependabot pull requests. Scheduled and manually triggered generator upgrades remain enabled. Set this to true when the repository uses unreleased generator features that the released generator action cannot yet handle. |
|
| specification.licence | string |
string | "Proprietary" |
The licence SPDX identifier (https://spdx.org/licenses/) for the SDK | |
| specification.conf_file | string |
string | An optional configuration file that will be used to load values from (in addtion to cli args and env vars) | ||
| specification.additional_types | array |
types | |||
| specification.options | array |
option_sets | |||
| specification.interface | object |
✅ | interface | ||
| specification.command_line_commands | object |
command_line_commands | |||
| specification.global_configuration | array |
✅ | configuration | Global configuration fields shared across the generated SDK and CLI. | |
| specification.extra_imports | array |
extra_imports | |||
| specification.extra_valid_types | array |
extra_valid_types | |||
| specification.ci_extra_packages | array |
ci_extra_packages | |||
| specification.release_to_artifactory | boolean |
release_to_artifactory | |||
| specification.release_to_public_artifactory | object |
release_to_public_artifactory | |||
| specification.distribute_oci | object |
distribute_oci |
Definitions
types
A set of entities to export
Type: array
type
A entity type
Type: object
⚠️ Additional properties are not allowed.
| Property | Type | Required | Possible values | Default | Description |
|---|---|---|---|---|---|
| name | string |
✅ | string | The name of the entity | |
| description | string |
✅ | string | A human-readable description. Multiline YAML descriptions using \| are supported. |
|
| fields | array |
✅ | entity_field | ||
| package | string |
^[A-Za-z_][A-Za-z0-9_]*$ |
"types" |
The package the type is defined in. Defaults to types. |
|
| deprecation_notice | object |
deprecation_notice |
option_sets
A set of functional option collections to export
Type: array
option_set
A generated options object and its functional option helpers. AsList and AsIterator convert an object into functional options while preserving its enabled state and Clone semantics. Interface arguments naming this generated object use a list of functional options by default, or an iterator when iterator is true. A final list argument is variadic. CLI configuration retains an editable options object, even when list or iterator is specified; convert it at the SDK call boundary.
Type: object
| Property | Type | Required | Possible values | Conditional | Default | Description |
|---|---|---|---|---|---|---|
| name | string |
✅ | string | The name of the functional option collection | ||
| description | string |
✅ | string | A human-readable description. Multiline YAML descriptions using \| are supported. |
||
| functions | array |
✅ | option_function | |||
| package | string |
^[A-Za-z_][A-Za-z0-9_]*$ |
"options" |
The package the functional option collection is defined in. Defaults to options. |
||
| deprecation_notice | object |
deprecation_notice | ||||
| enable_mode | string |
independent together |
"independent" |
Choose whether option parameters are enabled independently or together. independent (the default): each parameter has a separate wrapper containing its value and its own Enabled flag. A generated helper enables only the parameters it sets. together: the generated struct contains one Enabled bool for the entire option set and the parameter fields directly, for example ExcludeFiles []string. Calling any generated With... or Without... helper sets the shared Enabled flag to true. In together mode: - Field-level validation, such as enum and pattern checks, runs only when Enabled is true. - Rules involving other fields, such as forbidden_when, always run. Use parameter: Enabled to allow or forbid values depending on whether the option set is enabled. - Fields use the parameter names declared in the manifest. value_field overrides are not supported because there are no parameter wrappers. |
||
| enable_mode | const |
together |
If infer_enabled_from_non_empty_values = True | |||
| infer_enabled_from_non_empty_values | boolean |
boolean | false |
This is only valid when enable_mode: together is selected.When enable_mode: together is selected, infer Enabled = true duringvalidation and AsList/AsIterator snapshot conversion whenever anygenerated option field contains a non-empty value. This is useful for selector-style together-mode option sets such as overwrite include/exclude lists. Do not enable this when non-empty default values should remain disabled: if a default value is non-empty, it also counts towards inference. |
option_function
A generated functional option helper
Type: object
⚠️ Additional properties are not allowed.
| Property | Type | Required | Possible values | Description |
|---|---|---|---|---|
| parameters | array |
✅ | option_parameter | |
| function_name | string |
string | The helper function name to generate for this option. When omitted for a single non-boolean parameter, this defaults to With<Name>.When omitted for a single boolean parameter, this defaults to generating With<Name>() and Without<Name>().When more than one parameter is defined, function_name is required. |
option_parameter
A parameter on a generated functional option collection
Type: object
| Property | Type | Required | Possible values | Default | Description |
|---|---|---|---|---|---|
| name | string |
✅ | string | The name of the field | |
| lang_type | string |
✅ | string | The language type for the field | |
| description | string |
✅ | string | A human-readable description. Multiline YAML descriptions using \| are supported. |
|
| enum | array |
string | Allowed string values for the field. This is only supported for string-compatible values. | ||
| json_tag | string |
string | The JSON tag of the field | ||
| mapstructure_tag | string |
string | The mapstructure tag of the field | ||
| pattern | string |
string | The pattern that the field should follow if it is a string | ||
| required | boolean |
boolean | false |
Whether the configuration value is required | |
| condition | string |
^$\|^[A-Za-z_][A-Za-z0-9_]*\b.*$ |
"" |
A legacy conditional-required shortcut that bases validation of the current field on the value of one other field in the same parameter collection. Prefer the structured constraints block for newer manifests and any more advanced conditional behaviour. Condition MUST start with the name of the other field, mention only that field, and mention it exactly once. |
|
| constraints | object |
parameter_constraints | |||
| reference | boolean |
boolean | false |
Whether the value is a pointer | |
| list | boolean |
boolean | false |
Whether the value should be represented as a list of the language type | |
| iterator | boolean |
boolean | false |
Whether the value should be represented as an iterator over the language type using iter.Seq | |
| default_value | string |
string | An optional default value for use when creating a new instance of the configuration | ||
| example | string |
string | A single example value for the field. For list or iterator shapes, the example represents one item value. |
||
| examples | array |
string | Example values for the field. For list or iterator shapes, each example represents one item value. |
||
| is_root | boolean |
boolean | false |
Whether the variable should be in the root command so it can be shared between sub commands | |
| arg | string |
string | The argument to bind to | ||
| arg_short | string |
string | The short version of the argument to bind to | ||
| hidden | boolean |
boolean | false |
Whether to mark the flag as hidden in the command line | |
| secret | boolean |
boolean | false |
Whether the parameter contains secret material and should be included in credentials storage | |
| deprecation_notice | object |
deprecation_notice | |||
| value_field | object |
option_value_field |
option_value_field
Optional name and mapstructure tag for the value held by a generated option. Defaults to the option parameter's name and its snake_case form.
Type: object
⚠️ Additional properties are not allowed.
| Property | Type | Required | Possible values | Description |
|---|---|---|---|---|
| name | string |
string | The field name for the option value; defaults to the option parameter's name. | |
| mapstructure_tag | string |
string | The mapstructure tag of the value field; defaults to the snake_case value field name. |
interface
An interface
Type: object
⚠️ Additional properties are not allowed.
| Property | Type | Required | Possible values | Default | Description |
|---|---|---|---|---|---|
| methods | array |
✅ | interface_method | ||
| namespace | string |
string | "github.com/Arm-Debug/" |
The import namespace prefix for the generated SDK or library. This value may be normalised by the generator to comply with language expectations. It may differ from repository_url when the hosted project location and the SDK import namespace are intentionally separate. |
|
| notCloseable | boolean |
boolean | false |
Whether the manager should be Closeable (i.e. has a Close() method to call whilst closing) or not. | |
| deprecation_notice | object |
deprecation_notice |
command_line_commands
A CLI command
Type: object
⚠️ Additional properties are not allowed.
| Property | Type | Required | Possible values | Default | Description |
|---|---|---|---|---|---|
| functions | array |
✅ | cli_function | ||
| binary | string |
^[A-Za-z0-9_][A-Za-z0-9_-]*$ |
Name of the executable. | ||
| package | string |
^[A-Za-z_][A-Za-z0-9_]*$ |
"cli" |
The package the generated CLI project is defined in. Defaults to cli. |
|
| interrupt_exit_code | integer |
integer | The exit code to return when an interrupt signal (SIGINT or SIGTERM) is received | ||
| root_environment_var | string |
string | Environment variable prefix | ||
| description | string |
string | A human-readable description. Multiline YAML descriptions using \| are supported. |
||
| no_actions | boolean |
boolean | false |
Whether to skip generating GitHub Actions for the CLI | |
| callCloud | boolean |
boolean | Whether all functions need to call the Arm Cloud hosted online services. When enabled, default API key and host arguments are injected only if they are not explicitly defined. They will also be defined as root arguments, required by all functions. |
interface_method
An interface method
Type: object
⚠️ Additional properties are not allowed.
| Property | Type | Required | Possible values | Description |
|---|---|---|---|---|
| name | string |
✅ | string | The name of the field |
| description | string |
✅ | string | A human-readable description. Multiline YAML descriptions using \| are supported. |
| deprecation_notice | object |
deprecation_notice | ||
| args | array |
command_argument | ||
| returns | array |
command_argument |
extra_imports
No description provided for this model.
Type: array
extra_valid_types
No description provided for this model.
Type: array
ci_extra_packages
No description provided for this model.
Type: array
release_to_artifactory
Whether to release the package to artifactory. Will require a .goreleaser file or equivalent file to be set up
Type: boolean
parameter_value_constraint
A value-based constraint against another parameter.
This definition is used by parameter constraints for relationships that
depend on another parameter's presence or value.
Type: object
| Property | Type | Required | Possible values | Default | Description |
|---|---|---|---|---|---|
| parameter | string |
✅ | string | The name of the parameter being evaluated | |
| operator | string |
present absent equals not_equals in not_in |
"present" |
The comparison performed against the parameter | |
| value | None |
None | The value used by operators such as equals or not_equals | ||
| values | array |
Any type | Values used by operators such as in or not_in |
parameter_value_comparison_constraint
A value comparison against another parameter.
This definition is used by parameter constraints.parameter_value when
the current parameter value must equal or differ from another parameter
value.
Unlike required_when or forbidden_when, this is not a rule about
whether the parameter itself is present. It is a rule about which values
of the current parameter are valid when compared with another parameter
value.
Type: object
| Property | Type | Required | Possible values | Default | Description |
|---|---|---|---|---|---|
| parameter | string |
✅ | string | The name of the parameter whose value is compared with the current parameter value | |
| operator | string |
✅ | present absent equals not_equals in not_in |
The comparison performed between the current parameter value and the referenced parameter value | |
| when | string |
always empty not_empty |
"always" |
Controls when this comparison is evaluated against the current parameter value. always applies the comparison unconditionally. empty applies itonly when the current parameter value is empty according to the generator's normal validation semantics. not_empty applies it only when the currentparameter value is non-empty. |
parameter_forbidden_values_constraint
A conditional forbidden-values rule for the current parameter value.
This definition is used by parameter constraints.forbidden_values_when
when specific values of the current parameter become invalid depending on
another parameter value.
Unlike required_when or forbidden_when, this is not a rule about
whether the parameter itself is present. It is a rule about which values
of the current parameter are valid.
Type: object
| Property | Type | Required | Possible values | Default | Description |
|---|---|---|---|---|---|
| parameter | string |
✅ | string | The name of the parameter being evaluated | |
| forbidden_values | array |
✅ | Any type | Values of the current parameter that are forbidden when the condition matches | |
| operator | string |
present absent equals not_equals in not_in |
"present" |
The comparison performed against the parameter | |
| value | None |
None | The value used by operators such as equals or not_equals | ||
| values | array |
Any type | Values used by operators such as in or not_in |
parameter_required_values_constraint
A conditional required-values rule for the current parameter value.
This definition is used by parameter constraints.required_values_when
when the current parameter value must be one of the specified values
depending on another parameter value.
Unlike required_when or forbidden_when, this is not a rule about
whether the parameter itself is present. It is a rule about which values
of the current parameter are valid.
Type: object
| Property | Type | Required | Possible values | Default | Description |
|---|---|---|---|---|---|
| parameter | string |
✅ | string | The name of the parameter being evaluated | |
| required_values | array |
✅ | Any type | Values of the current parameter that are required when the condition matches | |
| operator | string |
present absent equals not_equals in not_in |
"present" |
The comparison performed against the parameter | |
| value | None |
None | The value used by operators such as equals or not_equals | ||
| values | array |
Any type | Values used by operators such as in or not_in |
parameter_constraints
Validation constraints applying to a parameter.
These constraints complement the existing condition field rather than
replacing it. Use condition for the current expression-style required
logic, and constraints for explicit cross-parameter relationships.
Type: object
| Property | Type | Required | Possible values | Default | Description |
|---|---|---|---|---|---|
| enum | array |
string | Validation-oriented equivalent of the top-level enum field.When the top-level enum is omitted, this can also drive generatedenum-backed parameter types. This follows the JSON Schema enum keyword.Reference: https://json-schema.org/understanding-json-schema/reference/enum |
||
| pattern | string |
string | Validation-oriented equivalent of the top-level pattern field.This is only valid for scalar string-compatible values. This follows the JSON Schema pattern keyword.Reference: https://json-schema.org/understanding-json-schema/reference/string#regular-expressions |
||
| required | boolean |
boolean | false |
Validation-oriented equivalent of the top-level required field.This marks the parameter as required in the generated configuration validation and documentation. This is analogous to listing the containing property under JSON Schema required.Reference: https://json-schema.org/understanding-json-schema/reference/object#required |
|
| nullable | boolean |
boolean | false |
Allow the value to be omitted or null while still validating the nested constraints whenever a value is provided. |
|
| not_empty | boolean |
boolean | false |
Require the value to be non-empty according to the generator's normal validation semantics. |
|
| contains | string |
string | Require a scalar string-compatible value to contain the given substring. |
||
| not_contains | string |
string | Require a scalar string-compatible value not to contain the given substring. |
||
| prefix | string |
string | Require a scalar string-compatible value to start with the given prefix. |
||
| suffix | string |
string | Require a scalar string-compatible value to end with the given suffix. |
||
| min_length | integer |
integer | Minimum number of Unicode code points allowed for a scalar string-compatible value. This follows the JSON Schema minLength keyword.Reference: https://json-schema.org/understanding-json-schema/reference/string#length |
||
| max_length | integer |
integer | Maximum number of Unicode code points allowed for a scalar string-compatible value. This follows the JSON Schema maxLength keyword.Reference: https://json-schema.org/understanding-json-schema/reference/string#length |
||
| minimum | number |
number | Inclusive lower bound for a scalar numeric value. This follows the JSON Schema minimum keyword.Reference: https://json-schema.org/understanding-json-schema/reference/numeric#range |
||
| maximum | number |
number | Inclusive upper bound for a scalar numeric value. This follows the JSON Schema maximum keyword.Reference: https://json-schema.org/understanding-json-schema/reference/numeric#range |
||
| exclusive_minimum | number |
number | Exclusive lower bound for a scalar numeric value. This follows the JSON Schema exclusiveMinimum keyword.Reference: https://json-schema.org/understanding-json-schema/reference/numeric#range |
||
| exclusive_maximum | number |
number | Exclusive upper bound for a scalar numeric value. This follows the JSON Schema exclusiveMaximum keyword.Reference: https://json-schema.org/understanding-json-schema/reference/numeric#range |
||
| multiple_of | number |
number | Require a scalar numeric value to be an exact multiple of the given positive number. This follows the JSON Schema multipleOf keyword.Reference: https://json-schema.org/understanding-json-schema/reference/numeric#multiples |
||
| min_items | integer |
integer | Minimum number of items allowed in a list or iterator value. This follows the JSON Schema minItems keyword.Reference: https://json-schema.org/understanding-json-schema/reference/array#length |
||
| max_items | integer |
integer | Maximum number of items allowed in a list or iterator value. This follows the JSON Schema maxItems keyword.Reference: https://json-schema.org/understanding-json-schema/reference/array#length |
||
| unique_items | boolean |
boolean | false |
Require all items in a list or iterator value to be unique. This follows the JSON Schema uniqueItems keyword.Reference: https://json-schema.org/understanding-json-schema/reference/array#uniqueness |
|
| extension | array |
string | Allowed filename extensions for a scalar string-compatible path value, for example .json or .yaml. |
||
| at_least_one | boolean |
boolean | false |
Require a list or iterator value to contain at least one item. This is a convenience alias for min_items: 1. |
|
| exactly_one | boolean |
boolean | false |
Require a list or iterator value to contain exactly one item. This is a convenience alias for min_items: 1 together withmax_items: 1. |
|
| dependent_required | array |
string | Parameters that must be provided when this parameter is provided. | ||
| require_together_as_cli_flags | boolean |
boolean | false |
Whether dependent_required should also require the related valuesto be passed together as CLI arguments when all referenced parameters also opt in. This only affects CLI argument behaviour and does not change the runtime validation rules. |
|
| conflicts_with | array |
string | Parameters that must not be provided when this parameter is provided. | ||
| parameter_value | object |
parameter_value_comparison_constraint | |||
| required_values_when | array |
parameter_required_values_constraint | Conditions that require the current parameter to use one of the specified values. | ||
| forbidden_values_when | array |
parameter_forbidden_values_constraint | Conditions that forbid specific values of the current parameter. | ||
| required_when | object |
parameter_value_constraint | |||
| forbidden_when | object |
parameter_value_constraint |
release_to_public_artifactory
Configuration for uploading a release artefact produced by a private repository release workflow to a public Artifactory registry.
Type: object
⚠️ Additional properties are not allowed.
| Property | Type | Required | Possible values | Description |
|---|---|---|---|---|
| artifactory_host | string |
✅ | string | The public Artifactory host used for the follow-up release upload job. |
| registry | string |
✅ | string | The registry within Artifactory used for the public release upload job. |
oci_map_string_string
Additional OCI image metadata used to complement the default metadata generated from the tool documentation and repository metadata.
Type: object
distribute_oci
Configuration for publishing multi-architecture OCI images for the generated CLI. OCI images are useful for CI integration, reproducible builds, and users who prefer not to install the tool locally. OCI image publication currently targets GitHub Container Registry for GitHub-hosted repositories.
Type: object
⚠️ Additional properties are not allowed.
| Property | Type | Required | Possible values | Description |
|---|---|---|---|---|
| description | string |
✅ | string | Text description applied to the OCI image metadata and registry page. |
| labels | object |
oci_map_string_string | Additional OCI image labels applied to each built image. These complement the default labels generated from the tool documentation and repository metadata. |
|
| attributes | object |
oci_map_string_string | Additional OCI manifest attributes applied as OCI annotations to the published image manifests. These complement the default OCI annotations generated from the tool documentation and repository metadata. |
deprecation_notice
Deprecation metadata used to surface notices in generated code comments, generated documentation, and CLI deprecation warnings.
Type: object
⚠️ Additional properties are not allowed.
| Property | Type | Required | Possible values | Description |
|---|---|---|---|---|
| issue_date | string |
✅ | Format: date-time |
The date-time when the deprecation was first issued. |
| removal_date | string |
Format: date-time |
The optional date-time when the deprecated item is expected to be removed. When provided, it must not be earlier than issue_date. |
|
| description | string |
string | A human-readable description. Multiline YAML descriptions using \| are supported. |
|
| replacement | string |
string | An optional replacement to recommend to consumers. |
summary_destination
Built-in destinations supported by generated CLI summaries.
Type: string
Possible Values: file or github or output or none
built_in_lang_type
Built-in lang_type strings recognised by the generator.
lang_type fields may still use arbitrary strings for custom or generated
types, but these built-ins are provided as an authoritative generated list.
Type: string
Possible Values: time.Duration or duration or []byte or string or int or int8 or int16 or int32 or int64 or uint or uint8 or uint16 or uint32 or uint64 or decimal or float32 or float64 or bool or hex or binary or byte or base64 or url or uri or host or port or version or semver or uuid or email or json or validJSON or ip or datetime or regex or []string or filepath or existingFilepath or pathParameter or connection or onlineTarget or protectedConnection or service or server or protectedService or protectedServer or behindAuthConnection or behindAuthService or behindAuthServer or serviceBehindAuth or serverBehindAuth
semantic_default_value
Built-in symbolic default_value strings recognised specially by the generator.
default_value fields may still use arbitrary strings or expressions, but
these tokens are provided as an authoritative generated list for the built-ins.
Type: string
Possible Values: hostname or uuid or temp or tempdir or temporary or bin or bindir or cache or cachedir or config or configdir or conf or configuration or here or cwd or home or random or now
cli_function
An CLI function
Type: object
⚠️ Additional properties are not allowed.
| Property | Type | Required | Possible values | Conditional | Default | Description |
|---|---|---|---|---|---|---|
| name | string |
✅ | string | The name of the field | ||
| description | string |
✅ | string | A human-readable description. Multiline YAML descriptions using \| are supported. |
||
| configuration | array |
✅ | function_config_fields | |||
| configuration | array |
function_config_fields | If with_result = True | |||
| deprecation_notice | object |
deprecation_notice | ||||
| operands | boolean |
boolean | false |
Allow the use of positional operands specified after '--' in a POSIX fashion | ||
| callCloud | boolean |
boolean | false |
Whether the function needs to call the Arm Cloud hosted online services. When enabled, default API key and host arguments are injected only if they are not explicitly defined. |
||
| with_summary | boolean |
boolean | Whether the command should support writing a human-readable execution summary. When enabled, the generated CLI injects --summary and --summary-file flags,the generated wrapper exposes a summary-aware implementation binding, and the default wrapper implementation creates the requested summary logger before calling that summary-aware implementation. When omitted, this defaults to true for commands that have a generated GitHubAction and false otherwise. |
|||
| with_result | boolean |
boolean | false |
Whether the command should expose machine-readable result output. When enabled, the generated CLI injects --output-format and --output-file flags,the generated wrapper exposes additional WithResult implementation bindings,and the generated output layer renders human, JSON, or YAML result output as selected at runtime. When omitted, this defaults to false. |
||
| silenceUsage | boolean |
boolean | false |
Whether to silence usage when an error occurs. | ||
| hidden | boolean |
boolean | false |
Whether this function is hidden and should NOT show up in the list of available commands. | ||
| no_action | boolean |
boolean | false |
Whether to skip generating the GitHub Action wrapper for this command | ||
| loadFromKeyring | boolean |
boolean | false |
Whether to load some configuration input from system's keyring service | ||
| storeToKeyring | boolean |
boolean | false |
Whether to store the configuration to system's keyring service |
function_config_fields
A CLI configuration field.
The built-in names Summary, SummaryFile, Logger, LoggerFile, and
Annotation are reserved and cannot be defined in manifests.
When with_result: true is enabled for the containing command, OutputFormat and
OutputFile are also reserved for the generated result output wiring.
Type: object
⚠️ Additional properties are not allowed.
| Property | Type | Required | Possible values | Default | Description |
|---|---|---|---|---|---|
| name | string |
✅ | string | The name of the field | |
| lang_type | string |
✅ | string | The language type for the field | |
| mapstructure_tag | string |
✅ | string | The mapstructure tag of the field | |
| description | string |
✅ | string | A human-readable description. Multiline YAML descriptions using \| are supported. |
|
| enum | array |
string | Allowed string values for the field. This is only supported for string-compatible values. | ||
| json_tag | string |
string | The JSON tag of the field | ||
| pattern | string |
string | The pattern that the field should follow if it is a string | ||
| required | boolean |
boolean | false |
Whether the configuration value is required | |
| condition | string |
^$\|^[A-Za-z_][A-Za-z0-9_]*\b.*$ |
"" |
A legacy conditional-required shortcut that bases validation of the current field on the value of one other field in the same parameter collection. Prefer the structured constraints block for newer manifests and any more advanced conditional behaviour. Condition MUST start with the name of the other field, mention only that field, and mention it exactly once. |
|
| constraints | object |
parameter_constraints | |||
| reference | boolean |
boolean | false |
Whether the value is a pointer | |
| list | boolean |
boolean | false |
Whether the value should be represented as a list of the language type | |
| iterator | boolean |
boolean | false |
Whether the value should be represented as an iterator over the language type using iter.Seq | |
| default_value | string |
string | An optional default value for use when creating a new instance of the configuration | ||
| example | string |
string | A single example value for the field. For list or iterator shapes, the example represents one item value. |
||
| examples | array |
string | Example values for the field. For list or iterator shapes, each example represents one item value. |
||
| is_root | boolean |
boolean | false |
Whether the variable should be in the root command so it can be shared between sub commands | |
| arg | string |
string | The argument to bind to | ||
| arg_short | string |
string | The short version of the argument to bind to | ||
| hidden | boolean |
boolean | false |
Whether to mark the flag as hidden in the command line | |
| secret | boolean |
boolean | false |
Whether the parameter contains secret material and should be included in credentials storage | |
| deprecation_notice | object |
deprecation_notice | |||
| bindings | array |
binding | Bind configuration options to variables |
command_argument
A command argument or code parameter
Type: object
⚠️ Additional properties are not allowed.
| Property | Type | Required | Possible values | Default | Description |
|---|---|---|---|---|---|
| name | string |
✅ | string | The name of the field | |
| lang_type | string |
✅ | string | The language type for the field | |
| description | string |
✅ | string | A human-readable description. Multiline YAML descriptions using \| are supported. |
|
| enum | array |
string | Allowed string values for the field. This is only supported for string-compatible values. | ||
| json_tag | string |
string | The JSON tag of the field | ||
| mapstructure_tag | string |
string | The mapstructure tag of the field | ||
| pattern | string |
string | The pattern that the field should follow if it is a string | ||
| required | boolean |
boolean | false |
Whether the configuration value is required | |
| condition | string |
^$\|^[A-Za-z_][A-Za-z0-9_]*\b.*$ |
"" |
A legacy conditional-required shortcut that bases validation of the current field on the value of one other field in the same parameter collection. Prefer the structured constraints block for newer manifests and any more advanced conditional behaviour. Condition MUST start with the name of the other field, mention only that field, and mention it exactly once. |
|
| constraints | object |
parameter_constraints | |||
| reference | boolean |
boolean | false |
Whether the value is a pointer | |
| list | boolean |
boolean | false |
Whether the value should be represented as a list of the language type | |
| iterator | boolean |
boolean | false |
Whether the value should be represented as an iterator over the language type using iter.Seq | |
| default_value | string |
string | An optional default value for use when creating a new instance of the configuration | ||
| example | string |
string | A single example value for the field. For list or iterator shapes, the example represents one item value. |
||
| examples | array |
string | Example values for the field. For list or iterator shapes, each example represents one item value. |
||
| is_root | boolean |
boolean | false |
Whether the variable should be in the root command so it can be shared between sub commands | |
| arg | string |
string | The argument to bind to | ||
| arg_short | string |
string | The short version of the argument to bind to | ||
| hidden | boolean |
boolean | false |
Whether to mark the flag as hidden in the command line | |
| secret | boolean |
boolean | false |
Whether the parameter contains secret material and should be included in credentials storage | |
| deprecation_notice | object |
deprecation_notice | |||
| bindings | array |
binding | Bind configuration options to variables |
entity_field
A command argument or code parameter
Type: object
⚠️ Additional properties are not allowed.
| Property | Type | Required | Possible values | Default | Description |
|---|---|---|---|---|---|
| name | string |
✅ | string | The name of the field | |
| lang_type | string |
✅ | string | The language type for the field | |
| json_tag | string |
✅ | string | The JSON tag of the field | |
| description | string |
✅ | string | A human-readable description. Multiline YAML descriptions using \| are supported. |
|
| enum | array |
string | Allowed string values for the field. This is only supported for string-compatible values. | ||
| mapstructure_tag | string |
string | The mapstructure tag of the field | ||
| pattern | string |
string | The pattern that the field should follow if it is a string | ||
| required | boolean |
boolean | false |
Whether the configuration value is required | |
| condition | string |
^$\|^[A-Za-z_][A-Za-z0-9_]*\b.*$ |
"" |
A legacy conditional-required shortcut that bases validation of the current field on the value of one other field in the same parameter collection. Prefer the structured constraints block for newer manifests and any more advanced conditional behaviour. Condition MUST start with the name of the other field, mention only that field, and mention it exactly once. |
|
| constraints | object |
parameter_constraints | |||
| reference | boolean |
boolean | false |
Whether the value is a pointer | |
| list | boolean |
boolean | false |
Whether the value should be represented as a list of the language type | |
| iterator | boolean |
boolean | false |
Whether the value should be represented as an iterator over the language type using iter.Seq | |
| default_value | string |
string | An optional default value for use when creating a new instance of the configuration | ||
| example | string |
string | A single example value for the field. For list or iterator shapes, the example represents one item value. |
||
| examples | array |
string | Example values for the field. For list or iterator shapes, each example represents one item value. |
||
| is_root | boolean |
boolean | false |
Whether the variable should be in the root command so it can be shared between sub commands | |
| arg | string |
string | The argument to bind to | ||
| arg_short | string |
string | The short version of the argument to bind to | ||
| hidden | boolean |
boolean | false |
Whether to mark the flag as hidden in the command line | |
| secret | boolean |
boolean | false |
Whether the parameter contains secret material and should be included in credentials storage | |
| deprecation_notice | object |
deprecation_notice | |||
| bindings | array |
binding | Bind configuration options to variables |
binding
A variable binding to a parameter
Type: object
⚠️ Additional properties are not allowed.
| Property | Type | Required | Possible values | Default | Description |
|---|---|---|---|---|---|
| name | string |
string | The name of the field | ||
| example | string |
string | A single example value for the field. For list or iterator shapes, the example represents one item value. |
||
| examples | array |
string | Example values for the field. For list or iterator shapes, each example represents one item value. |
||
| arg | string |
string | The argument to bind to | ||
| arg_short | string |
string | The optional short version of the argument | ||
| mapstructure_tag | string |
string | The tag fragment used when building the environment variable key | ||
| lang_type | string |
string | The type for the field | ||
| list | boolean |
boolean | false |
Whether the value should be represented as a list of the language type | |
| iterator | boolean |
boolean | false |
Whether the value should be represented as an iterator over the language type using iter.Seq | |
| description | string |
string | The description of the field | ||
| hidden | boolean |
boolean | false |
Whether to mark the flag as hidden in the command line | |
| secret | boolean |
boolean | false |
Whether the binding contains secret material and should be included in credentials storage |
extra_import
An extra import
Type: object
⚠️ Additional properties are not allowed.
| Property | Type | Required | Possible values | Description |
|---|---|---|---|---|
| import_url | string |
string | The import URL | |
| import_ref | string |
string | The reference to use when referencing the import |
configuration
The configuration options for the exported implementation
Type: array
configuration_option
A command argument or code parameter
Type: object
⚠️ Additional properties are not allowed.
| Property | Type | Required | Possible values | Default | Description |
|---|---|---|---|---|---|
| name | string |
✅ | string | The name of the field | |
| lang_type | string |
✅ | string | The language type for the field | |
| mapstructure_tag | string |
✅ | string | The mapstructure tag of the field | |
| description | string |
✅ | string | A human-readable description. Multiline YAML descriptions using \| are supported. |
|
| enum | array |
string | Allowed string values for the field. This is only supported for string-compatible values. | ||
| json_tag | string |
string | The JSON tag of the field | ||
| pattern | string |
string | The pattern that the field should follow if it is a string | ||
| required | boolean |
boolean | false |
Whether the configuration value is required | |
| condition | string |
^$\|^[A-Za-z_][A-Za-z0-9_]*\b.*$ |
"" |
A legacy conditional-required shortcut that bases validation of the current field on the value of one other field in the same parameter collection. Prefer the structured constraints block for newer manifests and any more advanced conditional behaviour. Condition MUST start with the name of the other field, mention only that field, and mention it exactly once. |
|
| constraints | object |
parameter_constraints | |||
| reference | boolean |
boolean | false |
Whether the value is a pointer | |
| list | boolean |
boolean | false |
Whether the value should be represented as a list of the language type | |
| iterator | boolean |
boolean | false |
Whether the value should be represented as an iterator over the language type using iter.Seq | |
| default_value | string |
string | An optional default value for use when creating a new instance of the configuration | ||
| example | string |
string | A single example value for the field. For list or iterator shapes, the example represents one item value. |
||
| examples | array |
string | Example values for the field. For list or iterator shapes, each example represents one item value. |
||
| is_root | boolean |
boolean | false |
Whether the variable should be in the root command so it can be shared between sub commands | |
| arg | string |
string | The argument to bind to | ||
| arg_short | string |
string | The short version of the argument to bind to | ||
| hidden | boolean |
boolean | false |
Whether to mark the flag as hidden in the command line | |
| secret | boolean |
boolean | false |
Whether the parameter contains secret material and should be included in credentials storage | |
| deprecation_notice | object |
deprecation_notice | |||
| bindings | array |
binding | Bind configuration options to variables |
Markdown generated with jsonschema-markdown.