changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "data": {
+ "properties": {
+ "meetings": {
+ "description": "Every match between them.",
+ "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"
+ },
+ "record": {
+ "description": "The overall record between the two.",
+ "properties": {
+ "draw_percent": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "draws": {
+ "type": "integer"
+ },
+ "goals_team_a": {
+ "type": "integer"
+ },
+ "goals_team_b": {
+ "type": "integer"
+ },
+ "played": {
+ "type": "integer"
+ },
+ "team_a_wins": {
+ "type": "integer"
+ },
+ "team_b_wins": {
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "team_a": {
+ "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"
+ },
+ "team_b": {
+ "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"
+}