Serbia Company Data Batchgetserbiancompanies 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-batchGetSerbianCompanies-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": [
            "POST"
          ]
        },
        "bodyType": {
          "type": "string",
          "enum": [
            "json",
            "form-data",
            "text"
          ]
        },
        "body": {
          "type": "object",
          "properties": {
            "registrationNumbers": {
              "type": "array",
              "minItems": 1,
              "maxItems": 10,
              "items": {
                "type": "string",
                "pattern": "^\\d{8}$"
              }
            }
          },
          "required": [
            "registrationNumbers"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object",
          "properties": {
            "count": {
              "type": "integer"
            },
            "results": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "registrationNumber": {
                    "type": "string",
                    "pattern": "^\\d{8}$"
                  },
                  "company": {
                    "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"
  ]
}