# The medical certificate object Medical certificates record an athlete's certificate validity and any associated attachment. ## Attributes - `id` (integer) — Identifier assigned by the API. - `sport_id` (integer) — ID of the sport. - `name` (string) — Display name of the record. - `belongs_to` (string) — Subject type. Use athlete, coach, staff, or parent. - `belongs_obj_id` (integer) — ID of the subject named by belongs_to. - `doc_number` (string) — Document number, up to 50 characters. - `released_at` (integer) — Issue date, as Unix seconds or an ISO date. - `expires_at` (integer) — Expiration date, as Unix seconds or an ISO date. - `got_paper` (integer) — Whether the club received a paper copy. - `notes` (string or null) — Notes, up to 200 characters. - `is_medical` (integer) — 1 for a medical certificate or 0 for another type of document. - `is_agonistic` (integer) — 1 for a competitive certificate, otherwise 0. - `url` (string or null) — URL for an already-uploaded attachment. - `filetype` (string or null) — MIME type of the attachment. - `filesize` (integer or null) — Attachment size in bytes. - `tsc` (integer or null) — Creation time as a Unix timestamp in seconds. - `tsu` (integer or null) — Last update time as a Unix timestamp in seconds. ## Example Example with fictional data and selected fields. ```json { "id": 32, "sport_id": 3, "belongs_to": "athlete", "belongs_obj_id": 42, "name": "Medical", "doc_number": "CERT-DEMO-001", "released_at": 1788220800, "expires_at": 1819756800, "is_medical": true, "got_paper": true, "url": null, "notes": null, "is_agonistic": 0 } ```