forked from samuelfac/portalunico.siscomex.gov.br
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Israel Merljak
committed
Nov 14, 2018
1 parent
6cebd9e
commit 7f769a4
Showing
223 changed files
with
7,258 additions
and
553 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
schemas.old/json/catp/operador-estrangeiro-retorno/operador_estrangeiro_retorno.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"$id": "http://www.pucomex.serpro.gov.br/catp/operador_estrangeiro_retorno.schema.json", | ||
"type": "object", | ||
"definitions": {}, | ||
"$schema": "http://json-schema.org/draft-06/schema#", | ||
"additionalProperties": false, | ||
"properties": { | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"seq": { | ||
"type": "integer" | ||
}, | ||
"codigo": { | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"erros": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"sucesso": { | ||
"type": "boolean" | ||
} | ||
} | ||
} | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
schemas.old/json/catp/operador-estrangeiro/operador_estrangeiro.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"$id": "http://www.pucomex.serpro.gov.br/catp/operador_estrangeiro.schema.json", | ||
"type": "object", | ||
"definitions": {}, | ||
"$schema": "http://json-schema.org/draft-06/schema#", | ||
"properties": { | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"seq": { | ||
"type": "integer" | ||
}, | ||
"cnpjRaiz": { | ||
"type": "string" | ||
}, | ||
"codigo": { | ||
"type": "string" | ||
}, | ||
"nome": { | ||
"type": "string" | ||
}, | ||
"logradouro": { | ||
"type": "string" | ||
}, | ||
"nomeCidade": { | ||
"type": "string" | ||
}, | ||
"codigoSubdivisaoPais": { | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"codigoPais": { | ||
"type": "string" | ||
}, | ||
"cep": { | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
schemas.old/json/catp/produto-retorno/produto_retorno.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"definitions": {}, | ||
"$schema": "http://json-schema.org/draft-06/schema#", | ||
"type": "object", | ||
"$id": "http://www.pucomex.serpro.gov.br/catp/produto_retorno.schema.json", | ||
"properties": { | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"seq": { | ||
"type": "integer" | ||
}, | ||
"codigo": { | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"erros": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"sucesso": { | ||
"type": "boolean" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
{ | ||
"definitions": {}, | ||
"$schema": "http://json-schema.org/draft-06/schema#", | ||
"type": "object", | ||
"$id": "http://www.pucomex.serpro.gov.br/catp/produto.schema.json", | ||
"properties": { | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"seq": { | ||
"type": "integer" | ||
}, | ||
"codigo": { | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"descricao": { | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"cnpjRaiz": { | ||
"type": "string" | ||
}, | ||
"situacao": { | ||
"type": "string" | ||
}, | ||
"modalidade": { | ||
"type": "string" | ||
}, | ||
"ncm": { | ||
"type": "string" | ||
}, | ||
"codigoNaladi": { | ||
"type": [ | ||
"integer", | ||
"null" | ||
] | ||
}, | ||
"codigoGPC": { | ||
"type": [ | ||
"integer", | ||
"null" | ||
] | ||
}, | ||
"codigoGPCBrick": { | ||
"type": [ | ||
"integer", | ||
"null" | ||
] | ||
}, | ||
"codigoUNSPSC": { | ||
"type": [ | ||
"integer", | ||
"null" | ||
] | ||
}, | ||
"paisOrigem": { | ||
"type": "string" | ||
}, | ||
"cpfCnpjFabricante": { | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"fabricanteConhecido": { | ||
"type": "boolean" | ||
}, | ||
"codigoOperadorEstrangeiro": { | ||
"type": [ | ||
"integer", | ||
"string" | ||
] | ||
}, | ||
"atributos": { | ||
"type": [ | ||
"array", | ||
"null" | ||
], | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"atributo": { | ||
"type": "string" | ||
}, | ||
"valor": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
}, | ||
"codigosInterno": { | ||
"type": [ | ||
"array", | ||
"null" | ||
], | ||
"items": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
74 changes: 74 additions & 0 deletions
74
schemas.old/json/cct/consultar-conteiner/consultar-conteiner.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{ | ||
"definitions": {}, | ||
"$schema": "http://json-schema.org/draft-06/schema#", | ||
"type": "object", | ||
"$id": "http://www.pucomex.serpro.gov.br/cct/consulta-conteiner.schema.json", | ||
"properties": { | ||
"listaRetorno": { | ||
"type": "array", | ||
"uniqueItems": true, | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"numeroConteiner": { | ||
"type": "string" | ||
}, | ||
"pesoBruto": { | ||
"type": "number" | ||
}, | ||
"tara": { | ||
"type": "number" | ||
}, | ||
"lacres": { | ||
"type": "array", | ||
"uniqueItems": true, | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"documentosCarga": { | ||
"type": "array", | ||
"uniqueItems": true, | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"documentos": { | ||
"type": "array", | ||
"uniqueItems": true, | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"numeroDUE": { | ||
"type": "string" | ||
}, | ||
"numeroRUC": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"permiteMovimentacao": { | ||
"type": "boolean" | ||
} | ||
} | ||
} | ||
}, | ||
"listaMensagem": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"codigo": { | ||
"type": "string" | ||
}, | ||
"mensagem": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.