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

Use case 1: Initial validation #1

Open
jakubklimek opened this issue Feb 19, 2019 · 0 comments
Open

Use case 1: Initial validation #1

jakubklimek opened this issue Feb 19, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jakubklimek
Copy link
Member

We will start with our minimal use case and add complexity as we go.
Let us use this descriptor.
The validator should:

  1. Access the descriptor using its URL
  2. Warn when the HTTP content-type is different from application/csvm+json; charset=utf-8
  3. Determine that the tableSchema is another resource and download it (warn again)
  4. Access the CSV file using url - this should be streamed, as it can be very large
  5. Warn when the HTTP content-type is different from text/csv; charset=utf-8
  6. Read the CSV file header (first row) - this will be optional later
  7. Parse tableSchema.columns array and verify presence of required columns indicated by titles - this can be also an array in future, but start with a simple literal.
@jakubklimek jakubklimek added the enhancement New feature or request label Feb 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants