{
  "components": {
    "responses": {
      "BadRequest": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        },
        "description": "Bad request"
      },
      "NotFound": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        },
        "description": "Not found"
      }
    },
    "schemas": {
      "Activity": {
        "description": "A logged workout, typed in or uploaded from a watch (FIT, GPX, TCX) or timing system (CSV)",
        "properties": {
          "athlete_id": {
            "type": "integer"
          },
          "avg_cadence": {
            "maximum": 300,
            "minimum": 0,
            "type": "integer"
          },
          "avg_hr": {
            "maximum": 250,
            "minimum": 20,
            "type": "integer"
          },
          "calories": {
            "minimum": 0,
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "date": {
            "format": "date",
            "type": "string"
          },
          "device": {
            "maxLength": 120,
            "readOnly": true,
            "type": "string"
          },
          "distance_km": {
            "maximum": 2000,
            "minimum": 0,
            "type": "number"
          },
          "duration": {
            "description": "duration in seconds",
            "minimum": 0,
            "type": "integer"
          },
          "elevation_gain_m": {
            "minimum": 0,
            "type": "number"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "max_hr": {
            "maximum": 250,
            "minimum": 20,
            "type": "integer"
          },
          "moving_time": {
            "description": "duration in seconds",
            "minimum": 0,
            "type": "integer"
          },
          "notes": {
            "maxLength": 10000,
            "type": "string"
          },
          "perceived_effort": {
            "maximum": 10,
            "minimum": 1,
            "type": "integer"
          },
          "planned_workout_id": {
            "description": "Filled automatically when an upload matches your plan for that day",
            "type": "integer"
          },
          "source": {
            "default": "manual",
            "enum": [
              "manual",
              "fit",
              "gpx",
              "tcx",
              "csv"
            ],
            "readOnly": true,
            "type": "string"
          },
          "source_file": {
            "maxLength": 255,
            "readOnly": true,
            "type": "string"
          },
          "source_hash": {
            "maxLength": 64,
            "readOnly": true,
            "type": "string"
          },
          "sport": {
            "default": "run",
            "enum": [
              "run",
              "ride",
              "swim",
              "walk",
              "hike",
              "row",
              "ski",
              "strength",
              "calisthenics",
              "plyometric",
              "mobility",
              "other"
            ],
            "type": "string"
          },
          "start_time": {
            "format": "date-time",
            "type": "string"
          },
          "title": {
            "maxLength": 120,
            "type": "string"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "visibility": {
            "default": "private",
            "enum": [
              "public",
              "team",
              "private"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "ActivityInput": {
        "properties": {
          "avg_cadence": {
            "maximum": 300,
            "minimum": 0,
            "type": "integer"
          },
          "avg_hr": {
            "maximum": 250,
            "minimum": 20,
            "type": "integer"
          },
          "calories": {
            "minimum": 0,
            "type": "integer"
          },
          "date": {
            "format": "date",
            "type": "string"
          },
          "distance_km": {
            "maximum": 2000,
            "minimum": 0,
            "type": "number"
          },
          "duration": {
            "description": "duration in seconds",
            "minimum": 0,
            "type": "integer"
          },
          "elevation_gain_m": {
            "minimum": 0,
            "type": "number"
          },
          "max_hr": {
            "maximum": 250,
            "minimum": 20,
            "type": "integer"
          },
          "moving_time": {
            "description": "duration in seconds",
            "minimum": 0,
            "type": "integer"
          },
          "notes": {
            "maxLength": 10000,
            "type": "string"
          },
          "perceived_effort": {
            "maximum": 10,
            "minimum": 1,
            "type": "integer"
          },
          "planned_workout_id": {
            "description": "Filled automatically when an upload matches your plan for that day",
            "type": "integer"
          },
          "sport": {
            "default": "run",
            "enum": [
              "run",
              "ride",
              "swim",
              "walk",
              "hike",
              "row",
              "ski",
              "strength",
              "calisthenics",
              "plyometric",
              "mobility",
              "other"
            ],
            "type": "string"
          },
          "start_time": {
            "format": "date-time",
            "type": "string"
          },
          "title": {
            "maxLength": 120,
            "type": "string"
          },
          "visibility": {
            "default": "private",
            "enum": [
              "public",
              "team",
              "private"
            ],
            "type": "string"
          }
        },
        "required": [
          "date",
          "title"
        ],
        "type": "object"
      },
      "ActivityList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Activity"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "ActivitySource": {
        "description": "Where an activity came from: typed in, or uploaded from a watch or timing system",
        "enum": [
          "manual",
          "fit",
          "gpx",
          "tcx",
          "csv"
        ],
        "type": "string"
      },
      "AiStatus": {
        "enum": [
          "queued",
          "answered",
          "failed"
        ],
        "type": "string"
      },
      "Athlete": {
        "description": "A person using Athletics Together. Signing up creates one.",
        "properties": {
          "admin": {
            "default": false,
            "description": "Admins can read and change everything, and approve organizer accounts. Set by an admin",
            "type": "boolean"
          },
          "athlete": {
            "default": true,
            "description": "You train and race: teams can take you on as an athlete",
            "type": "boolean"
          },
          "bio": {
            "maxLength": 2000,
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "display_name": {
            "description": "Shown on your public activities and on event leaderboards. It can't include \"admin\"",
            "maxLength": 60,
            "type": "string"
          },
          "email": {
            "maxLength": 191,
            "pattern": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$",
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "location": {
            "maxLength": 100,
            "type": "string"
          },
          "organizer": {
            "default": false,
            "description": "Organizer accounts can create events that take registrations. Set by an admin",
            "type": "boolean"
          },
          "timezone": {
            "default": "America/Vancouver",
            "description": "Used to put uploaded watch activities on the right day",
            "maxLength": 64,
            "type": "string"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "AthleteInput": {
        "properties": {
          "athlete": {
            "default": true,
            "description": "You train and race: teams can take you on as an athlete",
            "type": "boolean"
          },
          "bio": {
            "maxLength": 2000,
            "type": "string"
          },
          "display_name": {
            "description": "Shown on your public activities and on event leaderboards. It can't include \"admin\"",
            "maxLength": 60,
            "type": "string"
          },
          "email": {
            "maxLength": 191,
            "pattern": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$",
            "type": "string"
          },
          "location": {
            "maxLength": 100,
            "type": "string"
          },
          "password_hash": {
            "description": "At least 10 characters",
            "format": "password",
            "minLength": 10,
            "type": "string",
            "writeOnly": true
          },
          "timezone": {
            "default": "America/Vancouver",
            "description": "Used to put uploaded watch activities on the right day",
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "email",
          "password_hash",
          "display_name"
        ],
        "type": "object"
      },
      "AthleteList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Athlete"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "AthleteSport": {
        "description": "A sport an athlete does, and optionally which part of it (running: sprints, endurance, race walking). The tag filters start from these",
        "properties": {
          "athlete_id": {
            "type": "integer"
          },
          "created_at": {
            "description": "Set by the server when the record is created",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "sport": {
            "default": "run",
            "enum": [
              "run",
              "ride",
              "swim",
              "walk",
              "hike",
              "row",
              "ski",
              "strength",
              "calisthenics",
              "plyometric",
              "mobility",
              "other"
            ],
            "type": "string"
          },
          "sub_activity_id": {
            "description": "Optional, e.g. Sprint or Endurance for running. Add one per kind you do",
            "type": "integer"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "AthleteSportInput": {
        "properties": {
          "athlete_id": {
            "type": "integer"
          },
          "sport": {
            "default": "run",
            "enum": [
              "run",
              "ride",
              "swim",
              "walk",
              "hike",
              "row",
              "ski",
              "strength",
              "calisthenics",
              "plyometric",
              "mobility",
              "other"
            ],
            "type": "string"
          },
          "sub_activity_id": {
            "description": "Optional, e.g. Sprint or Endurance for running. Add one per kind you do",
            "type": "integer"
          }
        },
        "required": [
          "athlete_id",
          "sport"
        ],
        "type": "object"
      },
      "AthleteSportList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AthleteSport"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Discipline": {
        "description": "The catalogue of standard events: the track \u0026 field and swimming events of a meet, and the usual race distances",
        "properties": {
          "category": {
            "description": "e.g. Sprints, Hurdles, Jumps, Throws, Freestyle",
            "maxLength": 40,
            "type": "string"
          },
          "created_at": {
            "description": "Set by the server when the record is created",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "distance_m": {
            "minimum": 0,
            "type": "number"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "measure": {
            "default": "time",
            "enum": [
              "time",
              "distance",
              "height",
              "points"
            ],
            "type": "string"
          },
          "name": {
            "maxLength": 60,
            "type": "string"
          },
          "relay": {
            "default": false,
            "type": "boolean"
          },
          "sort_order": {
            "description": "Where it comes in the list",
            "type": "integer"
          },
          "sport": {
            "default": "run",
            "enum": [
              "run",
              "ride",
              "swim",
              "walk",
              "hike",
              "row",
              "ski",
              "strength",
              "calisthenics",
              "plyometric",
              "mobility",
              "other"
            ],
            "type": "string"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "DisciplineInput": {
        "properties": {
          "category": {
            "description": "e.g. Sprints, Hurdles, Jumps, Throws, Freestyle",
            "maxLength": 40,
            "type": "string"
          },
          "distance_m": {
            "minimum": 0,
            "type": "number"
          },
          "measure": {
            "default": "time",
            "enum": [
              "time",
              "distance",
              "height",
              "points"
            ],
            "type": "string"
          },
          "name": {
            "maxLength": 60,
            "type": "string"
          },
          "relay": {
            "default": false,
            "type": "boolean"
          },
          "sort_order": {
            "description": "Where it comes in the list",
            "type": "integer"
          },
          "sport": {
            "default": "run",
            "enum": [
              "run",
              "ride",
              "swim",
              "walk",
              "hike",
              "row",
              "ski",
              "strength",
              "calisthenics",
              "plyometric",
              "mobility",
              "other"
            ],
            "type": "string"
          }
        },
        "required": [
          "sport",
          "name",
          "measure"
        ],
        "type": "object"
      },
      "DisciplineList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Discipline"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Division": {
        "enum": [
          "open",
          "women",
          "men",
          "mixed"
        ],
        "type": "string"
      },
      "DrillIntensity": {
        "description": "How demanding a plyometric drill is: low (e.g. pogo hops), moderate (e.g. box jumps), high (e.g. depth jumps, single-leg bounds)",
        "enum": [
          "low",
          "moderate",
          "high"
        ],
        "type": "string"
      },
      "Engagement": {
        "description": "Mobility intensity: relaxed (passive, the muscles let go into the stretch) or engaged (active, the muscles work through the range)",
        "enum": [
          "relaxed",
          "engaged"
        ],
        "type": "string"
      },
      "Entry": {
        "description": "An athlete entered in one race or event of an event they registered for, with a seed mark",
        "properties": {
          "athlete_id": {
            "type": "integer"
          },
          "created_at": {
            "description": "Set by the server when the record is created",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "registration_id": {
            "type": "integer"
          },
          "seed": {
            "description": "Your best or expected time or mark, e.g. 11.20, 4:05.32 or 6.45",
            "maxLength": 20,
            "type": "string"
          },
          "sub_event_id": {
            "type": "integer"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "EntryInput": {
        "properties": {
          "registration_id": {
            "type": "integer"
          },
          "seed": {
            "description": "Your best or expected time or mark, e.g. 11.20, 4:05.32 or 6.45",
            "maxLength": 20,
            "type": "string"
          },
          "sub_event_id": {
            "type": "integer"
          }
        },
        "required": [
          "registration_id",
          "sub_event_id"
        ],
        "type": "object"
      },
      "EntryList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Entry"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "EntryStatus": {
        "description": "Where an athlete is with an event: planning to enter, registered, competed, or withdrew",
        "enum": [
          "planned",
          "registered",
          "competed",
          "withdrew"
        ],
        "type": "string"
      },
      "Error": {
        "properties": {
          "code": {
            "type": "integer"
          },
          "error": {
            "type": "string"
          },
          "fields": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "error",
          "message"
        ],
        "type": "object"
      },
      "Event": {
        "description": "A race, meet or challenge, in person or virtual. Anyone can list one; organizer accounts can also take registrations",
        "properties": {
          "city": {
            "maxLength": 80,
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "description": {
            "maxLength": 10000,
            "type": "string"
          },
          "end_date": {
            "description": "For an event over several days (a virtual event's last day); leave blank for one day",
            "format": "date",
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "indoor": {
            "default": false,
            "type": "boolean"
          },
          "mode": {
            "default": "in_person",
            "enum": [
              "in_person",
              "virtual"
            ],
            "type": "string"
          },
          "name": {
            "maxLength": 120,
            "type": "string"
          },
          "organizer_id": {
            "type": "integer"
          },
          "registration_deadline": {
            "description": "Registration closes after this day",
            "format": "date",
            "type": "string"
          },
          "registration_open": {
            "default": true,
            "type": "boolean"
          },
          "sport": {
            "default": "run",
            "enum": [
              "run",
              "ride",
              "swim",
              "walk",
              "hike",
              "row",
              "ski",
              "strength",
              "calisthenics",
              "plyometric",
              "mobility",
              "other"
            ],
            "type": "string"
          },
          "start_date": {
            "format": "date",
            "type": "string"
          },
          "takes_registration": {
            "default": false,
            "description": "Organizer accounts only. Athletes register here and choose their events",
            "type": "boolean"
          },
          "type": {
            "default": "road_race",
            "enum": [
              "meet",
              "road_race",
              "trail_race",
              "cross_country",
              "triathlon",
              "open_water",
              "cycling",
              "challenge",
              "other"
            ],
            "type": "string"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "venue": {
            "maxLength": 120,
            "type": "string"
          },
          "visibility": {
            "default": "public",
            "enum": [
              "public",
              "team",
              "private"
            ],
            "type": "string"
          },
          "website": {
            "description": "The event's own page, and where to register if it isn't here",
            "maxLength": 300,
            "pattern": "https?://.+",
            "type": "string"
          }
        },
        "type": "object"
      },
      "EventInput": {
        "properties": {
          "city": {
            "maxLength": 80,
            "type": "string"
          },
          "description": {
            "maxLength": 10000,
            "type": "string"
          },
          "end_date": {
            "description": "For an event over several days (a virtual event's last day); leave blank for one day",
            "format": "date",
            "type": "string"
          },
          "indoor": {
            "default": false,
            "type": "boolean"
          },
          "mode": {
            "default": "in_person",
            "enum": [
              "in_person",
              "virtual"
            ],
            "type": "string"
          },
          "name": {
            "maxLength": 120,
            "type": "string"
          },
          "registration_deadline": {
            "description": "Registration closes after this day",
            "format": "date",
            "type": "string"
          },
          "registration_open": {
            "default": true,
            "type": "boolean"
          },
          "sport": {
            "default": "run",
            "enum": [
              "run",
              "ride",
              "swim",
              "walk",
              "hike",
              "row",
              "ski",
              "strength",
              "calisthenics",
              "plyometric",
              "mobility",
              "other"
            ],
            "type": "string"
          },
          "start_date": {
            "format": "date",
            "type": "string"
          },
          "takes_registration": {
            "default": false,
            "description": "Organizer accounts only. Athletes register here and choose their events",
            "type": "boolean"
          },
          "type": {
            "default": "road_race",
            "enum": [
              "meet",
              "road_race",
              "trail_race",
              "cross_country",
              "triathlon",
              "open_water",
              "cycling",
              "challenge",
              "other"
            ],
            "type": "string"
          },
          "venue": {
            "maxLength": 120,
            "type": "string"
          },
          "visibility": {
            "default": "public",
            "enum": [
              "public",
              "team",
              "private"
            ],
            "type": "string"
          },
          "website": {
            "description": "The event's own page, and where to register if it isn't here",
            "maxLength": 300,
            "pattern": "https?://.+",
            "type": "string"
          }
        },
        "required": [
          "name",
          "type",
          "mode",
          "sport",
          "start_date"
        ],
        "type": "object"
      },
      "EventList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Event"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "EventMode": {
        "description": "In person: at a venue on set days. Virtual: done anywhere within the dates, results posted from uploaded activities",
        "enum": [
          "in_person",
          "virtual"
        ],
        "type": "string"
      },
      "EventPlan": {
        "description": "An event you're doing, with your events and how it went — your own record, shown on your calendar on the event's days",
        "properties": {
          "athlete_id": {
            "type": "integer"
          },
          "bib": {
            "maxLength": 20,
            "type": "string"
          },
          "created_at": {
            "description": "Set by the server when the record is created",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "event_id": {
            "type": "integer"
          },
          "events": {
            "maxLength": 120,
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "notes": {
            "maxLength": 2000,
            "type": "string"
          },
          "result": {
            "maxLength": 120,
            "type": "string"
          },
          "status": {
            "default": "planned",
            "enum": [
              "planned",
              "registered",
              "competed",
              "withdrew"
            ],
            "type": "string"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "EventPlanInput": {
        "properties": {
          "bib": {
            "maxLength": 20,
            "type": "string"
          },
          "event_id": {
            "type": "integer"
          },
          "events": {
            "maxLength": 120,
            "type": "string"
          },
          "notes": {
            "maxLength": 2000,
            "type": "string"
          },
          "result": {
            "maxLength": 120,
            "type": "string"
          },
          "status": {
            "default": "planned",
            "enum": [
              "planned",
              "registered",
              "competed",
              "withdrew"
            ],
            "type": "string"
          }
        },
        "required": [
          "event_id",
          "status"
        ],
        "type": "object"
      },
      "EventPlanList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/EventPlan"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "EventRegistration": {
        "description": "An athlete registered for an event, with the races or events they've entered; shown on their calendar",
        "properties": {
          "athlete_id": {
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "event_id": {
            "type": "integer"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "team": {
            "maxLength": 80,
            "type": "string"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "EventRegistrationInput": {
        "properties": {
          "event_id": {
            "type": "integer"
          },
          "team": {
            "maxLength": 80,
            "type": "string"
          }
        },
        "required": [
          "event_id"
        ],
        "type": "object"
      },
      "EventRegistrationList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/EventRegistration"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "EventType": {
        "enum": [
          "meet",
          "road_race",
          "trail_race",
          "cross_country",
          "triathlon",
          "open_water",
          "cycling",
          "challenge",
          "other"
        ],
        "type": "string"
      },
      "FrameworkAdmin": {
        "properties": {
          "added_by": {
            "maxLength": 200,
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "level": {
            "maximum": 99,
            "minimum": 1,
            "type": "integer"
          },
          "login": {
            "maxLength": 200,
            "type": "string"
          },
          "pending": {
            "default": false,
            "type": "boolean"
          },
          "principal_id": {
            "type": "integer"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "FrameworkAdminEvent": {
        "properties": {
          "action": {
            "maxLength": 20,
            "type": "string"
          },
          "actor": {
            "maxLength": 200,
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "level": {
            "type": "integer"
          },
          "login": {
            "maxLength": 200,
            "type": "string"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "FrameworkAdminEventInput": {
        "properties": {
          "action": {
            "maxLength": 20,
            "type": "string"
          },
          "actor": {
            "maxLength": 200,
            "type": "string"
          },
          "level": {
            "type": "integer"
          },
          "login": {
            "maxLength": 200,
            "type": "string"
          }
        },
        "required": [
          "action"
        ],
        "type": "object"
      },
      "FrameworkAdminEventList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/FrameworkAdminEvent"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "FrameworkAdminInput": {
        "properties": {
          "added_by": {
            "maxLength": 200,
            "type": "string"
          },
          "level": {
            "maximum": 99,
            "minimum": 1,
            "type": "integer"
          },
          "login": {
            "maxLength": 200,
            "type": "string"
          },
          "pending": {
            "default": false,
            "type": "boolean"
          },
          "principal_id": {
            "type": "integer"
          }
        },
        "required": [
          "login",
          "level"
        ],
        "type": "object"
      },
      "FrameworkAdminLink": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "days": {
            "maximum": 365,
            "minimum": 1,
            "type": "integer"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "login": {
            "maxLength": 200,
            "type": "string"
          },
          "made_by": {
            "maxLength": 200,
            "type": "string"
          },
          "renewed_at": {
            "format": "date-time",
            "type": "string"
          },
          "token_hash": {
            "maxLength": 64,
            "type": "string"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "FrameworkAdminLinkInput": {
        "properties": {
          "days": {
            "maximum": 365,
            "minimum": 1,
            "type": "integer"
          },
          "login": {
            "maxLength": 200,
            "type": "string"
          },
          "made_by": {
            "maxLength": 200,
            "type": "string"
          },
          "renewed_at": {
            "format": "date-time",
            "type": "string"
          },
          "token_hash": {
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "login",
          "token_hash",
          "days",
          "renewed_at"
        ],
        "type": "object"
      },
      "FrameworkAdminLinkList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/FrameworkAdminLink"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "FrameworkAdminList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/FrameworkAdmin"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "FrameworkFeed": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "principal_id": {
            "type": "integer"
          },
          "token": {
            "maxLength": 64,
            "type": "string"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "FrameworkFeedInput": {
        "properties": {
          "token": {
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "token"
        ],
        "type": "object"
      },
      "FrameworkFeedList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/FrameworkFeed"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "FrameworkIdentity": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "email": {
            "maxLength": 254,
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "principal_id": {
            "type": "integer"
          },
          "provider": {
            "maxLength": 32,
            "type": "string"
          },
          "subject": {
            "maxLength": 255,
            "type": "string"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "FrameworkIdentityInput": {
        "properties": {
          "email": {
            "maxLength": 254,
            "type": "string"
          },
          "provider": {
            "maxLength": 32,
            "type": "string"
          },
          "subject": {
            "maxLength": 255,
            "type": "string"
          }
        },
        "required": [
          "provider",
          "subject"
        ],
        "type": "object"
      },
      "FrameworkIdentityList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/FrameworkIdentity"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "FrameworkServiceSetting": {
        "properties": {
          "created_at": {
            "description": "Set by the server when the record is created",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "listener": {
            "maxLength": 64,
            "type": "string"
          },
          "secret": {
            "default": false,
            "type": "boolean"
          },
          "setting": {
            "maxLength": 64,
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "updated_by": {
            "type": "integer"
          },
          "value": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "FrameworkServiceSettingInput": {
        "properties": {
          "listener": {
            "maxLength": 64,
            "type": "string"
          },
          "secret": {
            "default": false,
            "type": "boolean"
          },
          "setting": {
            "maxLength": 64,
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "updated_by": {
            "type": "integer"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "listener",
          "setting"
        ],
        "type": "object"
      },
      "FrameworkServiceSettingList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/FrameworkServiceSetting"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "FrameworkSession": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "expires_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "principal_id": {
            "type": "integer"
          },
          "token_hash": {
            "maxLength": 64,
            "type": "string"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "FrameworkSessionInput": {
        "properties": {
          "expires_at": {
            "format": "date-time",
            "type": "string"
          },
          "token_hash": {
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "token_hash",
          "expires_at"
        ],
        "type": "object"
      },
      "FrameworkSessionList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/FrameworkSession"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "HeartRateZone": {
        "description": "A training zone, as on most running watches, with its rough range as a percentage of maximum heart rate. Seeded; only admins change them.",
        "properties": {
          "created_at": {
            "description": "Set by the server when the record is created",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "description": {
            "maxLength": 200,
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "max_pct_max": {
            "maximum": 100,
            "minimum": 0,
            "type": "integer"
          },
          "min_pct_max": {
            "maximum": 100,
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "maxLength": 40,
            "type": "string"
          },
          "position": {
            "maximum": 20,
            "minimum": 1,
            "type": "integer"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "HeartRateZoneInput": {
        "properties": {
          "description": {
            "maxLength": 200,
            "type": "string"
          },
          "max_pct_max": {
            "maximum": 100,
            "minimum": 0,
            "type": "integer"
          },
          "min_pct_max": {
            "maximum": 100,
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "maxLength": 40,
            "type": "string"
          },
          "position": {
            "maximum": 20,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "position",
          "name",
          "min_pct_max",
          "max_pct_max"
        ],
        "type": "object"
      },
      "HeartRateZoneList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/HeartRateZone"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "IntensityMethod": {
        "description": "How an interval's effort is set: heart-rate zone or % of race pace (running, swimming), % of max (resistance training), % of explosiveness (calisthenics), drill intensity (plyometrics), relaxed or engaged (mobility)",
        "enum": [
          "heart_rate_zone",
          "race_pace",
          "percent_max",
          "percent_explosive",
          "drill_intensity",
          "engagement"
        ],
        "type": "string"
      },
      "Interval": {
        "description": "One effort in a set: an interval of a distance or a time (running, swimming), or reps of a movement (resistance training); at an intensity, then rest to the next",
        "properties": {
          "created_at": {
            "description": "Set by the server when the record is created",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "distance_m": {
            "maximum": 100000,
            "minimum": 0,
            "type": "number"
          },
          "drill_id": {
            "description": "Optional: a running drill (e.g. A-skip) or a swim drill (e.g. Kick with a kickboard); the distance or time still applies",
            "type": "integer"
          },
          "drill_intensity": {
            "description": "Low (e.g. pogo hops), moderate (e.g. box jumps), high (e.g. depth jumps, single-leg bounds)",
            "enum": [
              "low",
              "moderate",
              "high"
            ],
            "type": "string"
          },
          "drill_name": {
            "maxLength": 60,
            "readOnly": true,
            "type": "string"
          },
          "duration": {
            "description": "duration in seconds",
            "minimum": 0,
            "type": "integer"
          },
          "elevation_m": {
            "description": "For hill intervals: the climb, in metres, in addition to the distance or time",
            "maximum": 5000,
            "minimum": 0,
            "type": "number"
          },
          "engagement": {
            "description": "Relaxed: passive, the muscles let go into the stretch. Engaged: active, the muscles work through the range",
            "enum": [
              "relaxed",
              "engaged"
            ],
            "type": "string"
          },
          "hr_zone_id": {
            "description": "For intensity by heart-rate zone. Ranges are a rough guide; your own watch zones apply",
            "type": "integer"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "intensity_by": {
            "description": "Heart-rate zone or % of race pace for running and swimming; % of max for resistance training; % of explosiveness for calisthenics; drill intensity for plyometrics; relaxed or engaged for mobility",
            "enum": [
              "heart_rate_zone",
              "race_pace",
              "percent_max",
              "percent_explosive",
              "drill_intensity",
              "engagement"
            ],
            "type": "string"
          },
          "measure": {
            "description": "Distance or time for running and swimming; reps for resistance training and plyometrics; reps or a hold time for calisthenics; a hold time for mobility",
            "enum": [
              "distance",
              "time",
              "movement"
            ],
            "type": "string"
          },
          "movement_id": {
            "description": "The stroke for swimming (e.g. Freestyle); the movement otherwise (e.g. Back squat). Missing one? Add it under Movements",
            "type": "integer"
          },
          "movement_name": {
            "maxLength": 60,
            "readOnly": true,
            "type": "string"
          },
          "name": {
            "maxLength": 80,
            "type": "string"
          },
          "notes": {
            "maxLength": 200,
            "type": "string"
          },
          "pct_explosive": {
            "description": "100: as explosive as possible; lower: slower and more controlled",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "pct_max": {
            "description": "Percentage of your one-rep max for this movement",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "position": {
            "description": "Numbered in order as intervals or reps are added to the set",
            "minimum": 1,
            "readOnly": true,
            "type": "integer"
          },
          "race_distance": {
            "description": "e.g. 1500 m for 100% of 1500 m race pace",
            "enum": [
              "run_60",
              "run_100",
              "run_200",
              "run_400",
              "run_800",
              "run_1500",
              "run_mile",
              "run_3000",
              "run_5000",
              "run_10k",
              "run_half_marathon",
              "run_marathon",
              "swim_50",
              "swim_100",
              "swim_200",
              "swim_400",
              "swim_800",
              "swim_1500"
            ],
            "type": "string"
          },
          "race_pace_pct": {
            "description": "For intensity by race pace, as % of race speed: 100 is race pace, 85 is slower, over 100 is faster",
            "maximum": 120,
            "minimum": 50,
            "type": "integer"
          },
          "range_of_motion": {
            "description": "Full: the weight moves through the whole range of motion",
            "enum": [
              "full"
            ],
            "type": "string"
          },
          "repeats": {
            "default": 1,
            "description": "e.g. 6 for 6 × 400 m, 8 reps of a movement, or 10 ground contacts",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "rest": {
            "description": "duration in seconds",
            "minimum": 0,
            "type": "integer"
          },
          "set_id": {
            "type": "integer"
          },
          "surface": {
            "description": "Leave blank to use the workout's surface",
            "enum": [
              "road",
              "track",
              "trail",
              "grass",
              "treadmill",
              "hill",
              "pool",
              "open_water"
            ],
            "type": "string"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "IntervalInput": {
        "properties": {
          "distance_m": {
            "maximum": 100000,
            "minimum": 0,
            "type": "number"
          },
          "drill_id": {
            "description": "Optional: a running drill (e.g. A-skip) or a swim drill (e.g. Kick with a kickboard); the distance or time still applies",
            "type": "integer"
          },
          "drill_intensity": {
            "description": "Low (e.g. pogo hops), moderate (e.g. box jumps), high (e.g. depth jumps, single-leg bounds)",
            "enum": [
              "low",
              "moderate",
              "high"
            ],
            "type": "string"
          },
          "duration": {
            "description": "duration in seconds",
            "minimum": 0,
            "type": "integer"
          },
          "elevation_m": {
            "description": "For hill intervals: the climb, in metres, in addition to the distance or time",
            "maximum": 5000,
            "minimum": 0,
            "type": "number"
          },
          "engagement": {
            "description": "Relaxed: passive, the muscles let go into the stretch. Engaged: active, the muscles work through the range",
            "enum": [
              "relaxed",
              "engaged"
            ],
            "type": "string"
          },
          "hr_zone_id": {
            "description": "For intensity by heart-rate zone. Ranges are a rough guide; your own watch zones apply",
            "type": "integer"
          },
          "intensity_by": {
            "description": "Heart-rate zone or % of race pace for running and swimming; % of max for resistance training; % of explosiveness for calisthenics; drill intensity for plyometrics; relaxed or engaged for mobility",
            "enum": [
              "heart_rate_zone",
              "race_pace",
              "percent_max",
              "percent_explosive",
              "drill_intensity",
              "engagement"
            ],
            "type": "string"
          },
          "measure": {
            "description": "Distance or time for running and swimming; reps for resistance training and plyometrics; reps or a hold time for calisthenics; a hold time for mobility",
            "enum": [
              "distance",
              "time",
              "movement"
            ],
            "type": "string"
          },
          "movement_id": {
            "description": "The stroke for swimming (e.g. Freestyle); the movement otherwise (e.g. Back squat). Missing one? Add it under Movements",
            "type": "integer"
          },
          "name": {
            "maxLength": 80,
            "type": "string"
          },
          "notes": {
            "maxLength": 200,
            "type": "string"
          },
          "pct_explosive": {
            "description": "100: as explosive as possible; lower: slower and more controlled",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "pct_max": {
            "description": "Percentage of your one-rep max for this movement",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "race_distance": {
            "description": "e.g. 1500 m for 100% of 1500 m race pace",
            "enum": [
              "run_60",
              "run_100",
              "run_200",
              "run_400",
              "run_800",
              "run_1500",
              "run_mile",
              "run_3000",
              "run_5000",
              "run_10k",
              "run_half_marathon",
              "run_marathon",
              "swim_50",
              "swim_100",
              "swim_200",
              "swim_400",
              "swim_800",
              "swim_1500"
            ],
            "type": "string"
          },
          "race_pace_pct": {
            "description": "For intensity by race pace, as % of race speed: 100 is race pace, 85 is slower, over 100 is faster",
            "maximum": 120,
            "minimum": 50,
            "type": "integer"
          },
          "range_of_motion": {
            "description": "Full: the weight moves through the whole range of motion",
            "enum": [
              "full"
            ],
            "type": "string"
          },
          "repeats": {
            "default": 1,
            "description": "e.g. 6 for 6 × 400 m, 8 reps of a movement, or 10 ground contacts",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "rest": {
            "description": "duration in seconds",
            "minimum": 0,
            "type": "integer"
          },
          "set_id": {
            "type": "integer"
          },
          "surface": {
            "description": "Leave blank to use the workout's surface",
            "enum": [
              "road",
              "track",
              "trail",
              "grass",
              "treadmill",
              "hill",
              "pool",
              "open_water"
            ],
            "type": "string"
          }
        },
        "required": [
          "set_id",
          "repeats",
          "measure"
        ],
        "type": "object"
      },
      "IntervalList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Interval"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "InviteStatus": {
        "enum": [
          "queued",
          "sent",
          "failed",
          "joined"
        ],
        "type": "string"
      },
      "Lap": {
        "description": "A lap or split of an activity",
        "properties": {
          "activity_id": {
            "type": "integer"
          },
          "avg_hr": {
            "maximum": 250,
            "minimum": 20,
            "type": "integer"
          },
          "created_at": {
            "description": "Set by the server when the record is created",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "distance_km": {
            "minimum": 0,
            "type": "number"
          },
          "duration": {
            "description": "duration in seconds",
            "minimum": 0,
            "type": "integer"
          },
          "elevation_gain_m": {
            "minimum": 0,
            "type": "number"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "lap_number": {
            "minimum": 1,
            "type": "integer"
          },
          "max_hr": {
            "maximum": 250,
            "minimum": 20,
            "type": "integer"
          },
          "moving_time": {
            "description": "duration in seconds",
            "minimum": 0,
            "type": "integer"
          },
          "start_time": {
            "format": "date-time",
            "type": "string"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "LapInput": {
        "properties": {
          "activity_id": {
            "type": "integer"
          },
          "avg_hr": {
            "maximum": 250,
            "minimum": 20,
            "type": "integer"
          },
          "distance_km": {
            "minimum": 0,
            "type": "number"
          },
          "duration": {
            "description": "duration in seconds",
            "minimum": 0,
            "type": "integer"
          },
          "elevation_gain_m": {
            "minimum": 0,
            "type": "number"
          },
          "lap_number": {
            "minimum": 1,
            "type": "integer"
          },
          "max_hr": {
            "maximum": 250,
            "minimum": 20,
            "type": "integer"
          },
          "moving_time": {
            "description": "duration in seconds",
            "minimum": 0,
            "type": "integer"
          },
          "start_time": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "activity_id",
          "lap_number"
        ],
        "type": "object"
      },
      "LapList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Lap"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Measure": {
        "description": "What an interval or rep is measured by: a distance (m) or a time (running, swimming), reps of a movement (resistance training, calisthenics, plyometrics), or a time a movement is held (calisthenics, mobility). Metric throughout.",
        "enum": [
          "distance",
          "time",
          "movement"
        ],
        "type": "string"
      },
      "MembershipStatus": {
        "enum": [
          "pending",
          "approved"
        ],
        "type": "string"
      },
      "Movement": {
        "description": "A movement an interval or rep is made of, for one activity: a running drill (A-skip), a swimming stroke (Freestyle), resistance training (Back squat), calisthenics (Muscle-up), plyometrics (Box jump) or mobility (Hip 90/90)",
        "properties": {
          "category": {
            "enum": [
              "drills",
              "strokes",
              "lower_body",
              "upper_push",
              "upper_pull",
              "olympic",
              "core",
              "carry_full_body",
              "skills",
              "jumps",
              "hops",
              "bounds",
              "depth_jumps",
              "throws",
              "hips",
              "spine",
              "shoulders",
              "ankles_feet",
              "full_body_flow"
            ],
            "type": "string"
          },
          "created_at": {
            "description": "Set by the server when the record is created",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "created_by": {
            "type": "integer"
          },
          "description": {
            "maxLength": 2000,
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "name": {
            "maxLength": 60,
            "type": "string"
          },
          "sport": {
            "default": "strength",
            "enum": [
              "run",
              "ride",
              "swim",
              "walk",
              "hike",
              "row",
              "ski",
              "strength",
              "calisthenics",
              "plyometric",
              "mobility",
              "other"
            ],
            "type": "string"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "MovementCategory": {
        "description": "The kind of movement; each activity has its own set (see the movement's Activity)",
        "enum": [
          "drills",
          "strokes",
          "lower_body",
          "upper_push",
          "upper_pull",
          "olympic",
          "core",
          "carry_full_body",
          "skills",
          "jumps",
          "hops",
          "bounds",
          "depth_jumps",
          "throws",
          "hips",
          "spine",
          "shoulders",
          "ankles_feet",
          "full_body_flow"
        ],
        "type": "string"
      },
      "MovementInput": {
        "properties": {
          "category": {
            "enum": [
              "drills",
              "strokes",
              "lower_body",
              "upper_push",
              "upper_pull",
              "olympic",
              "core",
              "carry_full_body",
              "skills",
              "jumps",
              "hops",
              "bounds",
              "depth_jumps",
              "throws",
              "hips",
              "spine",
              "shoulders",
              "ankles_feet",
              "full_body_flow"
            ],
            "type": "string"
          },
          "description": {
            "maxLength": 2000,
            "type": "string"
          },
          "name": {
            "maxLength": 60,
            "type": "string"
          },
          "sport": {
            "default": "strength",
            "enum": [
              "run",
              "ride",
              "swim",
              "walk",
              "hike",
              "row",
              "ski",
              "strength",
              "calisthenics",
              "plyometric",
              "mobility",
              "other"
            ],
            "type": "string"
          }
        },
        "required": [
          "name",
          "sport",
          "category"
        ],
        "type": "object"
      },
      "MovementList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Movement"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "OfficerPosition": {
        "description": "An officer's position on the team, chosen by the officer; optional",
        "enum": [
          "president",
          "vice_president",
          "secretary",
          "treasurer",
          "registrar",
          "head_coach",
          "coach",
          "assistant_coach",
          "team_manager",
          "other"
        ],
        "type": "string"
      },
      "OrganizerRequest": {
        "description": "A request for an organizer account, which can create events that take registrations. An admin reviews it; approving it makes the account an organizer",
        "properties": {
          "athlete_id": {
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "events": {
            "description": "e.g. the club's summer track meets, a 10K road race each spring",
            "maxLength": 2000,
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "organization": {
            "maxLength": 120,
            "type": "string"
          },
          "reply": {
            "maxLength": 500,
            "type": "string"
          },
          "status": {
            "default": "pending",
            "enum": [
              "pending",
              "approved",
              "declined"
            ],
            "type": "string"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "website": {
            "maxLength": 300,
            "pattern": "https?://.+",
            "type": "string"
          }
        },
        "type": "object"
      },
      "OrganizerRequestInput": {
        "properties": {
          "events": {
            "description": "e.g. the club's summer track meets, a 10K road race each spring",
            "maxLength": 2000,
            "type": "string"
          },
          "organization": {
            "maxLength": 120,
            "type": "string"
          },
          "website": {
            "maxLength": 300,
            "pattern": "https?://.+",
            "type": "string"
          }
        },
        "required": [
          "events"
        ],
        "type": "object"
      },
      "OrganizerRequestList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/OrganizerRequest"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "PlannedWorkout": {
        "description": "A workout on a date in a training plan — usually one from the workout library",
        "properties": {
          "athlete_id": {
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "date": {
            "format": "date",
            "type": "string"
          },
          "description": {
            "maxLength": 5000,
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "on_calendar": {
            "readOnly": true,
            "type": "boolean"
          },
          "plan_id": {
            "type": "integer"
          },
          "sport": {
            "default": "run",
            "description": "Uploaded watch activities of this activity on this date are matched to it",
            "enum": [
              "run",
              "ride",
              "swim",
              "walk",
              "hike",
              "row",
              "ski",
              "strength",
              "calisthenics",
              "plyometric",
              "mobility",
              "other"
            ],
            "type": "string"
          },
          "status": {
            "default": "planned",
            "enum": [
              "planned",
              "completed",
              "partial",
              "skipped"
            ],
            "type": "string"
          },
          "target_distance_km": {
            "maximum": 1000,
            "minimum": 0,
            "type": "number"
          },
          "target_duration": {
            "description": "duration in seconds",
            "minimum": 0,
            "type": "integer"
          },
          "time_of_day": {
            "description": "Optional: morning, afternoon or evening — on the calendar a day's workouts are in that order",
            "enum": [
              "morning",
              "afternoon",
              "evening"
            ],
            "type": "string"
          },
          "title": {
            "maxLength": 120,
            "type": "string"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "visibility": {
            "default": "private",
            "enum": [
              "public",
              "team",
              "private"
            ],
            "type": "string"
          },
          "workout_id": {
            "description": "The workout from the library (yours or a public one) — linked, not copied",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "PlannedWorkoutInput": {
        "properties": {
          "date": {
            "format": "date",
            "type": "string"
          },
          "description": {
            "maxLength": 5000,
            "type": "string"
          },
          "plan_id": {
            "type": "integer"
          },
          "sport": {
            "default": "run",
            "description": "Uploaded watch activities of this activity on this date are matched to it",
            "enum": [
              "run",
              "ride",
              "swim",
              "walk",
              "hike",
              "row",
              "ski",
              "strength",
              "calisthenics",
              "plyometric",
              "mobility",
              "other"
            ],
            "type": "string"
          },
          "status": {
            "default": "planned",
            "enum": [
              "planned",
              "completed",
              "partial",
              "skipped"
            ],
            "type": "string"
          },
          "target_distance_km": {
            "maximum": 1000,
            "minimum": 0,
            "type": "number"
          },
          "target_duration": {
            "description": "duration in seconds",
            "minimum": 0,
            "type": "integer"
          },
          "time_of_day": {
            "description": "Optional: morning, afternoon or evening — on the calendar a day's workouts are in that order",
            "enum": [
              "morning",
              "afternoon",
              "evening"
            ],
            "type": "string"
          },
          "title": {
            "maxLength": 120,
            "type": "string"
          },
          "visibility": {
            "default": "private",
            "enum": [
              "public",
              "team",
              "private"
            ],
            "type": "string"
          },
          "workout_id": {
            "description": "The workout from the library (yours or a public one) — linked, not copied",
            "type": "integer"
          }
        },
        "required": [
          "plan_id",
          "date",
          "title"
        ],
        "type": "object"
      },
      "PlannedWorkoutList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/PlannedWorkout"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "QuickWorkout": {
        "description": "A workout described in your own words, made into a workout of yours by the coach assistant",
        "properties": {
          "ai_answered_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "ai_error": {
            "readOnly": true,
            "type": "string"
          },
          "ai_response": {
            "readOnly": true,
            "type": "string"
          },
          "ai_status": {
            "default": "queued",
            "enum": [
              "queued",
              "answered",
              "failed"
            ],
            "readOnly": true,
            "type": "string"
          },
          "athlete_id": {
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "retries": {
            "default": 0,
            "readOnly": true,
            "type": "integer"
          },
          "retry_requested": {
            "default": false,
            "type": "boolean"
          },
          "sport": {
            "default": "run",
            "description": "Optional: the activity, if your description doesn't make it plain",
            "enum": [
              "run",
              "ride",
              "swim",
              "walk",
              "hike",
              "row",
              "ski",
              "strength",
              "calisthenics",
              "plyometric",
              "mobility",
              "other"
            ],
            "type": "string"
          },
          "text": {
            "description": "The whole session, in your own words: warm-up, each set and its repeats, distances or times, paces or efforts, and the rests",
            "maxLength": 3000,
            "type": "string"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "workout_id": {
            "readOnly": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "QuickWorkoutInput": {
        "properties": {
          "retry_requested": {
            "default": false,
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "QuickWorkoutList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/QuickWorkout"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "RaceDistance": {
        "description": "The race whose pace an interval is a percentage of; the list offered follows the workout's activity",
        "enum": [
          "run_60",
          "run_100",
          "run_200",
          "run_400",
          "run_800",
          "run_1500",
          "run_mile",
          "run_3000",
          "run_5000",
          "run_10k",
          "run_half_marathon",
          "run_marathon",
          "swim_50",
          "swim_100",
          "swim_200",
          "swim_400",
          "swim_800",
          "swim_1500"
        ],
        "type": "string"
      },
      "RangeOfMotion": {
        "description": "How far a rep moves the weight; full: through the whole range of motion",
        "enum": [
          "full"
        ],
        "type": "string"
      },
      "RequestStatus": {
        "enum": [
          "pending",
          "approved",
          "declined"
        ],
        "type": "string"
      },
      "Result": {
        "description": "A result in one race or event: time or mark, place and status. Entered by the organizer, imported from meet software, or — in a virtual event — posted automatically from an uploaded activity",
        "properties": {
          "activity_id": {
            "description": "The uploaded activity this result comes from",
            "type": "integer"
          },
          "athlete_id": {
            "description": "If the athlete is on Athletics Together",
            "type": "integer"
          },
          "bib": {
            "maxLength": 20,
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "distance_km": {
            "description": "In a virtual event: how far the activity went",
            "minimum": 0,
            "type": "number"
          },
          "event_id": {
            "type": "integer"
          },
          "heat": {
            "minimum": 1,
            "type": "integer"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "lane": {
            "minimum": 1,
            "type": "integer"
          },
          "mark_m": {
            "maximum": 200,
            "minimum": 0,
            "type": "number"
          },
          "name": {
            "maxLength": 120,
            "type": "string"
          },
          "notes": {
            "maxLength": 280,
            "type": "string"
          },
          "place": {
            "minimum": 1,
            "type": "integer"
          },
          "points": {
            "minimum": 0,
            "type": "number"
          },
          "round": {
            "default": "final",
            "enum": [
              "final",
              "semifinal",
              "quarterfinal",
              "prelim"
            ],
            "type": "string"
          },
          "source": {
            "default": "entered",
            "enum": [
              "entered",
              "imported",
              "upload"
            ],
            "type": "string"
          },
          "status": {
            "default": "ok",
            "enum": [
              "ok",
              "dns",
              "dnf",
              "dq",
              "nm",
              "scr"
            ],
            "type": "string"
          },
          "sub_event_id": {
            "type": "integer"
          },
          "team": {
            "maxLength": 80,
            "type": "string"
          },
          "time": {
            "description": "time in seconds, to the hundredth",
            "type": "number"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "wind": {
            "maximum": 20,
            "minimum": -20,
            "type": "number"
          }
        },
        "type": "object"
      },
      "ResultInput": {
        "properties": {
          "activity_id": {
            "description": "The uploaded activity this result comes from",
            "type": "integer"
          },
          "athlete_id": {
            "description": "If the athlete is on Athletics Together",
            "type": "integer"
          },
          "bib": {
            "maxLength": 20,
            "type": "string"
          },
          "distance_km": {
            "description": "In a virtual event: how far the activity went",
            "minimum": 0,
            "type": "number"
          },
          "event_id": {
            "type": "integer"
          },
          "heat": {
            "minimum": 1,
            "type": "integer"
          },
          "lane": {
            "minimum": 1,
            "type": "integer"
          },
          "mark_m": {
            "maximum": 200,
            "minimum": 0,
            "type": "number"
          },
          "name": {
            "maxLength": 120,
            "type": "string"
          },
          "notes": {
            "maxLength": 280,
            "type": "string"
          },
          "place": {
            "minimum": 1,
            "type": "integer"
          },
          "points": {
            "minimum": 0,
            "type": "number"
          },
          "round": {
            "default": "final",
            "enum": [
              "final",
              "semifinal",
              "quarterfinal",
              "prelim"
            ],
            "type": "string"
          },
          "source": {
            "default": "entered",
            "enum": [
              "entered",
              "imported",
              "upload"
            ],
            "type": "string"
          },
          "status": {
            "default": "ok",
            "enum": [
              "ok",
              "dns",
              "dnf",
              "dq",
              "nm",
              "scr"
            ],
            "type": "string"
          },
          "sub_event_id": {
            "type": "integer"
          },
          "team": {
            "maxLength": 80,
            "type": "string"
          },
          "time": {
            "description": "time in seconds, to the hundredth",
            "type": "number"
          },
          "wind": {
            "maximum": 20,
            "minimum": -20,
            "type": "number"
          }
        },
        "required": [
          "event_id",
          "sub_event_id",
          "round",
          "status",
          "source"
        ],
        "type": "object"
      },
      "ResultList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Result"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "ResultMeasure": {
        "description": "What a result is: a time, a distance or height in metres, or points (combined events)",
        "enum": [
          "time",
          "distance",
          "height",
          "points"
        ],
        "type": "string"
      },
      "ResultSource": {
        "enum": [
          "entered",
          "imported",
          "upload"
        ],
        "type": "string"
      },
      "ResultStatus": {
        "enum": [
          "ok",
          "dns",
          "dnf",
          "dq",
          "nm",
          "scr"
        ],
        "type": "string"
      },
      "Round": {
        "enum": [
          "final",
          "semifinal",
          "quarterfinal",
          "prelim"
        ],
        "type": "string"
      },
      "SelectionAction": {
        "description": "How a workout picked from the library was used",
        "enum": [
          "scheduled",
          "cloned"
        ],
        "type": "string"
      },
      "Sport": {
        "description": "Kind of activity",
        "enum": [
          "run",
          "ride",
          "swim",
          "walk",
          "hike",
          "row",
          "ski",
          "strength",
          "calisthenics",
          "plyometric",
          "mobility",
          "other"
        ],
        "type": "string"
      },
      "SubActivity": {
        "description": "A kind of an activity, e.g. Sprint, Endurance or Race walking for running",
        "properties": {
          "created_at": {
            "description": "Set by the server when the record is created",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "created_by": {
            "type": "integer"
          },
          "description": {
            "maxLength": 2000,
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "name": {
            "maxLength": 60,
            "type": "string"
          },
          "sport": {
            "default": "run",
            "enum": [
              "run",
              "ride",
              "swim",
              "walk",
              "hike",
              "row",
              "ski",
              "strength",
              "calisthenics",
              "plyometric",
              "mobility",
              "other"
            ],
            "type": "string"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SubActivityInput": {
        "properties": {
          "description": {
            "maxLength": 2000,
            "type": "string"
          },
          "name": {
            "maxLength": 60,
            "type": "string"
          },
          "sport": {
            "default": "run",
            "enum": [
              "run",
              "ride",
              "swim",
              "walk",
              "hike",
              "row",
              "ski",
              "strength",
              "calisthenics",
              "plyometric",
              "mobility",
              "other"
            ],
            "type": "string"
          }
        },
        "required": [
          "sport",
          "name"
        ],
        "type": "object"
      },
      "SubActivityList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/SubActivity"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "SubEvent": {
        "description": "One race or event within an event: the 10K of a road race, the 100m or long jump of a meet. Results are kept per race or event",
        "properties": {
          "age_group": {
            "description": "e.g. U18, U20, Masters 40+; blank for all ages",
            "maxLength": 40,
            "type": "string"
          },
          "capacity": {
            "description": "How many athletes can enter; blank for no limit. Once it is full no one else can enter, and a place opens again when an entry is withdrawn",
            "minimum": 1,
            "type": "integer"
          },
          "created_at": {
            "description": "Set by the server when the record is created",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "discipline_id": {
            "description": "From the list (100m, Long jump, 200 Freestyle, Half marathon…); leave blank for anything else",
            "type": "integer"
          },
          "distance_km": {
            "description": "For a race. In a virtual event, uploaded activities at least this long count",
            "maximum": 1000,
            "minimum": 0,
            "type": "number"
          },
          "division": {
            "default": "open",
            "enum": [
              "open",
              "women",
              "men",
              "mixed"
            ],
            "type": "string"
          },
          "event_id": {
            "type": "integer"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "measure": {
            "enum": [
              "time",
              "distance",
              "height",
              "points"
            ],
            "type": "string"
          },
          "name": {
            "description": "Leave blank to use the standard event's name",
            "maxLength": 120,
            "type": "string"
          },
          "notes": {
            "maxLength": 280,
            "type": "string"
          },
          "position": {
            "readOnly": true,
            "type": "integer"
          },
          "starts_at": {
            "format": "date-time",
            "type": "string"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SubEventInput": {
        "properties": {
          "age_group": {
            "description": "e.g. U18, U20, Masters 40+; blank for all ages",
            "maxLength": 40,
            "type": "string"
          },
          "capacity": {
            "description": "How many athletes can enter; blank for no limit. Once it is full no one else can enter, and a place opens again when an entry is withdrawn",
            "minimum": 1,
            "type": "integer"
          },
          "discipline_id": {
            "description": "From the list (100m, Long jump, 200 Freestyle, Half marathon…); leave blank for anything else",
            "type": "integer"
          },
          "distance_km": {
            "description": "For a race. In a virtual event, uploaded activities at least this long count",
            "maximum": 1000,
            "minimum": 0,
            "type": "number"
          },
          "division": {
            "default": "open",
            "enum": [
              "open",
              "women",
              "men",
              "mixed"
            ],
            "type": "string"
          },
          "event_id": {
            "type": "integer"
          },
          "measure": {
            "enum": [
              "time",
              "distance",
              "height",
              "points"
            ],
            "type": "string"
          },
          "name": {
            "description": "Leave blank to use the standard event's name",
            "maxLength": 120,
            "type": "string"
          },
          "notes": {
            "maxLength": 280,
            "type": "string"
          },
          "starts_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "event_id",
          "division",
          "measure"
        ],
        "type": "object"
      },
      "SubEventList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/SubEvent"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Surface": {
        "description": "Where a workout or interval is done: road, track, trail, grass, treadmill or hill for running; pool or open water for swimming",
        "enum": [
          "road",
          "track",
          "trail",
          "grass",
          "treadmill",
          "hill",
          "pool",
          "open_water"
        ],
        "type": "string"
      },
      "Tag": {
        "description": "A training category workouts are tagged with and found by, e.g. Threshold zone or Max velocity",
        "properties": {
          "category_id": {
            "type": "integer"
          },
          "created_at": {
            "description": "Set by the server when the record is created",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "created_by": {
            "type": "integer"
          },
          "description": {
            "maxLength": 2000,
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "name": {
            "maxLength": 60,
            "type": "string"
          },
          "parent_id": {
            "description": "Optional: a broader tag this one narrows, e.g. 800 under Race specific",
            "type": "integer"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "TagCategory": {
        "description": "A group of tags for one activity (or every activity): a sub-activity such as Sprint or Endurance, or another kind such as Athletes or Coach. A name may be used once per activity — running's Athletes are runners, swimming's would be swimmers",
        "properties": {
          "created_at": {
            "description": "Set by the server when the record is created",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "created_by": {
            "type": "integer"
          },
          "description": {
            "maxLength": 2000,
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "name": {
            "maxLength": 60,
            "type": "string"
          },
          "sport": {
            "description": "The activity whose tags these are; blank for every activity. The tag filters show a category once its activity is chosen",
            "enum": [
              "run",
              "ride",
              "swim",
              "walk",
              "hike",
              "row",
              "ski",
              "strength",
              "calisthenics",
              "plyometric",
              "mobility",
              "other"
            ],
            "type": "string"
          },
          "sub_activity_id": {
            "description": "When the category is a sub-activity (e.g. Endurance under running); blank for others such as Athletes or Coach",
            "type": "integer"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "TagCategoryInput": {
        "properties": {
          "description": {
            "maxLength": 2000,
            "type": "string"
          },
          "name": {
            "maxLength": 60,
            "type": "string"
          },
          "sport": {
            "description": "The activity whose tags these are; blank for every activity. The tag filters show a category once its activity is chosen",
            "enum": [
              "run",
              "ride",
              "swim",
              "walk",
              "hike",
              "row",
              "ski",
              "strength",
              "calisthenics",
              "plyometric",
              "mobility",
              "other"
            ],
            "type": "string"
          },
          "sub_activity_id": {
            "description": "When the category is a sub-activity (e.g. Endurance under running); blank for others such as Athletes or Coach",
            "type": "integer"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "TagCategoryList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/TagCategory"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "TagInput": {
        "properties": {
          "category_id": {
            "type": "integer"
          },
          "description": {
            "maxLength": 2000,
            "type": "string"
          },
          "name": {
            "maxLength": 60,
            "type": "string"
          },
          "parent_id": {
            "description": "Optional: a broader tag this one narrows, e.g. 800 under Race specific",
            "type": "integer"
          }
        },
        "required": [
          "category_id",
          "name"
        ],
        "type": "object"
      },
      "TagList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Tag"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Team": {
        "description": "A club or squad: its athletes, and the officers who run it and share its profile",
        "properties": {
          "city": {
            "maxLength": 100,
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "created_by": {
            "type": "integer"
          },
          "description": {
            "maxLength": 5000,
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "invite_body": {
            "default": "Hi,\n\n{inviter} has invited you to join {team} on Athletics Together, where the team plans its training, logs its sessions and enters events.\n\nCreate your free account here:\n{signup_url}\n\nOnce you've signed up, you'll find the invitation on your Teams page.\n",
            "description": "{team}, {inviter} and {signup_url} (the link to sign up, which must be in it) are filled in",
            "maxLength": 5000,
            "pattern": "\\{signup_url\\}",
            "type": "string"
          },
          "invite_subject": {
            "default": "{inviter} invited you to join {team} on Athletics Together",
            "description": "{team} and {inviter} are filled in",
            "maxLength": 200,
            "type": "string"
          },
          "name": {
            "maxLength": 120,
            "type": "string"
          },
          "sport": {
            "default": "run",
            "enum": [
              "run",
              "ride",
              "swim",
              "walk",
              "hike",
              "row",
              "ski",
              "strength",
              "calisthenics",
              "plyometric",
              "mobility",
              "other"
            ],
            "type": "string"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "website": {
            "maxLength": 300,
            "pattern": "https?://.+",
            "type": "string"
          }
        },
        "type": "object"
      },
      "TeamDeletionApproval": {
        "description": "One officer's approval of deleting their team; the team goes once enough officers have given theirs",
        "properties": {
          "athlete_id": {
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "reason": {
            "maxLength": 300,
            "type": "string"
          },
          "team_id": {
            "type": "integer"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "TeamDeletionApprovalInput": {
        "properties": {
          "reason": {
            "maxLength": 300,
            "type": "string"
          },
          "team_id": {
            "type": "integer"
          }
        },
        "required": [
          "team_id"
        ],
        "type": "object"
      },
      "TeamDeletionApprovalList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/TeamDeletionApproval"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "TeamInput": {
        "properties": {
          "city": {
            "maxLength": 100,
            "type": "string"
          },
          "description": {
            "maxLength": 5000,
            "type": "string"
          },
          "invite_body": {
            "default": "Hi,\n\n{inviter} has invited you to join {team} on Athletics Together, where the team plans its training, logs its sessions and enters events.\n\nCreate your free account here:\n{signup_url}\n\nOnce you've signed up, you'll find the invitation on your Teams page.\n",
            "description": "{team}, {inviter} and {signup_url} (the link to sign up, which must be in it) are filled in",
            "maxLength": 5000,
            "pattern": "\\{signup_url\\}",
            "type": "string"
          },
          "invite_subject": {
            "default": "{inviter} invited you to join {team} on Athletics Together",
            "description": "{team} and {inviter} are filled in",
            "maxLength": 200,
            "type": "string"
          },
          "name": {
            "maxLength": 120,
            "type": "string"
          },
          "sport": {
            "default": "run",
            "enum": [
              "run",
              "ride",
              "swim",
              "walk",
              "hike",
              "row",
              "ski",
              "strength",
              "calisthenics",
              "plyometric",
              "mobility",
              "other"
            ],
            "type": "string"
          },
          "website": {
            "maxLength": 300,
            "pattern": "https?://.+",
            "type": "string"
          }
        },
        "required": [
          "name",
          "invite_subject",
          "invite_body"
        ],
        "type": "object"
      },
      "TeamInvite": {
        "description": "A team's invitation, by email, to someone not on Athletics Together yet",
        "properties": {
          "created_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "email": {
            "maxLength": 191,
            "pattern": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$",
            "type": "string"
          },
          "error": {
            "maxLength": 500,
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "invited_by": {
            "type": "integer"
          },
          "role": {
            "default": "athlete",
            "enum": [
              "athlete",
              "officer"
            ],
            "type": "string"
          },
          "sent_at": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "default": "queued",
            "enum": [
              "queued",
              "sent",
              "failed",
              "joined"
            ],
            "type": "string"
          },
          "team_id": {
            "type": "integer"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "TeamInviteInput": {
        "properties": {
          "email": {
            "maxLength": 191,
            "pattern": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$",
            "type": "string"
          },
          "role": {
            "default": "athlete",
            "enum": [
              "athlete",
              "officer"
            ],
            "type": "string"
          },
          "team_id": {
            "type": "integer"
          }
        },
        "required": [
          "team_id",
          "email",
          "role"
        ],
        "type": "object"
      },
      "TeamInviteList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/TeamInvite"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "TeamList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Team"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "TeamMembership": {
        "description": "An account on a team, as an athlete or an officer. Either side asks; the other accepts",
        "properties": {
          "athlete_id": {
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "member_accepted": {
            "default": false,
            "type": "boolean"
          },
          "message": {
            "maxLength": 500,
            "type": "string"
          },
          "position": {
            "description": "Optional; officers choose their own",
            "enum": [
              "president",
              "vice_president",
              "secretary",
              "treasurer",
              "registrar",
              "head_coach",
              "coach",
              "assistant_coach",
              "team_manager",
              "other"
            ],
            "type": "string"
          },
          "reply": {
            "maxLength": 500,
            "type": "string"
          },
          "role": {
            "default": "athlete",
            "description": "Chosen when asking or inviting; it can't be changed after (ask again instead)",
            "enum": [
              "athlete",
              "officer"
            ],
            "type": "string"
          },
          "status": {
            "default": "pending",
            "description": "On the team once both the member and the team have accepted",
            "enum": [
              "pending",
              "approved"
            ],
            "type": "string"
          },
          "team_accepted": {
            "default": false,
            "description": "Set by the team's officers. An approved officer can't be removed by another",
            "type": "boolean"
          },
          "team_id": {
            "type": "integer"
          },
          "title": {
            "description": "Optional, in your own words, e.g. Sprints coach",
            "maxLength": 60,
            "type": "string"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "TeamMembershipInput": {
        "properties": {
          "member_accepted": {
            "default": false,
            "type": "boolean"
          },
          "message": {
            "maxLength": 500,
            "type": "string"
          },
          "position": {
            "description": "Optional; officers choose their own",
            "enum": [
              "president",
              "vice_president",
              "secretary",
              "treasurer",
              "registrar",
              "head_coach",
              "coach",
              "assistant_coach",
              "team_manager",
              "other"
            ],
            "type": "string"
          },
          "team_id": {
            "type": "integer"
          },
          "title": {
            "description": "Optional, in your own words, e.g. Sprints coach",
            "maxLength": 60,
            "type": "string"
          }
        },
        "required": [
          "team_id"
        ],
        "type": "object"
      },
      "TeamMembershipList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/TeamMembership"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "TeamRole": {
        "description": "athlete: trains and competes with the team; officer: runs the team (coaches, registrar, treasurer, president, …) and shares its profile",
        "enum": [
          "athlete",
          "officer"
        ],
        "type": "string"
      },
      "TimeOfDay": {
        "description": "When in the day a scheduled workout is done; on the calendar a day's workouts are in this order, each marked with its colour",
        "enum": [
          "morning",
          "afternoon",
          "evening"
        ],
        "type": "string"
      },
      "TrainingPlan": {
        "description": "A period of training on the calendar, usually building to a goal race or event. Public plans can be copied; move a plan's start date and its whole schedule moves with it",
        "properties": {
          "athlete_id": {
            "type": "integer"
          },
          "cloned_from_id": {
            "description": "The public plan this one was copied from, if any",
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "description": {
            "maxLength": 10000,
            "type": "string"
          },
          "end_date": {
            "format": "date",
            "type": "string"
          },
          "goal": {
            "maxLength": 200,
            "type": "string"
          },
          "goal_event_id": {
            "description": "The race or meet this plan builds to, from the events list",
            "type": "integer"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "name": {
            "maxLength": 120,
            "type": "string"
          },
          "on_calendar": {
            "default": true,
            "description": "Show this plan's workouts on your calendar. Turn it off for a plan you keep for reference or are not following now; it still has its own calendar",
            "type": "boolean"
          },
          "start_date": {
            "description": "Changing it moves the end date and every scheduled workout by the same number of days",
            "format": "date",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "visibility": {
            "default": "private",
            "description": "Public: anyone can see and copy this plan; Team: everyone on a team with you (athletes and officers) can. Copying it gives them every workout on it in full, including your private ones",
            "enum": [
              "public",
              "team",
              "private"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "TrainingPlanInput": {
        "properties": {
          "cloned_from_id": {
            "description": "The public plan this one was copied from, if any",
            "type": "integer"
          },
          "description": {
            "maxLength": 10000,
            "type": "string"
          },
          "end_date": {
            "format": "date",
            "type": "string"
          },
          "goal": {
            "maxLength": 200,
            "type": "string"
          },
          "goal_event_id": {
            "description": "The race or meet this plan builds to, from the events list",
            "type": "integer"
          },
          "name": {
            "maxLength": 120,
            "type": "string"
          },
          "on_calendar": {
            "default": true,
            "description": "Show this plan's workouts on your calendar. Turn it off for a plan you keep for reference or are not following now; it still has its own calendar",
            "type": "boolean"
          },
          "start_date": {
            "description": "Changing it moves the end date and every scheduled workout by the same number of days",
            "format": "date",
            "type": "string"
          },
          "visibility": {
            "default": "private",
            "description": "Public: anyone can see and copy this plan; Team: everyone on a team with you (athletes and officers) can. Copying it gives them every workout on it in full, including your private ones",
            "enum": [
              "public",
              "team",
              "private"
            ],
            "type": "string"
          }
        },
        "required": [
          "name",
          "start_date"
        ],
        "type": "object"
      },
      "TrainingPlanList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/TrainingPlan"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Visibility": {
        "description": "public: anyone, including people who are not signed in; team: everyone on a team with you (its athletes and officers); private: only you",
        "enum": [
          "public",
          "team",
          "private"
        ],
        "type": "string"
      },
      "Workout": {
        "description": "A reusable workout: sets of intervals for one activity, tagged so others can find and re-use it",
        "properties": {
          "author_id": {
            "type": "integer"
          },
          "chosen_by": {
            "description": "How many athletes have scheduled or copied this workout",
            "readOnly": true,
            "type": "integer"
          },
          "cloned_from_id": {
            "description": "The workout this one was copied from, if any: it is listed among that workout's variations",
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "credit": {
            "description": "Optional: whose workout this is, e.g. Jack Daniels or a club's Tuesday session",
            "maxLength": 120,
            "type": "string"
          },
          "description": {
            "maxLength": 5000,
            "type": "string"
          },
          "hide_author": {
            "default": false,
            "description": "For a well-known workout you're sharing but didn't come up with: others won't see your name on it",
            "type": "boolean"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "is_variation": {
            "default": false,
            "description": "Set once a set or an interval is added to or removed from a copy of another workout",
            "readOnly": true,
            "type": "boolean"
          },
          "name": {
            "maxLength": 120,
            "type": "string"
          },
          "part_count": {
            "readOnly": true,
            "type": "integer"
          },
          "sport": {
            "default": "run",
            "enum": [
              "run",
              "ride",
              "swim",
              "walk",
              "hike",
              "row",
              "ski",
              "strength",
              "calisthenics",
              "plyometric",
              "mobility",
              "other"
            ],
            "type": "string"
          },
          "sub_activity_id": {
            "description": "e.g. Sprint or Endurance — must be one of this activity's",
            "type": "integer"
          },
          "surface": {
            "description": "Applies to every interval that does not choose its own. Running: road, track, trail, grass, treadmill, hill. Swimming: pool, open water.",
            "enum": [
              "road",
              "track",
              "trail",
              "grass",
              "treadmill",
              "hill",
              "pool",
              "open_water"
            ],
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "variation_count": {
            "description": "Public workouts copied from this one and changed",
            "readOnly": true,
            "type": "integer"
          },
          "visibility": {
            "description": "Public workouts appear in the library for everyone to find and re-use; team workouts for everyone on a team with you. A variation of a public workout stays public",
            "enum": [
              "public",
              "team",
              "private"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "WorkoutInput": {
        "properties": {
          "credit": {
            "description": "Optional: whose workout this is, e.g. Jack Daniels or a club's Tuesday session",
            "maxLength": 120,
            "type": "string"
          },
          "description": {
            "maxLength": 5000,
            "type": "string"
          },
          "hide_author": {
            "default": false,
            "description": "For a well-known workout you're sharing but didn't come up with: others won't see your name on it",
            "type": "boolean"
          },
          "name": {
            "maxLength": 120,
            "type": "string"
          },
          "sport": {
            "default": "run",
            "enum": [
              "run",
              "ride",
              "swim",
              "walk",
              "hike",
              "row",
              "ski",
              "strength",
              "calisthenics",
              "plyometric",
              "mobility",
              "other"
            ],
            "type": "string"
          },
          "sub_activity_id": {
            "description": "e.g. Sprint or Endurance — must be one of this activity's",
            "type": "integer"
          },
          "surface": {
            "description": "Applies to every interval that does not choose its own. Running: road, track, trail, grass, treadmill, hill. Swimming: pool, open water.",
            "enum": [
              "road",
              "track",
              "trail",
              "grass",
              "treadmill",
              "hill",
              "pool",
              "open_water"
            ],
            "type": "string"
          },
          "visibility": {
            "description": "Public workouts appear in the library for everyone to find and re-use; team workouts for everyone on a team with you. A variation of a public workout stays public",
            "enum": [
              "public",
              "team",
              "private"
            ],
            "type": "string"
          }
        },
        "required": [
          "name",
          "sport"
        ],
        "type": "object"
      },
      "WorkoutList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Workout"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "WorkoutSelection": {
        "description": "A library workout someone scheduled or cloned, and the tags they searched with",
        "properties": {
          "action": {
            "enum": [
              "scheduled",
              "cloned"
            ],
            "type": "string"
          },
          "athlete_id": {
            "type": "integer"
          },
          "clone_id": {
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "first_by_athlete": {
            "readOnly": true,
            "type": "integer"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "planned_workout_id": {
            "type": "integer"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "workout_id": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "WorkoutSelectionInput": {
        "properties": {
          "action": {
            "enum": [
              "scheduled",
              "cloned"
            ],
            "type": "string"
          },
          "clone_id": {
            "type": "integer"
          },
          "planned_workout_id": {
            "type": "integer"
          },
          "workout_id": {
            "type": "integer"
          }
        },
        "required": [
          "workout_id",
          "action"
        ],
        "type": "object"
      },
      "WorkoutSelectionList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/WorkoutSelection"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "WorkoutSelectionTag": {
        "description": "One of the tags selected when a library workout was picked",
        "properties": {
          "created_at": {
            "description": "Set by the server when the record is created",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "selection_id": {
            "type": "integer"
          },
          "tag_id": {
            "type": "integer"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "WorkoutSelectionTagInput": {
        "properties": {
          "selection_id": {
            "type": "integer"
          },
          "tag_id": {
            "type": "integer"
          }
        },
        "required": [
          "selection_id",
          "tag_id"
        ],
        "type": "object"
      },
      "WorkoutSelectionTagList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/WorkoutSelectionTag"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "WorkoutSet": {
        "description": "A group of intervals within a running or swimming workout, optionally repeated",
        "properties": {
          "created_at": {
            "description": "Set by the server when the record is created",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "interval_count": {
            "readOnly": true,
            "type": "integer"
          },
          "name": {
            "maxLength": 80,
            "type": "string"
          },
          "notes": {
            "maxLength": 2000,
            "type": "string"
          },
          "position": {
            "description": "Numbered in order as sets are added",
            "minimum": 1,
            "readOnly": true,
            "type": "integer"
          },
          "repeats": {
            "default": 1,
            "description": "How many times the whole set is done",
            "maximum": 50,
            "minimum": 1,
            "type": "integer"
          },
          "rest_after": {
            "description": "Recovery after each round of the set",
            "minimum": 0,
            "type": "integer"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "workout_id": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "WorkoutSetInput": {
        "properties": {
          "name": {
            "maxLength": 80,
            "type": "string"
          },
          "notes": {
            "maxLength": 2000,
            "type": "string"
          },
          "repeats": {
            "default": 1,
            "description": "How many times the whole set is done",
            "maximum": 50,
            "minimum": 1,
            "type": "integer"
          },
          "rest_after": {
            "description": "Recovery after each round of the set",
            "minimum": 0,
            "type": "integer"
          },
          "workout_id": {
            "type": "integer"
          }
        },
        "required": [
          "workout_id",
          "name",
          "repeats"
        ],
        "type": "object"
      },
      "WorkoutSetList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/WorkoutSet"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "WorkoutStatus": {
        "description": "Whether a scheduled workout was done; set to completed when a matching activity is uploaded",
        "enum": [
          "planned",
          "completed",
          "partial",
          "skipped"
        ],
        "type": "string"
      },
      "WorkoutTag": {
        "description": "Tags a workout",
        "properties": {
          "created_at": {
            "description": "Set by the server when the record is created",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "tag_id": {
            "type": "integer"
          },
          "updated_at": {
            "description": "Set by the server when the record is saved",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "workout_id": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "WorkoutTagInput": {
        "properties": {
          "tag_id": {
            "type": "integer"
          },
          "workout_id": {
            "type": "integer"
          }
        },
        "required": [
          "workout_id",
          "tag_id"
        ],
        "type": "object"
      },
      "WorkoutTagList": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/WorkoutTag"
            },
            "type": "array"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      }
    }
  },
  "info": {
    "description": "Athletics Together — training planner, training log and virtual events",
    "title": "Athletics Together",
    "version": "1.0.0"
  },
  "openapi": "3.0.3",
  "paths": {
    "/api/v1/activities": {
      "get": {
        "operationId": "listActivity",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActivityList"
                }
              }
            },
            "description": "A list of Activities"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Activities",
        "tags": [
          "Activity"
        ]
      },
      "post": {
        "operationId": "createActivity",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ActivityInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Activity"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Activity",
        "tags": [
          "Activity"
        ]
      }
    },
    "/api/v1/activities/{id}": {
      "delete": {
        "operationId": "deleteActivity",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Activity",
        "tags": [
          "Activity"
        ]
      },
      "get": {
        "operationId": "getActivity",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Activity"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Activity by ID",
        "tags": [
          "Activity"
        ]
      },
      "put": {
        "operationId": "updateActivity",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ActivityInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Activity"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Activity",
        "tags": [
          "Activity"
        ]
      }
    },
    "/api/v1/athlete-sports": {
      "get": {
        "operationId": "listAthleteSport",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AthleteSportList"
                }
              }
            },
            "description": "A list of Sports"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Sports",
        "tags": [
          "AthleteSport"
        ]
      },
      "post": {
        "operationId": "createAthleteSport",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AthleteSportInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AthleteSport"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Sport",
        "tags": [
          "AthleteSport"
        ]
      }
    },
    "/api/v1/athlete-sports/{id}": {
      "delete": {
        "operationId": "deleteAthleteSport",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Sport",
        "tags": [
          "AthleteSport"
        ]
      },
      "get": {
        "operationId": "getAthleteSport",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AthleteSport"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Sport by ID",
        "tags": [
          "AthleteSport"
        ]
      },
      "put": {
        "operationId": "updateAthleteSport",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AthleteSportInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AthleteSport"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Sport",
        "tags": [
          "AthleteSport"
        ]
      }
    },
    "/api/v1/athletes": {
      "get": {
        "operationId": "listAthlete",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AthleteList"
                }
              }
            },
            "description": "A list of Athletes"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Athletes",
        "tags": [
          "Athlete"
        ]
      },
      "post": {
        "operationId": "createAthlete",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AthleteInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Athlete"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Athlete",
        "tags": [
          "Athlete"
        ]
      }
    },
    "/api/v1/athletes/{id}": {
      "delete": {
        "operationId": "deleteAthlete",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Athlete",
        "tags": [
          "Athlete"
        ]
      },
      "get": {
        "operationId": "getAthlete",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Athlete"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Athlete by ID",
        "tags": [
          "Athlete"
        ]
      },
      "put": {
        "operationId": "updateAthlete",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AthleteInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Athlete"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Athlete",
        "tags": [
          "Athlete"
        ]
      }
    },
    "/api/v1/dd-admin-events": {
      "get": {
        "operationId": "listFrameworkAdminEvent",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkAdminEventList"
                }
              }
            },
            "description": "A list of Admin changes"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Admin changes",
        "tags": [
          "FrameworkAdminEvent"
        ]
      },
      "post": {
        "operationId": "createFrameworkAdminEvent",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FrameworkAdminEventInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkAdminEvent"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Admin change",
        "tags": [
          "FrameworkAdminEvent"
        ]
      }
    },
    "/api/v1/dd-admin-events/{id}": {
      "delete": {
        "operationId": "deleteFrameworkAdminEvent",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Admin change",
        "tags": [
          "FrameworkAdminEvent"
        ]
      },
      "get": {
        "operationId": "getFrameworkAdminEvent",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkAdminEvent"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Admin change by ID",
        "tags": [
          "FrameworkAdminEvent"
        ]
      },
      "put": {
        "operationId": "updateFrameworkAdminEvent",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FrameworkAdminEventInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkAdminEvent"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Admin change",
        "tags": [
          "FrameworkAdminEvent"
        ]
      }
    },
    "/api/v1/dd-admin-links": {
      "get": {
        "operationId": "listFrameworkAdminLink",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkAdminLinkList"
                }
              }
            },
            "description": "A list of Admin login links"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Admin login links",
        "tags": [
          "FrameworkAdminLink"
        ]
      },
      "post": {
        "operationId": "createFrameworkAdminLink",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FrameworkAdminLinkInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkAdminLink"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Admin login link",
        "tags": [
          "FrameworkAdminLink"
        ]
      }
    },
    "/api/v1/dd-admin-links/{id}": {
      "delete": {
        "operationId": "deleteFrameworkAdminLink",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Admin login link",
        "tags": [
          "FrameworkAdminLink"
        ]
      },
      "get": {
        "operationId": "getFrameworkAdminLink",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkAdminLink"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Admin login link by ID",
        "tags": [
          "FrameworkAdminLink"
        ]
      },
      "put": {
        "operationId": "updateFrameworkAdminLink",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FrameworkAdminLinkInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkAdminLink"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Admin login link",
        "tags": [
          "FrameworkAdminLink"
        ]
      }
    },
    "/api/v1/dd-admins": {
      "get": {
        "operationId": "listFrameworkAdmin",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkAdminList"
                }
              }
            },
            "description": "A list of Admins"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Admins",
        "tags": [
          "FrameworkAdmin"
        ]
      },
      "post": {
        "operationId": "createFrameworkAdmin",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FrameworkAdminInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkAdmin"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Admin",
        "tags": [
          "FrameworkAdmin"
        ]
      }
    },
    "/api/v1/dd-admins/{id}": {
      "delete": {
        "operationId": "deleteFrameworkAdmin",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Admin",
        "tags": [
          "FrameworkAdmin"
        ]
      },
      "get": {
        "operationId": "getFrameworkAdmin",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkAdmin"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Admin by ID",
        "tags": [
          "FrameworkAdmin"
        ]
      },
      "put": {
        "operationId": "updateFrameworkAdmin",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FrameworkAdminInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkAdmin"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Admin",
        "tags": [
          "FrameworkAdmin"
        ]
      }
    },
    "/api/v1/dd-feeds": {
      "get": {
        "operationId": "listFrameworkFeed",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkFeedList"
                }
              }
            },
            "description": "A list of Calendar feeds"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Calendar feeds",
        "tags": [
          "FrameworkFeed"
        ]
      },
      "post": {
        "operationId": "createFrameworkFeed",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FrameworkFeedInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkFeed"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Calendar feed",
        "tags": [
          "FrameworkFeed"
        ]
      }
    },
    "/api/v1/dd-feeds/{id}": {
      "delete": {
        "operationId": "deleteFrameworkFeed",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Calendar feed",
        "tags": [
          "FrameworkFeed"
        ]
      },
      "get": {
        "operationId": "getFrameworkFeed",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkFeed"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Calendar feed by ID",
        "tags": [
          "FrameworkFeed"
        ]
      },
      "put": {
        "operationId": "updateFrameworkFeed",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FrameworkFeedInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkFeed"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Calendar feed",
        "tags": [
          "FrameworkFeed"
        ]
      }
    },
    "/api/v1/dd-identities": {
      "get": {
        "operationId": "listFrameworkIdentity",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkIdentityList"
                }
              }
            },
            "description": "A list of Sign-in identities"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Sign-in identities",
        "tags": [
          "FrameworkIdentity"
        ]
      },
      "post": {
        "operationId": "createFrameworkIdentity",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FrameworkIdentityInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkIdentity"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Sign-in identity",
        "tags": [
          "FrameworkIdentity"
        ]
      }
    },
    "/api/v1/dd-identities/{id}": {
      "delete": {
        "operationId": "deleteFrameworkIdentity",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Sign-in identity",
        "tags": [
          "FrameworkIdentity"
        ]
      },
      "get": {
        "operationId": "getFrameworkIdentity",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkIdentity"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Sign-in identity by ID",
        "tags": [
          "FrameworkIdentity"
        ]
      },
      "put": {
        "operationId": "updateFrameworkIdentity",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FrameworkIdentityInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkIdentity"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Sign-in identity",
        "tags": [
          "FrameworkIdentity"
        ]
      }
    },
    "/api/v1/dd-service-settings": {
      "get": {
        "operationId": "listFrameworkServiceSetting",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkServiceSettingList"
                }
              }
            },
            "description": "A list of Service settings"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Service settings",
        "tags": [
          "FrameworkServiceSetting"
        ]
      },
      "post": {
        "operationId": "createFrameworkServiceSetting",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FrameworkServiceSettingInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkServiceSetting"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Service setting",
        "tags": [
          "FrameworkServiceSetting"
        ]
      }
    },
    "/api/v1/dd-service-settings/{id}": {
      "delete": {
        "operationId": "deleteFrameworkServiceSetting",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Service setting",
        "tags": [
          "FrameworkServiceSetting"
        ]
      },
      "get": {
        "operationId": "getFrameworkServiceSetting",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkServiceSetting"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Service setting by ID",
        "tags": [
          "FrameworkServiceSetting"
        ]
      },
      "put": {
        "operationId": "updateFrameworkServiceSetting",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FrameworkServiceSettingInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkServiceSetting"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Service setting",
        "tags": [
          "FrameworkServiceSetting"
        ]
      }
    },
    "/api/v1/dd-sessions": {
      "get": {
        "operationId": "listFrameworkSession",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkSessionList"
                }
              }
            },
            "description": "A list of Sessions"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Sessions",
        "tags": [
          "FrameworkSession"
        ]
      },
      "post": {
        "operationId": "createFrameworkSession",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FrameworkSessionInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkSession"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Session",
        "tags": [
          "FrameworkSession"
        ]
      }
    },
    "/api/v1/dd-sessions/{id}": {
      "delete": {
        "operationId": "deleteFrameworkSession",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Session",
        "tags": [
          "FrameworkSession"
        ]
      },
      "get": {
        "operationId": "getFrameworkSession",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkSession"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Session by ID",
        "tags": [
          "FrameworkSession"
        ]
      },
      "put": {
        "operationId": "updateFrameworkSession",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FrameworkSessionInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameworkSession"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Session",
        "tags": [
          "FrameworkSession"
        ]
      }
    },
    "/api/v1/disciplines": {
      "get": {
        "operationId": "listDiscipline",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DisciplineList"
                }
              }
            },
            "description": "A list of Standard events"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Standard events",
        "tags": [
          "Discipline"
        ]
      },
      "post": {
        "operationId": "createDiscipline",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DisciplineInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Discipline"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Standard event",
        "tags": [
          "Discipline"
        ]
      }
    },
    "/api/v1/disciplines/{id}": {
      "delete": {
        "operationId": "deleteDiscipline",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Standard event",
        "tags": [
          "Discipline"
        ]
      },
      "get": {
        "operationId": "getDiscipline",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Discipline"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Standard event by ID",
        "tags": [
          "Discipline"
        ]
      },
      "put": {
        "operationId": "updateDiscipline",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DisciplineInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Discipline"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Standard event",
        "tags": [
          "Discipline"
        ]
      }
    },
    "/api/v1/entries": {
      "get": {
        "operationId": "listEntry",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EntryList"
                }
              }
            },
            "description": "A list of Entries"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Entries",
        "tags": [
          "Entry"
        ]
      },
      "post": {
        "operationId": "createEntry",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EntryInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Entry"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Entry",
        "tags": [
          "Entry"
        ]
      }
    },
    "/api/v1/entries/{id}": {
      "delete": {
        "operationId": "deleteEntry",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Entry",
        "tags": [
          "Entry"
        ]
      },
      "get": {
        "operationId": "getEntry",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Entry"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Entry by ID",
        "tags": [
          "Entry"
        ]
      },
      "put": {
        "operationId": "updateEntry",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EntryInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Entry"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Entry",
        "tags": [
          "Entry"
        ]
      }
    },
    "/api/v1/event-plans": {
      "get": {
        "operationId": "listEventPlan",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventPlanList"
                }
              }
            },
            "description": "A list of Your plans"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Your plans",
        "tags": [
          "EventPlan"
        ]
      },
      "post": {
        "operationId": "createEventPlan",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EventPlanInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventPlan"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Your plan",
        "tags": [
          "EventPlan"
        ]
      }
    },
    "/api/v1/event-plans/{id}": {
      "delete": {
        "operationId": "deleteEventPlan",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Your plan",
        "tags": [
          "EventPlan"
        ]
      },
      "get": {
        "operationId": "getEventPlan",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventPlan"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Your plan by ID",
        "tags": [
          "EventPlan"
        ]
      },
      "put": {
        "operationId": "updateEventPlan",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EventPlanInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventPlan"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Your plan",
        "tags": [
          "EventPlan"
        ]
      }
    },
    "/api/v1/event-registrations": {
      "get": {
        "operationId": "listEventRegistration",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventRegistrationList"
                }
              }
            },
            "description": "A list of Registrations"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Registrations",
        "tags": [
          "EventRegistration"
        ]
      },
      "post": {
        "operationId": "createEventRegistration",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EventRegistrationInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventRegistration"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Registration",
        "tags": [
          "EventRegistration"
        ]
      }
    },
    "/api/v1/event-registrations/{id}": {
      "delete": {
        "operationId": "deleteEventRegistration",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Registration",
        "tags": [
          "EventRegistration"
        ]
      },
      "get": {
        "operationId": "getEventRegistration",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventRegistration"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Registration by ID",
        "tags": [
          "EventRegistration"
        ]
      },
      "put": {
        "operationId": "updateEventRegistration",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EventRegistrationInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventRegistration"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Registration",
        "tags": [
          "EventRegistration"
        ]
      }
    },
    "/api/v1/events": {
      "get": {
        "operationId": "listEvent",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventList"
                }
              }
            },
            "description": "A list of Events"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Events",
        "tags": [
          "Event"
        ]
      },
      "post": {
        "operationId": "createEvent",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EventInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Event"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Event",
        "tags": [
          "Event"
        ]
      }
    },
    "/api/v1/events/{id}": {
      "delete": {
        "operationId": "deleteEvent",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Event",
        "tags": [
          "Event"
        ]
      },
      "get": {
        "operationId": "getEvent",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Event"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Event by ID",
        "tags": [
          "Event"
        ]
      },
      "put": {
        "operationId": "updateEvent",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EventInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Event"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Event",
        "tags": [
          "Event"
        ]
      }
    },
    "/api/v1/heart-rate-zones": {
      "get": {
        "operationId": "listHeartRateZone",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HeartRateZoneList"
                }
              }
            },
            "description": "A list of Heart-rate zones"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Heart-rate zones",
        "tags": [
          "HeartRateZone"
        ]
      },
      "post": {
        "operationId": "createHeartRateZone",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HeartRateZoneInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HeartRateZone"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Heart-rate zone",
        "tags": [
          "HeartRateZone"
        ]
      }
    },
    "/api/v1/heart-rate-zones/{id}": {
      "delete": {
        "operationId": "deleteHeartRateZone",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Heart-rate zone",
        "tags": [
          "HeartRateZone"
        ]
      },
      "get": {
        "operationId": "getHeartRateZone",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HeartRateZone"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Heart-rate zone by ID",
        "tags": [
          "HeartRateZone"
        ]
      },
      "put": {
        "operationId": "updateHeartRateZone",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HeartRateZoneInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HeartRateZone"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Heart-rate zone",
        "tags": [
          "HeartRateZone"
        ]
      }
    },
    "/api/v1/intervals": {
      "get": {
        "operationId": "listInterval",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntervalList"
                }
              }
            },
            "description": "A list of Interval / reps"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Interval / reps",
        "tags": [
          "Interval"
        ]
      },
      "post": {
        "operationId": "createInterval",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IntervalInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Interval"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Interval / rep",
        "tags": [
          "Interval"
        ]
      }
    },
    "/api/v1/intervals/{id}": {
      "delete": {
        "operationId": "deleteInterval",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Interval / rep",
        "tags": [
          "Interval"
        ]
      },
      "get": {
        "operationId": "getInterval",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Interval"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Interval / rep by ID",
        "tags": [
          "Interval"
        ]
      },
      "put": {
        "operationId": "updateInterval",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IntervalInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Interval"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Interval / rep",
        "tags": [
          "Interval"
        ]
      }
    },
    "/api/v1/laps": {
      "get": {
        "operationId": "listLap",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LapList"
                }
              }
            },
            "description": "A list of Laps"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Laps",
        "tags": [
          "Lap"
        ]
      },
      "post": {
        "operationId": "createLap",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LapInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Lap"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Lap",
        "tags": [
          "Lap"
        ]
      }
    },
    "/api/v1/laps/{id}": {
      "delete": {
        "operationId": "deleteLap",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Lap",
        "tags": [
          "Lap"
        ]
      },
      "get": {
        "operationId": "getLap",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Lap"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Lap by ID",
        "tags": [
          "Lap"
        ]
      },
      "put": {
        "operationId": "updateLap",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LapInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Lap"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Lap",
        "tags": [
          "Lap"
        ]
      }
    },
    "/api/v1/movements": {
      "get": {
        "operationId": "listMovement",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MovementList"
                }
              }
            },
            "description": "A list of Movements"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Movements",
        "tags": [
          "Movement"
        ]
      },
      "post": {
        "operationId": "createMovement",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MovementInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Movement"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Movement",
        "tags": [
          "Movement"
        ]
      }
    },
    "/api/v1/movements/{id}": {
      "delete": {
        "operationId": "deleteMovement",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Movement",
        "tags": [
          "Movement"
        ]
      },
      "get": {
        "operationId": "getMovement",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Movement"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Movement by ID",
        "tags": [
          "Movement"
        ]
      },
      "put": {
        "operationId": "updateMovement",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MovementInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Movement"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Movement",
        "tags": [
          "Movement"
        ]
      }
    },
    "/api/v1/organizer-requests": {
      "get": {
        "operationId": "listOrganizerRequest",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizerRequestList"
                }
              }
            },
            "description": "A list of Organizer requests"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Organizer requests",
        "tags": [
          "OrganizerRequest"
        ]
      },
      "post": {
        "operationId": "createOrganizerRequest",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrganizerRequestInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizerRequest"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Organizer request",
        "tags": [
          "OrganizerRequest"
        ]
      }
    },
    "/api/v1/organizer-requests/{id}": {
      "delete": {
        "operationId": "deleteOrganizerRequest",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Organizer request",
        "tags": [
          "OrganizerRequest"
        ]
      },
      "get": {
        "operationId": "getOrganizerRequest",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizerRequest"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Organizer request by ID",
        "tags": [
          "OrganizerRequest"
        ]
      },
      "put": {
        "operationId": "updateOrganizerRequest",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrganizerRequestInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizerRequest"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Organizer request",
        "tags": [
          "OrganizerRequest"
        ]
      }
    },
    "/api/v1/planned-workouts": {
      "get": {
        "operationId": "listPlannedWorkout",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlannedWorkoutList"
                }
              }
            },
            "description": "A list of Scheduled Workouts"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Scheduled Workouts",
        "tags": [
          "PlannedWorkout"
        ]
      },
      "post": {
        "operationId": "createPlannedWorkout",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PlannedWorkoutInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlannedWorkout"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Scheduled Workout",
        "tags": [
          "PlannedWorkout"
        ]
      }
    },
    "/api/v1/planned-workouts/{id}": {
      "delete": {
        "operationId": "deletePlannedWorkout",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Scheduled Workout",
        "tags": [
          "PlannedWorkout"
        ]
      },
      "get": {
        "operationId": "getPlannedWorkout",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlannedWorkout"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Scheduled Workout by ID",
        "tags": [
          "PlannedWorkout"
        ]
      },
      "put": {
        "operationId": "updatePlannedWorkout",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PlannedWorkoutInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlannedWorkout"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Scheduled Workout",
        "tags": [
          "PlannedWorkout"
        ]
      }
    },
    "/api/v1/quick-workouts": {
      "get": {
        "operationId": "listQuickWorkout",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuickWorkoutList"
                }
              }
            },
            "description": "A list of Quick adds"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Quick adds",
        "tags": [
          "QuickWorkout"
        ]
      },
      "post": {
        "operationId": "createQuickWorkout",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QuickWorkoutInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuickWorkout"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Quick add",
        "tags": [
          "QuickWorkout"
        ]
      }
    },
    "/api/v1/quick-workouts/{id}": {
      "delete": {
        "operationId": "deleteQuickWorkout",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Quick add",
        "tags": [
          "QuickWorkout"
        ]
      },
      "get": {
        "operationId": "getQuickWorkout",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuickWorkout"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Quick add by ID",
        "tags": [
          "QuickWorkout"
        ]
      },
      "put": {
        "operationId": "updateQuickWorkout",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QuickWorkoutInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuickWorkout"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Quick add",
        "tags": [
          "QuickWorkout"
        ]
      }
    },
    "/api/v1/results": {
      "get": {
        "operationId": "listResult",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResultList"
                }
              }
            },
            "description": "A list of Results"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Results",
        "tags": [
          "Result"
        ]
      },
      "post": {
        "operationId": "createResult",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResultInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Result"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Result",
        "tags": [
          "Result"
        ]
      }
    },
    "/api/v1/results/{id}": {
      "delete": {
        "operationId": "deleteResult",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Result",
        "tags": [
          "Result"
        ]
      },
      "get": {
        "operationId": "getResult",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Result"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Result by ID",
        "tags": [
          "Result"
        ]
      },
      "put": {
        "operationId": "updateResult",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResultInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Result"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Result",
        "tags": [
          "Result"
        ]
      }
    },
    "/api/v1/sub-activities": {
      "get": {
        "operationId": "listSubActivity",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubActivityList"
                }
              }
            },
            "description": "A list of Sub-activities"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Sub-activities",
        "tags": [
          "SubActivity"
        ]
      },
      "post": {
        "operationId": "createSubActivity",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubActivityInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubActivity"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Sub-activity",
        "tags": [
          "SubActivity"
        ]
      }
    },
    "/api/v1/sub-activities/{id}": {
      "delete": {
        "operationId": "deleteSubActivity",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Sub-activity",
        "tags": [
          "SubActivity"
        ]
      },
      "get": {
        "operationId": "getSubActivity",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubActivity"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Sub-activity by ID",
        "tags": [
          "SubActivity"
        ]
      },
      "put": {
        "operationId": "updateSubActivity",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubActivityInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubActivity"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Sub-activity",
        "tags": [
          "SubActivity"
        ]
      }
    },
    "/api/v1/sub-events": {
      "get": {
        "operationId": "listSubEvent",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubEventList"
                }
              }
            },
            "description": "A list of Race or events"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Race or events",
        "tags": [
          "SubEvent"
        ]
      },
      "post": {
        "operationId": "createSubEvent",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubEventInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubEvent"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Race or event",
        "tags": [
          "SubEvent"
        ]
      }
    },
    "/api/v1/sub-events/{id}": {
      "delete": {
        "operationId": "deleteSubEvent",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Race or event",
        "tags": [
          "SubEvent"
        ]
      },
      "get": {
        "operationId": "getSubEvent",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubEvent"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Race or event by ID",
        "tags": [
          "SubEvent"
        ]
      },
      "put": {
        "operationId": "updateSubEvent",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubEventInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubEvent"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Race or event",
        "tags": [
          "SubEvent"
        ]
      }
    },
    "/api/v1/tag-categories": {
      "get": {
        "operationId": "listTagCategory",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TagCategoryList"
                }
              }
            },
            "description": "A list of Tag categories"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Tag categories",
        "tags": [
          "TagCategory"
        ]
      },
      "post": {
        "operationId": "createTagCategory",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TagCategoryInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TagCategory"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Tag category",
        "tags": [
          "TagCategory"
        ]
      }
    },
    "/api/v1/tag-categories/{id}": {
      "delete": {
        "operationId": "deleteTagCategory",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Tag category",
        "tags": [
          "TagCategory"
        ]
      },
      "get": {
        "operationId": "getTagCategory",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TagCategory"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Tag category by ID",
        "tags": [
          "TagCategory"
        ]
      },
      "put": {
        "operationId": "updateTagCategory",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TagCategoryInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TagCategory"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Tag category",
        "tags": [
          "TagCategory"
        ]
      }
    },
    "/api/v1/tags": {
      "get": {
        "operationId": "listTag",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TagList"
                }
              }
            },
            "description": "A list of Tags"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Tags",
        "tags": [
          "Tag"
        ]
      },
      "post": {
        "operationId": "createTag",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TagInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Tag"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Tag",
        "tags": [
          "Tag"
        ]
      }
    },
    "/api/v1/tags/{id}": {
      "delete": {
        "operationId": "deleteTag",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Tag",
        "tags": [
          "Tag"
        ]
      },
      "get": {
        "operationId": "getTag",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Tag"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Tag by ID",
        "tags": [
          "Tag"
        ]
      },
      "put": {
        "operationId": "updateTag",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TagInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Tag"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Tag",
        "tags": [
          "Tag"
        ]
      }
    },
    "/api/v1/team-deletion-approvals": {
      "get": {
        "operationId": "listTeamDeletionApproval",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamDeletionApprovalList"
                }
              }
            },
            "description": "A list of Approval to delete the teams"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Approval to delete the teams",
        "tags": [
          "TeamDeletionApproval"
        ]
      },
      "post": {
        "operationId": "createTeamDeletionApproval",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamDeletionApprovalInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamDeletionApproval"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Approval to delete the team",
        "tags": [
          "TeamDeletionApproval"
        ]
      }
    },
    "/api/v1/team-deletion-approvals/{id}": {
      "delete": {
        "operationId": "deleteTeamDeletionApproval",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Approval to delete the team",
        "tags": [
          "TeamDeletionApproval"
        ]
      },
      "get": {
        "operationId": "getTeamDeletionApproval",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamDeletionApproval"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Approval to delete the team by ID",
        "tags": [
          "TeamDeletionApproval"
        ]
      },
      "put": {
        "operationId": "updateTeamDeletionApproval",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamDeletionApprovalInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamDeletionApproval"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Approval to delete the team",
        "tags": [
          "TeamDeletionApproval"
        ]
      }
    },
    "/api/v1/team-invites": {
      "get": {
        "operationId": "listTeamInvite",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamInviteList"
                }
              }
            },
            "description": "A list of Email invitations"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Email invitations",
        "tags": [
          "TeamInvite"
        ]
      },
      "post": {
        "operationId": "createTeamInvite",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamInviteInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamInvite"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Email invitation",
        "tags": [
          "TeamInvite"
        ]
      }
    },
    "/api/v1/team-invites/{id}": {
      "delete": {
        "operationId": "deleteTeamInvite",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Email invitation",
        "tags": [
          "TeamInvite"
        ]
      },
      "get": {
        "operationId": "getTeamInvite",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamInvite"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Email invitation by ID",
        "tags": [
          "TeamInvite"
        ]
      },
      "put": {
        "operationId": "updateTeamInvite",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamInviteInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamInvite"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Email invitation",
        "tags": [
          "TeamInvite"
        ]
      }
    },
    "/api/v1/team-memberships": {
      "get": {
        "operationId": "listTeamMembership",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamMembershipList"
                }
              }
            },
            "description": "A list of Team memberships"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Team memberships",
        "tags": [
          "TeamMembership"
        ]
      },
      "post": {
        "operationId": "createTeamMembership",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamMembershipInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamMembership"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Team membership",
        "tags": [
          "TeamMembership"
        ]
      }
    },
    "/api/v1/team-memberships/{id}": {
      "delete": {
        "operationId": "deleteTeamMembership",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Team membership",
        "tags": [
          "TeamMembership"
        ]
      },
      "get": {
        "operationId": "getTeamMembership",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamMembership"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Team membership by ID",
        "tags": [
          "TeamMembership"
        ]
      },
      "put": {
        "operationId": "updateTeamMembership",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamMembershipInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamMembership"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Team membership",
        "tags": [
          "TeamMembership"
        ]
      }
    },
    "/api/v1/teams": {
      "get": {
        "operationId": "listTeam",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamList"
                }
              }
            },
            "description": "A list of Teams"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Teams",
        "tags": [
          "Team"
        ]
      },
      "post": {
        "operationId": "createTeam",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Team"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Team",
        "tags": [
          "Team"
        ]
      }
    },
    "/api/v1/teams/{id}": {
      "delete": {
        "operationId": "deleteTeam",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Team",
        "tags": [
          "Team"
        ]
      },
      "get": {
        "operationId": "getTeam",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Team"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Team by ID",
        "tags": [
          "Team"
        ]
      },
      "put": {
        "operationId": "updateTeam",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Team"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Team",
        "tags": [
          "Team"
        ]
      }
    },
    "/api/v1/training-plans": {
      "get": {
        "operationId": "listTrainingPlan",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrainingPlanList"
                }
              }
            },
            "description": "A list of Training Plans"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Training Plans",
        "tags": [
          "TrainingPlan"
        ]
      },
      "post": {
        "operationId": "createTrainingPlan",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TrainingPlanInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrainingPlan"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Training Plan",
        "tags": [
          "TrainingPlan"
        ]
      }
    },
    "/api/v1/training-plans/{id}": {
      "delete": {
        "operationId": "deleteTrainingPlan",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Training Plan",
        "tags": [
          "TrainingPlan"
        ]
      },
      "get": {
        "operationId": "getTrainingPlan",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrainingPlan"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Training Plan by ID",
        "tags": [
          "TrainingPlan"
        ]
      },
      "put": {
        "operationId": "updateTrainingPlan",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TrainingPlanInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrainingPlan"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Training Plan",
        "tags": [
          "TrainingPlan"
        ]
      }
    },
    "/api/v1/workout-selection-tags": {
      "get": {
        "operationId": "listWorkoutSelectionTag",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkoutSelectionTagList"
                }
              }
            },
            "description": "A list of Search tags"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Search tags",
        "tags": [
          "WorkoutSelectionTag"
        ]
      },
      "post": {
        "operationId": "createWorkoutSelectionTag",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkoutSelectionTagInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkoutSelectionTag"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Search tag",
        "tags": [
          "WorkoutSelectionTag"
        ]
      }
    },
    "/api/v1/workout-selection-tags/{id}": {
      "delete": {
        "operationId": "deleteWorkoutSelectionTag",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Search tag",
        "tags": [
          "WorkoutSelectionTag"
        ]
      },
      "get": {
        "operationId": "getWorkoutSelectionTag",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkoutSelectionTag"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Search tag by ID",
        "tags": [
          "WorkoutSelectionTag"
        ]
      },
      "put": {
        "operationId": "updateWorkoutSelectionTag",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkoutSelectionTagInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkoutSelectionTag"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Search tag",
        "tags": [
          "WorkoutSelectionTag"
        ]
      }
    },
    "/api/v1/workout-selections": {
      "get": {
        "operationId": "listWorkoutSelection",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkoutSelectionList"
                }
              }
            },
            "description": "A list of Workout selections"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Workout selections",
        "tags": [
          "WorkoutSelection"
        ]
      },
      "post": {
        "operationId": "createWorkoutSelection",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkoutSelectionInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkoutSelection"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Workout selection",
        "tags": [
          "WorkoutSelection"
        ]
      }
    },
    "/api/v1/workout-selections/{id}": {
      "delete": {
        "operationId": "deleteWorkoutSelection",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Workout selection",
        "tags": [
          "WorkoutSelection"
        ]
      },
      "get": {
        "operationId": "getWorkoutSelection",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkoutSelection"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Workout selection by ID",
        "tags": [
          "WorkoutSelection"
        ]
      },
      "put": {
        "operationId": "updateWorkoutSelection",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkoutSelectionInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkoutSelection"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Workout selection",
        "tags": [
          "WorkoutSelection"
        ]
      }
    },
    "/api/v1/workout-sets": {
      "get": {
        "operationId": "listWorkoutSet",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkoutSetList"
                }
              }
            },
            "description": "A list of Sets"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Sets",
        "tags": [
          "WorkoutSet"
        ]
      },
      "post": {
        "operationId": "createWorkoutSet",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkoutSetInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkoutSet"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Set",
        "tags": [
          "WorkoutSet"
        ]
      }
    },
    "/api/v1/workout-sets/{id}": {
      "delete": {
        "operationId": "deleteWorkoutSet",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Set",
        "tags": [
          "WorkoutSet"
        ]
      },
      "get": {
        "operationId": "getWorkoutSet",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkoutSet"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Set by ID",
        "tags": [
          "WorkoutSet"
        ]
      },
      "put": {
        "operationId": "updateWorkoutSet",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkoutSetInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkoutSet"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Set",
        "tags": [
          "WorkoutSet"
        ]
      }
    },
    "/api/v1/workout-tags": {
      "get": {
        "operationId": "listWorkoutTag",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkoutTagList"
                }
              }
            },
            "description": "A list of Workout tags"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Workout tags",
        "tags": [
          "WorkoutTag"
        ]
      },
      "post": {
        "operationId": "createWorkoutTag",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkoutTagInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkoutTag"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Workout tag",
        "tags": [
          "WorkoutTag"
        ]
      }
    },
    "/api/v1/workout-tags/{id}": {
      "delete": {
        "operationId": "deleteWorkoutTag",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Workout tag",
        "tags": [
          "WorkoutTag"
        ]
      },
      "get": {
        "operationId": "getWorkoutTag",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkoutTag"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Workout tag by ID",
        "tags": [
          "WorkoutTag"
        ]
      },
      "put": {
        "operationId": "updateWorkoutTag",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkoutTagInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkoutTag"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Workout tag",
        "tags": [
          "WorkoutTag"
        ]
      }
    },
    "/api/v1/workouts": {
      "get": {
        "operationId": "listWorkout",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "order_by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkoutList"
                }
              }
            },
            "description": "A list of Workouts"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          }
        },
        "summary": "List Workouts",
        "tags": [
          "Workout"
        ]
      },
      "post": {
        "operationId": "createWorkout",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkoutInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Workout"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable entity"
          }
        },
        "summary": "Create a Workout",
        "tags": [
          "Workout"
        ]
      }
    },
    "/api/v1/workouts/{id}": {
      "delete": {
        "operationId": "deleteWorkout",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Delete a Workout",
        "tags": [
          "Workout"
        ]
      },
      "get": {
        "operationId": "getWorkout",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Workout"
                }
              }
            },
            "description": "Found"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Get a Workout by ID",
        "tags": [
          "Workout"
        ]
      },
      "put": {
        "operationId": "updateWorkout",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkoutInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Workout"
                }
              }
            },
            "description": "Updated"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation error"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "summary": "Update a Workout",
        "tags": [
          "Workout"
        ]
      }
    }
  }
}