No Translation
- 21 Nov 2022
-
DarkLight
-
PDF
No Translation
- Updated on 21 Nov 2022
-
DarkLight
-
PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Simple Schema
The Adapter Builder will often use a simple schema because it is less complex to understand, and it requires less input to generate. A simple schema will turn off translation – this means the data that is sent to IAP is all the data that is sent by the other system. In addition, all the data sent by IAP will be sent to the other system
Example: Simple Schema
"$id": "deviceSchema.json",
"type": "object",
"schema": "http://json-schema.org/draft-07/schema#",
"translate": false,
"dynamicfields": true,
"properties": {
"ph_request_type": {
"type": "string",
"description": "type of request (internal to adapter)",
"default": "getDevice",
"enum": [
"getDevice ",
"createDevice"
],
"external_name": "ph_request_type"
}
},
"definitions": {}
Was this article helpful?