CONTENT CONTRACT · VERSION 1
variable
Package-owned state with a typed declaration and virtual initial value.
Signature
{ id: ContentId, kind: "variable", owner_scope: OwnerScope, value: VariableDeclaration }Fields
| Name | Type | Meaning |
|---|---|---|
id | ContentId | Package-qualified identity; unique within its declaring namespace. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$ |
kind | "variable" | Discriminant |
owner_scope | OwnerScope | Kind of persistent owner allowed to store this variable. |
value | VariableDeclaration | Typed payload checked against its owning declaration. |
Validated example
{
"kind": "variable",
"variable": "core:a_place_to_rest_built"
}