changedOutput schema / anyOf
Previous value: -[
- {
- "properties": {
- "data": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "advertiser": {
- "type": "string"
- },
- "canonicalUrl": {
- "format": "uri",
- "type": "string"
- },
- "contentType": {
- "enum": [
- "paid_advertisement",
- "house_advertisement"
- ],
- "type": "string"
- },
- "day": {
- "description": "Settled auction date in UTC, YYYY-MM-DD.",
- "format": "date",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "headline": {
- "type": "string"
- }
- },
- "required": [
- "day",
- "headline",
- "description",
- "advertiser",
- "canonicalUrl",
- "contentType"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "nextOffset": {
- "type": [
- "integer",
- "null"
- ]
- }
- },
- "required": [
- "data",
- "nextOffset"
- ],
- "type": "object"
- },
- {
- "properties": {
- "detail": {
- "type": "string"
- },
- "docs": {
- "format": "uri",
- "type": "string"
- },
- "status": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type",
- "title",
- "status",
- "detail"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "data": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "advertiser": {
+ "type": "string"
+ },
+ "canonicalUrl": {
+ "format": "uri",
+ "type": "string"
+ },
+ "contentType": {
+ "enum": [
+ "paid_advertisement",
+ "house_advertisement"
+ ],
+ "type": "string"
+ },
+ "day": {
+ "description": "Settled auction date in UTC, YYYY-MM-DD.",
+ "format": "date",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "headline": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "day",
+ "headline",
+ "description",
+ "advertiser",
+ "canonicalUrl",
+ "contentType"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "nextCursor": {
+ "anyOf": [
+ {
+ "description": "Settled auction date in UTC, YYYY-MM-DD.",
+ "format": "date",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "nextOffset": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "data",
+ "nextOffset",
+ "nextCursor"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "detail": {
+ "type": "string"
+ },
+ "docs": {
+ "format": "uri",
+ "type": "string"
+ },
+ "status": {
+ "type": "integer"
+ },
+ "title": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "title",
+ "status",
+ "detail"
+ ],
+ "type": "object"
+ }
+]