changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "context": {
- "additionalProperties": false,
- "properties": {
- "search": {
- "additionalProperties": false,
- "properties": {
- "displayed_count": {
- "type": "integer"
- },
- "near": {
- "type": [
- "string",
- "null"
- ]
- },
- "radius_km": {
- "type": [
- "number",
- "null"
- ]
- },
- "remaining_count": {
- "type": "integer"
- },
- "returned_remaining_count": {
- "type": "integer"
- },
- "total_schools": {
- "type": "integer"
- },
- "unlocated": {
- "type": [
- "integer",
- "null"
- ]
- }
- },
- "required": [
- "total_schools",
- "near",
- "radius_km",
- "unlocated"
- ],
- "type": "object"
- }
- },
- "required": [
- "search"
- ],
- "type": "object"
- },
- "data": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "academic_year": {
- "type": [
- "string",
- "null"
- ]
- },
- "annual_fee_range": {
- "anyOf": [
- {
- "$ref": "#/$defs/AedRange"
- },
- {
- "type": "null"
- }
- ]
- },
- "area": {
- "type": [
- "string",
- "null"
- ]
- },
- "bus": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "academic_year": {
- "type": "string"
- },
- "operator": {
- "type": "string"
- },
- "source_url": {
- "type": "string"
- },
- "zones": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "annual_aed": {
- "type": "number"
- },
- "zone": {
- "type": "integer"
- }
- },
- "required": [
- "zone",
- "annual_aed"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "operator",
- "academic_year",
- "zones",
- "source_url"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "curricula": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "distance_km": {
- "type": [
- "number",
- "null"
- ]
- },
- "grade_fee_aed": {
- "type": [
- "number",
- "null"
- ]
- },
- "location_approximate": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "name": {
- "type": "string"
- },
- "open_in_browser": {
- "type": "string"
- },
- "provenance": {
- "$ref": "#/$defs/Provenance"
- },
- "rating": {
- "type": [
- "string",
- "null"
- ]
- },
- "school_id": {
- "type": "string"
- },
- "source_url": {
- "type": [
- "string",
- "null"
- ]
- },
- "uniforms_status": {
- "enum": [
- "available",
- "paused",
- "not_published"
- ]
- },
- "website": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "school_id",
- "name",
- "area",
- "curricula",
- "rating",
- "academic_year",
- "annual_fee_range",
- "grade_fee_aed",
- "website",
- "source_url",
- "distance_km",
- "location_approximate",
- "bus",
- "uniforms_status",
- "open_in_browser",
- "provenance"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "fee_policy": {
- "anyOf": [
- {
- "$ref": "#/$defs/SchoolFeePolicy"
- },
- {
- "type": "null"
- }
- ]
- },
- "links": {
- "$ref": "#/$defs/Links"
- },
- "meta": {
- "$ref": "#/$defs/ResponseMeta"
- }
- },
- "required": [
- "meta",
- "data",
- "links"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "context": {
- "additionalProperties": false,
- "properties": {
- "search": {
- "additionalProperties": false,
- "properties": {
- "displayed_count": {
- "type": "integer"
- },
- "near": {
- "type": [
- "string",
- "null"
- ]
- },
- "radius_km": {
- "type": [
- "number",
- "null"
- ]
- },
- "remaining_count": {
- "type": "integer"
- },
- "returned_remaining_count": {
- "type": "integer"
- },
- "total_schools": {
- "type": "integer"
- },
- "unlocated": {
- "type": [
- "integer",
- "null"
- ]
- }
- },
- "required": [
- "total_schools",
- "near",
- "radius_km",
- "unlocated"
- ],
- "type": "object"
- }
- },
- "required": [
- "search"
- ],
- "type": "object"
- },
- "data": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "academic_year": {
- "type": [
- "string",
- "null"
- ]
- },
- "annual_fee_range": {
- "anyOf": [
- {
- "$ref": "#/$defs/AedRange"
- },
- {
- "type": "null"
- }
- ]
- },
- "area": {
- "type": [
- "string",
- "null"
- ]
- },
- "bus": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "academic_year": {
- "type": "string"
- },
- "operator": {
- "type": "string"
- },
- "source_url": {
- "type": "string"
- },
- "zones": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "annual_aed": {
- "type": "number"
- },
- "areas": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "zone": {
- "type": "integer"
- }
- },
- "required": [
- "zone",
- "annual_aed",
- "areas"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "operator",
- "academic_year",
- "zones",
- "source_url"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "curricula": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "distance_km": {
- "type": [
- "number",
- "null"
- ]
- },
- "fees": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "annual_fee_aed": {
- "type": "number"
- },
- "grade": {
- "type": "string"
- }
- },
- "required": [
- "grade",
- "annual_fee_aed"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "grade_fee_aed": {
- "type": [
- "number",
- "null"
- ]
- },
- "location_approximate": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "name": {
- "type": "string"
- },
- "open_in_browser": {
- "type": "string"
- },
- "provenance": {
- "$ref": "#/$defs/Provenance"
- },
- "rating": {
- "type": [
- "string",
- "null"
- ]
- },
- "school_id": {
- "type": "string"
- },
- "source_url": {
- "type": [
- "string",
- "null"
- ]
- },
- "uniforms_status": {
- "enum": [
- "available",
- "paused",
- "not_published"
- ]
- },
- "website": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "school_id",
- "name",
- "area",
- "curricula",
- "rating",
- "academic_year",
- "fees",
- "annual_fee_range",
- "grade_fee_aed",
- "website",
- "source_url",
- "distance_km",
- "location_approximate",
- "bus",
- "uniforms_status",
- "open_in_browser",
- "provenance"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "fee_policy": {
- "anyOf": [
- {
- "$ref": "#/$defs/SchoolFeePolicy"
- },
- {
- "type": "null"
- }
- ]
- },
- "links": {
- "$ref": "#/$defs/Links"
- },
- "meta": {
- "$ref": "#/$defs/ResponseMeta"
- }
- },
- "required": [
- "meta",
- "data",
- "links"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "retry_after_s": {
- "type": [
- "integer",
- "null"
- ]
- },
- "retryable": {
- "type": "boolean"
- }
- },
- "required": [
- "code",
- "message",
- "retryable",
- "retry_after_s"
- ],
- "type": "object"
- },
- "request_id": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "error",
- "request_id"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "context": {
+ "$ref": "#/$defs/SchoolSearchContext"
+ },
+ "data": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "academic_year": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "annual_fee_range": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/AedRange"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "area": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "bus": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "academic_year": {
+ "type": "string"
+ },
+ "operator": {
+ "type": "string"
+ },
+ "source_url": {
+ "type": "string"
+ },
+ "zones": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "annual_aed": {
+ "type": "number"
+ },
+ "zone": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "zone",
+ "annual_aed"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "operator",
+ "academic_year",
+ "zones",
+ "source_url"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "curricula": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "distance_km": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "grade_fee_aed": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "location_approximate": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "open_in_browser": {
+ "type": "string"
+ },
+ "provenance": {
+ "$ref": "#/$defs/Provenance"
+ },
+ "rating": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "school_id": {
+ "type": "string"
+ },
+ "source_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "uniforms_status": {
+ "enum": [
+ "available",
+ "paused",
+ "not_published"
+ ]
+ },
+ "website": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "school_id",
+ "name",
+ "area",
+ "curricula",
+ "rating",
+ "academic_year",
+ "annual_fee_range",
+ "grade_fee_aed",
+ "website",
+ "source_url",
+ "distance_km",
+ "location_approximate",
+ "bus",
+ "uniforms_status",
+ "open_in_browser",
+ "provenance"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "fee_policy": {
+ "$ref": "#/$defs/SchoolFeePolicySummary"
+ },
+ "links": {
+ "$ref": "#/$defs/Links"
+ },
+ "meta": {
+ "$ref": "#/$defs/ResponseMeta"
+ }
+ },
+ "required": [
+ "meta",
+ "data",
+ "links"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "context": {
+ "$ref": "#/$defs/SchoolSearchContext"
+ },
+ "data": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "academic_year": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "annual_fee_range": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/AedRange"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "area": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "bus": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "academic_year": {
+ "type": "string"
+ },
+ "operator": {
+ "type": "string"
+ },
+ "source_url": {
+ "type": "string"
+ },
+ "zones": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "annual_aed": {
+ "type": "number"
+ },
+ "areas": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "zone": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "zone",
+ "annual_aed",
+ "areas"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "operator",
+ "academic_year",
+ "zones",
+ "source_url"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "curricula": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "distance_km": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "fees": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "annual_fee_aed": {
+ "type": "number"
+ },
+ "grade": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "grade",
+ "annual_fee_aed"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "grade_fee_aed": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "location_approximate": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "open_in_browser": {
+ "type": "string"
+ },
+ "provenance": {
+ "$ref": "#/$defs/Provenance"
+ },
+ "rating": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "school_id": {
+ "type": "string"
+ },
+ "source_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "uniforms_status": {
+ "enum": [
+ "available",
+ "paused",
+ "not_published"
+ ]
+ },
+ "website": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "school_id",
+ "name",
+ "area",
+ "curricula",
+ "rating",
+ "academic_year",
+ "fees",
+ "annual_fee_range",
+ "grade_fee_aed",
+ "website",
+ "source_url",
+ "distance_km",
+ "location_approximate",
+ "bus",
+ "uniforms_status",
+ "open_in_browser",
+ "provenance"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "fee_policy": {
+ "$ref": "#/$defs/SchoolFeePolicySummary"
+ },
+ "links": {
+ "$ref": "#/$defs/Links"
+ },
+ "meta": {
+ "$ref": "#/$defs/ResponseMeta"
+ }
+ },
+ "required": [
+ "meta",
+ "data",
+ "links"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "retry_after_s": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "retryable": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "code",
+ "message",
+ "retryable",
+ "retry_after_s"
+ ],
+ "type": "object"
+ },
+ "request_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "error",
+ "request_id"
+ ],
+ "type": "object"
+ }
+]