Otter · JSON Structure

Public Api View Credentials Array Structure

ViewCredentialsArray schema from Public API (Otter Public API).

Type: object Properties: 2
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

ViewCredentialsArray is a JSON Structure definition published by Otter, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

credentialsSchemaVersion credentials

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-structure/public-api-view-credentials-array-structure.json",
  "name": "ViewCredentialsArray",
  "description": "ViewCredentialsArray schema from Public API (Otter Public API).",
  "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": "foodstore@email.com"
        },
        {
          "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"
          ]
        }
      ]
    }
  }
}