changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "context": {
- "anyOf": [
- {
- "additionalProperties": true,
- "required": [
- "dubai_corporate",
- "fx"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "data": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "business_owners": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "assumptions": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "component_labels": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "component_id": {
- "type": "string"
- },
- "label": {
- "type": "string"
- }
- },
- "required": [
- "component_id",
- "label"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "default_case": {
- "type": [
- "string",
- "null"
- ]
- },
- "leaving_rules": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "rule_id": {
- "type": "string"
- },
- "sources": {
- "items": {
- "$ref": "#/$defs/SourceDoc"
- },
- "type": "array"
- },
- "text": {
- "type": "string"
- }
- },
- "required": [
- "rule_id",
- "text",
- "sources"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "not_modelled": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "scenarios": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "choice": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "corporate_tax": {
- "type": [
- "number",
- "null"
- ]
- },
- "dubai": {
- "additionalProperties": false,
- "properties": {
- "free_zone": {
- "$ref": "#/$defs/DubaiOwnerOutcome"
- },
- "mainland": {
- "$ref": "#/$defs/DubaiOwnerOutcome"
- }
- },
- "required": [
- "mainland",
- "free_zone"
- ],
- "type": "object"
- },
- "effective_rate": {
- "type": [
- "number",
- "null"
- ]
- },
- "net": {
- "type": [
- "number",
- "null"
- ]
- },
- "personal_tax": {
- "type": [
- "number",
- "null"
- ]
- },
- "profit": {
- "type": "number"
- },
- "profit_aed": {
- "type": [
- "number",
- "null"
- ]
- },
- "regime": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "total_tax": {
- "type": [
- "number",
- "null"
- ]
- }
- },
- "required": [
- "profit",
- "profit_aed",
- "corporate_tax",
- "personal_tax",
- "total_tax",
- "net",
- "effective_rate",
- "choice",
- "regime",
- "dubai"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "sources": {
- "items": {
- "$ref": "#/$defs/SourceDoc"
- },
- "type": "array"
- },
- "status": {
- "enum": [
- "complete",
- "incomplete"
- ]
- },
- "tax_year": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "status",
- "tax_year",
- "default_case",
- "scenarios",
- "component_labels",
- "assumptions",
- "not_modelled",
- "leaving_rules",
- "sources"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "currency": {
- "type": "string"
- },
- "employees": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "available": {
- "type": "boolean"
- },
- "children": {
- "type": "integer"
- },
- "gross": {
- "type": [
- "number",
- "null"
- ]
- },
- "gross_aed": {
- "type": [
- "number",
- "null"
- ]
- },
- "household_status": {
- "enum": [
- "single",
- "married"
- ]
- },
- "income_tax": {
- "type": [
- "number",
- "null"
- ]
- },
- "label": {
- "type": "string"
- },
- "net": {
- "type": [
- "number",
- "null"
- ]
- },
- "saving": {
- "type": [
- "number",
- "null"
- ]
- },
- "saving_aed": {
- "type": [
- "number",
- "null"
- ]
- },
- "saving_monthly": {
- "type": [
- "number",
- "null"
- ]
- },
- "saving_share": {
- "type": [
- "number",
- "null"
- ]
- },
- "scenario_id": {
- "type": "string"
- },
- "social_contributions": {
- "type": [
- "number",
- "null"
- ]
- },
- "statistic_id": {
- "type": "string"
- }
- },
- "required": [
- "scenario_id",
- "label",
- "statistic_id",
- "household_status",
- "children",
- "available",
- "gross",
- "gross_aed",
- "income_tax",
- "social_contributions",
- "net",
- "saving",
- "saving_monthly",
- "saving_aed",
- "saving_share"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "fx_aed_per_unit": {
- "type": [
- "number",
- "null"
- ]
- },
- "iso2": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "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"
- },
- "statistics": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "annual_factor": {
- "type": "number"
- },
- "basis": {
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "measure": {
- "type": "string"
- },
- "period_label": {
- "type": "string"
- },
- "population": {
- "type": "string"
- },
- "published_on": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "quote": {
- "type": [
- "string",
- "null"
- ]
- },
- "source": {
- "$ref": "#/$defs/SourceDoc"
- },
- "statistic_id": {
- "type": "string"
- },
- "value": {
- "type": "number"
- }
- },
- "required": [
- "statistic_id",
- "label",
- "measure",
- "value",
- "annual_factor",
- "period_label",
- "basis",
- "population",
- "published_on",
- "source",
- "quote"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "tax_year": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "iso2",
- "name",
- "currency",
- "tax_year",
- "fx_aed_per_unit",
- "employees",
- "statistics",
- "business_owners",
- "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": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "required": [
+ "dubai_corporate",
+ "fx"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "data": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "business_owners": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assumptions": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "component_labels": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "component_id": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "component_id",
+ "label"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "default_case": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "leaving_rules": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "rule_id": {
+ "type": "string"
+ },
+ "sources": {
+ "items": {
+ "$ref": "#/$defs/SourceDoc"
+ },
+ "type": "array"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "rule_id",
+ "text",
+ "sources"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "not_modelled": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "scenarios": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "choice": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "corporate_tax": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "dubai": {
+ "additionalProperties": false,
+ "properties": {
+ "free_zone": {
+ "$ref": "#/$defs/DubaiOwnerOutcome"
+ },
+ "mainland": {
+ "$ref": "#/$defs/DubaiOwnerOutcome"
+ }
+ },
+ "required": [
+ "mainland",
+ "free_zone"
+ ],
+ "type": "object"
+ },
+ "effective_rate": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "net": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "personal_tax": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "profit": {
+ "type": "number"
+ },
+ "profit_aed": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "regime": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "total_tax": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "profit",
+ "profit_aed",
+ "corporate_tax",
+ "personal_tax",
+ "total_tax",
+ "net",
+ "effective_rate",
+ "choice",
+ "regime",
+ "dubai"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "sources": {
+ "items": {
+ "$ref": "#/$defs/SourceDoc"
+ },
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "complete",
+ "incomplete"
+ ]
+ },
+ "tax_year": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "status",
+ "tax_year",
+ "default_case",
+ "scenarios",
+ "component_labels",
+ "assumptions",
+ "not_modelled",
+ "leaving_rules",
+ "sources"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "currency": {
+ "type": "string"
+ },
+ "employees": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "available": {
+ "type": "boolean"
+ },
+ "children": {
+ "type": "integer"
+ },
+ "gross": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "gross_aed": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "household_status": {
+ "enum": [
+ "single",
+ "married"
+ ]
+ },
+ "income_tax": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "label": {
+ "type": "string"
+ },
+ "net": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "saving": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "saving_aed": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "saving_monthly": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "saving_share": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "scenario_id": {
+ "type": "string"
+ },
+ "social_contributions": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "statistic_id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "scenario_id",
+ "label",
+ "statistic_id",
+ "household_status",
+ "children",
+ "available",
+ "gross",
+ "gross_aed",
+ "income_tax",
+ "social_contributions",
+ "net",
+ "saving",
+ "saving_monthly",
+ "saving_aed",
+ "saving_share"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "fx_aed_per_unit": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "iso2": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "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"
+ },
+ "statistics": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "annual_factor": {
+ "type": "number"
+ },
+ "basis": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "measure": {
+ "type": "string"
+ },
+ "period_label": {
+ "type": "string"
+ },
+ "population": {
+ "type": "string"
+ },
+ "published_on": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "quote": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "$ref": "#/$defs/SourceDoc"
+ },
+ "statistic_id": {
+ "type": "string"
+ },
+ "value": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "statistic_id",
+ "label",
+ "measure",
+ "value",
+ "annual_factor",
+ "period_label",
+ "basis",
+ "population",
+ "published_on",
+ "source",
+ "quote"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "tax_year": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "iso2",
+ "name",
+ "currency",
+ "tax_year",
+ "fx_aed_per_unit",
+ "employees",
+ "statistics",
+ "business_owners",
+ "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"
+ },
+ {
+ "required": [
+ "error",
+ "request_id"
+ ],
+ "type": "object"
+ }
+]