changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "data": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "brand": {
- "type": [
- "string",
- "null"
- ]
- },
- "category": {
- "enum": [
- "bread",
- "chicken",
- "cooking_oil",
- "dairy",
- "eggs",
- "legumes",
- "rice",
- "sugar"
- ]
- },
- "chains": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "branches": {
- "type": "integer"
- },
- "chain_id": {
- "enum": [
- "al_maya",
- "carrefour",
- "emirates_coop",
- "lulu",
- "nesto",
- "safeer",
- "spinneys",
- "union_coop"
- ]
- },
- "chain_name": {
- "type": "string"
- },
- "median_price_aed": {
- "type": "number"
- },
- "min_price_aed": {
- "type": "number"
- },
- "single_branch": {
- "type": "boolean"
- }
- },
- "required": [
- "chain_id",
- "chain_name",
- "min_price_aed",
- "median_price_aed",
- "branches",
- "single_branch"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "excluded_rows": {
- "type": "integer"
- },
- "low_branch_rows": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "product_id": {
- "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"
- },
- "size": {
- "additionalProperties": false,
- "properties": {
- "quantity": {
- "type": "number"
- },
- "unit": {
- "enum": [
- "g",
- "ml",
- "pc"
- ]
- }
- },
- "required": [
- "quantity",
- "unit"
- ],
- "type": "object"
- }
- },
- "required": [
- "product_id",
- "name",
- "category",
- "brand",
- "size",
- "chains",
- "low_branch_rows",
- "excluded_rows",
- "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",
- "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": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "brand": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "category": {
+ "enum": [
+ "bread",
+ "chicken",
+ "cooking_oil",
+ "dairy",
+ "eggs",
+ "legumes",
+ "rice",
+ "sugar"
+ ]
+ },
+ "chains": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "branches": {
+ "type": "integer"
+ },
+ "chain_id": {
+ "enum": [
+ "al_maya",
+ "carrefour",
+ "emirates_coop",
+ "lulu",
+ "nesto",
+ "safeer",
+ "spinneys",
+ "union_coop"
+ ]
+ },
+ "chain_name": {
+ "type": "string"
+ },
+ "median_price_aed": {
+ "type": "number"
+ },
+ "min_price_aed": {
+ "type": "number"
+ },
+ "single_branch": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "chain_id",
+ "chain_name",
+ "min_price_aed",
+ "median_price_aed",
+ "branches",
+ "single_branch"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "excluded_rows": {
+ "type": "integer"
+ },
+ "low_branch_rows": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "product_id": {
+ "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"
+ },
+ "size": {
+ "additionalProperties": false,
+ "properties": {
+ "quantity": {
+ "type": "number"
+ },
+ "unit": {
+ "enum": [
+ "g",
+ "ml",
+ "pc"
+ ]
+ }
+ },
+ "required": [
+ "quantity",
+ "unit"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "product_id",
+ "name",
+ "category",
+ "brand",
+ "size",
+ "chains",
+ "low_branch_rows",
+ "excluded_rows",
+ "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",
+ "data",
+ "links"
+ ],
+ "type": "object"
+ },
+ {
+ "required": [
+ "error",
+ "request_id"
+ ],
+ "type": "object"
+ }
+]