Exercise.yaml 541 B

1234567891011121314151617181920212223242526
  1. type: object
  2. required:
  3. - id
  4. - workout
  5. - name
  6. - exercise_type
  7. properties:
  8. id:
  9. type: string
  10. format: uuid
  11. description: UUID v7 primary key.
  12. example: 0191a23b-dead-7000-beef-000000000003
  13. workout:
  14. type: string
  15. format: uuid
  16. description: Foreign key referencing the parent workout.
  17. example: 0191a23b-dead-7000-beef-000000000002
  18. name:
  19. type: string
  20. example: Bench Press
  21. notes:
  22. type: string
  23. nullable: true
  24. example: Keep elbows tucked
  25. exercise_type:
  26. $ref: './ExerciseType.yaml'