Serbia Company Data Searchserbiancompanies Bazaar

serbiacompany-databusiness-registryopen-datax402base-usdcopenapifinancial-statementspay-per-callagent-native

Properties

Name Type Description
input object
output object
View JSON Schema on GitHub

JSON Schema

serbia-company-data-searchSerbianCompanies-bazaar-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "type": "string",
          "enum": [
            "GET"
          ]
        },
        "queryParams": {
          "type": "object",
          "properties": {
            "q": {
              "type": "string",
              "minLength": 3,
              "maxLength": 100
            },
            "limit": {
              "type": "integer",
              "minimum": 1,
              "maximum": 10,
              "default": 5
            }
          },
          "required": [
            "q"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "type",
        "method"
      ],
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object",
          "properties": {
            "query": {
              "type": "string"
            },
            "count": {
              "type": "integer"
            },
            "results": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "registrationNumber": {
                    "type": "string",
                    "pattern": "^\\d{8}$"
                  },
                  "businessName": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "incorporationDate": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "legalForm": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "activityCode": {
                    "type": [
                      "string",
                      "number",
                      "null"
                    ]
                  }
                }
              }
            }
          }
        }
      },
      "required": [
        "type"
      ]
    }
  },
  "required": [
    "input"
  ]
}