-
Notifications
You must be signed in to change notification settings - Fork 0
wip - add run start metadata #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| { | ||
| "$schema": "https://json-schema.org/draft/2020-12/schema", | ||
| "$id": "https://github.com/ISISComputingGroup/DataStreaming/blob/main/run_start_metadata_schema.json", | ||
| "title": "run_start_metadata_schema", | ||
| "description": "Schema for run start metadata used at ISIS for kafka_dae_diagnostics", | ||
| "type": "object", | ||
| "properties": { | ||
| "num_periods": { | ||
| "description": "The total number of periods for this run", | ||
| "type": "integer" | ||
| }, | ||
| "num_time_channels": { | ||
| "description": "The total number of time channels for this run", | ||
| "type":"integer" | ||
| }, | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If we're supporting multiple time regimes, a single Maybe this is really a |
||
| "time_regimes": { | ||
| "description": "The time regimes for this run", | ||
| "type": "array", | ||
| "minItems": 1, | ||
| "items": { | ||
| "type": "array", | ||
| "description": "time regime rows", | ||
| "items": { | ||
| "type":"object", | ||
| "description": "time regime row", | ||
| "properties": { | ||
| "from": { | ||
| "type": "number" | ||
| }, | ||
| "to": { | ||
| "type": "number" | ||
| }, | ||
| "steps": { | ||
| "type": "number" | ||
| }, | ||
| "mode": { | ||
| "enum": ["dT = C", "dT/T = C", "dT/T**2 = C", "Shifted"] | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As discussed - also want to allow for TCB files (or in other words arbitrary bin boundaries)
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes, but do they need to be in this metadata or can kafka_dae_control just parse them and put them in here?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i think they just want to be a parsed list. |
||
| } | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "vetos": { | ||
| "description": "The vetos for this run", | ||
| "type": "array", | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's clarify with DSG what form the vetos will be streamed in before commiting to a representation here. |
||
| "minItems": 1, | ||
| "items": { | ||
| "type": "object", | ||
| "properties": { | ||
| "name": { | ||
| "type": "string" | ||
| }, | ||
| "enabled": { | ||
| "type": "boolean" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "required": ["num_periods", "num_time_channels", "time_regimes", "vetos"] | ||
| } | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.