Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XSD question: can we describe Department outside of ElectionAdministration #391

Open
afsmythe opened this issue Jan 17, 2020 · 1 comment
Labels

Comments

@afsmythe
Copy link

afsmythe commented Jan 17, 2020

Department is not presently designated as a ComplexType and its description is nested under ElectionAdministration.

Considering a scenario where a database is modeled after the specification should Department be described as a standalone ComplexType like so?

<xs:complexType name="Department" maxOccurs="unbounded">
        <xs:sequence>
           <xs:element name="ContactInformation" type="ContactInformation" minOccurs="0" />
           <xs:element name="ElectionOfficialPersonId" type="xs:IDREF" minOccurs="0" />
           <xs:element name="VoterService" minOccurs="0" maxOccurs="unbounded">

With ElectionAdministration.Department then described as:

<xs:element name="Department" type="Department" maxOccurs="unbounded">
@jdmgoogle
Copy link
Contributor

I think this structure is more of a legacy issue than a conscious choice. Is there a particular motivation for making this change? I don't have an opinion one way or the other I'm just curious.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants