changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "data": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "assumptions": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "country": {
- "additionalProperties": false,
- "properties": {
- "currency": {
- "type": "string"
- },
- "iso2": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "tax_year": {
- "type": [
- "string",
- "null"
- ]
- },
- "tax_year_period": {
- "type": [
- "string",
- "null"
- ]
- },
- "variant": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "variant_label": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "iso2",
- "name",
- "currency",
- "tax_year",
- "tax_year_period",
- "variant",
- "variant_label"
- ],
- "type": "object"
- },
- "country_notes": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "disclaimer": {
- "type": "string"
- },
- "dubai": {
- "additionalProperties": false,
- "properties": {
- "gross_annual_aed": {
- "type": "number"
- },
- "income_tax_aed": {
- "const": 0
- },
- "net_annual_aed": {
- "type": "number"
- },
- "net_monthly_aed": {
- "type": "number"
- }
- },
- "required": [
- "gross_annual_aed",
- "net_annual_aed",
- "net_monthly_aed",
- "income_tax_aed"
- ],
- "type": "object"
- },
- "dubai_monthly_costs_aed": {
- "additionalProperties": false,
- "properties": {
- "groceries": {
- "type": [
- "number",
- "null"
- ]
- },
- "health": {
- "type": [
- "number",
- "null"
- ]
- },
- "rent": {
- "type": [
- "number",
- "null"
- ]
- },
- "school": {
- "type": [
- "number",
- "null"
- ]
- },
- "transport": {
- "type": [
- "number",
- "null"
- ]
- },
- "utilities": {
- "type": [
- "number",
- "null"
- ]
- }
- },
- "required": [
- "rent",
- "school",
- "groceries",
- "utilities",
- "transport",
- "health"
- ],
- "type": "object"
- },
- "estimate": {
- "const": true
- },
- "fx": {
- "additionalProperties": false,
- "properties": {
- "aed_per_unit": {
- "type": [
- "number",
- "null"
- ]
- },
- "rates_on": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "source": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "aed_per_unit",
- "rates_on",
- "source"
- ],
- "type": "object"
- },
- "groceries_basket": {
- "additionalProperties": false,
- "properties": {
- "estimated_aed": {
- "additionalProperties": false,
- "properties": {
- "high_aed": {
- "type": "number"
- },
- "low_aed": {
- "type": "number"
- },
- "value_aed": {
- "type": "number"
- }
- },
- "required": [
- "value_aed",
- "low_aed",
- "high_aed"
- ],
- "type": "object"
- },
- "items": {
- "type": "integer"
- },
- "items_estimated": {
- "type": "integer"
- },
- "items_observed": {
- "type": "integer"
- },
- "items_unknown": {
- "type": "integer"
- },
- "note": {
- "type": "string"
- },
- "observed_aed": {
- "type": "number"
- }
- },
- "required": [
- "items",
- "observed_aed",
- "estimated_aed",
- "items_observed",
- "items_estimated",
- "items_unknown",
- "note"
- ],
- "type": "object"
- },
- "gross_annual": {
- "additionalProperties": false,
- "properties": {
- "aed": {
- "type": [
- "number",
- "null"
- ]
- },
- "amount": {
- "type": "number"
- },
- "currency": {
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency",
- "aed"
- ],
- "type": "object"
- },
- "home": {
- "additionalProperties": false,
- "properties": {
- "breakdown": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "type": "number"
- },
- "component_id": {
- "type": "string"
- },
- "kind": {
- "type": "string"
- },
- "label": {
- "type": "string"
- }
- },
- "required": [
- "component_id",
- "label",
- "kind",
- "amount"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "currency": {
- "type": "string"
- },
- "effective_rate": {
- "type": "number"
- },
- "effective_rate_percent": {
- "type": "number"
- },
- "income_tax": {
- "type": "number"
- },
- "net_annual": {
- "type": "number"
- },
- "net_annual_aed": {
- "type": [
- "number",
- "null"
- ]
- },
- "net_monthly": {
- "type": "number"
- },
- "social_contributions": {
- "type": "number"
- }
- },
- "required": [
- "currency",
- "net_annual",
- "net_monthly",
- "income_tax",
- "social_contributions",
- "effective_rate",
- "breakdown",
- "net_annual_aed"
- ],
- "type": "object"
- },
- "household": {
- "additionalProperties": false,
- "properties": {
- "children": {
- "type": "integer"
- },
- "status": {
- "enum": [
- "single",
- "married"
- ]
- }
- },
- "required": [
- "status",
- "children"
- ],
- "type": "object"
- },
- "household_type": {
- "const": "business_owner"
- },
- "not_modelled": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "notices": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "owner_comparison": {
- "additionalProperties": false,
- "properties": {
- "currency": {
- "type": "string"
- },
- "dubai": {
- "additionalProperties": false,
- "properties": {
- "free_zone": {
- "additionalProperties": false,
- "properties": {
- "corporate_tax": {
- "type": "number"
- },
- "corporate_tax_aed": {
- "type": "number"
- },
- "effective_rate": {
- "type": "number"
- },
- "net_annual": {
- "type": "number"
- },
- "net_annual_aed": {
- "type": "number"
- },
- "saving_annual": {
- "type": "number"
- },
- "saving_annual_aed": {
- "type": "number"
- }
- },
- "type": "object"
- },
- "free_zone_condition": {
- "type": "string"
- },
- "mainland": {
- "additionalProperties": false,
- "properties": {
- "corporate_tax": {
- "type": "number"
- },
- "corporate_tax_aed": {
- "type": "number"
- },
- "effective_rate": {
- "type": "number"
- },
- "net_annual": {
- "type": "number"
- },
- "net_annual_aed": {
- "type": "number"
- },
- "saving_annual": {
- "type": "number"
- },
- "saving_annual_aed": {
- "type": "number"
- }
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "home": {
- "additionalProperties": false,
- "properties": {
- "corporate_tax": {
- "type": "number"
- },
- "distributed_profit": {
- "type": "number"
- },
- "dividend_tax": {
- "type": "number"
- },
- "effective_rate": {
- "type": "number"
- },
- "net_annual": {
- "type": "number"
- },
- "total_tax": {
- "type": "number"
- }
- },
- "type": "object"
- },
- "leaving": {
- "items": {
- "additionalProperties": true,
- "type": "object"
- },
- "type": "array"
- },
- "observed_on": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "small_business_relief": {
- "additionalProperties": true,
- "type": "object"
- },
- "sources": {
- "additionalProperties": true,
- "type": "object"
- },
- "tax_year": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "profit_annual": {
- "additionalProperties": false,
- "properties": {
- "aed": {
- "type": [
- "number",
- "null"
- ]
- },
- "amount": {
- "type": "number"
- },
- "currency": {
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency",
- "aed"
- ],
- "type": "object"
- },
- "provenance": {
- "$ref": "#/$defs/Provenance"
- },
- "savings": {
- "additionalProperties": false,
- "properties": {
- "costs_complete": {
- "type": "boolean"
- },
- "dubai_annual_savings": {
- "type": [
- "number",
- "null"
- ]
- },
- "dubai_monthly_costs": {
- "type": [
- "number",
- "null"
- ]
- },
- "dubai_monthly_net": {
- "type": [
- "number",
- "null"
- ]
- },
- "dubai_monthly_savings": {
- "type": [
- "number",
- "null"
- ]
- },
- "home_annual_savings": {
- "type": [
- "number",
- "null"
- ]
- },
- "home_monthly_net": {
- "type": [
- "number",
- "null"
- ]
- },
- "home_monthly_savings": {
- "type": [
- "number",
- "null"
- ]
- },
- "missing_costs": {
- "items": {
- "enum": [
- "rent",
- "school",
- "groceries",
- "utilities",
- "transport",
- "health"
- ]
- },
- "type": "array"
- },
- "net_gain_annual": {
- "type": [
- "number",
- "null"
- ]
- },
- "net_gain_monthly": {
- "type": [
- "number",
- "null"
- ]
- },
- "savings_difference_annual": {
- "type": [
- "number",
- "null"
- ]
- },
- "savings_difference_monthly": {
- "type": [
- "number",
- "null"
- ]
- },
- "withheld_reason": {
- "enum": [
- "rent_unknown",
- null
- ]
- }
- },
- "required": [
- "home_monthly_net",
- "dubai_monthly_net",
- "net_gain_monthly",
- "net_gain_annual",
- "dubai_monthly_costs",
- "missing_costs",
- "costs_complete",
- "dubai_monthly_savings",
- "dubai_annual_savings",
- "home_monthly_savings",
- "home_annual_savings",
- "savings_difference_monthly",
- "savings_difference_annual",
- "withheld_reason"
- ],
- "type": "object"
- },
- "transport_reference": {
- "additionalProperties": false,
- "properties": {
- "car_monthly_aed": {
- "type": "number"
- },
- "fuel_month": {
- "type": "string"
- },
- "km_per_day": {
- "type": "number"
- },
- "public_transport_max_aed": {
- "type": "number"
- },
- "public_transport_min_aed": {
- "type": "number"
- },
- "salik_per_day": {
- "type": "integer"
- }
- },
- "required": [
- "car_monthly_aed",
- "km_per_day",
- "salik_per_day",
- "public_transport_min_aed",
- "public_transport_max_aed",
- "fuel_month"
- ],
- "type": [
- "object",
- "null"
- ]
- }
- },
- "required": [
- "estimate",
- "disclaimer",
- "country",
- "household",
- "gross_annual",
- "home",
- "dubai",
- "fx",
- "dubai_monthly_costs_aed",
- "savings",
- "transport_reference",
- "notices",
- "country_notes",
- "not_modelled",
- "assumptions",
- "provenance"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "links": {
- "$ref": "#/$defs/Links"
- },
- "meta": {
- "$ref": "#/$defs/ResponseMeta"
- }
- },
- "required": [
- "meta",
- "data",
- "links"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "data": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "currency": {
- "type": "string"
- },
- "incomplete_reason": {
- "type": [
- "string",
- "null"
- ]
- },
- "iso2": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "provenance": {
- "$ref": "#/$defs/Provenance"
- },
- "sources": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "accessed_on": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "title",
- "url",
- "accessed_on"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "status": {
- "enum": [
- "complete",
- "incomplete"
- ]
- },
- "tax_year": {
- "type": [
- "string",
- "null"
- ]
- },
- "tax_year_period": {
- "type": [
- "string",
- "null"
- ]
- },
- "variants": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "type": "string"
- },
- "variant_id": {
- "type": "string"
- }
- },
- "required": [
- "variant_id",
- "label"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "iso2",
- "name",
- "currency",
- "status",
- "incomplete_reason",
- "tax_year",
- "tax_year_period",
- "variants",
- "sources",
- "provenance"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "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": {
+ "data": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assumptions": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "country": {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "type": "string"
+ },
+ "iso2": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "tax_year": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "tax_year_period": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "variant": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "variant_label": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "iso2",
+ "name",
+ "currency",
+ "tax_year",
+ "tax_year_period",
+ "variant",
+ "variant_label"
+ ],
+ "type": "object"
+ },
+ "country_notes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "disclaimer": {
+ "type": "string"
+ },
+ "dubai": {
+ "additionalProperties": false,
+ "properties": {
+ "gross_annual_aed": {
+ "type": "number"
+ },
+ "income_tax_aed": {
+ "const": 0
+ },
+ "net_annual_aed": {
+ "type": "number"
+ },
+ "net_monthly_aed": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "gross_annual_aed",
+ "net_annual_aed",
+ "net_monthly_aed",
+ "income_tax_aed"
+ ],
+ "type": "object"
+ },
+ "dubai_monthly_costs_aed": {
+ "additionalProperties": false,
+ "properties": {
+ "groceries": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "health": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "rent": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "school": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "transport": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "utilities": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "rent",
+ "school",
+ "groceries",
+ "utilities",
+ "transport",
+ "health"
+ ],
+ "type": "object"
+ },
+ "estimate": {
+ "const": true
+ },
+ "fx": {
+ "additionalProperties": false,
+ "properties": {
+ "aed_per_unit": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "rates_on": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "source": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "aed_per_unit",
+ "rates_on",
+ "source"
+ ],
+ "type": "object"
+ },
+ "groceries_basket": {
+ "additionalProperties": false,
+ "properties": {
+ "estimated_aed": {
+ "additionalProperties": false,
+ "properties": {
+ "high_aed": {
+ "type": "number"
+ },
+ "low_aed": {
+ "type": "number"
+ },
+ "value_aed": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "value_aed",
+ "low_aed",
+ "high_aed"
+ ],
+ "type": "object"
+ },
+ "items": {
+ "type": "integer"
+ },
+ "items_estimated": {
+ "type": "integer"
+ },
+ "items_observed": {
+ "type": "integer"
+ },
+ "items_unknown": {
+ "type": "integer"
+ },
+ "note": {
+ "type": "string"
+ },
+ "observed_aed": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "items",
+ "observed_aed",
+ "estimated_aed",
+ "items_observed",
+ "items_estimated",
+ "items_unknown",
+ "note"
+ ],
+ "type": "object"
+ },
+ "groceries_estimate": {
+ "$ref": "#/$defs/HouseholdEstimateLine"
+ },
+ "gross_annual": {
+ "additionalProperties": false,
+ "properties": {
+ "aed": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "amount": {
+ "type": "number"
+ },
+ "currency": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency",
+ "aed"
+ ],
+ "type": "object"
+ },
+ "health_insurance": {
+ "$ref": "#/$defs/HouseholdEstimateLine"
+ },
+ "home": {
+ "additionalProperties": false,
+ "properties": {
+ "breakdown": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "type": "number"
+ },
+ "component_id": {
+ "type": "string"
+ },
+ "kind": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "component_id",
+ "label",
+ "kind",
+ "amount"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "currency": {
+ "type": "string"
+ },
+ "effective_rate": {
+ "type": "number"
+ },
+ "effective_rate_percent": {
+ "type": "number"
+ },
+ "income_tax": {
+ "type": "number"
+ },
+ "net_annual": {
+ "type": "number"
+ },
+ "net_annual_aed": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "net_monthly": {
+ "type": "number"
+ },
+ "social_contributions": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "currency",
+ "net_annual",
+ "net_monthly",
+ "income_tax",
+ "social_contributions",
+ "effective_rate",
+ "breakdown",
+ "net_annual_aed"
+ ],
+ "type": "object"
+ },
+ "household": {
+ "additionalProperties": false,
+ "properties": {
+ "children": {
+ "type": "integer"
+ },
+ "status": {
+ "enum": [
+ "single",
+ "married"
+ ]
+ }
+ },
+ "required": [
+ "status",
+ "children"
+ ],
+ "type": "object"
+ },
+ "household_type": {
+ "const": "business_owner"
+ },
+ "left_over_after_fixed_costs_aed": {
+ "type": "number"
+ },
+ "left_over_after_groceries_aed": {
+ "additionalProperties": false,
+ "properties": {
+ "high": {
+ "type": "number"
+ },
+ "low": {
+ "type": "number"
+ },
+ "value": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "value",
+ "low",
+ "high"
+ ],
+ "type": "object"
+ },
+ "not_modelled": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "notices": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "owner_comparison": {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "type": "string"
+ },
+ "dubai": {
+ "additionalProperties": false,
+ "properties": {
+ "free_zone": {
+ "additionalProperties": false,
+ "properties": {
+ "corporate_tax": {
+ "type": "number"
+ },
+ "corporate_tax_aed": {
+ "type": "number"
+ },
+ "effective_rate": {
+ "type": "number"
+ },
+ "net_annual": {
+ "type": "number"
+ },
+ "net_annual_aed": {
+ "type": "number"
+ },
+ "saving_annual": {
+ "type": "number"
+ },
+ "saving_annual_aed": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "free_zone_condition": {
+ "type": "string"
+ },
+ "mainland": {
+ "additionalProperties": false,
+ "properties": {
+ "corporate_tax": {
+ "type": "number"
+ },
+ "corporate_tax_aed": {
+ "type": "number"
+ },
+ "effective_rate": {
+ "type": "number"
+ },
+ "net_annual": {
+ "type": "number"
+ },
+ "net_annual_aed": {
+ "type": "number"
+ },
+ "saving_annual": {
+ "type": "number"
+ },
+ "saving_annual_aed": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "home": {
+ "additionalProperties": false,
+ "properties": {
+ "corporate_tax": {
+ "type": "number"
+ },
+ "distributed_profit": {
+ "type": "number"
+ },
+ "dividend_tax": {
+ "type": "number"
+ },
+ "effective_rate": {
+ "type": "number"
+ },
+ "net_annual": {
+ "type": "number"
+ },
+ "total_tax": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "leaving": {
+ "items": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "observed_on": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "small_business_relief": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "sources": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "tax_year": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "profit_annual": {
+ "additionalProperties": false,
+ "properties": {
+ "aed": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "amount": {
+ "type": "number"
+ },
+ "currency": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency",
+ "aed"
+ ],
+ "type": "object"
+ },
+ "provenance": {
+ "$ref": "#/$defs/Provenance"
+ },
+ "savings": {
+ "additionalProperties": false,
+ "properties": {
+ "costs_complete": {
+ "type": "boolean"
+ },
+ "dubai_annual_savings": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "dubai_monthly_costs": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "dubai_monthly_net": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "dubai_monthly_savings": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "home_annual_savings": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "home_monthly_net": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "home_monthly_savings": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "missing_costs": {
+ "items": {
+ "enum": [
+ "rent",
+ "school",
+ "groceries",
+ "utilities",
+ "transport",
+ "health"
+ ]
+ },
+ "type": "array"
+ },
+ "net_gain_annual": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "net_gain_monthly": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "savings_difference_annual": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "savings_difference_monthly": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "withheld_reason": {
+ "enum": [
+ "rent_unknown",
+ null
+ ]
+ }
+ },
+ "required": [
+ "home_monthly_net",
+ "dubai_monthly_net",
+ "net_gain_monthly",
+ "net_gain_annual",
+ "dubai_monthly_costs",
+ "missing_costs",
+ "costs_complete",
+ "dubai_monthly_savings",
+ "dubai_annual_savings",
+ "home_monthly_savings",
+ "home_annual_savings",
+ "savings_difference_monthly",
+ "savings_difference_annual",
+ "withheld_reason"
+ ],
+ "type": "object"
+ },
+ "transport_reference": {
+ "additionalProperties": false,
+ "properties": {
+ "car_monthly_aed": {
+ "type": "number"
+ },
+ "fuel_month": {
+ "type": "string"
+ },
+ "km_per_day": {
+ "type": "number"
+ },
+ "public_transport_max_aed": {
+ "type": "number"
+ },
+ "public_transport_min_aed": {
+ "type": "number"
+ },
+ "salik_per_day": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "car_monthly_aed",
+ "km_per_day",
+ "salik_per_day",
+ "public_transport_min_aed",
+ "public_transport_max_aed",
+ "fuel_month"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "estimate",
+ "disclaimer",
+ "country",
+ "household",
+ "gross_annual",
+ "home",
+ "dubai",
+ "fx",
+ "dubai_monthly_costs_aed",
+ "savings",
+ "transport_reference",
+ "notices",
+ "country_notes",
+ "not_modelled",
+ "assumptions",
+ "provenance"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "links": {
+ "$ref": "#/$defs/Links"
+ },
+ "meta": {
+ "$ref": "#/$defs/ResponseMeta"
+ }
+ },
+ "required": [
+ "meta",
+ "data",
+ "links"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "type": "string"
+ },
+ "incomplete_reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "iso2": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "provenance": {
+ "$ref": "#/$defs/Provenance"
+ },
+ "sources": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "accessed_on": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "url",
+ "accessed_on"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "complete",
+ "incomplete"
+ ]
+ },
+ "tax_year": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "tax_year_period": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "variants": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "variant_id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "variant_id",
+ "label"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "iso2",
+ "name",
+ "currency",
+ "status",
+ "incomplete_reason",
+ "tax_year",
+ "tax_year_period",
+ "variants",
+ "sources",
+ "provenance"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "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"
+ }
+]