schema - how to limit Seq size? #207
Unanswered
goyalyashpal
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi! thanks for such wonderful writeups and this tool.
i wanted to design a quiz, so, thought to eventually use strict-yaml for storing that data. it looks like this:
the python src containing the schema looks like:
I was thinking if i could:
choices
to be between2
to4
"options"
to be equal tochoices - 1
or if not dynamically possible, then at least some static hard coded value?
Or otherwise, how would you deal with it? which markup language would seem fit for storing trivia quizes like this according to you?
I tried looking around at submenus of https://hitchdev.com/strictyaml/ , but couldn't find some reference focussing on the schema.
Beta Was this translation helpful? Give feedback.
All reactions