Open joswig opened 2 months ago
seq.json
Small changes.
Request are going to be hard since they could look like this. We should probably start looking at auto-indentation or a format button which could help with readablity.
@REQUEST_START @GROUND_EPOCH "Delta" "Name" { "extra": true } "request.name" # No Args C CMD_1 1 2 3 # description @MODELES "foo" "bar" R100 CMD_2 "1 2 3" C CMD_1 1 2 3 R100 CMD_2 "1 2 3" @REQUEST_END @MODELS "a" 1 "00:00:00" @METADATA "foo" "bar"
Model objects aren't allowed on requests, but your point stands these have potential to test the limits of readability. I assume we'll end up folding away most of the request top level details outside of the name, but we'll need some user feedback there
@REQUEST_START @GROUND_EPOCH "Delta" "Name" { "extra": true } "request.name" # No Args
@METADATA "foo" "bar"
C CMD_1 1 2 3
@METADATA "foo" "bar"
@MODEL "a" 1 "00:00:00"
R100 CMD_2 "1 2 3"
C CMD_1 1 2 3
R100 CMD_2 "1 2 3"
@REQUEST_END
@REQUEST_START("request.name") "Delta" "Name" { "extra": true } # Description Text
C CMD_1 1 2 3
@METADATA "foo" "bar"
@MODEL "a" 1 "00:00:00"
R100 CMD_2 "1 2 3"
C CMD_1 1 2 3
R100 CMD_2 "1 2 3"
@REQUEST_END
@METADATA "foo" "bar"
Updated alternate syntax on this branch
Examples of potential representations for remaining seq.json object types
Activate and Load
Activate and Load have the same structure and differ only in type, and intent.
Schema Reference
A one line representation including engine and epoch would be useful, but as they are optional we need to label them or use more structure which we've avoided so far
A proposed alternate syntax would be to group like below, but this is trending towards the eDSL approach.
Ground Event and Ground Epoch
Ground Event and Epoch have the same structure, but different meanings.
Alternate Syntax
Request
Alternate
alternative 2