Skip to content

Commit

Permalink
Ajustes nos exemplos dos tipos de objeto retornados na api. (#1173)
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe-Alves-Sampaio authored Oct 28, 2024
1 parent c772431 commit 6daf828
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jsonschema/schemas/Brands_1_000.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,10 @@
"required": true
}
]
},
},
"Code": {
"description": "Código da Marca",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand All @@ -102,6 +103,7 @@
},
"Description": {
"description": "Descricao da Marca",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand All @@ -116,6 +118,7 @@
},
"RecCreatedBy": {
"description": "Registro criado por",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand Down Expand Up @@ -143,6 +146,7 @@
},
"RecModifiedBy": {
"description": "Registro alterado por",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand Down
21 changes: 21 additions & 0 deletions jsonschema/schemas/ShippingCompany_1_000.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
},
"Name": {
"description": "Nome da Transportadora",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand All @@ -113,6 +114,7 @@
},
"Address": {
"description": "Endereço da Transportadora",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand All @@ -126,6 +128,7 @@
},
"Number": {
"description": "Número do Endereço da Transportadora",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand All @@ -139,6 +142,7 @@
},
"Complement": {
"description": "Complemento do Endereço da Transportadora",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand All @@ -152,6 +156,7 @@
},
"District": {
"description": "Bairro do Endereço da Transportadora",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand All @@ -165,6 +170,7 @@
},
"CityCode": {
"description": "Código do Município",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand All @@ -178,6 +184,7 @@
},
"StateId": {
"description": "Código do Estado",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand All @@ -191,6 +198,7 @@
},
"ZipCode": {
"description": "CEP da Transportadora",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand All @@ -204,6 +212,7 @@
},
"Cgc": {
"description": "CNPJ da Transportadora",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand All @@ -217,6 +226,7 @@
},
"StateRegistration": {
"description": "Inscrição Estadual",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand All @@ -230,6 +240,7 @@
},
"Contact": {
"description": "Contato",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand All @@ -243,6 +254,7 @@
},
"PhoneNumber": {
"description": "Número de Telefone",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand All @@ -256,6 +268,7 @@
},
"Telex": {
"description": "Número do Telex",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand All @@ -269,6 +282,7 @@
},
"FaxNumber": {
"description": "Número do Fax",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand All @@ -282,6 +296,7 @@
},
"Free": {
"description": "Campo Livre",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand All @@ -295,6 +310,7 @@
},
"TradingName": {
"description": "Nome Fantasia",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand All @@ -308,6 +324,7 @@
},
"CountryCode": {
"description": "País",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand All @@ -321,6 +338,7 @@
},
"Cei": {
"description": "CEI",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand Down Expand Up @@ -348,6 +366,7 @@
},
"Email": {
"description": "Email",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand All @@ -361,6 +380,7 @@
},
"MunicipalRegistration": {
"description": "Inscrição Municipal",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand Down Expand Up @@ -390,6 +410,7 @@

"RecModifiedBy": {
"description": "Registro alterado por",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand Down
5 changes: 5 additions & 0 deletions jsonschema/schemas/UnitOfMeasures_1_000.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
},
"Description": {
"description": "Descricao da Unidade de Medida",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand All @@ -99,6 +100,7 @@
},
"UnitOfMeasuresBaseCode": {
"description": "Código da Unidade Base desta Unidade de Medida",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand Down Expand Up @@ -152,6 +154,7 @@
},
"Initials": {
"description": "Código Reduzido",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand All @@ -176,6 +179,7 @@
},
"TaxableUnitMeasurementCode": {
"description": "Unidade Tributável",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand All @@ -187,6 +191,7 @@
},
"RecModifiedBy": {
"description": "Registro alterado por",
"type": "string",
"x-totvs": [
{
"product": "RM",
Expand Down

0 comments on commit 6daf828

Please sign in to comment.