changedOutput schema / properties / results / items / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "found": {
- "const": true,
- "type": "boolean"
- },
- "genres": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "id": {
- "type": "number"
- },
- "ratings": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "found": {
- "const": false,
- "type": "boolean"
- },
- "reason": {
- "type": "string"
- }
- },
- "required": [
- "found",
- "reason"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "found": {
- "const": true,
- "type": "boolean"
- },
- "imdb_rating": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "metascore": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "rotten_tomatoes": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "found",
- "imdb_rating",
- "rotten_tomatoes",
- "metascore"
- ],
- "type": "object"
- }
- ]
- },
- "title": {
- "type": "string"
- },
- "vote_average": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "vote_count": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "year": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "year",
- "genres",
- "vote_average",
- "vote_count",
- "found"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "found": {
- "const": false,
- "type": "boolean"
- },
- "id": {
- "type": "number"
- },
- "reason": {
- "type": "string"
- }
- },
- "required": [
- "found",
- "id",
- "reason"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "found": {
+ "const": true,
+ "type": "boolean"
+ },
+ "genres": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "id": {
+ "type": "number"
+ },
+ "ratings": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "found": {
+ "const": false,
+ "type": "boolean"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "found",
+ "reason"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "found": {
+ "const": true,
+ "type": "boolean"
+ },
+ "imdb_rating": {
+ "description": "IMDb user score, 0-10, as a string, e.g. '6.5'. Not TMDB's `vote_average`.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "metascore": {
+ "description": "Metacritic critic score, 0-100 scale, as a string, e.g. '67'.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "rotten_tomatoes": {
+ "description": "Rotten Tomatoes Tomatometer — the percentage of positive critic reviews, as a string including the sign, e.g. '79%'. Not a 0-10 or 0-100 score.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "found",
+ "imdb_rating",
+ "rotten_tomatoes",
+ "metascore"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "title": {
+ "type": "string"
+ },
+ "vote_average": {
+ "description": "TMDB's own 0-10 user score. A different audience and scale from the IMDb/RT/Metacritic scores get_movie/get_tv return as `ratings` — don't compare, average or substitute across the two.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "vote_count": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "year": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "year",
+ "genres",
+ "vote_average",
+ "vote_count",
+ "found"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "found": {
+ "const": false,
+ "type": "boolean"
+ },
+ "id": {
+ "type": "number"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "found",
+ "id",
+ "reason"
+ ],
+ "type": "object"
+ }
+]