Skip to content

Commit

Permalink
feat(schema): rename base to core (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
eeberhard authored Sep 20, 2024
1 parent ab5c1c7 commit d90a719
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions docs/static/schemas/draft/2-0-0/application.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
*/
export type Schema = string;
/**
* The version of the AICA base image
* The version of the AICA Core image
*/
export type BaseVersion = string;
export type CoreVersion = string;
/**
* The name of the package
*/
Expand Down Expand Up @@ -398,10 +398,10 @@ export interface YAMLApplicationDescription {
}

/**
* The application dependencies, including the base version and any required packages
* The application dependencies, including the version of AICA Core and any required packages
*/
export interface Dependencies {
base: BaseVersion;
core: CoreVersion;
packages?: ApplicationPackages;
}

Expand Down
10 changes: 5 additions & 5 deletions docs/static/schemas/draft/2-0-0/application.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
},
"dependencies": {
"title": "Dependencies",
"description": "The application dependencies, including the base version and any required packages",
"description": "The application dependencies, including the version of AICA Core and any required packages",
"type": "object",
"additionalProperties": false,
"properties": {
"base": {
"title": "Base Version",
"description": "The version of the AICA base image",
"core": {
"title": "Core Version",
"description": "The version of the AICA Core image",
"examples": [
"v3.1.1",
"v4.0.0"
Expand Down Expand Up @@ -88,7 +88,7 @@
}
},
"required": [
"base"
"core"
]
},
"metadata": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/applications/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Release Versions:

### New features in 2-0-0

- Application dependencies can be defined under the top-level `dependencies` property, including the base image version
- Application dependencies can be defined under the top-level `dependencies` property, including the core image version
and additional packages
- Application metadata can be defined under the top-level `metadata` property including a name, description and tags
- Any additional user data can be included in an application under the top-level `userdata` property
Expand Down
4 changes: 2 additions & 2 deletions schemas/applications/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ names in the application must be `lower_snake_case`.

The new schema requires two new top-level properties to be defined in all applications. These are `schema`, which must
declare the syntax version of the current application, and `dependencies`, which must at minimum define the version of
the base AICA image required to run the application. Refer to the complete documentation for additional information
the AICA Core image required to run the application. Refer to the complete documentation for additional information
on these new properties.

```yaml
schema: 2-0-0

dependencies:
base: v4.0.0
core: v4.0.0
```
#### Graph positions
Expand Down
10 changes: 5 additions & 5 deletions schemas/applications/schema/application.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
},
"dependencies": {
"title": "Dependencies",
"description": "The application dependencies, including the base version and any required packages",
"description": "The application dependencies, including the version of AICA Core and any required packages",
"type": "object",
"additionalProperties": false,
"properties": {
"base": {
"title": "Base Version",
"description": "The version of the AICA base image",
"core": {
"title": "Core Version",
"description": "The version of the AICA Core image",
"examples": [
"v3.1.1",
"v4.0.0"
Expand Down Expand Up @@ -88,7 +88,7 @@
}
},
"required": [
"base"
"core"
]
},
"metadata": {
Expand Down

0 comments on commit d90a719

Please sign in to comment.