{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "organizationId": {
      "description": "Workspace ID. Omit to use your current workspace.",
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "requestId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "description": "New UUID for this batch. Keep it unchanged when retrying the same companies."
    },
    "companies": {
      "minItems": 1,
      "maxItems": 500,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "domain": {
            "type": "string",
            "minLength": 1,
            "maxLength": 4096
          },
          "website": {
            "type": "string",
            "maxLength": 2000,
            "format": "uri"
          },
          "description": {
            "type": "string",
            "maxLength": 2000
          },
          "industry": {
            "type": "string",
            "maxLength": 200
          },
          "city": {
            "type": "string",
            "maxLength": 200
          },
          "stateCode": {
            "type": "string",
            "maxLength": 200
          },
          "country": {
            "type": "string",
            "maxLength": 200
          },
          "linkedinUrl": {
            "type": "string",
            "maxLength": 500,
            "format": "uri"
          }
        },
        "required": ["name"],
        "additionalProperties": false
      }
    }
  },
  "required": ["requestId", "companies"],
  "additionalProperties": false
}
