changedOutput schema / properties / result / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "base": {
- "minLength": 1,
- "type": "string"
- },
- "endDate": {
- "format": "date",
- "type": "string"
- },
- "format": {
- "const": "line",
- "type": "string"
- },
- "nextCursor": {
- "anyOf": [
- {
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "points": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "date": {
- "format": "date",
- "type": "string"
- },
- "price": {
- "type": "number"
- }
- },
- "required": [
- "date",
- "price"
- ],
- "type": "object"
- },
- "maxItems": 100,
- "type": "array"
- },
- "requestedDays": {
- "maximum": 3650,
- "minimum": 1,
- "type": "integer"
- },
- "series": {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "metal",
- "type": "string"
- },
- "metal": {
- "enum": [
- "gold",
- "silver",
- "platinum",
- "palladium",
- "copper",
- "nickel",
- "goldback"
- ],
- "type": "string"
- }
- },
- "required": [
- "kind",
- "metal"
- ],
- "type": "object"
- },
- "startDate": {
- "format": "date",
- "type": "string"
- },
- "unit": {
- "enum": [
- "troy_oz",
- "goldback"
- ],
- "type": "string"
- }
- },
- "required": [
- "series",
- "base",
- "unit",
- "requestedDays",
- "startDate",
- "endDate",
- "nextCursor",
- "format",
- "points"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "base": {
- "minLength": 1,
- "type": "string"
- },
- "endDate": {
- "format": "date",
- "type": "string"
- },
- "format": {
- "const": "ohlc",
- "type": "string"
- },
- "nextCursor": {
- "anyOf": [
- {
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "points": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "close": {
- "description": "Latest or session-close price in the result's shared base and unit.",
- "type": "number"
- },
- "date": {
- "format": "date",
- "type": "string"
- },
- "high": {
- "description": "Session high in the result's shared base and unit.",
- "type": "number"
- },
- "low": {
- "description": "Session low in the result's shared base and unit.",
- "type": "number"
- },
- "open": {
- "description": "Opening price in the result's shared base and unit.",
- "type": "number"
- }
- },
- "required": [
- "open",
- "high",
- "low",
- "close",
- "date"
- ],
- "type": "object"
- },
- "maxItems": 100,
- "type": "array"
- },
- "requestedDays": {
- "maximum": 3650,
- "minimum": 1,
- "type": "integer"
- },
- "series": {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "metal",
- "type": "string"
- },
- "metal": {
- "enum": [
- "gold",
- "silver",
- "platinum",
- "palladium",
- "copper",
- "nickel",
- "goldback"
- ],
- "type": "string"
- }
- },
- "required": [
- "kind",
- "metal"
- ],
- "type": "object"
- },
- "startDate": {
- "format": "date",
- "type": "string"
- },
- "unit": {
- "enum": [
- "troy_oz",
- "goldback"
- ],
- "type": "string"
- }
- },
- "required": [
- "series",
- "base",
- "unit",
- "requestedDays",
- "startDate",
- "endDate",
- "nextCursor",
- "format",
- "points"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "base": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "endDate": {
+ "format": "date",
+ "type": "string"
+ },
+ "format": {
+ "const": "line",
+ "type": "string"
+ },
+ "nextCursor": {
+ "anyOf": [
+ {
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "points": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "date": {
+ "format": "date",
+ "type": "string"
+ },
+ "price": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "date",
+ "price"
+ ],
+ "title": "LinePoint",
+ "type": "object"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "requestedDays": {
+ "maximum": 3650,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "series": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "metal",
+ "type": "string"
+ },
+ "metal": {
+ "enum": [
+ "gold",
+ "silver",
+ "platinum",
+ "palladium",
+ "copper",
+ "nickel",
+ "goldback"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "metal"
+ ],
+ "title": "MetalSeries",
+ "type": "object"
+ },
+ "startDate": {
+ "format": "date",
+ "type": "string"
+ },
+ "unit": {
+ "enum": [
+ "troy_oz",
+ "goldback"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "series",
+ "base",
+ "unit",
+ "requestedDays",
+ "startDate",
+ "endDate",
+ "nextCursor",
+ "format",
+ "points"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "base": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "endDate": {
+ "format": "date",
+ "type": "string"
+ },
+ "format": {
+ "const": "ohlc",
+ "type": "string"
+ },
+ "nextCursor": {
+ "anyOf": [
+ {
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "points": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "close": {
+ "description": "Latest or session-close price in the result's shared base and unit.",
+ "type": "number"
+ },
+ "date": {
+ "format": "date",
+ "type": "string"
+ },
+ "high": {
+ "description": "Session high in the result's shared base and unit.",
+ "type": "number"
+ },
+ "low": {
+ "description": "Session low in the result's shared base and unit.",
+ "type": "number"
+ },
+ "open": {
+ "description": "Opening price in the result's shared base and unit.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "open",
+ "high",
+ "low",
+ "close",
+ "date"
+ ],
+ "title": "OhlcPoint",
+ "type": "object"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "requestedDays": {
+ "maximum": 3650,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "series": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "metal",
+ "type": "string"
+ },
+ "metal": {
+ "enum": [
+ "gold",
+ "silver",
+ "platinum",
+ "palladium",
+ "copper",
+ "nickel",
+ "goldback"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "metal"
+ ],
+ "title": "MetalSeries",
+ "type": "object"
+ },
+ "startDate": {
+ "format": "date",
+ "type": "string"
+ },
+ "unit": {
+ "enum": [
+ "troy_oz",
+ "goldback"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "series",
+ "base",
+ "unit",
+ "requestedDays",
+ "startDate",
+ "endDate",
+ "nextCursor",
+ "format",
+ "points"
+ ],
+ "type": "object"
+ }
+]