inbo / whip

✅ Human and machine-readable syntax to express specifications for data
MIT License
7 stars 0 forks source link

Usage of the word 'allowed' #10

Open cgendreau opened 7 years ago

cgendreau commented 7 years ago

If we look at the current specification types, only allowed is an adjective:

allowed
minlength
maxlength
stringformat
regex
min
max
numberformat
mindate
maxdate
dateformat

That been said, I don't have any super suggestion other than something like simply value or allowedvalue (which is not pretty as one word).

Please treat that as a question/idea/suggestion, I'm not a native English speaker.

peterdesmet commented 7 years ago

It's worth considering. I do think it is a specification that is originally coming from Cerberus. @stijnvanhoey would know it is useful to stick to that or not.

stijnvanhoey commented 7 years ago

There is no specific reason to stick to the naming of Cerberus, as this is just a possible base to implement the validation of whip-specification files. If there is a good alternative to allowed it is certainly worth to consider and there shouldn't be a technical limitation in terms of implementation.