{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/precisely-apis/main/json-schema/precisely-apis-demographics-advanced-request-schema.json",
  "title": "DemographicsAdvancedRequest",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/precisely-apis-segmentation-api-openapi.yml#/components/schemas/DemographicsAdvancedRequest",
  "properties": {
    "preferences": {
      "$ref": "#/$defs/DemographicsAdvancedPreferences"
    },
    "geometry": {
      "$ref": "#/$defs/DemographicsGeometry"
    },
    "geometryAsText": {
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "DemographicsAdvancedPreferences": {
      "properties": {
        "profile": {
          "type": "string"
        },
        "filter": {
          "type": "string"
        },
        "includeGeometry": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "DemographicsGeometry": {
      "properties": {
        "type": {
          "type": "string"
        },
        "crs": {
          "$ref": "#/$defs/DemographicsGeometryCRC"
        },
        "coordinates": {
          "type": "object"
        }
      },
      "type": "object"
    },
    "DemographicsGeometryCRC": {
      "properties": {
        "type": {
          "type": "string"
        },
        "properties": {
          "$ref": "#/$defs/GeometryProperties"
        }
      },
      "type": "object"
    },
    "GeometryProperties": {
      "properties": {
        "name": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}