changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "events": {
+ "items": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "type": {
+ "description": "Indicates the type of the event (updated)",
+ "type": "string"
+ },
+ "workout": {
+ "additionalProperties": false,
+ "properties": {
+ "created_at": {
+ "description": "ISO 8601 timestamp of when the workout was created.",
+ "type": "string"
+ },
+ "description": {
+ "description": "The workout description.",
+ "type": "string"
+ },
+ "end_time": {
+ "description": "ISO 8601 timestamp of when the workout was recorded to have ended.",
+ "type": "string"
+ },
+ "exercises": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "exercise_template_id": {
+ "description": "The id of the exercise template. This can be used to fetch the exercise template.",
+ "type": "string"
+ },
+ "index": {
+ "description": "Index indicating the order of the exercise in the workout.",
+ "type": "number"
+ },
+ "notes": {
+ "description": "Notes on the exercise",
+ "type": "string"
+ },
+ "sets": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "custom_metric": {
+ "anyOf": [
+ {
+ "description": "Custom metric logged for the set (Currently only used to log floors or steps for stair machine exercises)",
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "distance_meters": {
+ "anyOf": [
+ {
+ "description": "Number of meters logged for the set",
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "duration_seconds": {
+ "anyOf": [
+ {
+ "description": "Number of seconds logged for the set",
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "index": {
+ "description": "Index indicating the order of the set in the workout.",
+ "type": "number"
+ },
+ "reps": {
+ "anyOf": [
+ {
+ "description": "Number of reps logged for the set",
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "rpe": {
+ "anyOf": [
+ {
+ "description": "RPE (Relative perceived exertion) value logged for the set",
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "type": {
+ "description": "The type of set. This can be one of 'normal', 'warmup', 'dropset', 'failure'",
+ "type": "string"
+ },
+ "weight_kg": {
+ "anyOf": [
+ {
+ "description": "Weight lifted in kilograms.",
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "supersets_id": {
+ "anyOf": [
+ {
+ "description": "The id of the superset that the exercise belongs to. A value of null indicates the exercise is not part of a superset.",
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "title": {
+ "description": "Title of the exercise",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "id": {
+ "description": "The workout ID.",
+ "type": "string"
+ },
+ "routine_id": {
+ "description": "The ID of the routine that this workout belongs to.",
+ "type": "string"
+ },
+ "start_time": {
+ "description": "ISO 8601 timestamp of when the workout was recorded to have started.",
+ "type": "string"
+ },
+ "title": {
+ "description": "The workout title.",
+ "type": "string"
+ },
+ "updated_at": {
+ "description": "ISO 8601 timestamp of when the workout was last updated.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "type",
+ "workout"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "deleted_at": {
+ "description": "A date string indicating when the workout was deleted",
+ "type": "string"
+ },
+ "id": {
+ "description": "The unique identifier of the deleted workout",
+ "type": "string"
+ },
+ "type": {
+ "description": "Indicates the type of the event (deleted)",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "id"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "events"
+ ],
+ "type": "object"
+}