changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "data": {
+ "properties": {
+ "active_streak": {
+ "description": "The run the team is on now; null if its last match was a draw.",
+ "properties": {
+ "end": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "length": {
+ "description": "Matches since the team last drew.",
+ "type": "integer"
+ },
+ "matches": {
+ "items": {
+ "description": "A match.",
+ "properties": {
+ "away_team": {
+ "description": "A team reference.",
+ "properties": {
+ "id": {
+ "description": "Team id — the argument every team tool takes.",
+ "type": "integer"
+ },
+ "name": {
+ "description": "Short display name.",
+ "type": "string"
+ },
+ "slug": {
+ "description": "URL slug; accepted anywhere an id is.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "slug",
+ "name"
+ ],
+ "type": "object"
+ },
+ "competition": {
+ "description": "The competition and edition the match belongs to.",
+ "properties": {
+ "edition": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "edition_id": {
+ "description": "The season or edition id, from list_tournaments.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "year": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "date": {
+ "description": "Match date, YYYY-MM-DD.",
+ "type": "string"
+ },
+ "home_team": {
+ "description": "A team reference.",
+ "properties": {
+ "id": {
+ "description": "Team id — the argument every team tool takes.",
+ "type": "integer"
+ },
+ "name": {
+ "description": "Short display name.",
+ "type": "string"
+ },
+ "slug": {
+ "description": "URL slug; accepted anywhere an id is.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "slug",
+ "name"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "description": "Match id, as get_draw_model takes it.",
+ "type": "integer"
+ },
+ "is_draw": {
+ "description": "Whether the match ended level.",
+ "type": "boolean"
+ },
+ "result": {
+ "description": "H home win, A away win, D draw; empty until played.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "score": {
+ "description": "Final score; both null until the match is played.",
+ "properties": {
+ "away": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "home": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "description": "PLAYED, SCHEDULED, POSTPONED and so on.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "date"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "start": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "runs": {
+ "description": "Every no-draw run the team has had.",
+ "items": {
+ "description": "A run of matches without a draw.",
+ "properties": {
+ "end": {
+ "description": "Date of the last match in the run.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "end_match_id": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "id": {
+ "type": "integer"
+ },
+ "length": {
+ "description": "Matches in the run without a draw.",
+ "type": "integer"
+ },
+ "start": {
+ "description": "Date of the first match in the run.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "start_match_id": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "length"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "team": {
+ "description": "A team.",
+ "properties": {
+ "country": {
+ "description": "The country a team or competition belongs to.",
+ "properties": {
+ "fifa_code": {
+ "description": "Three-letter FIFA code.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "exists_now": {
+ "description": "False for a team that no longer exists.",
+ "type": "boolean"
+ },
+ "full_name": {
+ "description": "Official or long name, when known.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "description": "Team id — the argument every team tool takes.",
+ "type": "integer"
+ },
+ "name": {
+ "description": "Short display name.",
+ "type": "string"
+ },
+ "slug": {
+ "description": "URL slug; accepted anywhere an id is.",
+ "type": "string"
+ },
+ "type": {
+ "description": "\"national_team\" or \"club\".",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "slug",
+ "name"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "data"
+ ],
+ "type": "object"
+}