changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "data": {
+ "properties": {
+ "blend": {
+ "description": "Goals model and Elo gap combined.",
+ "properties": {
+ "p_draw": {
+ "description": "The blended draw probability, 0 to 1.",
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "caveats": {
+ "description": "What these numbers do not claim.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "elo": {
+ "description": "Elo ratings and the historical draw rate at this rating gap.",
+ "properties": {
+ "away_rating": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "gap": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "historical_draw_rate": {
+ "description": "Draw rate of past matches with a similar rating gap, 0 to 1.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "home_rating": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "fit": {
+ "description": "When and on what the logistic model was trained.",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "goals_model": {
+ "description": "Dixon-Coles goals model; null when it has no fit for these teams.",
+ "properties": {
+ "p_away": {
+ "description": "Away win probability, 0 to 1.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "p_draw": {
+ "description": "Draw probability from the goals model, 0 to 1.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "p_home": {
+ "description": "Home win probability, 0 to 1.",
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "logistic": {
+ "description": "The calibrated logistic draw model.",
+ "properties": {
+ "confidence_95": {
+ "description": "low/high bounds of the 95% interval.",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "p_draw": {
+ "description": "Calibrated draw probability from the logistic model, 0 to 1.",
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "market": {
+ "description": "Bookmaker-implied draw probability, when odds are held.",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "match": {
+ "description": "The fixture the readings are for.",
+ "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": {
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "date": {
+ "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": {
+ "type": "integer"
+ },
+ "score": {
+ "description": "Final score; both null until the match is played.",
+ "properties": {
+ "away": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "home": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "date"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "match"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "data"
+ ],
+ "type": "object"
+}