objects creates an object inside a data scope’s space. The scope already names the space, so the object doesn’t repeat it. Objects are created through the standard object services — the same versioning, search indexing, and events as an object created in the UI.
Every later version of the package can only add objects under new key values. An object installed by an earlier version is never updated or deleted by an upgrade, even if a newer version no longer declares it.
Minimal JSON
{
"key": "",
"objectTypeKey": "",
"name": ""
}{
"key": "customer_db",
"objectTypeKey": "core_data_catalog#database",
"name": "Customer DB",
"attributes": [
{
"attributeTypeKey": "core#description",
"value": "Sample database used across the onboarding tour."
}
]
}Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the asset. Used for referencing in the same package or other packages using packageKey#assetKey. Stays stable across package versions — it’s the identity a later version uses to add new objects without re-creating or touching this one. | string | Yes |
objectTypeKey | Key of the object’s object type. | string | Yes |
name | Name of the object. | string | Yes |
attributes | Array of attribute values to set on creation. Each attribute consists of: attributeTypeKey: Key of the attribute type., value: Value to set. May embed an image reference token dawiso-pkg://object-image/<imageKey> (declared in objectImages), rewritten to the image’s serving URL when the package installs. | array | No |
parentKey | key of another object declared in the same package, used as this object’s parent. Object hierarchies are supported; a cycle among parentKey values fails package validation. | string | No |