Skip to content
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

Start of JSON schema tool kit #6

Merged
merged 13 commits into from
Aug 12, 2023
Merged

Conversation

Geary-Layne
Copy link
Contributor

Linear 219

Goal here was to bring the json schema work that I had stared in DAS into common and set it up to be used for the whole system. There is still more work but this should set the framework. See the json-schema.rst (in this pr) for more documentation. There are a number of messages with IDSSe that are not covered here that will need to be added (eventPort, all NewData messages, DAS_web_servcie input, ...), and the Criteria message schema is only partial. I would like to change the Criteria message (and maybe eventPort) to be more similar to the rest.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glad we have a common method now to create timestamps, it's something that is done a lot in different ways in many places. We will have update some of our services (EPM, ECM, IMS Gateway) to include the commons package as they currently do not

"Region": {
"description": "Identifier for a geographic region",
"type": "string",
"enum": ["CO", "AK", "PR", "HI"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume CO here is CONUS? Is there a use case for this enum where it could be Colorado?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, CO is for CONUS. Don't expect we will have products that are available by state, but if we do we'll need to make some changes. I think the most likely next step, is products that are custom local domains. Like a super high resolution wind model in the area surrounding a fire. Don't have a solution for that, but we'll deal with it when we need to.

Copy link
Contributor

@paulhamer-noaa paulhamer-noaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A retro fit of ISO and other time formats will definitely worthwhile. Timestamps to/from IMS will require a further iteration as I'm sure they'll use a different format...

@Geary-Layne Geary-Layne merged commit b41a6ff into main Aug 12, 2023
@mackenzie-grimes-noaa mackenzie-grimes-noaa deleted the chore/idsse-219/mv-schema branch November 16, 2023 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants