Skip to content

Commit c236d13

Browse files
authored
CustomerPublic/V1/1_000 (#1180)
* Adição dos campos personalizados * Update CustomerPublic_1_000.json
1 parent 21355cb commit c236d13

File tree

1 file changed

+92
-0
lines changed

1 file changed

+92
-0
lines changed

jsonschema/schemas/CustomerPublic_1_000.json

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1314,6 +1314,22 @@
13141314
],
13151315
"items": {
13161316
"$ref": "#/definitions/DeliveryPlaces"
1317+
}
1318+
},
1319+
"CustomFields": {
1320+
"type": "array",
1321+
"description": "Informações dos campos personalizados",
1322+
"x-totvs": [
1323+
{
1324+
"product": "datasul",
1325+
"required": false,
1326+
"type": "array",
1327+
"available": true,
1328+
"canUpdate": true
1329+
}
1330+
],
1331+
"items": {
1332+
"$ref": "#/definitions/CustomerCustomFields"
13171333
}
13181334
}
13191335
}
@@ -1666,6 +1682,82 @@
16661682
"description": "Código País Siscomex"
16671683
}
16681684
}
1685+
},
1686+
"CustomerCustomFields": {
1687+
"type": "object",
1688+
"description": "Informações dos campos customizados",
1689+
"properties": {
1690+
"FieldId": {
1691+
"type": "string",
1692+
"description": "Identificador do campo",
1693+
"x-totvs": [
1694+
{
1695+
"product": "datasul",
1696+
"field": "mgadm.emitente.[]",
1697+
"required": true,
1698+
"type": "string",
1699+
"available": true,
1700+
"canUpdate": true
1701+
}
1702+
]
1703+
},
1704+
"FieldValue": {
1705+
"type": "string",
1706+
"description": "Valor do campo",
1707+
"x-totvs": [
1708+
{
1709+
"product": "datasul",
1710+
"field": "mgadm.emitente.[]",
1711+
"required": true,
1712+
"type": "string",
1713+
"available": true,
1714+
"canUpdate": true
1715+
}
1716+
]
1717+
},
1718+
"FieldType": {
1719+
"type": "string",
1720+
"description": "Tipo primitivo do valor enviado",
1721+
"x-totvs": [
1722+
{
1723+
"product": "datasul",
1724+
"field": "mgadm.emitente.[]",
1725+
"required": true,
1726+
"type": "string",
1727+
"available": true,
1728+
"canUpdate": true
1729+
}
1730+
]
1731+
},
1732+
"Description": {
1733+
"type": "string",
1734+
"description": "Descrição do valor enviado",
1735+
"x-totvs": [
1736+
{
1737+
"product": "datasul",
1738+
"field": "mgadm.emitente.[]",
1739+
"required": true,
1740+
"type": "string",
1741+
"available": true,
1742+
"canUpdate": true
1743+
}
1744+
]
1745+
},
1746+
"Observation": {
1747+
"type": "string",
1748+
"description": "Observação do valor enviado",
1749+
"x-totvs": [
1750+
{
1751+
"product": "datasul",
1752+
"field": "mgadm.emitente.[]",
1753+
"required": true,
1754+
"type": "string",
1755+
"available": true,
1756+
"canUpdate": true
1757+
}
1758+
]
1759+
}
1760+
}
16691761
}
16701762
},
16711763
"components": {

0 commit comments

Comments
 (0)