User.yaml 580 B

1234567891011121314151617181920212223242526272829
  1. type: object
  2. required:
  3. - id
  4. - uuid_key
  5. - email
  6. - name
  7. - created_at
  8. properties:
  9. id:
  10. type: string
  11. format: uuid
  12. description: UUID v7 primary key.
  13. example: 0191a23b-dead-7000-beef-000000000001
  14. uuid_key:
  15. type: string
  16. format: uuid
  17. description: UUID v4 used as a secondary token in the JWT.
  18. example: 550e8400-e29b-41d4-a716-446655440000
  19. email:
  20. type: string
  21. format: email
  22. example: lee@example.com
  23. name:
  24. type: string
  25. example: Lee
  26. created_at:
  27. type: string
  28. format: date-time
  29. example: '2026-01-01T00:00:00Z'