{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/apidirect-io/json-schema/apidirect-io-trustpilot-company-reviews-response-schema.json",
  "title": "TrustpilotCompanyReviewsResponse",
  "description": "Inferred from a live response. Any field can be null or absent, and new fields may be added at any time.",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/apidirect-io-openapi.json#/components/schemas/TrustpilotCompanyReviewsResponse",
  "type": "object",
  "properties": {
    "company": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "business_unit_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "domain": {
          "type": [
            "string",
            "null"
          ]
        },
        "website": {
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "type": [
            "string",
            "null"
          ]
        },
        "logo": {
          "type": [
            "string",
            "null"
          ]
        },
        "rating": {
          "type": [
            "number",
            "null"
          ]
        },
        "stars": {
          "type": [
            "number",
            "null"
          ]
        },
        "review_count": {
          "type": [
            "number",
            "null"
          ]
        },
        "review_count_last_12_months": {
          "type": [
            "number",
            "null"
          ]
        },
        "reviews_per_rating": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "1": {
              "type": [
                "number",
                "null"
              ]
            },
            "2": {
              "type": [
                "number",
                "null"
              ]
            },
            "3": {
              "type": [
                "number",
                "null"
              ]
            },
            "4": {
              "type": [
                "number",
                "null"
              ]
            },
            "5": {
              "type": [
                "number",
                "null"
              ]
            }
          }
        },
        "categories": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "category_path": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "is_claimed": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "claimed_date": {
          "type": [
            "string",
            "null"
          ]
        },
        "is_closed": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "is_temporarily_closed": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "is_collecting_reviews": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "verification": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "verified_payment_method": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "verified_user_identity": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "verified_by_google": {
              "type": [
                "boolean",
                "null"
              ]
            }
          }
        },
        "reply_behavior": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "reply_percentage": {
              "type": [
                "number",
                "null"
              ]
            },
            "average_days_to_reply": {
              "type": [
                "number",
                "null"
              ]
            },
            "negative_reviews_with_replies": {
              "type": [
                "number",
                "null"
              ]
            },
            "total_negative_reviews": {
              "type": [
                "number",
                "null"
              ]
            },
            "last_reply_to_negative": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        },
        "email": {
          "type": [
            "string",
            "null"
          ]
        },
        "phone_number": {
          "type": [
            "string",
            "null"
          ]
        },
        "address": {
          "type": [
            "string",
            "null"
          ]
        },
        "city": {
          "type": [
            "string",
            "null"
          ]
        },
        "zipcode": {
          "type": [
            "string",
            "null"
          ]
        },
        "country": {
          "type": [
            "string",
            "null"
          ]
        },
        "locations_count": {
          "type": [
            "number",
            "null"
          ]
        },
        "topics": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "reviews": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "review_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "review_link": {
            "type": [
              "string",
              "null"
            ]
          },
          "rating": {
            "type": [
              "number",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "review_text": {
            "type": [
              "string",
              "null"
            ]
          },
          "review_language": {
            "type": [
              "string",
              "null"
            ]
          },
          "review_datetime_utc": {
            "type": [
              "string",
              "null"
            ]
          },
          "review_timestamp": {
            "type": [
              "number",
              "null"
            ]
          },
          "experience_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "updated_datetime_utc": {},
          "is_verified": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "verification_level": {
            "type": [
              "string",
              "null"
            ]
          },
          "like_count": {
            "type": [
              "number",
              "null"
            ]
          },
          "author_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "author_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "author_country": {
            "type": [
              "string",
              "null"
            ]
          },
          "author_review_count": {
            "type": [
              "number",
              "null"
            ]
          },
          "author_link": {
            "type": [
              "string",
              "null"
            ]
          },
          "owner_response": {}
        }
      }
    },
    "count": {
      "type": [
        "number",
        "null"
      ]
    },
    "pages": {
      "type": [
        "number",
        "null"
      ]
    },
    "sort_by": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}