changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "context": {
- "additionalProperties": true,
- "required": [
- "month",
- "groceries_reference",
- "not_included"
- ],
- "type": "object"
- },
- "data": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "covers": {
- "type": "string"
- },
- "fixed_monthly_costs_aed": {
- "type": [
- "number",
- "null"
- ]
- },
- "label": {
- "type": "string"
- },
- "lines": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "assumption": {
- "type": [
- "string",
- "null"
- ]
- },
- "attribution": {
- "type": "string"
- },
- "basis": {
- "additionalProperties": false,
- "properties": {
- "note": {
- "type": "string"
- },
- "observed_from": {
- "type": "string"
- },
- "observed_to": {
- "type": "string"
- },
- "source_ids": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "source_ids",
- "note"
- ],
- "type": "object"
- },
- "coverage": {
- "items": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "additionalProperties": true,
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "dependents": {
- "type": "integer"
- },
- "doubtful": {
- "type": "boolean"
- },
- "doubtful_parts": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "group_coverage": {
- "items": {
- "additionalProperties": true,
- "type": "object"
- },
- "type": "array"
- },
- "kind": {
- "enum": [
- "estimate",
- "observed"
- ]
- },
- "label": {
- "type": "string"
- },
- "line_id": {
- "enum": [
- "rent",
- "housing_fee",
- "dewa",
- "transport",
- "mobile",
- "internet",
- "school",
- "groceries",
- "health_insurance"
- ]
- },
- "method": {
- "const": "fao_supply_x_basket_prices"
- },
- "missing_groups": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "missing_parts": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "monthly_aed": {
- "type": [
- "number",
- "null"
- ]
- },
- "options": {
- "additionalProperties": false,
- "properties": {
- "default": {
- "const": "own_car"
- },
- "no_car": {
- "$ref": "#/$defs/TransportOption"
- },
- "own_car": {
- "$ref": "#/$defs/TransportOption"
- }
- },
- "required": [
- "default",
- "own_car",
- "no_car"
- ],
- "type": "object"
- },
- "per_dependent_monthly_aed": {
- "$ref": "#/$defs/HouseholdMonthlyRange"
- },
- "persons": {
- "type": "integer"
- },
- "range_aed": {
- "$ref": "#/$defs/HouseholdMonthlyRange"
- },
- "second_commuter_not_included": {
- "type": "boolean"
- },
- "source": {
- "additionalProperties": false,
- "properties": {
- "name": {
- "type": "string"
- },
- "period_label": {
- "type": [
- "string",
- "null"
- ]
- },
- "url": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "name",
- "url",
- "period_label"
- ],
- "type": [
- "object",
- "null"
- ]
- },
- "status": {
- "type": "string"
- },
- "use_condition": {
- "const": "Do not show this figure with affiliate links, store recommendations or a shopping cart (FAO additional terms of use)."
- },
- "variants": {
- "additionalProperties": false,
- "properties": {
- "spouse_employed": {
- "additionalProperties": false,
- "properties": {
- "dependents": {
- "type": "integer"
- },
- "monthly_aed": {
- "type": [
- "number",
- "null"
- ]
- },
- "range_aed": {
- "$ref": "#/$defs/HouseholdMonthlyRange"
- }
- },
- "required": [
- "dependents",
- "monthly_aed",
- "range_aed"
- ],
- "type": "object"
- }
- },
- "required": [
- "spouse_employed"
- ],
- "type": "object"
- }
- },
- "required": [
- "line_id",
- "label",
- "monthly_aed",
- "range_aed",
- "assumption",
- "source"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "profile_id": {
- "enum": [
- "single",
- "couple",
- "family4"
- ]
- },
- "provenance": {
- "additionalProperties": true,
- "required": [
- "source_id",
- "license_id",
- "source_url",
- "observed_on",
- "observed_at",
- "published_on",
- "published_at",
- "retrieved_at",
- "stale",
- "status",
- "paused_since",
- "flags"
- ],
- "type": "object"
- },
- "with_estimates_aed": {
- "additionalProperties": false,
- "properties": {
- "high": {
- "type": "number"
- },
- "low": {
- "type": "number"
- },
- "value": {
- "type": "number"
- }
- },
- "required": [
- "value",
- "low",
- "high"
- ],
- "type": "object"
- }
- },
- "required": [
- "profile_id",
- "label",
- "covers",
- "fixed_monthly_costs_aed",
- "lines",
- "provenance"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "links": {
- "additionalProperties": false,
- "properties": {
- "docs": {
- "type": "string"
- },
- "next": {
- "type": [
- "string",
- "null"
- ]
- },
- "open_in_browser": {
- "type": [
- "string",
- "null"
- ]
- },
- "self": {
- "type": "string"
- }
- },
- "required": [
- "self",
- "next",
- "open_in_browser",
- "docs"
- ],
- "type": "object"
- },
- "meta": {
- "additionalProperties": true,
- "required": [
- "api_version",
- "content_language",
- "generated_at",
- "currency",
- "attribution",
- "disclaimer",
- "dataset",
- "page"
- ],
- "type": "object"
- }
- },
- "required": [
- "meta",
- "context",
- "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": {
+ "additionalProperties": true,
+ "required": [
+ "month",
+ "groceries_reference",
+ "not_included"
+ ],
+ "type": "object"
+ },
+ "data": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "covers": {
+ "type": "string"
+ },
+ "dewa_consumption_charge_aed": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "fixed_monthly_costs_aed": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "fuel_surcharge": {
+ "$ref": "#/$defs/HousingFeePause"
+ },
+ "housing_fee": {
+ "$ref": "#/$defs/HousingFeePause"
+ },
+ "label": {
+ "type": "string"
+ },
+ "lines": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "assumption": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "attribution": {
+ "type": "string"
+ },
+ "basis": {
+ "additionalProperties": false,
+ "properties": {
+ "note": {
+ "type": "string"
+ },
+ "observed_from": {
+ "type": "string"
+ },
+ "observed_to": {
+ "type": "string"
+ },
+ "source_ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "source_ids",
+ "note"
+ ],
+ "type": "object"
+ },
+ "coverage": {
+ "items": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "additionalProperties": true,
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "dependents": {
+ "type": "integer"
+ },
+ "doubtful": {
+ "type": "boolean"
+ },
+ "doubtful_parts": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "fuel_surcharge": {
+ "$ref": "#/$defs/HousingFeePause"
+ },
+ "group_coverage": {
+ "items": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "enum": [
+ "estimate",
+ "observed"
+ ]
+ },
+ "label": {
+ "type": "string"
+ },
+ "line_id": {
+ "enum": [
+ "rent",
+ "housing_fee",
+ "dewa",
+ "transport",
+ "mobile",
+ "internet",
+ "school",
+ "groceries",
+ "health_insurance"
+ ]
+ },
+ "meter_service_charge": {
+ "$ref": "#/$defs/HousingFeePause"
+ },
+ "method": {
+ "const": "fao_supply_x_basket_prices"
+ },
+ "missing_groups": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "missing_parts": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "monthly_aed": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "options": {
+ "additionalProperties": false,
+ "properties": {
+ "default": {
+ "const": "own_car"
+ },
+ "no_car": {
+ "$ref": "#/$defs/TransportOption"
+ },
+ "own_car": {
+ "$ref": "#/$defs/TransportOption"
+ }
+ },
+ "required": [
+ "default",
+ "own_car",
+ "no_car"
+ ],
+ "type": "object"
+ },
+ "pause": {
+ "$ref": "#/$defs/HousingFeePause"
+ },
+ "per_dependent_monthly_aed": {
+ "$ref": "#/$defs/HouseholdMonthlyRange"
+ },
+ "persons": {
+ "type": "integer"
+ },
+ "range_aed": {
+ "$ref": "#/$defs/HouseholdMonthlyRange"
+ },
+ "second_commuter_not_included": {
+ "type": "boolean"
+ },
+ "source": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "period_label": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "url",
+ "period_label"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "status": {
+ "type": "string"
+ },
+ "use_condition": {
+ "const": "Do not show this figure with affiliate links, store recommendations or a shopping cart (FAO additional terms of use)."
+ },
+ "variants": {
+ "additionalProperties": false,
+ "properties": {
+ "spouse_employed": {
+ "additionalProperties": false,
+ "properties": {
+ "dependents": {
+ "type": "integer"
+ },
+ "monthly_aed": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "range_aed": {
+ "$ref": "#/$defs/HouseholdMonthlyRange"
+ }
+ },
+ "required": [
+ "dependents",
+ "monthly_aed",
+ "range_aed"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "spouse_employed"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "line_id",
+ "label",
+ "monthly_aed",
+ "range_aed",
+ "assumption",
+ "source"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "meter_service_charge": {
+ "$ref": "#/$defs/HousingFeePause"
+ },
+ "profile_id": {
+ "enum": [
+ "single",
+ "couple",
+ "family4"
+ ]
+ },
+ "provenance": {
+ "additionalProperties": true,
+ "required": [
+ "source_id",
+ "license_id",
+ "source_url",
+ "observed_on",
+ "observed_at",
+ "published_on",
+ "published_at",
+ "retrieved_at",
+ "stale",
+ "status",
+ "paused_since",
+ "flags"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "const": "partial"
+ },
+ "subtotal_aed": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "subtotal_label": {
+ "type": "string"
+ },
+ "with_estimates_aed": {
+ "additionalProperties": false,
+ "properties": {
+ "high": {
+ "type": "number"
+ },
+ "low": {
+ "type": "number"
+ },
+ "value": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "value",
+ "low",
+ "high"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "links": {
+ "additionalProperties": false,
+ "properties": {
+ "docs": {
+ "type": "string"
+ },
+ "next": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "open_in_browser": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "self": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "self",
+ "next",
+ "open_in_browser",
+ "docs"
+ ],
+ "type": "object"
+ },
+ "meta": {
+ "additionalProperties": true,
+ "required": [
+ "api_version",
+ "content_language",
+ "generated_at",
+ "currency",
+ "attribution",
+ "disclaimer",
+ "dataset",
+ "page"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "meta",
+ "context",
+ "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"
+ }
+]