Skip to content

Commit

Permalink
Updated the schema
Browse files Browse the repository at this point in the history
* update types to immediate_load, immediate_activate, immediate_command
* remove model from immediate_load and imediate_activate
  • Loading branch information
goetzrrGit committed Dec 6, 2024
1 parent f507140 commit f1669f8
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$id": "https://github.com/NASA-AMMOS/seq-json-schema/tree/v1.1.0",
"$id": "https://github.com/NASA-AMMOS/seq-json-schema/tree/v1.2.0",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$defs": {
"immediate_activate": {
Expand Down Expand Up @@ -34,7 +34,7 @@
"description": "Onboard path and filename of sequence to be loaded."
},
"type": {
"const": "activate"
"const": "immediate_activate"
}
},
"required": ["sequence", "type"],
Expand Down Expand Up @@ -120,12 +120,18 @@
"metadata": {
"$ref": "#/$defs/metadata"
},
"models": {
"items": {
"$ref": "#/$defs/model"
},
"type": "array"
},
"stem": {
"type": "string",
"description": "Command stem"
},
"type": {
"const": "command"
"const": "immediate_command"
}
},
"required": ["stem", "args"],
Expand Down Expand Up @@ -284,7 +290,7 @@
"description": "Onboard path and filename of sequence to be loaded."
},
"type": {
"const": "load"
"const": "immediate_load"
}
},
"required": ["sequence", "type"],
Expand Down

0 comments on commit f1669f8

Please sign in to comment.