Skip to content

Challenge Detail

MetricEntry pydantic-model

Bases: OtfItemBase

Definition of a metric used to track benchmark performance.

Show JSON schema:
{
  "$defs": {
    "EquipmentType": {
      "description": "Enum representing the type of equipment used in workouts.",
      "enum": [
        2,
        3,
        4,
        5,
        6,
        7
      ],
      "title": "EquipmentType",
      "type": "integer"
    }
  },
  "description": "Definition of a metric used to track benchmark performance.",
  "properties": {
    "Title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Display title for the metric.",
      "title": "Title"
    },
    "EquipmentId": {
      "anyOf": [
        {
          "$ref": "#/$defs/EquipmentType"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Type of equipment for this metric."
    },
    "EntryType": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Type of entry (e.g. time, distance).",
      "title": "Entrytype"
    },
    "MetricKey": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Internal key for the metric.",
      "title": "Metrickey"
    },
    "MinValue": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Minimum valid value for this metric.",
      "title": "Minvalue"
    },
    "MaxValue": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Maximum valid value for this metric.",
      "title": "Maxvalue"
    }
  },
  "title": "MetricEntry",
  "type": "object"
}

Fields:

title pydantic-field

title = None

Display title for the metric.

equipment_id pydantic-field

equipment_id = None

Type of equipment for this metric.

entry_type pydantic-field

entry_type = None

Type of entry (e.g. time, distance).

metric_key pydantic-field

metric_key = None

Internal key for the metric.

min_value pydantic-field

min_value = None

Minimum valid value for this metric.

max_value pydantic-field

max_value = None

Maximum valid value for this metric.

BenchmarkHistory pydantic-model

Bases: OtfItemBase

A single benchmark result from a specific class.

Show JSON schema:
{
  "$defs": {
    "EquipmentType": {
      "description": "Enum representing the type of equipment used in workouts.",
      "enum": [
        2,
        3,
        4,
        5,
        6,
        7
      ],
      "title": "EquipmentType",
      "type": "integer"
    }
  },
  "description": "A single benchmark result from a specific class.",
  "properties": {
    "StudioName": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Name of the studio where the benchmark was performed.",
      "title": "Studioname"
    },
    "EquipmentId": {
      "anyOf": [
        {
          "$ref": "#/$defs/EquipmentType"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Type of equipment used."
    },
    "ClassTime": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "When the class took place.",
      "title": "Classtime"
    },
    "ChallengeSubCategoryId": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Sub-category of the benchmark.",
      "title": "Challengesubcategoryid"
    },
    "WeightLBS": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Member's weight in pounds at time of benchmark.",
      "title": "Weightlbs"
    },
    "ClassName": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Name of the class.",
      "title": "Classname"
    },
    "CoachName": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Name of the coach.",
      "title": "Coachname"
    },
    "Result": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "The benchmark result (time, distance, etc.).",
      "title": "Result"
    },
    "WorkoutTypeId": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Workouttypeid"
    },
    "WorkoutId": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Workoutid"
    },
    "LinkedChallenges": {
      "anyOf": [
        {
          "items": {},
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Linkedchallenges"
    },
    "DateCreated": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "When the entry was created in database, not useful to users",
      "title": "Datecreated"
    },
    "DateUpdated": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "When the entry was updated in database, not useful to users",
      "title": "Dateupdated"
    },
    "ClassId": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Not used by API",
      "title": "Classid"
    },
    "SubstituteId": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Not used by API, also always seems to be 0",
      "title": "Substituteid"
    }
  },
  "title": "BenchmarkHistory",
  "type": "object"
}

Fields:

studio_name pydantic-field

studio_name = None

Name of the studio where the benchmark was performed.

equipment_id pydantic-field

equipment_id = None

Type of equipment used.

class_time pydantic-field

class_time = None

When the class took place.

challenge_sub_category_id pydantic-field

challenge_sub_category_id = None

Sub-category of the benchmark.

weight_lbs pydantic-field

weight_lbs = None

Member's weight in pounds at time of benchmark.

class_name pydantic-field

class_name = None

Name of the class.

coach_name pydantic-field

coach_name = None

Name of the coach.

result pydantic-field

result = None

The benchmark result (time, distance, etc.).

date_created pydantic-field

date_created = None

When the entry was created in database, not useful to users

date_updated pydantic-field

date_updated = None

When the entry was updated in database, not useful to users

class_id pydantic-field

class_id = None

Not used by API

substitute_id pydantic-field

substitute_id = None

Not used by API, also always seems to be 0

ChallengeHistory pydantic-model

Bases: OtfItemBase

A challenge participation record with benchmark results.

Show JSON schema:
{
  "$defs": {
    "BenchmarkHistory": {
      "description": "A single benchmark result from a specific class.",
      "properties": {
        "StudioName": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Name of the studio where the benchmark was performed.",
          "title": "Studioname"
        },
        "EquipmentId": {
          "anyOf": [
            {
              "$ref": "#/$defs/EquipmentType"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Type of equipment used."
        },
        "ClassTime": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "When the class took place.",
          "title": "Classtime"
        },
        "ChallengeSubCategoryId": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Sub-category of the benchmark.",
          "title": "Challengesubcategoryid"
        },
        "WeightLBS": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Member's weight in pounds at time of benchmark.",
          "title": "Weightlbs"
        },
        "ClassName": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Name of the class.",
          "title": "Classname"
        },
        "CoachName": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Name of the coach.",
          "title": "Coachname"
        },
        "Result": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "The benchmark result (time, distance, etc.).",
          "title": "Result"
        },
        "WorkoutTypeId": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Workouttypeid"
        },
        "WorkoutId": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Workoutid"
        },
        "LinkedChallenges": {
          "anyOf": [
            {
              "items": {},
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Linkedchallenges"
        },
        "DateCreated": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "When the entry was created in database, not useful to users",
          "title": "Datecreated"
        },
        "DateUpdated": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "When the entry was updated in database, not useful to users",
          "title": "Dateupdated"
        },
        "ClassId": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Not used by API",
          "title": "Classid"
        },
        "SubstituteId": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Not used by API, also always seems to be 0",
          "title": "Substituteid"
        }
      },
      "title": "BenchmarkHistory",
      "type": "object"
    },
    "EquipmentType": {
      "description": "Enum representing the type of equipment used in workouts.",
      "enum": [
        2,
        3,
        4,
        5,
        6,
        7
      ],
      "title": "EquipmentType",
      "type": "integer"
    }
  },
  "description": "A challenge participation record with benchmark results.",
  "properties": {
    "StudioName": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Name of the studio.",
      "title": "Studioname"
    },
    "StartDate": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Start date of the challenge.",
      "title": "Startdate"
    },
    "EndDate": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "End date of the challenge.",
      "title": "Enddate"
    },
    "TotalResult": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Aggregated result for the challenge.",
      "title": "Totalresult"
    },
    "IsFinished": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Whether the challenge has been completed.",
      "title": "Isfinished"
    },
    "BenchmarkHistories": {
      "description": "Individual benchmark results within this challenge.",
      "items": {
        "$ref": "#/$defs/BenchmarkHistory"
      },
      "title": "Benchmarkhistories",
      "type": "array"
    },
    "ChallengeId": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Not used by API",
      "title": "Challengeid"
    },
    "StudioId": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Not used by API",
      "title": "Studioid"
    },
    "ChallengeObjective": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Always the string 'None'",
      "title": "Challengeobjective"
    }
  },
  "title": "ChallengeHistory",
  "type": "object"
}

Fields:

studio_name pydantic-field

studio_name = None

Name of the studio.

start_date pydantic-field

start_date = None

Start date of the challenge.

end_date pydantic-field

end_date = None

End date of the challenge.

total_result pydantic-field

total_result = None

Aggregated result for the challenge.

is_finished pydantic-field

is_finished = None

Whether the challenge has been completed.

benchmark_histories pydantic-field

benchmark_histories

Individual benchmark results within this challenge.

challenge_id pydantic-field

challenge_id = None

Not used by API

studio_id pydantic-field

studio_id = None

Not used by API

challenge_objective pydantic-field

challenge_objective = None

Always the string 'None'

Goal pydantic-model

Bases: OtfItemBase

Goal settings for a fitness benchmark.

Show JSON schema:
{
  "description": "Goal settings for a fitness benchmark.",
  "properties": {
    "Goal": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Target value for the goal.",
      "title": "Goal"
    },
    "GoalPeriod": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Time period for the goal.",
      "title": "Goalperiod"
    },
    "OverallGoal": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Overall target value.",
      "title": "Overallgoal"
    },
    "OverallGoalPeriod": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Time period for the overall goal.",
      "title": "Overallgoalperiod"
    },
    "MinOverall": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Minimum overall value.",
      "title": "Minoverall"
    },
    "MinOverallPeriod": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Time period for the minimum overall.",
      "title": "Minoverallperiod"
    }
  },
  "title": "Goal",
  "type": "object"
}

Fields:

goal pydantic-field

goal = None

Target value for the goal.

goal_period pydantic-field

goal_period = None

Time period for the goal.

overall_goal pydantic-field

overall_goal = None

Overall target value.

overall_goal_period pydantic-field

overall_goal_period = None

Time period for the overall goal.

min_overall pydantic-field

min_overall = None

Minimum overall value.

min_overall_period pydantic-field

min_overall_period = None

Time period for the minimum overall.

FitnessBenchmark pydantic-model

Bases: OtfItemBase

Detailed benchmark data including history, records, and goals.

Show JSON schema:
{
  "$defs": {
    "BenchmarkHistory": {
      "description": "A single benchmark result from a specific class.",
      "properties": {
        "StudioName": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Name of the studio where the benchmark was performed.",
          "title": "Studioname"
        },
        "EquipmentId": {
          "anyOf": [
            {
              "$ref": "#/$defs/EquipmentType"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Type of equipment used."
        },
        "ClassTime": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "When the class took place.",
          "title": "Classtime"
        },
        "ChallengeSubCategoryId": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Sub-category of the benchmark.",
          "title": "Challengesubcategoryid"
        },
        "WeightLBS": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Member's weight in pounds at time of benchmark.",
          "title": "Weightlbs"
        },
        "ClassName": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Name of the class.",
          "title": "Classname"
        },
        "CoachName": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Name of the coach.",
          "title": "Coachname"
        },
        "Result": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "The benchmark result (time, distance, etc.).",
          "title": "Result"
        },
        "WorkoutTypeId": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Workouttypeid"
        },
        "WorkoutId": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Workoutid"
        },
        "LinkedChallenges": {
          "anyOf": [
            {
              "items": {},
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Linkedchallenges"
        },
        "DateCreated": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "When the entry was created in database, not useful to users",
          "title": "Datecreated"
        },
        "DateUpdated": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "When the entry was updated in database, not useful to users",
          "title": "Dateupdated"
        },
        "ClassId": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Not used by API",
          "title": "Classid"
        },
        "SubstituteId": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Not used by API, also always seems to be 0",
          "title": "Substituteid"
        }
      },
      "title": "BenchmarkHistory",
      "type": "object"
    },
    "ChallengeHistory": {
      "description": "A challenge participation record with benchmark results.",
      "properties": {
        "StudioName": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Name of the studio.",
          "title": "Studioname"
        },
        "StartDate": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Start date of the challenge.",
          "title": "Startdate"
        },
        "EndDate": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "End date of the challenge.",
          "title": "Enddate"
        },
        "TotalResult": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Aggregated result for the challenge.",
          "title": "Totalresult"
        },
        "IsFinished": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Whether the challenge has been completed.",
          "title": "Isfinished"
        },
        "BenchmarkHistories": {
          "description": "Individual benchmark results within this challenge.",
          "items": {
            "$ref": "#/$defs/BenchmarkHistory"
          },
          "title": "Benchmarkhistories",
          "type": "array"
        },
        "ChallengeId": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Not used by API",
          "title": "Challengeid"
        },
        "StudioId": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Not used by API",
          "title": "Studioid"
        },
        "ChallengeObjective": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Always the string 'None'",
          "title": "Challengeobjective"
        }
      },
      "title": "ChallengeHistory",
      "type": "object"
    },
    "EquipmentType": {
      "description": "Enum representing the type of equipment used in workouts.",
      "enum": [
        2,
        3,
        4,
        5,
        6,
        7
      ],
      "title": "EquipmentType",
      "type": "integer"
    },
    "Goal": {
      "description": "Goal settings for a fitness benchmark.",
      "properties": {
        "Goal": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Target value for the goal.",
          "title": "Goal"
        },
        "GoalPeriod": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Time period for the goal.",
          "title": "Goalperiod"
        },
        "OverallGoal": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Overall target value.",
          "title": "Overallgoal"
        },
        "OverallGoalPeriod": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Time period for the overall goal.",
          "title": "Overallgoalperiod"
        },
        "MinOverall": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Minimum overall value.",
          "title": "Minoverall"
        },
        "MinOverallPeriod": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Time period for the minimum overall.",
          "title": "Minoverallperiod"
        }
      },
      "title": "Goal",
      "type": "object"
    },
    "MetricEntry": {
      "description": "Definition of a metric used to track benchmark performance.",
      "properties": {
        "Title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Display title for the metric.",
          "title": "Title"
        },
        "EquipmentId": {
          "anyOf": [
            {
              "$ref": "#/$defs/EquipmentType"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Type of equipment for this metric."
        },
        "EntryType": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Type of entry (e.g. time, distance).",
          "title": "Entrytype"
        },
        "MetricKey": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Internal key for the metric.",
          "title": "Metrickey"
        },
        "MinValue": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Minimum valid value for this metric.",
          "title": "Minvalue"
        },
        "MaxValue": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Maximum valid value for this metric.",
          "title": "Maxvalue"
        }
      },
      "title": "MetricEntry",
      "type": "object"
    }
  },
  "description": "Detailed benchmark data including history, records, and goals.",
  "properties": {
    "ChallengeCategoryId": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Category ID for the benchmark.",
      "title": "Challengecategoryid"
    },
    "ChallengeSubCategoryId": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Sub-category ID for the benchmark.",
      "title": "Challengesubcategoryid"
    },
    "EquipmentId": {
      "anyOf": [
        {
          "$ref": "#/$defs/EquipmentType"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Type of equipment used."
    },
    "EquipmentName": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Display name of the equipment.",
      "title": "Equipmentname"
    },
    "MetricEntry": {
      "anyOf": [
        {
          "$ref": "#/$defs/MetricEntry"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Definition of the metric being tracked."
    },
    "ChallengeName": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Display name of the benchmark.",
      "title": "Challengename"
    },
    "BestRecord": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Member's all-time best result.",
      "title": "Bestrecord"
    },
    "LastRecord": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Member's most recent result.",
      "title": "Lastrecord"
    },
    "PreviousRecord": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Member's previous result before the most recent.",
      "title": "Previousrecord"
    },
    "Unit": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Unit of measurement for the result.",
      "title": "Unit"
    },
    "Goals": {
      "anyOf": [
        {
          "$ref": "#/$defs/Goal"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Goal settings for this benchmark."
    },
    "ChallengeHistories": {
      "description": "Historical participation records.",
      "items": {
        "$ref": "#/$defs/ChallengeHistory"
      },
      "title": "Challengehistories",
      "type": "array"
    }
  },
  "title": "FitnessBenchmark",
  "type": "object"
}

Fields:

challenge_category_id pydantic-field

challenge_category_id = None

Category ID for the benchmark.

challenge_sub_category_id pydantic-field

challenge_sub_category_id = None

Sub-category ID for the benchmark.

equipment_id pydantic-field

equipment_id = None

Type of equipment used.

equipment_name pydantic-field

equipment_name = None

Display name of the equipment.

metric_entry pydantic-field

metric_entry = None

Definition of the metric being tracked.

challenge_name pydantic-field

challenge_name = None

Display name of the benchmark.

best_record pydantic-field

best_record = None

Member's all-time best result.

last_record pydantic-field

last_record = None

Member's most recent result.

previous_record pydantic-field

previous_record = None

Member's previous result before the most recent.

unit pydantic-field

unit = None

Unit of measurement for the result.

goals pydantic-field

goals = None

Goal settings for this benchmark.

challenge_histories pydantic-field

challenge_histories

Historical participation records.