{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/casafari/json-schema/casafari-market-analytics-api-bedrooms-distribution-unit-response-schema-schema.json",
  "title": "BedroomsDistributionUnitResponseSchema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/casafari-market-analytics-api-distributions-api-openapi.yml#/components/schemas/MarketAnalyticsApiBedroomsDistributionUnitResponseSchema",
  "properties": {
    "bedrooms": {
      "type": "string",
      "title": "Bedrooms",
      "description": "The number of bedrooms in the properties that participated in the distribution."
    },
    "properties_count": {
      "type": "integer",
      "title": "Properties Count",
      "description": "The number of properties that participated in the distribution."
    },
    "average_price": {
      "type": "number",
      "title": "Average Price",
      "description": "Average price of properties with a specific number of bedrooms."
    },
    "average_price_per_sqm": {
      "type": "number",
      "title": "Average Price Per Sqm",
      "description": "Average price per square meter of properties with a specific number of bedrooms."
    }
  },
  "type": "object",
  "required": [
    "bedrooms",
    "properties_count",
    "average_price",
    "average_price_per_sqm"
  ]
}