martel-innovate / ngi-solutions

MIT License
1 stars 0 forks source link

add regex pattern #2

Closed chicco785 closed 3 years ago

chicco785 commented 3 years ago

https://github.com/martel-innovate/ngi-solutions/blob/bc70354352739dbdd35ffb8e55ddac3d486cf590/schema.json#L12

https://json-schema.org/understanding-json-schema/reference/regular_expressions.html

id format should be: xxxx:yyyyy where xxxx is the ngi project acronym and yyyy is the solution acronym

only alphanumeric values and - are valid

e.g. NGI-ASSURE:PROJECT-1 is ok, NGI,ASSURE:PROJECT/1 is not

Valecant commented 3 years ago

regex added in ID, now is possible to use only alphanumeric values and: - :