Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Schema Validation: Metadata Validation, MongoDB Indexing, & Other Schema Columns #81

Open
ric-evans opened this issue Mar 1, 2021 · 0 comments

Comments

@ric-evans
Copy link
Member

ric-evans commented Mar 1, 2021

  1. Validation:
    • Input Sanitation: defense against the bots
    • Logical Validation (path_finder.py): Ex: "Does this path already exist in the DB?"
    • Type-Validation: Ex: "is this year an integer?"
  2. Dynamic MongoDB Indexing:
    • Use a lookup-dict that will create/assure mongo indexes on specific fields
  3. Implement/record other schema columns
    • Required Key
    • Read-Only
    • Restricted Value
    • Schema

Ideally, we would have only one lookup-dict (perhaps a yaml) that could serve as the single point of reference for all of the above

Edit: add MongoDB built-in validation note

@ric-evans ric-evans added low-priority significant dev this'll take some time labels Apr 20, 2021
@ric-evans ric-evans changed the title Dynamic Schema Management: Metadata Validation, MongoDB Indexing, & Other Schema Columns Schema Validation: Metadata Validation, MongoDB Indexing, & Other Schema Columns Jun 3, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant