| id | uuid | not null, default uuid_generate_v4() | Unique identifier for each template |
| revision | bigint | not null | Version number of the template |
| company_id | uuid | not null | Associated company identifier |
| type | text | not null | Type of report template |
| name | text | not null | Name of the template |
| description | text | | Optional description of the template |
| created_at | timestamp with time zone | not null, default now() | Timestamp of template creation |
| created_by | uuid | not null | User identifier of the creator |
| last_edited_at | timestamp with time zone | default now() | Timestamp of last edit |
| last_edited_by | uuid | | User identifier of the last editor |
| is_public | boolean | not null, default false | Flag indicating if the template is publicly accessible |
| shared_with | jsonb | not null, default ''::jsonb | JSON object storing sharing permissions |
| config | jsonb | not null, default ''::jsonb | JSON object storing template configuration |
| is_latest_revision | boolean | not null, default false | Flag indicating if this is the latest revision |