3 ms·
I like the following better: column name | generalized type | validation rule | hidden? -------------------------------------------------------
by andreyf 17y ago
I like the following better:
column name | generalized type | validation rule | hidden?
------------------------------------------------------------------
first_name | text | name_regex | false
last_name | text | name_regex | false
middle_name | text | name_regex | false
birth_date | date | over_18 | false
location | [double,double] | undefined | true
addresses | | has_many | false
Parsing it into JSON-equivalent is a programming exercise you can give your interviewees.
(my point is that data format doesn't matter - JSON, YAML, XML, |'s and -'s are just different "colors" giving semantic meaning to your data: but it's what you can do with that data which is important)