Elements structure:
abstract should be a boolean. Input values from the taxonomy are "True" and "None"
nillable should be a boolean. Input values from the taxonomy are "True" and "None"
period_independent should be a boolean. Input values from the taxonomy are "0", "None", "true", and "false".
substitution_group is an enumeration (xbrli:item, xlbrldt:dimensionItem, and xblrdt:hypercubeItem).
Type_name is complicated and should be dealt with in another issue focused on validation - for the purpose of this issue it can be considered a string.
period_type is an enumeration (duration and instant are values).
All other fields are strings.
Units structure
item_type_date should be a date. Input values from the taxonomy are in yyyy-mm-dd input format. None is also allowed (check with xbrl on why).
version_date should be a date. Input values from the taxonomy are in yyy-mm-dd input format. Currently there is no None values.
base_standard is a enumeration (Customary, ISO4217, SI, XBLR)
status is a enumeration (REC, CR). It might make sense to spell out what these mean.
All other fields are strings.
Elements structure: abstract should be a boolean. Input values from the taxonomy are "True" and "None" nillable should be a boolean. Input values from the taxonomy are "True" and "None" period_independent should be a boolean. Input values from the taxonomy are "0", "None", "true", and "false". substitution_group is an enumeration (xbrli:item, xlbrldt:dimensionItem, and xblrdt:hypercubeItem). Type_name is complicated and should be dealt with in another issue focused on validation - for the purpose of this issue it can be considered a string. period_type is an enumeration (duration and instant are values). All other fields are strings.
Units structure item_type_date should be a date. Input values from the taxonomy are in yyyy-mm-dd input format. None is also allowed (check with xbrl on why). version_date should be a date. Input values from the taxonomy are in yyy-mm-dd input format. Currently there is no None values. base_standard is a enumeration (Customary, ISO4217, SI, XBLR) status is a enumeration (REC, CR). It might make sense to spell out what these mean. All other fields are strings.