Skip to content

Commit

Permalink
feat(schema): add lifecycle property to component description (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
eeberhard authored Aug 26, 2024
1 parent 8238b07 commit 65ed61d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions schemas/component-descriptions/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@

Release Versions:

- [1-1-1](#111)
- [1-1-0](#110)
- [1-0-0](#100)

## 1-1-1

Version 1-1-1 adds a new property `lifecycle` to the component description schema to indicate if the component is based
on a lifecycle node.

## 1-1-0

Version 1-1-0 adds a new property `optional` to the parameter schema to indicate if the user needs to specify a value in
Expand Down
8 changes: 7 additions & 1 deletion schemas/component-descriptions/schema/component.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$id": "/1-1-0/component.schema.json",
"$id": "/1-1-1/component.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Dynamic Component Description",
"description": "A full description of a dynamic component in the AICA application framework.",
Expand Down Expand Up @@ -54,6 +54,12 @@
"inherits": {
"$ref": "#/$defs/registration"
},
"lifecycle": {
"title": "Lifecycle Component",
"description": "If true, this property indicates that the component is a lifecycle component.",
"type": "boolean",
"default": false
},
"virtual": {
"title": "Virtual Component Class",
"description": "If true, this property indicates that the component is an abstract or virtual base class and not directly instantiable.",
Expand Down

0 comments on commit 65ed61d

Please sign in to comment.