italia / moduli-pa

11 stars 8 forks source link

AgID_aggregate_components - Gruppo LuogoGroup: localitaEstera in luogo del comune in caso di stato estero #76

Closed jackom83 closed 6 years ago

jackom83 commented 6 years ago

Nel gruppo seguente definito nel livello AgID_aggregate_components

<xs:group name="LuogoGroup">
        <xs:annotation>
            <xs:documentation>Gruppo di proprietà associate al luogo</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="stato" type="isacvbc:AddressAdminUnitLocationOneType" default="it_IT" />
            <xs:element name="regione" type="aggregate:RegioneType" minOccurs="0"/>
            <xs:element name="provincia" type="aggregate:ProvinciaType" minOccurs="0"/>
            <xs:element name="comune" type="aggregate:ComuneType"/>         
        </xs:sequence>
    </xs:group> 

Nel caso di stato estero è necessario inserire anche il comune, che sottende un generico luogo straniero, l'element comune non può essere adoperato in quanto richiedente il codice istat.

Si propone di prevedere un Order indicator choice contenente l'attuale element comune ed un element localitaEstera di tipo xs:string

jackom83 commented 6 years ago

Fixed by commit 78b882b