Skip to content

Task/2 3 2025 json schema for filters#1663

Draft
emily-howell wants to merge 7 commits intodevelopfrom
task/2_3_2025-json-schema-for-filters
Draft

Task/2 3 2025 json schema for filters#1663
emily-howell wants to merge 7 commits intodevelopfrom
task/2_3_2025-json-schema-for-filters

Conversation

@emily-howell
Copy link
Member

This is just a first pass and very much a draft version

Most focus was placed on building the actual structure. Before merging into an official version significant revisions to error handling in the validator should be made to add clarity.

This schema has currently only been added in ascent_runtime_vtkh_filters. The goal is to implement this for all filters in Ascent. Once this has been done and the full scope of Json Schema features needed has been determined, the flow_schema_validator should be migrated to conduit.

@cyrush
Copy link
Member

cyrush commented Mar 3, 2026

this approach looks nice and for the current cases it looks like less code to define the params.

Q: How are surprises handled, and how does that compare to our older error messages?

conduit::Node &info);


static bool validate_node(const conduit::Node &schema,
Copy link
Member

Choose a reason for hiding this comment

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

No need for static here, if we want them hidden we could use a detail namespace in the c++ file,but I think it is fine to have them here as well w/o static

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.

2 participants