-
Notifications
You must be signed in to change notification settings - Fork 18
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
JSON schema: Missing definition /definitions/Answers
#145
Comments
Hmm, it should refer to https://github.com/voc/schedule/blob/master/validator/submission-json/schema.json#L267-L342 which is different to https://github.com/voc/schedule/blob/master/validator/submission-json/submission.json as I now realise... Its probably the best to move the answers defintion there... |
So exporters should now inline the full question rather than just including the question ID? (FWIW: pretalx will at some point rename "question/answer" to "custom field", as that makes a lot more sense imo, and people regularly get confused by the current wording.) |
Notably, the schema.json does NOT include a type for speaker answers. |
Thats a good idea! So lets drop the answer field for now from the schema definition and let's revisit it as form a custom field, which could include a |
https://github.com/voc/schedule/blob/master/validator/json/schema.json#L312 refers to
https://c3voc.de/schedule/submission#/definitions/Answers
which looks wrong, but theAnswers
definition is missing from the schema altogether, which leads to validation errors.The text was updated successfully, but these errors were encountered: