Skip to content

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

@afsmythe

Description

@afsmythe

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">

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions