Skip to content

Commit

Permalink
Merge pull request #51 from luizalabs/CPF_CNPJ
Browse files Browse the repository at this point in the history
feat: add cpf/cnpj to posting list xml schema
  • Loading branch information
pedrospoljaric-luizalabs authored Jun 20, 2022
2 parents 67a6913 + 725933b commit 85a5291
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 85a5291

Please sign in to comment.