{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-greengrass/refs/heads/main/json-schema/iot-greengrass-component-dependency-map-schema.json", "title": "ComponentDependencyMap", "description": "ComponentDependencyMap schema", "type": "object", "additionalProperties": { "type": "object", "properties": { "versionRequirement": { "allOf": [ { "$ref": "#/components/schemas/NonEmptyString" }, { "description": "
The component version requirement for the component dependency.
IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
" } ] }, "dependencyType": { "allOf": [ { "$ref": "#/components/schemas/ComponentDependencyType" }, { "description": "The type of this dependency. Choose from the following options:
SOFT \u2013 The component doesn't restart if the dependency changes state.
HARD \u2013 The component restarts if the dependency changes state.
Default: HARD