changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "content_trust": {
- "const": "untrusted",
- "type": "string"
- },
- "next_cursor": {
- "type": [
- "string",
- "null"
- ]
- },
- "page": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "product_type_counts": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "id": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "name": {
- "minLength": 1,
- "type": "string"
- },
- "slug": {
- "maxLength": 100,
- "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$(?![\\s\\S])",
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "slug",
- "count"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "products": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "average_rating": {
- "anyOf": [
- {
- "maximum": 5,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "category": {
- "minLength": 1,
- "type": "string"
- },
- "category_slug": {
- "anyOf": [
- {
- "maxLength": 100,
- "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- },
- "preview_image_url": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "price": {
- "description": "Display-only USD price, including currency symbol and grouping",
- "type": "string"
- },
- "price_usd": {
- "description": "Price in USD major units for numeric comparison",
- "minimum": 0,
- "type": "number"
- },
- "product_page_url": {
- "format": "uri",
- "type": "string"
- },
- "product_type": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "name": {
- "minLength": 1,
- "type": "string"
- },
- "slug": {
- "maxLength": 100,
- "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$(?![\\s\\S])",
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "slug"
- ],
- "type": "object"
- },
- "rating_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "release_label": {
- "minLength": 1,
- "type": "string"
- },
- "sales_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "seller_name": {
- "minLength": 1,
- "type": "string"
- },
- "seller_username": {
- "pattern": "^(?!\\d+$)(?!\\d+[-_])[A-Za-z0-9][A-Za-z0-9_-]{1,28}[A-Za-z0-9]$",
- "type": "string"
- },
- "title": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "average_rating",
- "category",
- "category_slug",
- "id",
- "preview_image_url",
- "price",
- "price_usd",
- "product_page_url",
- "product_type",
- "rating_count",
- "release_label",
- "sales_count",
- "seller_name",
- "seller_username",
- "title"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "success": {
- "const": true,
- "type": "boolean"
- },
- "total_items": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "total_pages": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "content_trust",
- "next_cursor",
- "page",
- "product_type_counts",
- "products",
- "total_items",
- "total_pages",
- "success"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "category": {
- "enum": [
- "auth_required",
- "bad_request",
- "conflict",
- "forbidden",
- "not_found",
- "rate_limit",
- "server_error",
- "service_unavailable"
- ],
- "type": "string"
- },
- "error": {
- "minLength": 1,
- "type": "string"
- },
- "hint": {
- "minLength": 1,
- "type": "string"
- },
- "retry_after_seconds": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "success": {
- "const": false,
- "type": "boolean"
- }
- },
- "required": [
- "category",
- "error",
- "success"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "content_trust": {
+ "const": "untrusted",
+ "type": "string"
+ },
+ "next_cursor": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "page": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "product_type_counts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "slug": {
+ "maxLength": 100,
+ "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$(?![\\s\\S])",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "slug",
+ "count"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "products": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "average_rating": {
+ "anyOf": [
+ {
+ "maximum": 5,
+ "minimum": 1,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "category": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "category_slug": {
+ "anyOf": [
+ {
+ "maxLength": 100,
+ "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "preview_image_url": {
+ "anyOf": [
+ {
+ "format": "uri",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "price": {
+ "description": "Display-only USD price, including currency symbol and grouping",
+ "type": "string"
+ },
+ "price_usd": {
+ "description": "Price in USD major units for numeric comparison",
+ "minimum": 0,
+ "type": "number"
+ },
+ "product_page_url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "product_type": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "slug": {
+ "maxLength": 100,
+ "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$(?![\\s\\S])",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "slug"
+ ],
+ "type": "object"
+ },
+ "rating_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "release_label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "sales_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "seller_name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "seller_username": {
+ "pattern": "^(?!\\d+$)(?!\\d+[-_])[A-Za-z0-9][A-Za-z0-9_-]{1,28}[A-Za-z0-9]$",
+ "type": "string"
+ },
+ "title": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "average_rating",
+ "category",
+ "category_slug",
+ "id",
+ "preview_image_url",
+ "price",
+ "price_usd",
+ "product_page_url",
+ "product_type",
+ "rating_count",
+ "release_label",
+ "sales_count",
+ "seller_name",
+ "seller_username",
+ "title"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "success": {
+ "const": true,
+ "type": "boolean"
+ },
+ "total_items": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "total_pages": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "content_trust",
+ "next_cursor",
+ "page",
+ "product_type_counts",
+ "products",
+ "total_items",
+ "total_pages",
+ "success"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "category": {
+ "enum": [
+ "auth_required",
+ "bad_request",
+ "conflict",
+ "forbidden",
+ "not_found",
+ "rate_limit",
+ "server_error",
+ "service_unavailable"
+ ],
+ "type": "string"
+ },
+ "error": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "hint": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "retry_after_seconds": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "success": {
+ "const": false,
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "category",
+ "error",
+ "success"
+ ],
+ "type": "object"
+ }
+]