{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-simspace-weaver/refs/heads/main/json-schema/amazon-simspace-weaver-domain-schema.json", "title": "Domain", "description": "
A collection of app instances that run the same executable app code and have the same launch options and commands.
For more information about domains, see Key concepts: Domains in the SimSpace Weaver User Guide.
", "type": "object", "properties": { "Lifecycle": { "allOf": [ { "$ref": "#/components/schemas/LifecycleManagementStrategy" }, { "description": "The type of lifecycle management for apps in the domain. Indicates whether apps in this domain are managed (SimSpace Weaver starts and stops the apps) or unmanaged (you must start and stop the apps).
Lifecycle types
PerWorker \u2013 Managed: SimSpace Weaver starts one app on each worker.
BySpatialSubdivision \u2013 Managed: SimSpace Weaver starts one app for each spatial partition.
ByRequest \u2013 Unmanaged: You use the StartApp API to start the apps and use the StopApp API to stop the apps.