-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: define common interfaces in a versioned schema (#202)
* refactor: move all unversioned subschemas into common interfaces directory * feat: common interfaces.schema.jon * ci: use matrix strategy for handling schemas * chore: update schema helper scripts * chore: update readme * fix: add check around hardcoded assumption in bundle utils * ci: improve reliability of workflows
- Loading branch information
Showing
16 changed files
with
108 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# CHANGELOG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# JSON Schema for Common Interfaces | ||
|
||
This schema defines common interfaces that are reusable across other schemas. In particular, the definitions of | ||
parameter, predicate, signal and service interfaces are used by both the component and controller description schemas. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"$id": "/draft/1-0-0/interfaces.schema.json", | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"title": "Common Interfaces", | ||
"description": "This schema includes definitions for common interfaces across the AICA System", | ||
"$defs": { | ||
"encoded_state_type": { | ||
"$ref": "common/encoded_state_type.schema.json" | ||
}, | ||
"parameter": { | ||
"$ref": "common/parameter.schema.json" | ||
}, | ||
"parameter_type": { | ||
"$ref": "common/parameter_type.schema.json" | ||
}, | ||
"predicate": { | ||
"$ref": "common/predicate.schema.json" | ||
}, | ||
"service": { | ||
"$ref": "common/service.schema.json" | ||
}, | ||
"signal": { | ||
"$ref": "common/signal.schema.json" | ||
}, | ||
"signal_type": { | ||
"$ref": "common/signal_type.schema.json" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters