{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/linkedin/json-schema/linkedin-batch-organization-response-schema.json",
  "title": "BatchOrganizationResponse",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/linkedin-organizations-api-openapi.yml#/components/schemas/BatchOrganizationResponse",
  "type": "object",
  "properties": {
    "results": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/OrganizationResponse"
      }
    },
    "statuses": {
      "type": "object",
      "additionalProperties": {
        "type": "integer"
      }
    },
    "errors": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/ErrorDetail"
      }
    }
  },
  "$defs": {
    "Address": {
      "type": "object",
      "properties": {
        "line1": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "geographicArea": {
          "type": "string"
        },
        "postalCode": {
          "type": "string"
        },
        "country": {
          "type": "string"
        }
      }
    },
    "DateInfo": {
      "type": "object",
      "properties": {
        "year": {
          "type": "integer"
        },
        "month": {
          "type": "integer"
        },
        "day": {
          "type": "integer"
        }
      }
    },
    "ErrorDetail": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "status": {
          "type": "integer"
        }
      }
    },
    "ImageAsset": {
      "type": "object",
      "properties": {
        "downloadUrl": {
          "type": "string",
          "format": "uri"
        },
        "downloadUrlExpiresAt": {
          "type": "integer",
          "format": "int64"
        },
        "status": {
          "type": "string",
          "enum": [
            "AVAILABLE",
            "PROCESSING",
            "FAILED"
          ]
        }
      }
    },
    "ImageReference": {
      "type": "object",
      "properties": {
        "cropped": {
          "$ref": "#/$defs/ImageAsset"
        },
        "original": {
          "$ref": "#/$defs/ImageAsset"
        },
        "cropInfo": {
          "type": "object",
          "properties": {
            "x": {
              "type": "integer"
            },
            "y": {
              "type": "integer"
            },
            "width": {
              "type": "integer"
            },
            "height": {
              "type": "integer"
            }
          }
        }
      }
    },
    "Locale": {
      "type": "object",
      "properties": {
        "country": {
          "type": "string"
        },
        "language": {
          "type": "string"
        }
      }
    },
    "LocalizedString": {
      "type": "object",
      "properties": {
        "localized": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "preferredLocale": {
          "$ref": "#/$defs/Locale"
        }
      }
    },
    "OrganizationLocation": {
      "type": "object",
      "properties": {
        "locationType": {
          "type": "string",
          "enum": [
            "HEADQUARTERS",
            "OTHER"
          ]
        },
        "address": {
          "$ref": "#/$defs/Address"
        },
        "geoLocation": {
          "type": "string"
        },
        "staffCountRange": {
          "type": "string"
        },
        "description": {
          "$ref": "#/$defs/LocalizedString"
        }
      }
    },
    "OrganizationResponse": {
      "type": "object",
      "description": "Organization profile data",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int64",
          "description": "Organization ID"
        },
        "name": {
          "$ref": "#/$defs/LocalizedString"
        },
        "description": {
          "$ref": "#/$defs/LocalizedString"
        },
        "tagline": {
          "$ref": "#/$defs/LocalizedString"
        },
        "localizedName": {
          "type": "string"
        },
        "localizedDescription": {
          "type": "string"
        },
        "localizedTagline": {
          "type": "string"
        },
        "vanityName": {
          "type": "string"
        },
        "organizationType": {
          "type": "string",
          "enum": [
            "PUBLIC_COMPANY",
            "PRIVATELY_HELD",
            "GOVERNMENT_AGENCY",
            "NON_PROFIT",
            "PARTNERSHIP"
          ]
        },
        "staffCountRange": {
          "type": "string",
          "enum": [
            "SIZE_1",
            "SIZE_2_TO_10",
            "SIZE_11_TO_50",
            "SIZE_51_TO_200",
            "SIZE_201_TO_500",
            "SIZE_501_TO_1000",
            "SIZE_1001_TO_5000",
            "SIZE_5001_TO_10000",
            "SIZE_10001_OR_MORE"
          ]
        },
        "industriesV2": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "logoV2": {
          "$ref": "#/$defs/ImageReference"
        },
        "coverPhotoV2": {
          "$ref": "#/$defs/ImageReference"
        },
        "locations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/OrganizationLocation"
          }
        },
        "foundedOn": {
          "$ref": "#/$defs/DateInfo"
        },
        "entityStatus": {
          "type": "string",
          "enum": [
            "ACTIVE",
            "INACTIVE"
          ]
        },
        "created": {
          "$ref": "#/$defs/Timestamp"
        },
        "lastModified": {
          "$ref": "#/$defs/Timestamp"
        }
      }
    },
    "Timestamp": {
      "type": "object",
      "properties": {
        "time": {
          "type": "integer",
          "format": "int64"
        }
      }
    }
  }
}