{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/daxoom-com/json-schema/daxoom-com-business-summary-schema.json",
  "title": "BusinessSummary",
  "description": "Abbreviated business profile for list results.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/daxoom-com-openapi.yml#/components/schemas/BusinessSummary",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "category_id": {
      "type": "string",
      "description": "Source category slug (e.g. `italian_restaurant`). NOT a `/categories` id — the `category` filter takes `/categories` (group) ids, not this value."
    },
    "category": {
      "type": "string",
      "description": "Human-readable category label."
    },
    "verification_level": {
      "type": "string",
      "enum": [
        "owner_verified",
        "enriched_unverified",
        "seed_data",
        "claimed"
      ]
    },
    "completeness_score": {
      "type": "number",
      "description": "Data completeness score (0.0–1.0)."
    },
    "version": {
      "type": "integer"
    },
    "status": {
      "type": "string",
      "description": "Business status code (`A` active)."
    },
    "confidence": {
      "$ref": "#/$defs/Confidence"
    },
    "city": {
      "type": "string"
    },
    "region": {
      "type": "string"
    },
    "country": {
      "type": "string"
    },
    "latitude": {
      "type": "number"
    },
    "longitude": {
      "type": "number"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "$defs": {
    "Confidence": {
      "type": "object",
      "description": "Composite confidence signals.",
      "properties": {
        "score": {
          "type": "number"
        },
        "verification_level": {
          "type": "string"
        },
        "freshness": {
          "type": "string"
        },
        "completeness": {
          "type": "number"
        },
        "age_days": {
          "type": [
            "integer",
            "null"
          ]
        }
      }
    }
  }
}