app.fitsky.workoutPlan

A reusable workout plan template

Repository @thatsit.dev did:plc:tr7zlhacx3fete5s7cx5tyjd namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authorityfitsky.app
Indexed

Showing version bafyreifnhm4txekbtxcbuf4ok5fdo3cjtbgrjqlthp4saloqsl4qkuom5u. Show the latest

cid bafyreifnhm4txekbtxcbuf4ok5fdo3cjtbgrjqlthp4saloqsl4qkuom5u

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A reusable workout plan template",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "exercises": {
            "items": {
              "ref": "#planExercise",
              "type": "ref"
            },
            "type": "array"
          },
          "name": {
            "maxLength": 256,
            "type": "string"
          },
          "type": {
            "knownValues": [
              "weightlifting",
              "bodyweight",
              "yoga",
              "hiit"
            ],
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "name",
          "type",
          "exercises",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "planExercise": {
      "properties": {
        "name": {
          "maxLength": 128,
          "type": "string"
        },
        "notes": {
          "maxLength": 512,
          "type": "string"
        },
        "targetReps": {
          "minimum": 1,
          "type": "integer"
        },
        "targetSets": {
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "name",
        "targetSets",
        "targetReps"
      ],
      "type": "object"
    }
  },
  "id": "app.fitsky.workoutPlan",
  "lexicon": 1
}