Otter · Schema
ViewCredentialsArray
ViewCredentialsArray schema from Public API (Otter Public API).
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics
Properties
| Name | Type | Description |
|---|---|---|
| credentialsSchemaVersion | object | |
| credentials | array | Array of credentials containing its keys, labels and values. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ViewCredentialsArray",
"description": "ViewCredentialsArray schema from Public API (Otter Public API).",
"$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-view-credentials-array-schema.json",
"type": "object",
"properties": {
"credentialsSchemaVersion": {
"$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-credentials-schema-version-schema.json"
},
"credentials": {
"type": "array",
"description": "Array of credentials containing its keys, labels and values.",
"items": {
"$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-view-credential-schema.json"
},
"example": [
{
"key": "email",
"label": "Email",
"value": "[email protected]"
},
{
"key": "password",
"label": "Password",
"value": "test-pwd-1234"
},
{
"key": "language",
"label": "Choose the language",
"inputType": "SELECT",
"selectOptions": [
"English",
"Portuguese"
]
},
{
"key": "supported_sizes",
"label": "Choose all supported sizes",
"inputType": "SELECT",
"selectOptions": [
"SMALL",
"MEDIUM",
"LARGE"
]
}
]
}
}
}