core.template
coreL1 template semantics for definition, instantiation, and lifecycle relations
- Version
1.0.0- Namespace
core.template- Tags
- templatelifecyclecorelayer-platform
Types
Resource types defined by this module.
| Name | Namespace | Description | Schema.org |
|---|
definition | core.template.definition | Canonical template definition resource type | schema:DefinedTerm |
instantiation | core.template.instantiation | Runtime template instantiation event/resource | schema:CreateAction |
parameter-schema | core.template.parameter-schema | Structured parameter contract associated with a template definition | schema:PropertyValueSpecification |
Predicates
Predicate policies that control how graph statements are formed.
| Name | Predicate | Permission | Priority | Schema.org |
|---|
instance-of-predicate | — | — | — | — |
instantiated-from-predicate | — | — | — | — |
instantiates-predicate | — | — | — | — |
has-parameter-schema-predicate | — | — | — | — |
exports-predicate | — | — | — | — |
instance-of | template.instance_of | read | 70 | — |
instantiated-from | template.instantiated_from | read | 75 | — |
instantiates | template.instantiates | read | 75 | — |
has-parameter-schema | template.has_parameter_schema | read | 70 | — |
exports | template.exports | read | 70 | — |
Exports
| Key | Exported as | From |
|---|
register-template-definition | template | register-template-definition |
record-template-instantiation | template | record-template-instantiation |
Templates
register-template-definition
Register a template definition in the template semantics namespaceParameters
| Name | Type |
|---|
template-key | string |
template-name | string |
template-version | string |
module-name | string |
Exports
| Key | Type | From |
|---|
root | resource | definition |
Objects Created
| Name | Type | Details |
|---|
definition | resource | namespace: template.definition |
record-template-instantiation
Record a concrete template instantiation eventParameters
| Name | Type |
|---|
run-key | string |
definition-id | bigint |
initiated-by | string |
Exports
| Key | Type | From |
|---|
root | resource | instantiation |
Objects Created
| Name | Type | Details |
|---|
instantiation | resource | namespace: template.instantiation |