CompTeam Competitions API

The Competitions API from CompTeam — 22 operation(s) for competitions.

GitHub OpenAPI

Operations 26

GET /api/v1/competitions/ List Competitions #
POST /api/v1/competitions/ Create Competition #
GET /api/v1/competitions/global-events List Global Smoothcomp Events #
POST /api/v1/competitions/from-global-event/{global_event_id} Create Competition From Global Event #
GET /api/v1/competitions/leaderboard List Competitions Leaderboard #
GET /api/v1/competitions/{competition_id}/photos List Competition Photos #
POST /api/v1/competitions/{competition_id}/photos Upload Competition Photo #
GET /api/v1/competitions/{competition_id}/photos/{photo_id}/download Download Competition Photo #
DELETE /api/v1/competitions/{competition_id}/photos/{photo_id} Delete Competition Photo #
GET /api/v1/competitions/{competition_id}/photo-athletes List Competition Photo Athletes #
PATCH /api/v1/competitions/{competition_id} Update Competition #
GET /api/v1/competitions/{competition_id} Get Competition #
POST /api/v1/competitions/entries Register Entry #
POST /api/v1/competitions/entries/on-behalf Register Entry On Behalf #
POST /api/v1/competitions/entries/for-kid Register Entry For Managed Kid #
GET /api/v1/competitions/{competition_id}/my-entries List My Entries #
GET /api/v1/competitions/{competition_id}/participants List Competition Participants #
POST /api/v1/competitions/entries/{entry_id}/resend-consent-email Resend Consent Email #
DELETE /api/v1/competitions/entries/{entry_id} Cancel Entry #
GET /api/v1/competitions/{competition_id}/entries List Entries #
POST /api/v1/competitions/results Submit Result #
POST /api/v1/competitions/results/record Record Result #
GET /api/v1/competitions/me/results Get My Results #
GET /api/v1/competitions/athlete/{athlete_id}/results Get Athlete Results #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/compteam-io:compteam-io-competitions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

compteam-io-competitions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Compteam Io Competitions API
  version: 0.1.0
  description: 'Operations tagged Competitions across 2 of this provider''s published API definitions: compteam-io-openapi.json, compteam-io-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.compteam.io
  description: C-TEAM API host serving this spec and its Swagger UI at /docs
tags:
- name: Competitions
paths:
  /api/v1/competitions/:
    get:
      tags:
      - Competitions
      summary: List Competitions
      operationId: list_competitions_api_v1_competitions__get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
      - HTTPBearer: []
    post:
      tags:
      - Competitions
      summary: Create Competition
      operationId: create_competition_api_v1_competitions__post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompetitionCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      - HTTPBearer: []
  /api/v1/competitions/global-events:
    get:
      tags:
      - Competitions
      summary: List Global Smoothcomp Events
      operationId: list_global_smoothcomp_events_api_v1_competitions_global_events_get
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: country
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Country
      - name: q
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Q
      - name: from
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: From
      - name: to
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: To
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/competitions/from-global-event/{global_event_id}:
    post:
      tags:
      - Competitions
      summary: Create Competition From Global Event
      operationId: create_competition_from_global_event_api_v1_competitions_from_global_event__global_event_id__post
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: global_event_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Global Event Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/competitions/leaderboard:
    get:
      tags:
      - Competitions
      summary: List Competitions Leaderboard
      operationId: list_competitions_leaderboard_api_v1_competitions_leaderboard_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
      - HTTPBearer: []
  /api/v1/competitions/{competition_id}/photos:
    get:
      tags:
      - Competitions
      summary: List Competition Photos
      operationId: list_competition_photos_api_v1_competitions__competition_id__photos_get
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: competition_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Competition Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Competitions
      summary: Upload Competition Photo
      operationId: upload_competition_photo_api_v1_competitions__competition_id__photos_post
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: competition_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Competition Id
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_upload_competition_photo_api_v1_competitions__competition_id__photos_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/competitions/{competition_id}/photos/{photo_id}/download:
    get:
      tags:
      - Competitions
      summary: Download Competition Photo
      operationId: download_competition_photo_api_v1_competitions__competition_id__photos__photo_id__download_get
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: competition_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Competition Id
      - name: photo_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Photo Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/competitions/{competition_id}/photos/{photo_id}:
    delete:
      tags:
      - Competitions
      summary: Delete Competition Photo
      operationId: delete_competition_photo_api_v1_competitions__competition_id__photos__photo_id__delete
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: competition_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Competition Id
      - name: photo_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Photo Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/competitions/{competition_id}/photo-athletes:
    get:
      tags:
      - Competitions
      summary: List Competition Photo Athletes
      operationId: list_competition_photo_athletes_api_v1_competitions__competition_id__photo_athletes_get
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: competition_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Competition Id
      - name: q
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Q
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/competitions/{competition_id}/photos/{photo_id}/athletes/{athlete_id}:
    put:
      tags:
      - Competitions
      summary: Link Competition Photo Athlete
      operationId: link_competition_photo_athlete_api_v1_competitions__competition_id__photos__photo_id__athletes__athlete_id__put
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: competition_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Competition Id
      - name: photo_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Photo Id
      - name: athlete_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Athlete Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Competitions
      summary: Unlink Competition Photo Athlete
      operationId: unlink_competition_photo_athlete_api_v1_competitions__competition_id__photos__photo_id__athletes__athlete_id__delete
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: competition_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Competition Id
      - name: photo_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Photo Id
      - name: athlete_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Athlete Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/competitions/{competition_id}:
    patch:
      tags:
      - Competitions
      summary: Update Competition
      operationId: update_competition_api_v1_competitions__competition_id__patch
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: competition_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Competition Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompetitionUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - Competitions
      summary: Get Competition
      operationId: get_competition_api_v1_competitions__competition_id__get
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: competition_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Competition Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/competitions/entries:
    post:
      tags:
      - Competitions
      summary: Register Entry
      operationId: register_entry_api_v1_competitions_entries_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EntryCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      - HTTPBearer: []
  /api/v1/competitions/entries/on-behalf:
    post:
      tags:
      - Competitions
      summary: Register Entry On Behalf
      operationId: register_entry_on_behalf_api_v1_competitions_entries_on_behalf_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AdminEntryCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      - HTTPBearer: []
  /api/v1/competitions/entries/for-kid:
    post:
      tags:
      - Competitions
      summary: Register Entry For Managed Kid
      operationId: register_entry_for_managed_kid_api_v1_competitions_entries_for_kid_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ManagedKidEntryCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      - HTTPBearer: []
  /api/v1/competitions/{competition_id}/my-entries:
    get:
      tags:
      - Competitions
      summary: List My Entries
      operationId: list_my_entries_api_v1_competitions__competition_id__my_entries_get
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: competition_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Competition Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/competitions/{competition_id}/participants:
    get:
      tags:
      - Competitions
      summary: List Competition Participants
      operationId: list_competition_participants_api_v1_competitions__competition_id__participants_get
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: competition_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Competition Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/competitions/entries/{entry_id}/resend-consent-email:
    post:
      tags:
      - Competitions
      summary: Resend Consent Email
      operationId: resend_consent_email_api_v1_competitions_entries__entry_id__resend_consent_email_post
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: entry_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Entry Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/competitions/entries/{entry_id}:
    delete:
      tags:
      - Competitions
      summary: Cancel Entry
      operationId: cancel_entry_api_v1_competitions_entries__entry_id__delete
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: entry_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Entry Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/competitions/{competition_id}/entries:
    get:
      tags:
      - Competitions
      summary: List Entries
      operationId: list_entries_api_v1_competitions__competition_id__entries_get
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: competition_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Competition Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/competitions/results:
    post:
      tags:
      - Competitions
      summary: Submit Result
      operationId: submit_result_api_v1_competitions_results_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResultCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      - HTTPBearer: []
  /api/v1/competitions/results/record:
    post:
      tags:
      - Competitions
      summary: Record Result
      operationId: record_result_api_v1_competitions_results_record_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CoachResultUpsert'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      - HTTPBearer: []
  /api/v1/competitions/me/results:
    get:
      tags:
      - Competitions
      summary: Get My Results
      operationId: get_my_results_api_v1_competitions_me_results_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
      - HTTPBearer: []
  /api/v1/competitions/athlete/{athlete_id}/results:
    get:
      tags:
      - Competitions
      summary: Get Athlete Results
      operationId: get_athlete_results_api_v1_competitions_athlete__athlete_id__results_get
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: athlete_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Athlete Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    EntryCreate:
      properties:
        competition_id:
          type: string
          format: uuid
          title: Competition Id
        division:
          type: string
          title: Division
        weight_class:
          anyOf:
          - type: string
          - type: 'null'
          title: Weight Class
        ruleset:
          anyOf:
          - type: string
          - type: 'null'
          title: Ruleset
        notes:
          anyOf:
          - type: string
          - type: 'null'
          title: Notes
        belt:
          anyOf:
          - type: string
          - type: 'null'
          title: Belt
        weight_kg:
          anyOf:
          - type: number
          - type: 'null'
          title: Weight Kg
        gender:
          anyOf:
          - type: string
          - type: 'null'
          title: Gender
        age_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Age Type
        gi_nogi:
          anyOf:
          - type: string
          - type: 'null'
          title: Gi Nogi
      type: object
      required:
      - competition_id
      - division
      title: EntryCreate
    CompetitionUpdate:
      properties:
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        promoter:
          anyOf:
          - type: string
          - type: 'null'
          title: Promoter
        ruleset:
          anyOf:
          - type: string
          - type: 'null'
          title: Ruleset
        location:
          anyOf:
          - type: string
          - type: 'null'
          title: Location
        country:
          anyOf:
          - type: string
          - type: 'null'
          title: Country
        event_date:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Event Date
        registration_deadline:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Registration Deadline
        smoothcomp_event_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Smoothcomp Event Id
      type: object
      title: CompetitionUpdate
    CoachResultUpsert:
      properties:
        entry_id:
          type: string
          format: uuid
          title: Entry Id
        participated:
          type: boolean
          title: Participated
          default: true
        placement:
          type: string
          title: Placement
          default: no_placement
        wins:
          type: integer
          title: Wins
          default: 0
        losses:
          type: integer
          title: Losses
          default: 0
        win_methods:
          items:
            type: string
          type: array
          title: Win Methods
          default: []
        notes:
          anyOf:
          - type: string
          - type: 'null'
          title: Notes
      type: object
      required:
      - entry_id
      title: CoachResultUpsert
      description: A branch admin / coach recording a result for an entry.
    Body_upload_competition_photo_api_v1_competitions__competition_id__photos_post:
      properties:
        file:
          type: string
          format: binary
          title: File
      type: object
      required:
      - file
      title: Body_upload_competition_photo_api_v1_competitions__competition_id__photos_post
    ManagedKidEntryCreate:
      properties:
        competition_id:
          type: string
          format: uuid
          title: Competition Id
        division:
          type: string
          title: Division
        weight_class:
          anyOf:
          - type: string
          - type: 'null'
          title: Weight Class
        ruleset:
          anyOf:
          - type: string
          - type: 'null'
          title: Ruleset
        notes:
          anyOf:
          - type: string
          - type: 'null'
          title: Notes
        belt:
          anyOf:
          - type: string
          - type: 'null'
          title: Belt
        weight_kg:
          anyOf:
          - type: number
          - type: 'null'
          title: Weight Kg
        gender:
          anyOf:
          - type: string
          - type: 'null'
          title: Gender
        age_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Age Type
        gi_nogi:
          anyOf:
          - type: string
          - type: 'null'
          title: Gi Nogi
        kid_id:
          type: string
          format: uuid
          title: Kid Id
      type: object
      required:
      - competition_id
      - division
      - kid_id
      title: ManagedKidEntryCreate
    ResultCreate:
      properties:
        entry_id:
          type: string
          format: uuid
          title: Entry Id
        placement:
          type: string
          title: Placement
        division:
          type: string
          title: Division
        opponent_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Opponent Name
        win_method:
          anyOf:
          - type: string
          - type: 'null'
          title: Win Method
        submission_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Submission Name
        match_duration_seconds:
          anyOf:
          - type: integer
          - type: 'null'
          title: Match Duration Seconds
        wins:
          type: integer
          title: Wins
          default: 0
        losses:
          type: integer
          title: Losses
          default: 0
        notes:
          anyOf:
          - type: string
          - type: 'null'
          title: Notes
      type: object
      required:
      - entry_id
      - placement
      - division
      title: ResultCreate
    AdminEntryCreate:
      properties:
        competition_id:
          type: string
          format: uuid
          title: Competition Id
        division:
          type: string
          title: Division
        weight_class:
          anyOf:
          - type: string
          - type: 'null'
          title: Weight Class
        ruleset:
          anyOf:
          - type: string
          - type: 'null'
          title: Ruleset
        notes:
          anyOf:
          - type: string
          - type: 'null'
          title: Notes
        belt:
          anyOf:
          - type: string
          - type: 'null'
          title: Belt
        weight_kg:
          anyOf:
          - type: number
          - type: 'null'
          title: Weight Kg
        gender:
          anyOf:
          - type: string
          - type: 'null'
          title: Gender
        age_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Age Type
        gi_nogi:
          anyOf:
          - type: string
          - type: 'null'
          title: Gi Nogi
        athlete_id:
          type: string
          format: uuid
          title: Athlete Id
      type: object
      required:
      - competition_id
      - division
      - athlete_id
      title: AdminEntryCreate
    CompetitionCreate:
      properties:
        name:
          type: string
          title: Name
        promoter:
          anyOf:
          - type: string
          - type: 'null'
          title: Promoter
        ruleset:
          type: string
          title: Ruleset
        location:
          anyOf:
          - type: string
          - type: 'null'
          title: Location
        country:
          anyOf:
          - type: string
          - type: 'null'
          title: Country
        event_date:
          type: string
          format: date
          title: Event Date
        registration_deadline:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Registration Deadline
        smoothcomp_event_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Smoothcomp Event Id
      type: object
      required:
      - name
      - ruleset
      - event_date
      title: CompetitionCreate
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-refined-from:
- compteam-io-openapi.json
- compteam-io-openapi.yml