BOS Schema

These objects are used for the five BOS incident messages. The objects are created and populated internally by the Couch Potato API.

create

{
    "call":,             // Always 'create'
    "unique_string":,    // unique identifier of type unique_string
    "timestamp":,        // The date/time the game was created (UTC)
    "arguments":         
    {
        "season":        // The season for the sports
    },
    "id":
    {
        "home":,            // The home team
        "away":,            // The away team
        "sport":,           // The sport
        "start_time":,      // The scheduled date/time for the game to start (UTC)
        "event_group_name": // The event group (league)
    },
    "provider_info":
    {
        "match_id":,        // Unique identifier for the match (game)
        "name":,            // Name of the provider
        "source":           // Always 'direct string input'
        "source_file":,     // Not used
        "pushed":           // The date/time the incident was sent (UTC)
    }
}

in_progress

result

finish

canceled

unique_string

This special attribute uniquely identifies each game to BOS. The format is as follows:

"start_time" + "__" + "sport" + "__" + "event_group_name" + "home_team" + "__" + "away_team" + "create" + "__" + "season"

Example

2020-05-01t01:12:00.000z__soccer__epl__leicester-city__aston-villa__create__20192020

triangle-exclamation

Last updated

Was this helpful?