{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/repuso-com/json-schema/repuso-com-profile-schema.json",
  "title": "Profile",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/repuso-com-openapi.json#/components/schemas/Profile",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "type": {
      "type": "string",
      "description": "Platform type slug."
    },
    "label": {
      "type": "string"
    },
    "logo": {
      "type": "string",
      "format": "uri",
      "description": "Platform logo, 60x60 square."
    },
    "name": {
      "type": "string",
      "description": "Connected profile / business name."
    },
    "image_url": {
      "type": "string",
      "format": "uri",
      "description": "The business's own image on the platform (avatar/photo), when available - often empty for competitor profiles."
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "The connected profile URL."
    },
    "disabled": {
      "type": "integer"
    },
    "errors": {
      "type": "integer",
      "description": "Consecutive crawl errors - non-zero usually means the profile URL changed."
    },
    "official_score": {
      "type": "number",
      "description": "The platform's official rating for the profile."
    },
    "official_num_reviews": {
      "type": "integer"
    },
    "competitor": {
      "type": "integer",
      "description": "1 when marked as a competitor profile."
    },
    "group": {
      "type": [
        "object",
        "null"
      ],
      "description": "Group the profile belongs to, or null.",
      "properties": {
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "labels": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Custom labels."
    },
    "checked_minutes_ago": {
      "type": "integer",
      "description": "Minutes since the last crawl, measured on the server clock."
    },
    "logo_big": {
      "type": "string",
      "description": "Platform logo, large."
    },
    "logo_icon": {
      "type": "string",
      "description": "Platform logo, 20x20 (small icon)."
    }
  }
}