changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "data": {
+ "properties": {
+ "prediction": {
+ "description": "The team's place in the ranking; null when it is not ranked (too few recent matches).",
+ "properties": {
+ "last_match_date": {
+ "description": "Date of the team's most recent match.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "rank": {
+ "description": "Position in the ranking; 1 is the most overdue.",
+ "type": "integer"
+ },
+ "score": {
+ "description": "The draw-likelihood score the ranking sorts on.",
+ "type": "number"
+ },
+ "signals": {
+ "description": "The figures the score is built from.",
+ "properties": {
+ "current_no_draw_streak": {
+ "description": "Matches since the last draw.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "draw_debt": {
+ "description": "Draws expected from the draw rate minus draws that came.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "draw_pct": {
+ "description": "Share of matches drawn, in percent.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "draws": {
+ "type": "integer"
+ },
+ "max_no_draw_streak": {
+ "description": "Longest run without a draw, ever.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "played": {
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "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"
+ }
+ },
+ "required": [
+ "rank",
+ "score"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "recent_form": {
+ "description": "The team's latest results, newest first.",
+ "items": {
+ "properties": {
+ "date": {
+ "type": "string"
+ },
+ "is_draw": {
+ "type": "boolean"
+ },
+ "match_id": {
+ "type": "integer"
+ },
+ "opponent": {
+ "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"
+ },
+ "score": {
+ "description": "Final score; both null until the match is played.",
+ "properties": {
+ "away": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "home": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "side": {
+ "description": "\"home\" or \"away\".",
+ "type": "string"
+ },
+ "won": {
+ "type": "boolean"
+ }
+ },
+ "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"
+}