usnistgov / VoterRecordsInterchange

Common data format specification for voter records interchange data
https://pages.nist.gov/VoterRecordsInterchange
Other
14 stars 2 forks source link

PhoneContactMethod problematic #1

Open johnpwack opened 6 years ago

johnpwack commented 6 years ago

An issue was raised that this could result in nonsensical usage, e.g., type=email. This could be addressed with a schematron rule that requires used of PhoneContactMethod if type=phone and flagged as an error for any use of PhoneContactMethod combined with type=anything other than phone. This is what I recommend - we will need schematron rules for other items as well, which we are developing currently.

JDziurlaj commented 6 years ago

Have these rules been developed? If so, can they be posted to the repository?

johnpwack commented 6 years ago

The rules have been developed and we need to do a review and they can be posted fairly soon.