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

Validate CDS card data #56

Open
kpshek opened this issue Jul 27, 2018 · 1 comment
Open

Validate CDS card data #56

kpshek opened this issue Jul 27, 2018 · 1 comment

Comments

@kpshek
Copy link
Contributor

kpshek commented Jul 27, 2018

There is no validation of CDS cards today. For instance, cards can have summary fields with > 140 characters and the card is still rendered. We should flag these cards for errors and/or not render them so that the CDS Service developer knows there is an issue that needs to be corrected.

@mattberther
Copy link

Hi @kpshek, I think https://github.com/cds-hooks/cds-validator could help with this. I went through several months ago and updated to 1.0 spec. However, there are items like the summary fields > 140 characters that are not currently being validated.

Can you point me to a complete specification including all properties and potential validations, and Id be happy to update the cds-validator project so we could use it in the sandbox for CDS card validation?

Thanks!

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

No branches or pull requests

2 participants