JustGains · Schema

WorkoutData

FitnessHealthWorkoutsNutritionPlatform

Properties

Name Type Description
WorkoutId integer
Workout object
ExerciseCode string
ExerciseNotes stringnull
ExerciseMetrics arraynull
ExerciseData arraynull
ExerciseOrder integer
ExerciseGroupId integernull
ExerciseGroupType object
View JSON Schema on GitHub

JSON Schema

justgains-com-workout-data-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/justgains-com/json-schema/justgains-com-workout-data-schema.json",
  "title": "WorkoutData",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/justgains-com-openapi.json#/components/schemas/WorkoutData",
  "required": [
    "ExerciseCode"
  ],
  "type": "object",
  "properties": {
    "WorkoutId": {
      "type": "integer",
      "format": "int32"
    },
    "Workout": {
      "$ref": "#/$defs/Workout"
    },
    "ExerciseCode": {
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "ExerciseNotes": {
      "type": [
        "string",
        "null"
      ]
    },
    "ExerciseMetrics": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/MetricWithUnit"
      }
    },
    "ExerciseData": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/ExerciseSet"
      }
    },
    "ExerciseOrder": {
      "type": "integer",
      "format": "int32"
    },
    "ExerciseGroupId": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "ExerciseGroupType": {
      "$ref": "#/$defs/ExerciseGroupType"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "CreatorProfile": {
      "type": "object",
      "properties": {
        "CreatorProfileId": {
          "type": "string",
          "format": "uuid"
        },
        "UserId": {
          "type": "string",
          "format": "uuid"
        },
        "User": {
          "$ref": "#/$defs/User"
        },
        "CreatorEmail": {
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        },
        "ProfilePhoto": {
          "type": "string",
          "format": "uuid"
        },
        "MediaAsset": {
          "$ref": "#/$defs/MediaAsset"
        },
        "CreatorSocialMediaAccounts": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/CreatorSocialMediaAccount"
          }
        }
      },
      "additionalProperties": false
    },
    "CreatorSocialMediaAccount": {
      "required": [
        "SocialMediaPlatformCode"
      ],
      "type": "object",
      "properties": {
        "CreatorProfileId": {
          "type": "string",
          "format": "uuid"
        },
        "CreatorProfile": {
          "$ref": "#/$defs/CreatorProfile"
        },
        "SocialMediaPlatformCode": {
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        },
        "CreatorProfileUsername": {
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        },
        "SocialMediaPlatform": {
          "$ref": "#/$defs/SocialMediaPlatform"
        }
      },
      "additionalProperties": false
    },
    "Equipment": {
      "required": [
        "EquipmentCode"
      ],
      "type": "object",
      "properties": {
        "EquipmentCode": {
          "maxLength": 100,
          "minLength": 0,
          "type": "string"
        },
        "EquipmentThumbnail": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "MediaAsset": {
          "$ref": "#/$defs/MediaAsset"
        },
        "ExerciseEquipments": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ExerciseEquipment"
          }
        },
        "EquipmentTranslations": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/EquipmentTranslation"
          }
        },
        "EquipmentEquipmentGroups": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/EquipmentEquipmentGroup"
          }
        }
      },
      "additionalProperties": false
    },
    "EquipmentEquipmentGroup": {
      "required": [
        "EquipmentCode",
        "EquipmentGroupCode"
      ],
      "type": "object",
      "properties": {
        "EquipmentGroupCode": {
          "maxLength": 100,
          "minLength": 0,
          "type": "string"
        },
        "EquipmentGroup": {
          "$ref": "#/$defs/EquipmentGroup"
        },
        "EquipmentCode": {
          "maxLength": 100,
          "minLength": 0,
          "type": [
            "string",
            "null"
          ]
        },
        "Equipment": {
          "$ref": "#/$defs/Equipment"
        }
      },
      "additionalProperties": false
    },
    "EquipmentGroup": {
      "required": [
        "EquipmentGroupCode"
      ],
      "type": "object",
      "properties": {
        "EquipmentGroupCode": {
          "maxLength": 100,
          "minLength": 0,
          "type": [
            "string",
            "null"
          ]
        },
        "EquipmentGroupThumbnail": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "MediaAsset": {
          "$ref": "#/$defs/MediaAsset"
        },
        "EquipmentGroupParent": {
          "type": [
            "string",
            "null"
          ]
        },
        "EquipmentGroupType": {
          "type": [
            "string",
            "null"
          ]
        },
        "SortOrder": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "EquipmentGroupTranslations": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/EquipmentGroupTranslation"
          }
        },
        "EquipmentEquipmentGroups": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/EquipmentEquipmentGroup"
          }
        }
      },
      "additionalProperties": false
    },
    "EquipmentGroupTranslation": {
      "required": [
        "EquipmentGroupCode",
        "LocaleCode"
      ],
      "type": "object",
      "properties": {
        "EquipmentGroupCode": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "EquipmentGroup": {
          "$ref": "#/$defs/EquipmentGroup"
        },
        "LocaleCode": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "EquipmentGroupName": {
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "EquipmentTranslation": {
      "required": [
        "EquipmentCode",
        "LocaleCode"
      ],
      "type": "object",
      "properties": {
        "EquipmentCode": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "Equipment": {
          "$ref": "#/$defs/Equipment"
        },
        "LocaleCode": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "EquipmentName": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "Exercise": {
      "required": [
        "ExerciseCode"
      ],
      "type": "object",
      "properties": {
        "CreatedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "CreatedBy": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "UpdatedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "UpdatedBy": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "DeletedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "DeletedBy": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "ExerciseCode": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "UserId": {
          "type": "string",
          "format": "uuid"
        },
        "User": {
          "$ref": "#/$defs/User"
        },
        "ExerciseTypeCode": {
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        },
        "ExerciseType": {
          "$ref": "#/$defs/ExerciseType"
        },
        "PublishedStatus": {
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        },
        "Difficulty": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "TechnicalComplexity": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "MetabolicEquivalent": {
          "type": [
            "number",
            "null"
          ],
          "format": "float"
        },
        "IsPlateloaded": {
          "type": "boolean"
        },
        "IsCardio": {
          "type": "boolean"
        },
        "OlympicRating": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "PowerLifterRating": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "CalisthenicRating": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "PopularityRating": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "MuscleStimulus": {
          "type": [
            "number",
            "null"
          ],
          "format": "float"
        },
        "IsPlyometric": {
          "type": "boolean"
        },
        "IsIsometric": {
          "type": "boolean"
        },
        "IsCalisthenic": {
          "type": "boolean"
        },
        "IsWeighted": {
          "type": "boolean"
        },
        "IsUnilateral": {
          "type": "boolean"
        },
        "IsBodyweight": {
          "type": "boolean"
        },
        "AdminNotes": {
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        },
        "ExerciseTranslations": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ExerciseTranslation"
          }
        },
        "ExerciseVideos": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ExerciseVideo"
          }
        },
        "ExerciseThumbnails": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ExerciseThumbnail"
          }
        },
        "ExerciseInstructions": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ExerciseInstruction"
          }
        },
        "ExerciseMuscles": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ExerciseMuscle"
          }
        },
        "ExerciseEquipments": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ExerciseEquipment"
          }
        },
        "ExerciseExerciseCategories": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ExerciseExerciseCategory"
          }
        }
      },
      "additionalProperties": false
    },
    "ExerciseCategory": {
      "required": [
        "ExerciseCategoryCode"
      ],
      "type": "object",
      "properties": {
        "CreatedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "CreatedBy": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "UpdatedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "UpdatedBy": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "DeletedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "DeletedBy": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "ExerciseCategoryCode": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "ExerciseCategoryTranslations": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ExerciseCategoryTranslation"
          }
        },
        "ExerciseExerciseCategories": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ExerciseExerciseCategory"
          }
        }
      },
      "additionalProperties": false
    },
    "ExerciseCategoryTranslation": {
      "required": [
        "ExerciseCategoryCode",
        "LocaleCode"
      ],
      "type": "object",
      "properties": {
        "ExerciseCategoryCode": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "ExerciseCategory": {
          "$ref": "#/$defs/ExerciseCategory"
        },
        "LocaleCode": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "ExerciseCategoryName": {
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "ExerciseEquipment": {
      "required": [
        "EquipmentCode",
        "ExerciseCode",
        "IsRequired"
      ],
      "type": "object",
      "properties": {
        "ExerciseCode": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "Exercise": {
          "$ref": "#/$defs/Exercise"
        },
        "EquipmentCode": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "Equipment": {
          "$ref": "#/$defs/Equipment"
        },
        "EquipmentGroup": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "IsRequired": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "ExerciseExerciseCategory": {
      "type": "object",
      "properties": {
        "ExerciseCategoryCode": {
          "maxLength": 100,
          "minLength": 0,
          "type": [
            "string",
            "null"
          ]
        },
        "ExerciseCategory": {
          "$ref": "#/$defs/ExerciseCategory"
        },
        "ExerciseCode": {
          "maxLength": 100,
          "minLength": 0,
          "type": [
            "string",
            "null"
          ]
        },
        "Exercise": {
          "$ref": "#/$defs/Exercise"
        }
      },
      "additionalProperties": false
    },
    "ExerciseGroupType": {
      "enum": [
        0,
        1,
        2,
        3,
        4
      ],
      "type": "integer",
      "format": "int32"
    },
    "ExerciseInstruction": {
      "required": [
        "ExerciseCode",
        "LocaleCode"
      ],
      "type": "object",
      "properties": {
        "CreatedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "CreatedBy": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "UpdatedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "UpdatedBy": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "DeletedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "DeletedBy": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "ExerciseCode": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "Exercise": {
          "$ref": "#/$defs/Exercise"
        },
        "UserId": {
          "type": "string",
          "format": "uuid"
        },
        "User": {
          "$ref": "#/$defs/User"
        },
        "LocaleCode": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "InstructionJSON": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "ExerciseMetric": {
      "required": [
        "ExerciseMetricCode"
      ],
      "type": "object",
      "properties": {
        "CreatedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "CreatedBy": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "UpdatedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "UpdatedBy": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "DeletedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "DeletedBy": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "ExerciseMetricCode": {
          "maxLength": 100,
          "minLength": 0,
          "type": "string"
        },
        "ExerciseMetricTranslations": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ExerciseMetricTranslation"
          }
        },
        "ExerciseTypeExerciseMetrics": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ExerciseTypeExerciseMetric"
          }
        }
      },
      "additionalProperties": false
    },
    "ExerciseMetricTranslation": {
      "required": [
        "ExerciseMetricCode",
        "LocaleCode"
      ],
      "type": "object",
      "properties": {
        "ExerciseMetricCode": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "ExerciseMetric": {
          "$ref": "#/$defs/ExerciseMetric"
        },
        "LocaleCode": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "ExerciseMetricName": {
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        },
        "MeasurementData": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "ExerciseMuscle": {
      "required": [
        "ExerciseCode",
        "IsPrimary",
        "MuscleCode",
        "TargetPercentage"
      ],
      "type": "object",
      "properties": {
        "ExerciseCode": {
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        },
        "Exercise": {
          "$ref": "#/$defs/Exercise"
        },
        "MuscleCode": {
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        },
        "Muscle": {
          "$ref": "#/$defs/Muscle"
        },
        "IsPrimary": {
          "type": "boolean"
        },
        "TargetPercentage": {
          "type": "number",
          "format": "double"
        }
      },
      "additionalProperties": false
    },
    "ExerciseSet": {
      "type": "object",
      "properties": {
        "SetNumber": {
          "type": "integer",
          "format": "int32"
        },
        "MetricValues": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "REPS": {
              "type": "number",
              "format": "double"
            },
            "WEIGHT": {
              "type": "number",
              "format": "double"
            },
            "DISTANCE": {
              "type": "number",
              "format": "double"
            },
            "DURATION": {
              "type": "number",
              "format": "double"
            },
            "SPEED": {
              "type": "number",
              "format": "double"
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    "ExerciseThumbnail": {
      "type": "object",
      "properties": {
        "ExerciseCode": {
          "maxLength": 100,
          "minLength": 0,
          "type": [
            "string",
            "null"
          ]
        },
        "Exercise": {
          "$ref": "#/$defs/Exercise"
        },
        "UserId": {
          "type": "string",
          "format": "uuid"
        },
        "User": {
          "$ref": "#/$defs/User"
        },
        "MediaId": {
          "type": "string",
          "format": "uuid"
        },
        "MediaAsset": {
          "$ref": "#/$defs/MediaAsset"
        }
      },
      "additionalProperties": false
    },
    "ExerciseTranslation": {
      "required": [
        "ExerciseCode",
        "ExerciseTranslationId",
        "IsPrimary",
        "LocaleCode"
      ],
      "type": "object",
      "properties": {
        "ExerciseTranslationId": {
          "type": "integer",
          "format": "int32"
        },
        "ExerciseCode": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "Exercise": {
          "$ref": "#/$defs/Exercise"
        },
        "LocaleCode": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "ExerciseName": {
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        },
        "IsPrimary": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "ExerciseType": {
      "required": [
        "ExerciseTypeCode"
      ],
      "type": "object",
      "properties": {
        "ExerciseTypeCode": {
          "maxLength": 100,
          "minLength": 0,
          "type": [
            "string",
            "null"
          ]
        },
        "ExerciseTypeExerciseMetrics": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ExerciseTypeExerciseMetric"
          }
        },
        "ExerciseTypeTranslations": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ExerciseTypeTranslation"
          }
        },
        "Exercises": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/Exercise"
          }
        }
      },
      "additionalProperties": false
    },
    "ExerciseTypeExerciseMetric": {
      "required": [
        "ExerciseMetricCode",
        "ExerciseTypeCode"
      ],
      "type": "object",
      "properties": {
        "ExerciseTypeCode": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "ExerciseType": {
          "$ref": "#/$defs/ExerciseType"
        },
        "ExerciseMetricCode": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "ExerciseMetric": {
          "$ref": "#/$defs/ExerciseMetric"
        }
      },
      "additionalProperties": false
    },
    "ExerciseTypeTranslation": {
      "required": [
        "ExerciseTypeName"
      ],
      "type": "object",
      "properties": {
        "ExerciseTypeCode": {
          "maxLength": 100,
          "minLength": 0,
          "type": [
            "string",
            "null"
          ]
        },
        "ExerciseType": {
          "$ref": "#/$defs/ExerciseType"
        },
        "LocaleCode": {
          "maxLength": 10,
          "minLength": 0,
          "type": [
            "string",
            "null"
          ]
        },
        "ExerciseTypeName": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "ExerciseVideo": {
      "required": [
        "ExerciseCode"
      ],
      "type": "object",
      "properties": {
        "CreatedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "CreatedBy": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "UpdatedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "UpdatedBy": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "DeletedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "DeletedBy": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "ExerciseCode": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "Exercise": {
          "$ref": "#/$defs/Exercise"
        },
        "UserId": {
          "type": "string",
          "format": "uuid"
        },
        "User": {
          "$ref": "#/$defs/User"
        },
        "MediaId": {
          "type": "string",
          "format": "uuid"
        },
        "MediaAsset": {
          "$ref": "#/$defs/MediaAsset"
        },
        "SortOrder": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        }
      },
      "additionalProperties": false
    },
    "MediaAsset": {
      "required": [
        "FileName",
        "FilePath"
      ],
      "type": "object",
      "properties": {
        "CreatedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "CreatedBy": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "UpdatedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "UpdatedBy": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "DeletedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "DeletedBy": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "MediaId": {
          "type": "string",
          "format": "uuid"
        },
        "MediaType": {
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        },
        "FileName": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "FilePath": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "FileSize": {
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        },
        "FileFormat": {
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        },
        "Description": {
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "MetricCode": {
      "enum": [
        0,
        1,
        2,
        3,
        4
      ],
      "type": "integer",
      "format": "int32"
    },
    "MetricWithUnit": {
      "type": "object",
      "properties": {
        "Code": {
          "$ref": "#/$defs/MetricCode"
        },
        "Unit": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "Muscle": {
      "required": [
        "MuscleCode"
      ],
      "type": "object",
      "properties": {
        "MuscleCode": {
          "maxLength": 100,
          "minLength": 0,
          "type": [
            "string",
            "null"
          ]
        },
        "MuscleTranslations": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/MuscleTranslation"
          }
        },
        "MuscleGroupMuscles": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/MuscleGroupMuscle"
          }
        },
        "ExerciseMuscles": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ExerciseMuscle"
          }
        }
      },
      "additionalProperties": false
    },
    "MuscleGroup": {
      "required": [
        "MuscleGroupCode"
      ],
      "type": "object",
      "properties": {
        "CreatedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "CreatedBy": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "UpdatedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "UpdatedBy": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "DeletedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "DeletedBy": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "MuscleGroupCode": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "MuscleGroupThumbnailId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "MuscleGroupThumbnail": {
          "$ref": "#/$defs/MediaAsset"
        },
        "MuscleGroupParent": {
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        },
        "SortOrder": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "MuscleGroupType": {
          "$ref": "#/$defs/MuscleGroupType"
        },
        "MuscleGroupTranslations": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/MuscleGroupTranslation"
          }
        },
        "MuscleGroupMuscles": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/MuscleGroupMuscle"
          }
        }
      },
      "additionalProperties": false
    },
    "MuscleGroupMuscle": {
      "required": [
        "MuscleCode",
        "MuscleGroupCode"
      ],
      "type": "object",
      "properties": {
        "MuscleGroupCode": {
          "maxLength

# --- truncated at 32 KB (45 KB total) ---
# Full source: https://artifacts.apis.io/justgains-com/json-schema/justgains-com-workout-data-schema.json

Work with this as data

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

MCP server

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

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/justgains-com-workout-data"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

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

Get an API key

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

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