{
  "service": "dadata_ru",
  "displayName": "DaData.ru",
  "categories": [
    "Data",
    "Location"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Key",
      "placeholder": "DADATA_API_KEY",
      "description": "DaData API key used in the Authorization header with the Token prefix. Create or view it in your DaData profile at https://dadata.ru/profile/#info."
    }
  ],
  "homepageUrl": "https://dadata.ru",
  "actions": [
    {
      "id": "dadata_ru.suggest_address",
      "service": "dadata_ru",
      "name": "suggest_address",
      "description": "Suggest Russian postal addresses from partial text using DaData's Suggestions API.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1,
            "maxLength": 300,
            "description": "The address search text to send to DaData."
          },
          "count": {
            "type": "integer",
            "minimum": 1,
            "maximum": 20,
            "description": "The maximum number of suggestions to return."
          },
          "language": {
            "type": "string",
            "enum": [
              "ru",
              "en"
            ],
            "description": "The language for returned address suggestions."
          }
        },
        "additionalProperties": false,
        "required": [
          "query"
        ],
        "description": "The input payload for a DaData address suggestion request."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "suggestions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "value": {
                  "type": "string",
                  "description": "The display value for the suggestion."
                },
                "unrestricted_value": {
                  "type": "string",
                  "description": "The full unrestricted value for the suggestion."
                },
                "data": {
                  "type": "object",
                  "additionalProperties": {
                    "description": "A provider-defined suggestion data value."
                  },
                  "description": "A provider-defined suggestion data object with arbitrary string keys."
                }
              },
              "additionalProperties": true,
              "description": "One DaData suggestion item."
            },
            "description": "The ordered suggestion results."
          }
        },
        "additionalProperties": true,
        "description": "The DaData suggestions response."
      }
    },
    {
      "id": "dadata_ru.suggest_bank",
      "service": "dadata_ru",
      "name": "suggest_bank",
      "description": "Suggest Russian banks from partial text using DaData's Suggestions API.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1,
            "maxLength": 300,
            "description": "The search text to send to DaData."
          },
          "count": {
            "type": "integer",
            "minimum": 1,
            "maximum": 20,
            "description": "The maximum number of suggestions to return."
          }
        },
        "additionalProperties": false,
        "required": [
          "query"
        ],
        "description": "The input payload for a DaData suggestion request."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "suggestions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "value": {
                  "type": "string",
                  "description": "The display value for the suggestion."
                },
                "unrestricted_value": {
                  "type": "string",
                  "description": "The full unrestricted value for the suggestion."
                },
                "data": {
                  "type": "object",
                  "additionalProperties": {
                    "description": "A provider-defined suggestion data value."
                  },
                  "description": "A provider-defined suggestion data object with arbitrary string keys."
                }
              },
              "additionalProperties": true,
              "description": "One DaData suggestion item."
            },
            "description": "The ordered suggestion results."
          }
        },
        "additionalProperties": true,
        "description": "The DaData suggestions response."
      }
    },
    {
      "id": "dadata_ru.suggest_email",
      "service": "dadata_ru",
      "name": "suggest_email",
      "description": "Suggest email addresses from partial text using DaData's Suggestions API.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1,
            "maxLength": 300,
            "description": "The search text to send to DaData."
          },
          "count": {
            "type": "integer",
            "minimum": 1,
            "maximum": 20,
            "description": "The maximum number of suggestions to return."
          }
        },
        "additionalProperties": false,
        "required": [
          "query"
        ],
        "description": "The input payload for a DaData suggestion request."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "suggestions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "value": {
                  "type": "string",
                  "description": "The display value for the suggestion."
                },
                "unrestricted_value": {
                  "type": "string",
                  "description": "The full unrestricted value for the suggestion."
                },
                "data": {
                  "type": "object",
                  "additionalProperties": {
                    "description": "A provider-defined suggestion data value."
                  },
                  "description": "A provider-defined suggestion data object with arbitrary string keys."
                }
              },
              "additionalProperties": true,
              "description": "One DaData suggestion item."
            },
            "description": "The ordered suggestion results."
          }
        },
        "additionalProperties": true,
        "description": "The DaData suggestions response."
      }
    },
    {
      "id": "dadata_ru.suggest_fio",
      "service": "dadata_ru",
      "name": "suggest_fio",
      "description": "Suggest Russian full names from partial text using DaData's Suggestions API.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1,
            "maxLength": 300,
            "description": "The search text to send to DaData."
          },
          "count": {
            "type": "integer",
            "minimum": 1,
            "maximum": 20,
            "description": "The maximum number of suggestions to return."
          }
        },
        "additionalProperties": false,
        "required": [
          "query"
        ],
        "description": "The input payload for a DaData suggestion request."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "suggestions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "value": {
                  "type": "string",
                  "description": "The display value for the suggestion."
                },
                "unrestricted_value": {
                  "type": "string",
                  "description": "The full unrestricted value for the suggestion."
                },
                "data": {
                  "type": "object",
                  "additionalProperties": {
                    "description": "A provider-defined suggestion data value."
                  },
                  "description": "A provider-defined suggestion data object with arbitrary string keys."
                }
              },
              "additionalProperties": true,
              "description": "One DaData suggestion item."
            },
            "description": "The ordered suggestion results."
          }
        },
        "additionalProperties": true,
        "description": "The DaData suggestions response."
      }
    },
    {
      "id": "dadata_ru.suggest_party",
      "service": "dadata_ru",
      "name": "suggest_party",
      "description": "Suggest Russian organizations and individual entrepreneurs from partial text using DaData's Suggestions API.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1,
            "maxLength": 300,
            "description": "The search text to send to DaData."
          },
          "count": {
            "type": "integer",
            "minimum": 1,
            "maximum": 20,
            "description": "The maximum number of suggestions to return."
          }
        },
        "additionalProperties": false,
        "required": [
          "query"
        ],
        "description": "The input payload for a DaData suggestion request."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "suggestions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "value": {
                  "type": "string",
                  "description": "The display value for the suggestion."
                },
                "unrestricted_value": {
                  "type": "string",
                  "description": "The full unrestricted value for the suggestion."
                },
                "data": {
                  "type": "object",
                  "additionalProperties": {
                    "description": "A provider-defined suggestion data value."
                  },
                  "description": "A provider-defined suggestion data object with arbitrary string keys."
                }
              },
              "additionalProperties": true,
              "description": "One DaData suggestion item."
            },
            "description": "The ordered suggestion results."
          }
        },
        "additionalProperties": true,
        "description": "The DaData suggestions response."
      }
    }
  ]
}
