changedOutput schema / properties / range / anyOf
Previous value: -[
- {
- "$ref": "#/properties/summary/anyOf/0"
- },
- {
- "$ref": "#/properties/summary/anyOf/1"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "captured_at": {
+ "type": "string"
+ },
+ "is_bestseller": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "metrics": {
+ "additionalProperties": {
+ "additionalProperties": false,
+ "properties": {
+ "captured_at": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
+ "type": "string"
+ },
+ "currency": {
+ "maxLength": 32,
+ "type": "string"
+ },
+ "source": {
+ "maxLength": 80,
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "reported",
+ "absent",
+ "null"
+ ],
+ "type": "string"
+ },
+ "unit": {
+ "enum": [
+ "count",
+ "percent_0_100",
+ "currency_amount",
+ "views"
+ ],
+ "type": "string"
+ },
+ "value": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "window": {
+ "maxLength": 120,
+ "type": "string"
+ }
+ },
+ "required": [
+ "value",
+ "status",
+ "unit",
+ "window",
+ "source",
+ "captured_at"
+ ],
+ "type": "object"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "source": {
+ "type": "string"
+ },
+ "status": {
+ "const": "available",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "source",
+ "captured_at",
+ "metrics"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "reason": {
+ "enum": [
+ "http_401",
+ "http_403",
+ "http_404",
+ "http_429",
+ "http_5xx",
+ "http_other",
+ "malformed",
+ "timeout",
+ "response_too_large",
+ "redirect_rejected",
+ "unexpected_html"
+ ],
+ "type": "string"
+ },
+ "status": {
+ "const": "unavailable",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "reason"
+ ],
+ "type": "object"
+ }
+]
changedOutput schema / properties / summary / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "captured_at": {
- "type": "string"
- },
- "is_bestseller": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "metrics": {
- "additionalProperties": {
- "additionalProperties": false,
- "properties": {
- "captured_at": {
- "format": "date-time",
- "type": "string"
- },
- "currency": {
- "maxLength": 32,
- "type": "string"
- },
- "source": {
- "maxLength": 80,
- "type": "string"
- },
- "status": {
- "enum": [
- "reported",
- "absent",
- "null"
- ],
- "type": "string"
- },
- "unit": {
- "enum": [
- "count",
- "percent_0_100",
- "currency_amount",
- "views"
- ],
- "type": "string"
- },
- "value": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "window": {
- "maxLength": 120,
- "type": "string"
- }
- },
- "required": [
- "value",
- "status",
- "unit",
- "window",
- "source",
- "captured_at"
- ],
- "type": "object"
- },
- "type": "object"
- },
- "source": {
- "type": "string"
- },
- "status": {
- "const": "available",
- "type": "string"
- }
- },
- "required": [
- "status",
- "source",
- "captured_at",
- "metrics"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "reason": {
- "enum": [
- "http_401",
- "http_403",
- "http_404",
- "http_429",
- "http_5xx",
- "http_other",
- "malformed",
- "timeout",
- "response_too_large",
- "redirect_rejected",
- "unexpected_html"
- ],
- "type": "string"
- },
- "status": {
- "const": "unavailable",
- "type": "string"
- }
- },
- "required": [
- "status",
- "reason"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "captured_at": {
+ "type": "string"
+ },
+ "is_bestseller": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "metrics": {
+ "additionalProperties": {
+ "additionalProperties": false,
+ "properties": {
+ "captured_at": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
+ "type": "string"
+ },
+ "currency": {
+ "maxLength": 32,
+ "type": "string"
+ },
+ "source": {
+ "maxLength": 80,
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "reported",
+ "absent",
+ "null"
+ ],
+ "type": "string"
+ },
+ "unit": {
+ "enum": [
+ "count",
+ "percent_0_100",
+ "currency_amount",
+ "views"
+ ],
+ "type": "string"
+ },
+ "value": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "window": {
+ "maxLength": 120,
+ "type": "string"
+ }
+ },
+ "required": [
+ "value",
+ "status",
+ "unit",
+ "window",
+ "source",
+ "captured_at"
+ ],
+ "type": "object"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "source": {
+ "type": "string"
+ },
+ "status": {
+ "const": "available",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "source",
+ "captured_at",
+ "metrics"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "reason": {
+ "enum": [
+ "http_401",
+ "http_403",
+ "http_404",
+ "http_429",
+ "http_5xx",
+ "http_other",
+ "malformed",
+ "timeout",
+ "response_too_large",
+ "redirect_rejected",
+ "unexpected_html"
+ ],
+ "type": "string"
+ },
+ "status": {
+ "const": "unavailable",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "reason"
+ ],
+ "type": "object"
+ }
+]