{
    "openapi": "3.1.2",
    "info": {
        "title": "Scorsync Partner API",
        "version": "1.0.0",
        "description": "Read-only Scorsync Partner API snapshots. Send a partner key as Authorization: Bearer. See \/developers\/partner-api for guides and API Terms."
    },
    "servers": [
        {
            "url": "https:\/\/scorsync.com\/index.php",
            "description": "Scorsync"
        }
    ],
    "security": [
        {
            "http": []
        }
    ],
    "paths": {
        "\/api\/partner\/v1\/athletes": {
            "get": {
                "operationId": "partner.v1.athletes.index",
                "summary": "Search athletes. Locked keys require a meet context",
                "tags": [
                    "Athlete"
                ],
                "parameters": [
                    {
                        "name": "search",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "minLength": 2,
                            "maxLength": 255
                        }
                    },
                    {
                        "name": "club",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "Page size, from 1 to 100.",
                        "schema": {
                            "type": "integer",
                            "default": 25
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "description": "Opaque meta.next_cursor from the preceding page.",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "meet",
                        "in": "query",
                        "description": "Meet ID or slug; required for locked keys. Athlete must be on a non-scratched start list.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#\/components\/schemas\/AthleteResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "next_cursor": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "next_cursor"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Query validation failed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid key transport or missing meet context. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, invalid, revoked or expired key. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Project, subscription, scope or meet access denied. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found or not visible. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Method not allowed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited; wait for Retry-After seconds. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Unexpected server error. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Partner API disabled. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/partner\/v1\/athletes\/{athlete}": {
            "get": {
                "operationId": "partner.v1.athletes.show",
                "tags": [
                    "Athlete"
                ],
                "parameters": [
                    {
                        "name": "athlete",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "meet",
                        "in": "query",
                        "description": "Meet ID or slug; required for locked keys. Athlete must be on a non-scratched start list.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`AthleteResource`",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#\/components\/schemas\/AthleteResource"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found or not visible. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid key transport or missing meet context. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, invalid, revoked or expired key. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Project, subscription, scope or meet access denied. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Method not allowed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Query validation failed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited; wait for Retry-After seconds. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Unexpected server error. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Partner API disabled. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/partner\/v1\/athletes\/{athlete}\/stats": {
            "get": {
                "operationId": "partner.v1.athletes.stats",
                "description": "Locked keys require meet context and start-list membership. Aggregates span visible meets;\nonly meet_rank is limited to the context. avg_dd excludes routines known to be interrupted.\nhit_rate = complete routines \u00f7 routines with known completeness (Local interruption mark, else ProScore\nper-judge skill deductions); HUGS excluded; value null below 5 routines.",
                "summary": "Read calendar-year aggregate stats for an athlete",
                "tags": [
                    "AthleteStats"
                ],
                "parameters": [
                    {
                        "name": "athlete",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "event",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "TI",
                                "DM",
                                "TU",
                                "TS"
                            ]
                        }
                    },
                    {
                        "name": "season",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1900,
                            "maximum": 9999
                        }
                    },
                    {
                        "name": "level",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 50
                        }
                    },
                    {
                        "name": "meet",
                        "in": "query",
                        "description": "Meet ID or slug; required for locked keys. Athlete must be on a non-scratched start list.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "properties": {
                                                "season": {
                                                    "type": "integer"
                                                },
                                                "event": {
                                                    "type": "string",
                                                    "enum": [
                                                        "TI",
                                                        "DM",
                                                        "TU",
                                                        "TS"
                                                    ]
                                                },
                                                "personal_best": {
                                                    "type": [
                                                        "object",
                                                        "null"
                                                    ],
                                                    "properties": {
                                                        "score": {
                                                            "type": "string"
                                                        },
                                                        "meet_id": {
                                                            "type": "integer"
                                                        },
                                                        "achieved_at": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "score",
                                                        "meet_id",
                                                        "achieved_at"
                                                    ]
                                                },
                                                "season_best": {
                                                    "type": [
                                                        "object",
                                                        "null"
                                                    ],
                                                    "properties": {
                                                        "score": {
                                                            "type": "string"
                                                        },
                                                        "meet_id": {
                                                            "type": "integer"
                                                        },
                                                        "result_id": {
                                                            "type": "integer"
                                                        }
                                                    },
                                                    "required": [
                                                        "score",
                                                        "meet_id",
                                                        "result_id"
                                                    ]
                                                },
                                                "avg_dd": {
                                                    "type": "object",
                                                    "properties": {
                                                        "value": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "n": {
                                                            "type": "integer"
                                                        },
                                                        "excludes": {
                                                            "type": "array",
                                                            "items": {
                                                                "type": "string"
                                                            }
                                                        }
                                                    },
                                                    "required": [
                                                        "value",
                                                        "n",
                                                        "excludes"
                                                    ]
                                                },
                                                "meet_rank": {
                                                    "type": [
                                                        "object",
                                                        "null"
                                                    ],
                                                    "properties": {
                                                        "meet_id": {
                                                            "type": "integer"
                                                        },
                                                        "result_id": {
                                                            "type": "integer"
                                                        },
                                                        "round": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "placement": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "meet_id",
                                                        "result_id",
                                                        "round",
                                                        "placement"
                                                    ]
                                                },
                                                "national_rank": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "procedure_key": {
                                                                "type": "string"
                                                            },
                                                            "procedure_name": {
                                                                "type": "string"
                                                            },
                                                            "division_key": {
                                                                "type": "string"
                                                            },
                                                            "rank": {
                                                                "type": [
                                                                    "integer",
                                                                    "null"
                                                                ]
                                                            }
                                                        },
                                                        "required": [
                                                            "procedure_key",
                                                            "procedure_name",
                                                            "division_key",
                                                            "rank"
                                                        ]
                                                    }
                                                },
                                                "hit_rate": {
                                                    "type": "object",
                                                    "properties": {
                                                        "value": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "n": {
                                                            "type": "integer"
                                                        },
                                                        "since": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "method": {
                                                            "type": "string",
                                                            "const": "skills_completed"
                                                        },
                                                        "excludes": {
                                                            "type": "array",
                                                            "items": {
                                                                "type": "string"
                                                            }
                                                        }
                                                    },
                                                    "required": [
                                                        "value",
                                                        "n",
                                                        "since",
                                                        "method",
                                                        "excludes"
                                                    ]
                                                },
                                                "unsupported": {
                                                    "type": "string",
                                                    "const": "synchro_has_no_personal_bests"
                                                }
                                            },
                                            "required": [
                                                "season",
                                                "event",
                                                "personal_best",
                                                "season_best",
                                                "avg_dd",
                                                "meet_rank",
                                                "national_rank",
                                                "hit_rate"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Query validation failed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found or not visible. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid key transport or missing meet context. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, invalid, revoked or expired key. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Project, subscription, scope or meet access denied. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Method not allowed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited; wait for Retry-After seconds. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Unexpected server error. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Partner API disabled. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/partner\/v1\/sessions\/{session}\/flights": {
            "get": {
                "operationId": "partner.v1.sessions.flights",
                "summary": "List flights in a visible, allowed session",
                "tags": [
                    "Flight"
                ],
                "parameters": [
                    {
                        "name": "session",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "Page size, from 1 to 100.",
                        "schema": {
                            "type": "integer",
                            "default": 25
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "description": "Opaque meta.next_cursor from the preceding page.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#\/components\/schemas\/FlightResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "next_cursor": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "next_cursor"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found or not visible. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid key transport or missing meet context. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, invalid, revoked or expired key. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Project, subscription, scope or meet access denied. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Method not allowed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Query validation failed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited; wait for Retry-After seconds. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Unexpected server error. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Partner API disabled. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/partner\/v1\/flights\/{flight}\/standings": {
            "get": {
                "operationId": "partner.v1.flights.standings",
                "summary": "Read standings for this flight and its round",
                "tags": [
                    "FlightStandings"
                ],
                "parameters": [
                    {
                        "name": "flight",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "Page size, from 1 to 100.",
                        "schema": {
                            "type": "integer",
                            "default": 25
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "description": "Opaque meta.next_cursor from the preceding page.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#\/components\/schemas\/StandingResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "next_cursor": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "next_cursor"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found or not visible. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid key transport or missing meet context. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, invalid, revoked or expired key. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Project, subscription, scope or meet access denied. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Method not allowed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Query validation failed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited; wait for Retry-After seconds. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Unexpected server error. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Partner API disabled. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/partner\/v1\/flights\/{flight}\/start-list": {
            "get": {
                "operationId": "partner.v1.flights.start-list",
                "summary": "List non-scratched entries in flight order",
                "tags": [
                    "FlightStartList"
                ],
                "parameters": [
                    {
                        "name": "flight",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "Page size, from 1 to 100.",
                        "schema": {
                            "type": "integer",
                            "default": 25
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "description": "Opaque meta.next_cursor from the preceding page.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#\/components\/schemas\/StartListEntryResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "next_cursor": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "next_cursor"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found or not visible. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid key transport or missing meet context. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, invalid, revoked or expired key. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Project, subscription, scope or meet access denied. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Method not allowed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Query validation failed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited; wait for Retry-After seconds. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Unexpected server error. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Partner API disabled. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/partner\/v1\/flights\/{flight}\/state": {
            "get": {
                "operationId": "partner.v1.flights.state",
                "description": "Requires results:read. Walks unscratched entries pass-first within each\nround and station. A station with a fresh scoring-desk panel pointer (Local-scored\nmeets) reports source live_pointer: now is the athlete the panel is on. Otherwise\nsource is derived and now means the first unscored slot, not confirmation that an\nathlete is on the apparatus. Empty flights are scheduled.",
                "summary": "Read flight state for a visible, allowed meet",
                "tags": [
                    "FlightState"
                ],
                "parameters": [
                    {
                        "name": "flight",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "properties": {
                                                "flight_id": {
                                                    "type": "integer"
                                                },
                                                "status": {
                                                    "type": "string",
                                                    "enum": [
                                                        "scheduled",
                                                        "in_progress",
                                                        "completed"
                                                    ]
                                                },
                                                "source": {
                                                    "type": "string",
                                                    "enum": [
                                                        "live_pointer",
                                                        "derived"
                                                    ]
                                                },
                                                "stations": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "station_key": {
                                                                "type": [
                                                                    "string",
                                                                    "null"
                                                                ]
                                                            },
                                                            "source": {
                                                                "type": "string",
                                                                "enum": [
                                                                    "live_pointer",
                                                                    "derived"
                                                                ]
                                                            },
                                                            "now": {
                                                                "type": [
                                                                    "object",
                                                                    "null"
                                                                ],
                                                                "properties": {
                                                                    "start_list_id": {
                                                                        "type": "integer"
                                                                    },
                                                                    "athlete": {
                                                                        "type": [
                                                                            "object",
                                                                            "null"
                                                                        ],
                                                                        "properties": {
                                                                            "id": {
                                                                                "type": "integer"
                                                                            },
                                                                            "first_name": {
                                                                                "type": [
                                                                                    "string",
                                                                                    "null"
                                                                                ]
                                                                            },
                                                                            "last_name": {
                                                                                "type": [
                                                                                    "string",
                                                                                    "null"
                                                                                ]
                                                                            },
                                                                            "name": {
                                                                                "type": "string"
                                                                            },
                                                                            "gender": {
                                                                                "type": [
                                                                                    "string",
                                                                                    "null"
                                                                                ]
                                                                            },
                                                                            "club": {
                                                                                "anyOf": [
                                                                                    {
                                                                                        "$ref": "#\/components\/schemas\/ClubResource"
                                                                                    },
                                                                                    {
                                                                                        "type": "null"
                                                                                    }
                                                                                ]
                                                                            },
                                                                            "levels": {
                                                                                "type": "object",
                                                                                "properties": {
                                                                                    "tra": {
                                                                                        "type": [
                                                                                            "string",
                                                                                            "null"
                                                                                        ]
                                                                                    },
                                                                                    "dmt": {
                                                                                        "type": [
                                                                                            "string",
                                                                                            "null"
                                                                                        ]
                                                                                    },
                                                                                    "tum": {
                                                                                        "type": [
                                                                                            "string",
                                                                                            "null"
                                                                                        ]
                                                                                    }
                                                                                },
                                                                                "required": [
                                                                                    "tra",
                                                                                    "dmt",
                                                                                    "tum"
                                                                                ]
                                                                            },
                                                                            "age_group": {
                                                                                "type": [
                                                                                    "string",
                                                                                    "null"
                                                                                ]
                                                                            },
                                                                            "national_team": {
                                                                                "type": "object",
                                                                                "properties": {
                                                                                    "tra": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "dmt": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "tum": {
                                                                                        "type": "string"
                                                                                    }
                                                                                },
                                                                                "required": [
                                                                                    "tra",
                                                                                    "dmt",
                                                                                    "tum"
                                                                                ]
                                                                            }
                                                                        },
                                                                        "required": [
                                                                            "id",
                                                                            "first_name",
                                                                            "last_name",
                                                                            "name",
                                                                            "gender",
                                                                            "club",
                                                                            "levels",
                                                                            "age_group",
                                                                            "national_team"
                                                                        ]
                                                                    },
                                                                    "athlete_2": {
                                                                        "type": [
                                                                            "object",
                                                                            "null"
                                                                        ],
                                                                        "properties": {
                                                                            "id": {
                                                                                "type": "integer"
                                                                            },
                                                                            "first_name": {
                                                                                "type": [
                                                                                    "string",
                                                                                    "null"
                                                                                ]
                                                                            },
                                                                            "last_name": {
                                                                                "type": [
                                                                                    "string",
                                                                                    "null"
                                                                                ]
                                                                            },
                                                                            "name": {
                                                                                "type": "string"
                                                                            },
                                                                            "gender": {
                                                                                "type": [
                                                                                    "string",
                                                                                    "null"
                                                                                ]
                                                                            },
                                                                            "club": {
                                                                                "anyOf": [
                                                                                    {
                                                                                        "$ref": "#\/components\/schemas\/ClubResource"
                                                                                    },
                                                                                    {
                                                                                        "type": "null"
                                                                                    }
                                                                                ]
                                                                            },
                                                                            "levels": {
                                                                                "type": "object",
                                                                                "properties": {
                                                                                    "tra": {
                                                                                        "type": [
                                                                                            "string",
                                                                                            "null"
                                                                                        ]
                                                                                    },
                                                                                    "dmt": {
                                                                                        "type": [
                                                                                            "string",
                                                                                            "null"
                                                                                        ]
                                                                                    },
                                                                                    "tum": {
                                                                                        "type": [
                                                                                            "string",
                                                                                            "null"
                                                                                        ]
                                                                                    }
                                                                                },
                                                                                "required": [
                                                                                    "tra",
                                                                                    "dmt",
                                                                                    "tum"
                                                                                ]
                                                                            },
                                                                            "age_group": {
                                                                                "type": [
                                                                                    "string",
                                                                                    "null"
                                                                                ]
                                                                            },
                                                                            "national_team": {
                                                                                "type": "object",
                                                                                "properties": {
                                                                                    "tra": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "dmt": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "tum": {
                                                                                        "type": "string"
                                                                                    }
                                                                                },
                                                                                "required": [
                                                                                    "tra",
                                                                                    "dmt",
                                                                                    "tum"
                                                                                ]
                                                                            }
                                                                        },
                                                                        "required": [
                                                                            "id",
                                                                            "first_name",
                                                                            "last_name",
                                                                            "name",
                                                                            "gender",
                                                                            "club",
                                                                            "levels",
                                                                            "age_group",
                                                                            "national_team"
                                                                        ]
                                                                    },
                                                                    "routine_num": {
                                                                        "type": "integer"
                                                                    },
                                                                    "round": {
                                                                        "type": "string"
                                                                    }
                                                                },
                                                                "required": [
                                                                    "start_list_id",
                                                                    "athlete",
                                                                    "athlete_2",
                                                                    "routine_num",
                                                                    "round"
                                                                ]
                                                            },
                                                            "up_next": {
                                                                "type": "array",
                                                                "items": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "start_list_id": {
                                                                            "type": "integer"
                                                                        },
                                                                        "routine_num": {
                                                                            "type": "integer"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "start_list_id",
                                                                        "routine_num"
                                                                    ]
                                                                }
                                                            },
                                                            "last_posted": {
                                                                "type": [
                                                                    "object",
                                                                    "null"
                                                                ],
                                                                "properties": {
                                                                    "start_list_id": {
                                                                        "type": "integer"
                                                                    },
                                                                    "routine_num": {
                                                                        "type": "integer"
                                                                    },
                                                                    "score": {
                                                                        "type": [
                                                                            "string",
                                                                            "null"
                                                                        ]
                                                                    },
                                                                    "posted_at": {
                                                                        "type": "string"
                                                                    }
                                                                },
                                                                "required": [
                                                                    "start_list_id",
                                                                    "routine_num",
                                                                    "score",
                                                                    "posted_at"
                                                                ]
                                                            }
                                                        },
                                                        "required": [
                                                            "station_key",
                                                            "source",
                                                            "now",
                                                            "up_next",
                                                            "last_posted"
                                                        ]
                                                    }
                                                },
                                                "as_of": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "flight_id",
                                                "status",
                                                "source",
                                                "stations",
                                                "as_of"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found or not visible. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid key transport or missing meet context. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, invalid, revoked or expired key. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Project, subscription, scope or meet access denied. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Method not allowed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Query validation failed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited; wait for Retry-After seconds. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Unexpected server error. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Partner API disabled. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/partner\/v1\/live\/auth": {
            "post": {
                "operationId": "partner.v1.live.auth",
                "description": "Requires live:subscribe and results:read. Submit socket_id and channel_name as form fields.\nOnly presence-partner.meet.{id} channels for visible, allowed meets are accepted.\nA full per-key socket cap returns 429 socket_limit. Presence IDs are opaque\nper socket; member events may be ignored. Revocation, suspension and lapsed\nsubscription close existing sockets. Use a publishable key in browsers.",
                "summary": "Authorize a partner presence subscription for a visible, allowed meet",
                "tags": [
                    "LiveAuth"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "socket_id": {
                                        "type": "string",
                                        "pattern": "^[0-9]+\\.[0-9]+$",
                                        "maxLength": 100
                                    },
                                    "channel_name": {
                                        "type": "string",
                                        "pattern": "^presence-partner\\.meet\\.[1-9][0-9]*$",
                                        "maxLength": 200
                                    }
                                },
                                "required": [
                                    "socket_id",
                                    "channel_name"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "auth": {
                                            "type": "string"
                                        },
                                        "channel_data": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "auth",
                                        "channel_data"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Query validation failed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid key transport or missing meet context. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, invalid, revoked or expired key. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Project, subscription, scope or meet access denied. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found or not visible. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Method not allowed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited; wait for Retry-After seconds. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Unexpected server error. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Partner API disabled. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/partner\/v1\/meets": {
            "get": {
                "operationId": "partner.v1.meets.index",
                "summary": "List visible meets",
                "tags": [
                    "Meet"
                ],
                "parameters": [
                    {
                        "name": "search",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 255
                        }
                    },
                    {
                        "name": "from",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        }
                    },
                    {
                        "name": "to",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        }
                    },
                    {
                        "name": "type",
                        "in": "query",
                        "schema": {
                            "$ref": "#\/components\/schemas\/MeetClassification"
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "Page size, from 1 to 100.",
                        "schema": {
                            "type": "integer",
                            "default": 25
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "description": "Opaque meta.next_cursor from the preceding page.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#\/components\/schemas\/MeetResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "next_cursor": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "next_cursor"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Query validation failed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid key transport or missing meet context. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, invalid, revoked or expired key. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Project, subscription, scope or meet access denied. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found or not visible. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Method not allowed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited; wait for Retry-After seconds. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Unexpected server error. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Partner API disabled. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/partner\/v1\/meets\/{meet}": {
            "get": {
                "operationId": "partner.v1.meets.show",
                "tags": [
                    "Meet"
                ],
                "parameters": [
                    {
                        "name": "meet",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`MeetResource`",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#\/components\/schemas\/MeetResource"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid key transport or missing meet context. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, invalid, revoked or expired key. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Project, subscription, scope or meet access denied. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found or not visible. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Method not allowed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Query validation failed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited; wait for Retry-After seconds. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Unexpected server error. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Partner API disabled. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/partner\/v1\/meets\/{meet}\/changes": {
            "get": {
                "operationId": "partner.v1.meets.changes",
                "description": "Requires results:read. Delivery is at least once; deduplicate on seq.\nSequences are global and may have gaps for this meet. Follow next_since\nuntil null, then retain latest_seq for the next poll.",
                "summary": "Read ordered changes for a visible, allowed meet",
                "tags": [
                    "MeetChanges"
                ],
                "parameters": [
                    {
                        "name": "meet",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "since",
                        "in": "query",
                        "description": "Last processed global sequence, non-negative. A cursor below the meet pruning watermark returns 410 cursor_expired; reload the snapshot.",
                        "schema": {
                            "type": "integer",
                            "default": 0
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "Page size, from 1 to 500.",
                        "schema": {
                            "type": "integer",
                            "default": 100
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#\/components\/schemas\/ChangeResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "next_since": {
                                                    "type": [
                                                        "integer",
                                                        "null"
                                                    ]
                                                },
                                                "latest_seq": {
                                                    "type": "integer"
                                                }
                                            },
                                            "required": [
                                                "next_since",
                                                "latest_seq"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Query validation failed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "410": {
                        "description": "cursor_expired: reload the snapshot before polling again.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string"
                                                },
                                                "message": {
                                                    "type": "string"
                                                },
                                                "docs_url": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "docs_url"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid key transport or missing meet context. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, invalid, revoked or expired key. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Project, subscription, scope or meet access denied. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found or not visible. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Method not allowed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited; wait for Retry-After seconds. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Unexpected server error. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Partner API disabled. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/partner\/v1\/meets\/{meet}\/scores": {
            "get": {
                "operationId": "partner.v1.meets.scores",
                "summary": "Read routine scores in a visible, allowed meet",
                "tags": [
                    "MeetScores"
                ],
                "parameters": [
                    {
                        "name": "meet",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "flight",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "Page size, from 1 to 100.",
                        "schema": {
                            "type": "integer",
                            "default": 25
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "description": "Opaque meta.next_cursor from the preceding page.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#\/components\/schemas\/ScoreResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "next_cursor": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "next_cursor"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Query validation failed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found or not visible. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid key transport or missing meet context. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, invalid, revoked or expired key. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Project, subscription, scope or meet access denied. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Method not allowed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited; wait for Retry-After seconds. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Unexpected server error. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Partner API disabled. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/partner\/v1\/ping": {
            "get": {
                "operationId": "partner.v1.ping",
                "summary": "Inspect the current key and project. No resource scope required",
                "tags": [
                    "Ping"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "properties": {
                                                "project": {
                                                    "type": "string"
                                                },
                                                "key_type": {
                                                    "type": "string",
                                                    "enum": [
                                                        "secret",
                                                        "publishable"
                                                    ]
                                                },
                                                "scopes": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                },
                                                "meet_ids": {
                                                    "type": [
                                                        "array",
                                                        "null"
                                                    ],
                                                    "items": {
                                                        "type": "integer"
                                                    }
                                                }
                                            },
                                            "required": [
                                                "project",
                                                "key_type",
                                                "scopes",
                                                "meet_ids"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid key transport or missing meet context. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, invalid, revoked or expired key. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Project, subscription, scope or meet access denied. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found or not visible. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Method not allowed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Query validation failed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited; wait for Retry-After seconds. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Unexpected server error. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Partner API disabled. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/partner\/v1\/meets\/{meet}\/sessions": {
            "get": {
                "operationId": "partner.v1.meets.sessions",
                "summary": "List sessions in a visible, allowed meet",
                "tags": [
                    "Session"
                ],
                "parameters": [
                    {
                        "name": "meet",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "Page size, from 1 to 100.",
                        "schema": {
                            "type": "integer",
                            "default": 25
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "description": "Opaque meta.next_cursor from the preceding page.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#\/components\/schemas\/SessionResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "next_cursor": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "next_cursor"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid key transport or missing meet context. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing, invalid, revoked or expired key. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Project, subscription, scope or meet access denied. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found or not visible. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "Method not allowed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Query validation failed. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited; wait for Retry-After seconds. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Unexpected server error. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Partner API disabled. See \/developers\/partner-api\/errors.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/PartnerError"
                                }
                            }
                        }
                    }
                }
            }
        }
    },
    "components": {
        "securitySchemes": {
            "http": {
                "type": "http",
                "scheme": "bearer"
            }
        },
        "schemas": {
            "AthleteResource": {
                "anyOf": [
                    {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "integer"
                            },
                            "first_name": {
                                "type": "string"
                            },
                            "last_name": {
                                "type": "string"
                            },
                            "name": {
                                "type": "string"
                            },
                            "gender": {
                                "type": "string"
                            },
                            "club": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "id": {
                                        "type": "integer"
                                    },
                                    "name": {
                                        "type": "string"
                                    },
                                    "official_name": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "country": {
                                        "type": [
                                            "object",
                                            "null"
                                        ],
                                        "properties": {
                                            "code": {
                                                "type": "string"
                                            },
                                            "name": {
                                                "type": "string"
                                            }
                                        },
                                        "required": [
                                            "code",
                                            "name"
                                        ]
                                    },
                                    "logo_url": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "id",
                                    "name",
                                    "official_name",
                                    "country",
                                    "logo_url"
                                ]
                            },
                            "levels": {
                                "type": "string"
                            },
                            "age_group": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "national_team": {
                                "type": "string"
                            },
                            "photo_url": {
                                "type": "string"
                            },
                            "bio": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "hometown": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "current_residence": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "age": {
                                "type": [
                                    "integer",
                                    "null"
                                ]
                            },
                            "competition_age": {
                                "type": [
                                    "integer",
                                    "null"
                                ]
                            },
                            "socials": {
                                "type": "object",
                                "properties": {
                                    "instagram": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "facebook": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "tiktok": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "twitter": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "instagram",
                                    "facebook",
                                    "tiktok",
                                    "twitter"
                                ]
                            }
                        },
                        "required": [
                            "id",
                            "first_name",
                            "last_name",
                            "name",
                            "gender",
                            "club",
                            "levels",
                            "age_group",
                            "national_team",
                            "photo_url",
                            "bio",
                            "hometown",
                            "current_residence",
                            "age",
                            "competition_age",
                            "socials"
                        ]
                    },
                    {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "integer"
                            },
                            "first_name": {
                                "type": "string"
                            },
                            "last_name": {
                                "type": "string"
                            },
                            "name": {
                                "type": "string"
                            },
                            "gender": {
                                "type": "string"
                            },
                            "club": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "id": {
                                        "type": "integer"
                                    },
                                    "name": {
                                        "type": "string"
                                    },
                                    "official_name": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "country": {
                                        "type": [
                                            "object",
                                            "null"
                                        ],
                                        "properties": {
                                            "code": {
                                                "type": "string"
                                            },
                                            "name": {
                                                "type": "string"
                                            }
                                        },
                                        "required": [
                                            "code",
                                            "name"
                                        ]
                                    },
                                    "logo_url": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "id",
                                    "name",
                                    "official_name",
                                    "country",
                                    "logo_url"
                                ]
                            },
                            "levels": {
                                "type": "string"
                            },
                            "age_group": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "national_team": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "id",
                            "first_name",
                            "last_name",
                            "name",
                            "gender",
                            "club",
                            "levels",
                            "age_group",
                            "national_team"
                        ]
                    }
                ],
                "title": "AthleteResource"
            },
            "ChangeResource": {
                "type": "object",
                "properties": {
                    "seq": {
                        "type": "integer"
                    },
                    "entity": {
                        "type": "string"
                    },
                    "op": {
                        "type": "string"
                    },
                    "start_list_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "event": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "round": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "routine_num": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "flight_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "payload": {
                        "type": [
                            "array",
                            "null"
                        ],
                        "items": {}
                    },
                    "created_at": {
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                },
                "required": [
                    "seq",
                    "entity",
                    "op",
                    "start_list_id",
                    "event",
                    "round",
                    "routine_num",
                    "flight_id",
                    "payload",
                    "created_at"
                ],
                "title": "ChangeResource"
            },
            "ClubResource": {
                "type": [
                    "object",
                    "null"
                ],
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    },
                    "official_name": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "country": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "code": {
                                "type": "string"
                            },
                            "name": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "code",
                            "name"
                        ]
                    },
                    "logo_url": {
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                },
                "required": [
                    "id",
                    "name",
                    "official_name",
                    "country",
                    "logo_url"
                ],
                "title": "ClubResource"
            },
            "FlightResource": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "session_id": {
                        "type": "integer"
                    },
                    "round": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "title": {
                        "type": "string"
                    },
                    "event": {
                        "type": "string"
                    },
                    "order": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "starts_at": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "ends_at": {
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                },
                "required": [
                    "id",
                    "session_id",
                    "round",
                    "title",
                    "event",
                    "order",
                    "starts_at",
                    "ends_at"
                ],
                "title": "FlightResource"
            },
            "MeetClassification": {
                "type": "string",
                "description": "Backs the existing `meets.type` enum column (enum('local','exhibition','state','regional','premier'), default 'local'). Values MUST match the DB enum exactly. \"International\" is intentionally not a type \u2014 it is the separate `is_international` flag (a meet can be premier AND international, e.g. a World Cup).\n",
                "enum": [
                    "local",
                    "exhibition",
                    "state",
                    "regional",
                    "premier"
                ],
                "title": "MeetClassification"
            },
            "MeetResource": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "title": {
                        "type": "string"
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "local",
                            "exhibition",
                            "state",
                            "regional",
                            "premier"
                        ]
                    },
                    "is_international": {
                        "type": "boolean"
                    },
                    "starts_on": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "ends_on": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "location": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "venue": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "logo_url": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "\/images\/logo-dark.png",
                            null
                        ]
                    },
                    "status": {
                        "type": "string",
                        "enum": [
                            "canceled",
                            "completed",
                            "live",
                            "upcoming"
                        ]
                    }
                },
                "required": [
                    "id",
                    "title",
                    "type",
                    "is_international",
                    "starts_on",
                    "ends_on",
                    "location",
                    "venue",
                    "logo_url",
                    "status"
                ],
                "title": "MeetResource"
            },
            "PartnerError": {
                "type": "object",
                "properties": {
                    "error": {
                        "type": "object",
                        "properties": {
                            "code": {
                                "type": "string"
                            },
                            "message": {
                                "type": "string"
                            },
                            "docs_url": {
                                "type": "string"
                            },
                            "fields": {
                                "type": "object",
                                "additionalProperties": {
                                    "type": "array",
                                    "items": {
                                        "type": "string"
                                    }
                                }
                            }
                        },
                        "required": [
                            "code",
                            "message",
                            "docs_url"
                        ]
                    }
                },
                "required": [
                    "error"
                ],
                "title": "PartnerError"
            },
            "ScoreResource": {
                "type": "object",
                "properties": {
                    "start_list_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "event": {
                        "type": "string",
                        "enum": [
                            "TI",
                            "DM",
                            "TU",
                            "TS"
                        ]
                    },
                    "round": {
                        "type": "string"
                    },
                    "routine_num": {
                        "type": "integer"
                    },
                    "e1": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "e2": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "e3": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "e4": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "execution": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "dd": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "tof": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "hd": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "hd1": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "hd2": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "sync1": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "sync2": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "sync": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "nd": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "total": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "updated_at": {
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                },
                "required": [
                    "start_list_id",
                    "event",
                    "round",
                    "routine_num",
                    "e1",
                    "e2",
                    "e3",
                    "execution",
                    "dd",
                    "nd",
                    "total",
                    "updated_at"
                ],
                "title": "ScoreResource"
            },
            "SessionResource": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "meet_id": {
                        "type": "integer"
                    },
                    "title": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "order": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "starts_at": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "ends_at": {
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                },
                "required": [
                    "id",
                    "meet_id",
                    "title",
                    "order",
                    "starts_at",
                    "ends_at"
                ],
                "title": "SessionResource"
            },
            "StandingResource": {
                "type": "object",
                "properties": {
                    "rank": {
                        "type": [
                            "string",
                            "integer",
                            "null"
                        ]
                    },
                    "athlete": {
                        "anyOf": [
                            {
                                "$ref": "#\/components\/schemas\/AthleteResource"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "athlete_2": {
                        "anyOf": [
                            {
                                "$ref": "#\/components\/schemas\/AthleteResource"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "club": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "id": {
                                "type": "integer"
                            },
                            "name": {
                                "type": "string"
                            },
                            "official_name": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "country": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "code": {
                                        "type": "string"
                                    },
                                    "name": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "code",
                                    "name"
                                ]
                            },
                            "logo_url": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            }
                        },
                        "required": [
                            "id",
                            "name",
                            "official_name",
                            "country",
                            "logo_url"
                        ]
                    },
                    "total": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "round_totals": {
                        "type": "string"
                    }
                },
                "required": [
                    "rank",
                    "athlete",
                    "athlete_2",
                    "club",
                    "total",
                    "round_totals"
                ],
                "title": "StandingResource"
            },
            "StartListEntryResource": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "flight_id": {
                        "type": "integer"
                    },
                    "order": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "level": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "round": {
                        "type": "string"
                    },
                    "event": {
                        "type": "string"
                    },
                    "routines_to_complete": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "station_label": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "athlete": {
                        "anyOf": [
                            {
                                "$ref": "#\/components\/schemas\/AthleteResource"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "athlete_2": {
                        "anyOf": [
                            {
                                "$ref": "#\/components\/schemas\/AthleteResource"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "club": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "id": {
                                "type": "integer"
                            },
                            "name": {
                                "type": "string"
                            },
                            "official_name": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "country": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "code": {
                                        "type": "string"
                                    },
                                    "name": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "code",
                                    "name"
                                ]
                            },
                            "logo_url": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            }
                        },
                        "required": [
                            "id",
                            "name",
                            "official_name",
                            "country",
                            "logo_url"
                        ]
                    },
                    "club_2": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "id": {
                                "type": "integer"
                            },
                            "name": {
                                "type": "string"
                            },
                            "official_name": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "country": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "code": {
                                        "type": "string"
                                    },
                                    "name": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "code",
                                    "name"
                                ]
                            },
                            "logo_url": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            }
                        },
                        "required": [
                            "id",
                            "name",
                            "official_name",
                            "country",
                            "logo_url"
                        ]
                    }
                },
                "required": [
                    "id",
                    "flight_id",
                    "order",
                    "level",
                    "round",
                    "event",
                    "routines_to_complete",
                    "station_label",
                    "athlete",
                    "athlete_2",
                    "club",
                    "club_2"
                ],
                "title": "StartListEntryResource"
            }
        },
        "responses": {
            "ValidationException": {
                "description": "Validation error",
                "content": {
                    "application\/json": {
                        "schema": {
                            "type": "object",
                            "properties": {
                                "message": {
                                    "type": "string",
                                    "description": "Errors overview."
                                },
                                "errors": {
                                    "type": "object",
                                    "description": "A detailed description of each field that failed validation.",
                                    "additionalProperties": {
                                        "type": "array",
                                        "items": {
                                            "type": "string"
                                        }
                                    }
                                }
                            },
                            "required": [
                                "message",
                                "errors"
                            ]
                        }
                    }
                }
            },
            "ModelNotFoundException": {
                "description": "Not found",
                "content": {
                    "application\/json": {
                        "schema": {
                            "type": "object",
                            "properties": {
                                "message": {
                                    "type": "string",
                                    "description": "Error overview."
                                }
                            },
                            "required": [
                                "message"
                            ]
                        }
                    }
                }
            }
        }
    }
}