Skip to content

Conversation

@mgramigna
Copy link
Contributor

Summary

Add a basic schema for our csv config. Note: This schema is not complete. We just wanted a simple skeleton in here that we can expand on. This will allow us to parallelize some of the work of authoring the rest of the schema and using said schema in the app to report errors.

New behavior

N/A

Code changes

Added a schema file that will later be used for extractor config.

Testing guidance

Head over to https://www.jsonschemavalidator.net/s/awUd23pG. This is an online playground that should have the schema from this PR and some sample content in the web. Try removing the "extractors" property which I've marked as required, or try removing the "type" property from an entry in the extractors array, which I've also marked required.

Just make sure the schema makes sense, can be built on, and works with some simple test cases in the online playground.

@Dtphelan1
Copy link
Contributor

This looks really good to me! Thanks Matt for putting this together. 🚀

@dmendelowitz dmendelowitz self-assigned this Jun 10, 2021
Copy link
Contributor

@dmendelowitz dmendelowitz left a comment

Choose a reason for hiding this comment

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

Looks good!

@dmendelowitz dmendelowitz merged commit a496089 into develop Jun 10, 2021
@dmendelowitz dmendelowitz deleted the initial-config-schema branch June 10, 2021 18:08
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