Session.yaml 664 B

123456789101112131415161718192021222324252627
  1. type: object
  2. required:
  3. - id
  4. - workout
  5. - start_time
  6. - end_time
  7. properties:
  8. id:
  9. type: string
  10. format: uuid
  11. description: UUID v7 primary key.
  12. example: 0191a23b-dead-7000-beef-000000000005
  13. workout:
  14. type: string
  15. format: uuid
  16. description: Foreign key referencing the parent workout.
  17. example: 0191a23b-dead-7000-beef-000000000002
  18. start_time:
  19. type: string
  20. format: date-time
  21. description: ISO 8601 timestamp when the session started.
  22. example: '2026-01-15T09:00:00Z'
  23. end_time:
  24. type: string
  25. format: date-time
  26. description: ISO 8601 timestamp when the session ended.
  27. example: '2026-01-15T09:45:00Z'