{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-structure/public-api-view-credential-structure.json", "name": "ViewCredential", "description": "ViewCredential schema from Public API (Otter Public API).", "type": "object", "properties": { "key": { "type": "string", "description": "The key of the credential.", "example": "userEmail" }, "label": { "type": "string", "description": "The friendly name of the credential.", "example": "User Email" }, "value": { "type": "string", "description": "The value of the credential. Only returned if the Store ID was provided in the request.", "example": "test-user@gmail.com" }, "inputType": { "type": "string", "description": "The type of input", "enum": [ "TEXT", "SELECT", "MULTI_SELECT" ], "default": "TEXT", "example": "TEXT" }, "selectOptions": { "type": "array", "description": "options to select when type is `SELECT` or `MULTI_SELECT`", "items": { "type": "string" } } }, "required": [ "key", "label" ] }