> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.merk.database.Vocative

- Component: `appmixer.merk.database.Vocative`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.merk 1.2.3](https://connectors.appmixer.com/connector/appmixer.merk/1.2.3.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.merk/1.2.3/component/appmixer.merk.database.Vocative>

This action returns vocative and sex for given first, last or both names.

## Input ports

### Port `query`

| Field | Type | Description |
| --- | --- | --- |
| First name (`first_name`) | text | - |
| Last name (`last_name`) | text | - |

## Output ports

### Port `vocative`

| Field | Type | Description |
| --- | --- | --- |
| First name (`first_name`) | string | - |
| Last name (`last_name`) | string | - |
| Sex (m/f) (`sex`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.merk.database.Vocative",
  "author": "David Durman <david@client.io>",
  "description": "This action returns vocative and sex for given first, last or both names.",
  "inPorts": [
    {
      "name": "query",
      "schema": {
        "type": "object",
        "properties": {
          "first_name": {
            "type": "string"
          },
          "last_name": {
            "type": "string"
          }
        },
        "anyOf": [
          {
            "required": [
              "first_name"
            ]
          },
          {
            "required": [
              "last_name"
            ]
          }
        ]
      },
      "inspector": {
        "inputs": {
          "first_name": {
            "type": "text",
            "group": "transformation",
            "index": 1,
            "label": "First name",
            "attrs": {
              "label": {
                "data-tooltip": "First name"
              }
            }
          },
          "last_name": {
            "type": "text",
            "group": "transformation",
            "index": 2,
            "label": "Last name",
            "attrs": {
              "label": {
                "data-tooltip": "Last name"
              }
            }
          }
        },
        "groups": {
          "transformation": {
            "label": "Transformation",
            "index": 1
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "vocative",
      "options": [
        {
          "label": "First name",
          "value": "first_name",
          "schema": {
            "type": "string",
            "example": "Jane"
          }
        },
        {
          "label": "Last name",
          "value": "last_name",
          "schema": {
            "type": "string",
            "example": "Nováku"
          }
        },
        {
          "label": "Sex (m/f)",
          "value": "sex",
          "schema": {
            "type": "string",
            "example": "m"
          }
        }
      ]
    }
  ],
  "auth": {
    "service": "appmixer:merk"
  },
  "icon": "(data URI omitted)"
}
```
