Skip to content

Commit

Permalink
feat: add cpf/cnpj to posting list xml schema
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrospoljaric-luizalabs committed Jun 20, 2022
1 parent 67a6913 commit 725933b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions correios/data/posting_list_schema.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@
<xs:element ref="telefone_remetente"/>
<xs:element ref="fax_remetente"/>
<xs:element ref="email_remetente"/>
<xs:element ref="cpf_cnpj_remetente"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Expand Down Expand Up @@ -378,6 +379,20 @@
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cpf_cnpj_remetente">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cpf_cnpj_destinatario">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="dimensao_objeto">
<xs:complexType>
<xs:sequence>
Expand Down Expand Up @@ -444,6 +459,7 @@
<xs:element ref="logradouro_destinatario"/>
<xs:element ref="complemento_destinatario"/>
<xs:element ref="numero_end_destinatario"/>
<xs:element ref="cpf_cnpj_destinatario"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Expand Down

0 comments on commit 725933b

Please sign in to comment.