Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Challenge Schema structure #27

Open
cre8 opened this issue Jul 14, 2023 · 0 comments
Open

Challenge Schema structure #27

cre8 opened this issue Jul 14, 2023 · 0 comments

Comments

@cre8
Copy link
Contributor

cre8 commented Jul 14, 2023

When migrating the Exel to json each column was treated as one value. But when you want to filter the input, it get's tricky:
If you want to define the attribute "crypto agility", the answer could be true or false. In this case a filter is easy to implement and also the input validation.
But for some attributes you want to add some information to clarify the answer. Like: "it has crypto agility, but you can only use EC based curves". For such cases these attributes need a second field. We could implement it as a nested object or as Boolean. Json schema allows us to treat it as Boolean and a specific field and to validate it during the cicd pipeline.

Suggestions:

  • define a general object for filter based fields (e.g. { value: boolean, description: string }
  • challenge all existing data and update them

Another point is how to deal with resources. Right now we can insert links directly in the value and it will get rendered as a html link. But could it be better to add links in a separate field for more use cases?

@cre8 cre8 mentioned this issue Aug 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant