{
    "collections": [
        {
            "collection": "ts_leave",
            "meta": {
                "collection": "ts_leave",
                "icon": "airplanemode_active",
                "note": null,
                "display_template": null,
                "hidden": false,
                "singleton": false,
                "translations": [
                    {
                        "language": "en-US",
                        "translation": "Leave",
                        "singular": "Leave",
                        "plural": "Leave"
                    },
                    {
                        "language": "en-GB",
                        "translation": "Leave",
                        "singular": "Leave",
                        "plural": "Leave"
                    },
                    {
                        "language": "en-CA",
                        "translation": "Leave",
                        "singular": "Leave",
                        "plural": "Leave"
                    }
                ],
                "archive_field": null,
                "archive_app_filter": true,
                "archive_value": "archived",
                "unarchive_value": "draft",
                "sort_field": null,
                "accountability": "all",
                "color": null,
                "item_duplication_fields": null,
                "sort": 1,
                "group": "timesheets",
                "collapse": "open",
                "preview_url": null,
                "versioning": false
            },
            "schema": {}
        },
        {
            "collection": "ts_tasks",
            "meta": {
                "collection": "ts_tasks",
                "icon": "task_alt",
                "note": null,
                "display_template": "{{name}}",
                "hidden": false,
                "singleton": false,
                "translations": [
                    {
                        "language": "en-US",
                        "translation": "Tasks",
                        "singular": "Task",
                        "plural": "Tasks"
                    },
                    {
                        "language": "en-CA",
                        "translation": "Tasks",
                        "singular": "Task",
                        "plural": "Tasks"
                    },
                    {
                        "language": "en-GB",
                        "translation": "Tasks",
                        "singular": "Task",
                        "plural": "Tasks"
                    }
                ],
                "archive_field": null,
                "archive_app_filter": true,
                "archive_value": null,
                "unarchive_value": null,
                "sort_field": null,
                "accountability": "all",
                "color": "#6644FF",
                "item_duplication_fields": null,
                "sort": 2,
                "group": "timesheets",
                "collapse": "open",
                "preview_url": null,
                "versioning": false
            },
            "schema": {}
        },
        {
            "collection": "ts_leave_type",
            "meta": {
                "collection": "ts_leave_type",
                "icon": "list_alt",
                "note": null,
                "display_template": "{{name}}",
                "hidden": false,
                "singleton": false,
                "translations": [
                    {
                        "language": "en-US",
                        "translation": "Leave types",
                        "singular": "Leave type",
                        "plural": "Leave types"
                    },
                    {
                        "language": "en-GB",
                        "translation": "Leave types",
                        "singular": "Leave type",
                        "plural": "Leave types"
                    },
                    {
                        "language": "en-CA",
                        "translation": "Leave types",
                        "singular": "Leave type",
                        "plural": "Leave types"
                    }
                ],
                "archive_field": "status",
                "archive_app_filter": true,
                "archive_value": "archived",
                "unarchive_value": "draft",
                "sort_field": null,
                "accountability": "all",
                "color": null,
                "item_duplication_fields": null,
                "sort": 3,
                "group": "timesheets",
                "collapse": "open",
                "preview_url": null,
                "versioning": false
            },
            "schema": {}
        },
        {
            "collection": "ts_settings",
            "meta": {
                "collection": "ts_settings",
                "icon": "settings_suggest",
                "note": null,
                "display_template": null,
                "hidden": false,
                "singleton": true,
                "translations": [
                    {
                        "language": "en-US",
                        "translation": "Settings",
                        "singular": "Setting",
                        "plural": "Settings"
                    },
                    {
                        "language": "en-GB",
                        "translation": "Settings",
                        "singular": "Setting",
                        "plural": "Settings"
                    },
                    {
                        "language": "en-CA",
                        "translation": "Settings",
                        "singular": "Setting",
                        "plural": "Settings"
                    }
                ],
                "archive_field": null,
                "archive_app_filter": true,
                "archive_value": null,
                "unarchive_value": null,
                "sort_field": null,
                "accountability": "all",
                "color": "#6644FF",
                "item_duplication_fields": null,
                "sort": 4,
                "group": "timesheets",
                "collapse": "open",
                "preview_url": null,
                "versioning": false
            },
            "schema": {}
        },
        {
            "collection": "timesheets",
            "meta": {
                "collection": "timesheets",
                "icon": "timer",
                "note": null,
                "display_template": null,
                "hidden": false,
                "singleton": false,
                "translations": null,
                "archive_field": null,
                "archive_app_filter": true,
                "archive_value": null,
                "unarchive_value": null,
                "sort_field": null,
                "accountability": "all",
                "color": "#6644FF",
                "item_duplication_fields": null,
                "sort": 6,
                "group": null,
                "collapse": "open",
                "preview_url": null,
                "versioning": false
            },
            "schema": {}
        },
        {
            "collection": "directus_users",
            "meta": {
                "system": true,
                "collection": "directus_users",
                "hidden": false,
                "singleton": false,
                "icon": "people_alt",
                "note": "$t:directus_collection.directus_users",
                "translations": null,
                "display_template": "{{ first_name }} {{ last_name }}",
                "accountability": "all",
                "archive_field": "status",
                "archive_value": "archived",
                "unarchive_value": "draft"
            },
            "schema": {}
        }
    ],
    "fields": [
        {
            "collection": "timesheets",
            "field": "id",
            "type": "integer",
            "schema": {
                "name": "id",
                "table": "timesheets",
                "schema": "public",
                "data_type": "integer",
                "is_nullable": false,
                "generation_expression": null,
                "default_value": "nextval('timesheets_id_seq'::regclass)",
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": 32,
                "numeric_scale": 0,
                "is_unique": true,
                "is_primary_key": true,
                "has_auto_increment": true,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "timesheets",
                "field": "id",
                "special": null,
                "interface": "input",
                "options": null,
                "display": null,
                "display_options": null,
                "readonly": true,
                "hidden": true,
                "sort": 1,
                "width": "full",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "timesheets",
            "field": "user_created",
            "type": "uuid",
            "schema": {
                "name": "user_created",
                "table": "timesheets",
                "schema": "public",
                "data_type": "uuid",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": "public",
                "foreign_key_table": "directus_users",
                "foreign_key_column": "id"
            },
            "meta": {
                "collection": "timesheets",
                "field": "user_created",
                "special": [
                    "user-created"
                ],
                "interface": "select-dropdown-m2o",
                "options": {
                    "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}"
                },
                "display": "user",
                "display_options": null,
                "readonly": true,
                "hidden": true,
                "sort": 2,
                "width": "half",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "timesheets",
            "field": "date_created",
            "type": "timestamp",
            "schema": {
                "name": "date_created",
                "table": "timesheets",
                "schema": "public",
                "data_type": "timestamp with time zone",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "timesheets",
                "field": "date_created",
                "special": [
                    "date-created"
                ],
                "interface": "datetime",
                "options": null,
                "display": "datetime",
                "display_options": {
                    "relative": true
                },
                "readonly": true,
                "hidden": true,
                "sort": 3,
                "width": "half",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "timesheets",
            "field": "user_updated",
            "type": "uuid",
            "schema": {
                "name": "user_updated",
                "table": "timesheets",
                "schema": "public",
                "data_type": "uuid",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": "public",
                "foreign_key_table": "directus_users",
                "foreign_key_column": "id"
            },
            "meta": {
                "collection": "timesheets",
                "field": "user_updated",
                "special": [
                    "user-updated"
                ],
                "interface": "select-dropdown-m2o",
                "options": {
                    "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}"
                },
                "display": "user",
                "display_options": null,
                "readonly": true,
                "hidden": true,
                "sort": 4,
                "width": "half",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "timesheets",
            "field": "date_updated",
            "type": "timestamp",
            "schema": {
                "name": "date_updated",
                "table": "timesheets",
                "schema": "public",
                "data_type": "timestamp with time zone",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "timesheets",
                "field": "date_updated",
                "special": [
                    "date-updated"
                ],
                "interface": "datetime",
                "options": null,
                "display": "datetime",
                "display_options": {
                    "relative": true
                },
                "readonly": true,
                "hidden": true,
                "sort": 5,
                "width": "half",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "timesheets",
            "field": "start_time",
            "type": "timestamp",
            "schema": {
                "name": "start_time",
                "table": "timesheets",
                "schema": "public",
                "data_type": "timestamp with time zone",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "timesheets",
                "field": "start_time",
                "special": null,
                "interface": "datetime",
                "options": {
                    "includeSeconds": true
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 6,
                "width": "half",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "timesheets",
            "field": "end_time",
            "type": "timestamp",
            "schema": {
                "name": "end_time",
                "table": "timesheets",
                "schema": "public",
                "data_type": "timestamp with time zone",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "timesheets",
                "field": "end_time",
                "special": null,
                "interface": "datetime",
                "options": {
                    "includeSeconds": true
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 7,
                "width": "half",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "timesheets",
            "field": "end_time_original",
            "type": "timestamp",
            "schema": {
                "name": "end_time_original",
                "table": "timesheets",
                "schema": "public",
                "data_type": "timestamp with time zone",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "timesheets",
                "field": "end_time_original",
                "special": null,
                "interface": "datetime",
                "options": {
                    "includeSeconds": true
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": true,
                "sort": 8,
                "width": "full",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "timesheets",
            "field": "task_id",
            "type": "integer",
            "schema": {
                "name": "task_id",
                "table": "timesheets",
                "schema": "public",
                "data_type": "integer",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": 32,
                "numeric_scale": 0,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "timesheets",
                "field": "task_id",
                "special": null,
                "interface": "input",
                "options": {
                    "min": 1
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": true,
                "sort": 9,
                "width": "full",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": true,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_leave",
            "field": "id",
            "type": "integer",
            "schema": {
                "name": "id",
                "table": "ts_leave",
                "schema": "public",
                "data_type": "integer",
                "is_nullable": false,
                "generation_expression": null,
                "default_value": "nextval('ts_leave_id_seq'::regclass)",
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": 32,
                "numeric_scale": 0,
                "is_unique": true,
                "is_primary_key": true,
                "has_auto_increment": true,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "ts_leave",
                "field": "id",
                "special": null,
                "interface": "input",
                "options": null,
                "display": null,
                "display_options": null,
                "readonly": true,
                "hidden": true,
                "sort": 1,
                "width": "full",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_leave",
            "field": "user",
            "type": "uuid",
            "schema": {
                "name": "user",
                "table": "ts_leave",
                "schema": "public",
                "data_type": "uuid",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": "public",
                "foreign_key_table": "directus_users",
                "foreign_key_column": "id"
            },
            "meta": {
                "collection": "ts_leave",
                "field": "user",
                "special": [
                    "m2o"
                ],
                "interface": "select-dropdown-m2o",
                "options": {
                    "template": "{{email}}",
                    "enableCreate": false,
                    "filter": {
                        "_and": [
                            {
                                "status": {
                                    "_eq": "active"
                                }
                            }
                        ]
                    }
                },
                "display": null,
                "display_options": null,
                "readonly": true,
                "hidden": true,
                "sort": 2,
                "width": "full",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_leave",
            "field": "start_date",
            "type": "date",
            "schema": {
                "name": "start_date",
                "table": "ts_leave",
                "schema": "public",
                "data_type": "date",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "ts_leave",
                "field": "start_date",
                "special": null,
                "interface": "datetime",
                "options": null,
                "display": "datetime",
                "display_options": {
                    "format": "short"
                },
                "readonly": false,
                "hidden": false,
                "sort": 3,
                "width": "half",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": true,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_leave",
            "field": "end_date",
            "type": "date",
            "schema": {
                "name": "end_date",
                "table": "ts_leave",
                "schema": "public",
                "data_type": "date",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "ts_leave",
                "field": "end_date",
                "special": null,
                "interface": "datetime",
                "options": null,
                "display": "datetime",
                "display_options": {
                    "format": "short"
                },
                "readonly": false,
                "hidden": false,
                "sort": 4,
                "width": "half",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": true,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_leave",
            "field": "leave_type",
            "type": "integer",
            "schema": {
                "name": "leave_type",
                "table": "ts_leave",
                "schema": "public",
                "data_type": "integer",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": 32,
                "numeric_scale": 0,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": "public",
                "foreign_key_table": "ts_leave_type",
                "foreign_key_column": "id"
            },
            "meta": {
                "collection": "ts_leave",
                "field": "leave_type",
                "special": [
                    "m2o"
                ],
                "interface": "select-dropdown-m2o",
                "options": {
                    "template": "{{name}}",
                    "filter": {
                        "_and": [
                            {
                                "status": {
                                    "_eq": "published"
                                }
                            }
                        ]
                    },
                    "enableCreate": false
                },
                "display": "related-values",
                "display_options": {
                    "template": "{{name}}"
                },
                "readonly": false,
                "hidden": false,
                "sort": 5,
                "width": "full",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": true,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_leave",
            "field": "total_hours",
            "type": "decimal",
            "schema": {
                "name": "total_hours",
                "table": "ts_leave",
                "schema": "public",
                "data_type": "numeric",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": 10,
                "numeric_scale": 2,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "ts_leave",
                "field": "total_hours",
                "special": null,
                "interface": "input",
                "options": {
                    "min": 0.5,
                    "iconLeft": "av_timer"
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 6,
                "width": "full",
                "translations": null,
                "note": "If not taking a full day of leave, enter number of hours here.",
                "conditions": [
                    {
                        "name": "Hide if multiple days",
                        "rule": {
                            "_and": [
                                {
                                    "start_date": {
                                        "_neq": "end_date"
                                    }
                                }
                            ]
                        },
                        "readonly": true,
                        "hidden": true,
                        "required": false,
                        "options": {
                            "font": "sans-serif",
                            "trim": false,
                            "masked": false,
                            "clear": false,
                            "slug": false,
                            "max": 7.6,
                            "min": 0.5
                        }
                    }
                ],
                "required": true,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_leave",
            "field": "details",
            "type": "text",
            "schema": {
                "name": "details",
                "table": "ts_leave",
                "schema": "public",
                "data_type": "text",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "ts_leave",
                "field": "details",
                "special": null,
                "interface": "input-multiline",
                "options": {
                    "placeholder": "Optional details on reason for leave"
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 7,
                "width": "full",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_leave",
            "field": "approved_by",
            "type": "uuid",
            "schema": {
                "name": "approved_by",
                "table": "ts_leave",
                "schema": "public",
                "data_type": "uuid",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": "public",
                "foreign_key_table": "directus_users",
                "foreign_key_column": "id"
            },
            "meta": {
                "collection": "ts_leave",
                "field": "approved_by",
                "special": [
                    "m2o"
                ],
                "interface": "select-dropdown-m2o",
                "options": {
                    "template": "{{first_name}} {{last_name}}",
                    "enableCreate": false
                },
                "display": "user",
                "display_options": {
                    "circle": true
                },
                "readonly": false,
                "hidden": false,
                "sort": 8,
                "width": "half",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_leave",
            "field": "approved",
            "type": "timestamp",
            "schema": {
                "name": "approved",
                "table": "ts_leave",
                "schema": "public",
                "data_type": "timestamp with time zone",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "ts_leave",
                "field": "approved",
                "special": null,
                "interface": "datetime",
                "options": null,
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 9,
                "width": "half",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_tasks",
            "field": "id",
            "type": "integer",
            "schema": {
                "name": "id",
                "table": "ts_tasks",
                "schema": "public",
                "data_type": "integer",
                "is_nullable": false,
                "generation_expression": null,
                "default_value": "nextval('ts_tasks_id_seq'::regclass)",
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": 32,
                "numeric_scale": 0,
                "is_unique": true,
                "is_primary_key": true,
                "has_auto_increment": true,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "ts_tasks",
                "field": "id",
                "special": null,
                "interface": "input",
                "options": null,
                "display": null,
                "display_options": null,
                "readonly": true,
                "hidden": true,
                "sort": 1,
                "width": "full",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_tasks",
            "field": "name",
            "type": "string",
            "schema": {
                "name": "name",
                "table": "ts_tasks",
                "schema": "public",
                "data_type": "character varying",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": 255,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "ts_tasks",
                "field": "name",
                "special": null,
                "interface": "input",
                "options": {
                    "placeholder": "A task name to be referenced in timesheets"
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 2,
                "width": "full",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": true,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_leave_type",
            "field": "id",
            "type": "integer",
            "schema": {
                "name": "id",
                "table": "ts_leave_type",
                "schema": "public",
                "data_type": "integer",
                "is_nullable": false,
                "generation_expression": null,
                "default_value": "nextval('ts_leave_type_id_seq'::regclass)",
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": 32,
                "numeric_scale": 0,
                "is_unique": true,
                "is_primary_key": true,
                "has_auto_increment": true,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "ts_leave_type",
                "field": "id",
                "special": null,
                "interface": "input",
                "options": null,
                "display": null,
                "display_options": null,
                "readonly": true,
                "hidden": true,
                "sort": 1,
                "width": "full",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_leave_type",
            "field": "name",
            "type": "string",
            "schema": {
                "name": "name",
                "table": "ts_leave_type",
                "schema": "public",
                "data_type": "character varying",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": 255,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "ts_leave_type",
                "field": "name",
                "special": null,
                "interface": "input",
                "options": {
                    "placeholder": "Name of leave type",
                    "iconLeft": "label"
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 2,
                "width": "full",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": true,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_leave_type",
            "field": "status",
            "type": "string",
            "schema": {
                "name": "status",
                "table": "ts_leave_type",
                "schema": "public",
                "data_type": "character varying",
                "is_nullable": false,
                "generation_expression": null,
                "default_value": "draft",
                "is_generated": false,
                "max_length": 255,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "ts_leave_type",
                "field": "status",
                "special": null,
                "interface": "select-dropdown",
                "options": {
                    "choices": [
                        {
                            "text": "Published",
                            "value": "published"
                        },
                        {
                            "text": "Draft",
                            "value": "draft"
                        },
                        {
                            "text": "Archived",
                            "value": "archived"
                        }
                    ]
                },
                "display": "labels",
                "display_options": {
                    "showAsDot": true,
                    "choices": [
                        {
                            "text": "Published",
                            "value": "published",
                            "foreground": "#FFFFFF",
                            "background": "var(--theme--primary)"
                        },
                        {
                            "text": "Draft",
                            "value": "draft",
                            "foreground": "#18222F",
                            "background": "#D3DAE4"
                        },
                        {
                            "text": "Archived",
                            "value": "archived",
                            "foreground": "#FFFFFF",
                            "background": "var(--theme--warning)"
                        }
                    ]
                },
                "readonly": false,
                "hidden": false,
                "sort": 3,
                "width": "full",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_leave_type",
            "field": "claimable",
            "type": "boolean",
            "schema": {
                "name": "claimable",
                "table": "ts_leave_type",
                "schema": "public",
                "data_type": "boolean",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": true,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "ts_leave_type",
                "field": "claimable",
                "special": [
                    "cast-boolean"
                ],
                "interface": "boolean",
                "options": {
                    "label": "Claimable"
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 4,
                "width": "full",
                "translations": null,
                "note": "Is the leave type given as substitute for working hours (eg. sick, holiday) or not (eg. work from home)",
                "conditions": null,
                "required": false,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_settings",
            "field": "id",
            "type": "integer",
            "schema": {
                "name": "id",
                "table": "ts_settings",
                "schema": "public",
                "data_type": "integer",
                "is_nullable": false,
                "generation_expression": null,
                "default_value": "nextval('ts_settings_id_seq'::regclass)",
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": 32,
                "numeric_scale": 0,
                "is_unique": true,
                "is_primary_key": true,
                "has_auto_increment": true,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "ts_settings",
                "field": "id",
                "special": null,
                "interface": "input",
                "options": null,
                "display": null,
                "display_options": null,
                "readonly": true,
                "hidden": true,
                "sort": 1,
                "width": "full",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_settings",
            "field": "user_updated",
            "type": "uuid",
            "schema": {
                "name": "user_updated",
                "table": "ts_settings",
                "schema": "public",
                "data_type": "uuid",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": "public",
                "foreign_key_table": "directus_users",
                "foreign_key_column": "id"
            },
            "meta": {
                "collection": "ts_settings",
                "field": "user_updated",
                "special": [
                    "user-updated"
                ],
                "interface": "select-dropdown-m2o",
                "options": {
                    "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}"
                },
                "display": "user",
                "display_options": null,
                "readonly": true,
                "hidden": true,
                "sort": 2,
                "width": "half",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_settings",
            "field": "date_updated",
            "type": "timestamp",
            "schema": {
                "name": "date_updated",
                "table": "ts_settings",
                "schema": "public",
                "data_type": "timestamp with time zone",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "ts_settings",
                "field": "date_updated",
                "special": [
                    "date-updated"
                ],
                "interface": "datetime",
                "options": null,
                "display": "datetime",
                "display_options": {
                    "relative": true
                },
                "readonly": true,
                "hidden": true,
                "sort": 3,
                "width": "half",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_settings",
            "field": "task_collection",
            "type": "string",
            "schema": {
                "name": "task_collection",
                "table": "ts_settings",
                "schema": "public",
                "data_type": "character varying",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": "ts_tasks",
                "is_generated": false,
                "max_length": 255,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "ts_settings",
                "field": "task_collection",
                "special": null,
                "interface": "input",
                "options": {
                    "placeholder": "The case sensitive name of the collection to record time against",
                    "iconLeft": "collections_bookmark"
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 4,
                "width": "half",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": true,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_settings",
            "field": "task_collection_display_field",
            "type": "string",
            "schema": {
                "name": "task_collection_display_field",
                "table": "ts_settings",
                "schema": "public",
                "data_type": "character varying",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": "name",
                "is_generated": false,
                "max_length": 255,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "ts_settings",
                "field": "task_collection_display_field",
                "special": null,
                "interface": "input",
                "options": {
                    "placeholder": "The case sensitive field name from the collection that is used to display the task",
                    "iconLeft": "smart_display"
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 5,
                "width": "half",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": true,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_settings",
            "field": "leave_hours_per_day",
            "type": "decimal",
            "schema": {
                "name": "leave_hours_per_day",
                "table": "ts_settings",
                "schema": "public",
                "data_type": "numeric",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": 7.6,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": 10,
                "numeric_scale": 2,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "ts_settings",
                "field": "leave_hours_per_day",
                "special": null,
                "interface": "input",
                "options": {
                    "min": 1,
                    "max": 24,
                    "placeholder": "Total number of hours assigned to a full day of leave",
                    "iconLeft": "av_timer"
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 6,
                "width": "full",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": true,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_settings",
            "field": "nine_day_fortnight_leave_type",
            "type": "integer",
            "schema": {
                "name": "nine_day_fortnight_leave_type",
                "table": "ts_settings",
                "schema": "public",
                "data_type": "integer",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": 32,
                "numeric_scale": 0,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": "public",
                "foreign_key_table": "ts_leave_type",
                "foreign_key_column": "id"
            },
            "meta": {
                "collection": "ts_settings",
                "field": "nine_day_fortnight_leave_type",
                "special": [
                    "m2o"
                ],
                "interface": "select-dropdown-m2o",
                "options": null,
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 7,
                "width": "full",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_settings",
            "field": "nine_day_fortnight_note",
            "type": "alias",
            "schema": null,
            "meta": {
                "collection": "ts_settings",
                "field": "nine_day_fortnight_note",
                "special": [
                    "alias",
                    "no-data"
                ],
                "interface": "presentation-notice",
                "options": {
                    "icon": "date_range",
                    "text": "If your organisation has 9 day fortnights you can add a `nineDayFortnightStart` field to the user collection. This should then store a Monday representing the start of the users full fortnight and will be used to calculate 9DF totals in the timesheet."
                },
                "display": null,
                "display_options": null,
                "readonly": true,
                "hidden": false,
                "sort": 8,
                "width": "full",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "ts_settings",
            "field": "default_timesheet_email",
            "type": "string",
            "schema": {
                "name": "default_timesheet_email",
                "table": "ts_settings",
                "schema": "public",
                "data_type": "character varying",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": 255,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "ts_settings",
                "field": "default_timesheet_email",
                "special": null,
                "interface": "input",
                "options": {
                    "placeholder": "Email address used for timesheet related notifications if manager role not set",
                    "iconLeft": "alternate_email"
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 9,
                "width": "full",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": true,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "directus_users",
            "field": "first_name",
            "type": "string",
            "schema": {
                "name": "first_name",
                "table": "directus_users",
                "schema": "public",
                "data_type": "character varying",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": 50,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "first_name",
                "special": null,
                "interface": "input",
                "options": {
                    "iconRight": "account_circle"
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 1,
                "width": "half",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "last_name",
            "type": "string",
            "schema": {
                "name": "last_name",
                "table": "directus_users",
                "schema": "public",
                "data_type": "character varying",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": 50,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "last_name",
                "special": null,
                "interface": "input",
                "options": {
                    "iconRight": "account_circle"
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 2,
                "width": "half",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "email",
            "type": "string",
            "schema": {
                "name": "email",
                "table": "directus_users",
                "schema": "public",
                "data_type": "character varying",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": 128,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": true,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "email",
                "special": null,
                "interface": "input",
                "options": {
                    "iconRight": "email"
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 3,
                "width": "half",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "password",
            "type": "hash",
            "schema": {
                "name": "password",
                "table": "directus_users",
                "schema": "public",
                "data_type": "character varying",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": 255,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "password",
                "special": [
                    "hash",
                    "conceal"
                ],
                "interface": "input-hash",
                "options": {
                    "iconRight": "lock",
                    "masked": true
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 4,
                "width": "half",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "avatar",
            "type": "uuid",
            "schema": {
                "name": "avatar",
                "table": "directus_users",
                "schema": "public",
                "data_type": "uuid",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "avatar",
                "special": null,
                "interface": "file",
                "options": null,
                "display": "image",
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 5,
                "width": "full",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "location",
            "type": "string",
            "schema": {
                "name": "location",
                "table": "directus_users",
                "schema": "public",
                "data_type": "character varying",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": 255,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "location",
                "special": null,
                "interface": "input",
                "options": {
                    "iconRight": "place"
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 6,
                "width": "half",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "title",
            "type": "string",
            "schema": {
                "name": "title",
                "table": "directus_users",
                "schema": "public",
                "data_type": "character varying",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": 50,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "title",
                "special": null,
                "interface": "input",
                "options": {
                    "iconRight": "work"
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 7,
                "width": "half",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "description",
            "type": "text",
            "schema": {
                "name": "description",
                "table": "directus_users",
                "schema": "public",
                "data_type": "text",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "description",
                "special": null,
                "interface": "input-multiline",
                "options": null,
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 8,
                "width": "full",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "tags",
            "type": "json",
            "schema": {
                "name": "tags",
                "table": "directus_users",
                "schema": "public",
                "data_type": "json",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "tags",
                "special": [
                    "cast-json"
                ],
                "interface": "tags",
                "options": {
                    "iconRight": "local_offer"
                },
                "display": "labels",
                "display_options": {
                    "choices": null,
                    "format": false
                },
                "readonly": false,
                "hidden": false,
                "sort": 9,
                "width": "full",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "preferences_divider",
            "type": "alias",
            "schema": null,
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "preferences_divider",
                "special": [
                    "alias",
                    "no-data"
                ],
                "interface": "presentation-divider",
                "options": {
                    "icon": "face",
                    "title": "User Preferences"
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 10,
                "width": "full",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "language",
            "type": "string",
            "schema": {
                "name": "language",
                "table": "directus_users",
                "schema": "public",
                "data_type": "character varying",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": 255,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "language",
                "special": null,
                "interface": "system-language",
                "options": {
                    "includeProjectDefault": true
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 11,
                "width": "half",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "tfa_secret",
            "type": "string",
            "schema": {
                "name": "tfa_secret",
                "table": "directus_users",
                "schema": "public",
                "data_type": "character varying",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": 255,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "tfa_secret",
                "special": [
                    "conceal"
                ],
                "interface": "system-mfa-setup",
                "options": null,
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 12,
                "width": "half",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "email_notifications",
            "type": "boolean",
            "schema": {
                "name": "email_notifications",
                "table": "directus_users",
                "schema": "public",
                "data_type": "boolean",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": true,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "email_notifications",
                "special": [
                    "cast-boolean"
                ],
                "interface": "boolean",
                "options": null,
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 13,
                "width": "half",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "theming_divider",
            "type": "alias",
            "schema": null,
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "theming_divider",
                "special": [
                    "alias",
                    "no-data"
                ],
                "interface": "presentation-divider",
                "options": {
                    "icon": "palette",
                    "title": "Theme"
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 14,
                "width": "full",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "appearance",
            "type": "string",
            "schema": {
                "name": "appearance",
                "table": "directus_users",
                "schema": "public",
                "data_type": "character varying",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": 255,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "appearance",
                "special": null,
                "interface": "select-dropdown",
                "options": {
                    "choices": [
                        {
                            "value": null,
                            "text": "Default (Sync with Project)"
                        },
                        {
                            "value": "auto",
                            "text": "Automatic (Sync with System)"
                        },
                        {
                            "value": "light",
                            "text": "Light"
                        },
                        {
                            "value": "dark",
                            "text": "Dark"
                        }
                    ]
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 15,
                "width": "half",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "theme_light",
            "type": "string",
            "schema": {
                "name": "theme_light",
                "table": "directus_users",
                "schema": "public",
                "data_type": "character varying",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": 255,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "theme_light",
                "special": null,
                "interface": "system-theme",
                "options": {
                    "appearance": "light",
                    "includeNull": true
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 16,
                "width": "full",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "theme_light_overrides",
            "type": "json",
            "schema": {
                "name": "theme_light_overrides",
                "table": "directus_users",
                "schema": "public",
                "data_type": "json",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "theme_light_overrides",
                "special": [
                    "cast-json"
                ],
                "interface": "system-theme-overrides",
                "options": {
                    "appearance": "light"
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 17,
                "width": "full",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "theme_dark",
            "type": "string",
            "schema": {
                "name": "theme_dark",
                "table": "directus_users",
                "schema": "public",
                "data_type": "character varying",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": 255,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "theme_dark",
                "special": null,
                "interface": "system-theme",
                "options": {
                    "appearance": "dark",
                    "includeNull": true
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 18,
                "width": "full",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "theme_dark_overrides",
            "type": "json",
            "schema": {
                "name": "theme_dark_overrides",
                "table": "directus_users",
                "schema": "public",
                "data_type": "json",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "theme_dark_overrides",
                "special": [
                    "cast-json"
                ],
                "interface": "system-theme-overrides",
                "options": {
                    "appearance": "dark"
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 19,
                "width": "full",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "admin_divider",
            "type": "alias",
            "schema": null,
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "admin_divider",
                "special": [
                    "alias",
                    "no-data"
                ],
                "interface": "presentation-divider",
                "options": {
                    "icon": "verified_user",
                    "title": "Admin Options",
                    "color": "var(--theme--danger)"
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 20,
                "width": "full",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "status",
            "type": "string",
            "schema": {
                "name": "status",
                "table": "directus_users",
                "schema": "public",
                "data_type": "character varying",
                "is_nullable": false,
                "generation_expression": null,
                "default_value": "active",
                "is_generated": false,
                "max_length": 16,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "status",
                "special": null,
                "interface": "select-dropdown",
                "options": {
                    "choices": [
                        {
                            "text": "Draft",
                            "value": "draft"
                        },
                        {
                            "text": "Invited",
                            "value": "invited"
                        },
                        {
                            "text": "Active",
                            "value": "active"
                        },
                        {
                            "text": "Suspended",
                            "value": "suspended"
                        },
                        {
                            "text": "Archived",
                            "value": "archived"
                        }
                    ]
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 21,
                "width": "half",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "role",
            "type": "uuid",
            "schema": {
                "name": "role",
                "table": "directus_users",
                "schema": "public",
                "data_type": "uuid",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": "public",
                "foreign_key_table": "directus_roles",
                "foreign_key_column": "id"
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "role",
                "special": [
                    "m2o"
                ],
                "interface": "select-dropdown-m2o",
                "options": {
                    "template": "{{ name }}"
                },
                "display": "related-values",
                "display_options": {
                    "template": "{{ name }}"
                },
                "readonly": false,
                "hidden": false,
                "sort": 22,
                "width": "half",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "token",
            "type": "string",
            "schema": {
                "name": "token",
                "table": "directus_users",
                "schema": "public",
                "data_type": "character varying",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": 255,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": true,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "token",
                "special": [
                    "conceal"
                ],
                "interface": "system-token",
                "options": null,
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 23,
                "width": "full",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "id",
            "type": "uuid",
            "schema": {
                "name": "id",
                "table": "directus_users",
                "schema": "public",
                "data_type": "uuid",
                "is_nullable": false,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": true,
                "is_primary_key": true,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "id",
                "special": [
                    "uuid"
                ],
                "interface": "input",
                "options": {
                    "iconRight": "vpn_key"
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 24,
                "width": "full",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "last_page",
            "type": "string",
            "schema": {
                "name": "last_page",
                "table": "directus_users",
                "schema": "public",
                "data_type": "character varying",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": 255,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "last_page",
                "special": null,
                "interface": null,
                "options": null,
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 25,
                "width": "half",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "last_access",
            "type": "timestamp",
            "schema": {
                "name": "last_access",
                "table": "directus_users",
                "schema": "public",
                "data_type": "timestamp with time zone",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "last_access",
                "special": null,
                "interface": null,
                "options": null,
                "display": "datetime",
                "display_options": {
                    "relative": true
                },
                "readonly": true,
                "hidden": false,
                "sort": 26,
                "width": "half",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "provider",
            "type": "string",
            "schema": {
                "name": "provider",
                "table": "directus_users",
                "schema": "public",
                "data_type": "character varying",
                "is_nullable": false,
                "generation_expression": null,
                "default_value": "default",
                "is_generated": false,
                "max_length": 128,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "provider",
                "special": null,
                "interface": "select-dropdown",
                "options": {
                    "choices": [
                        {
                            "text": "Default",
                            "value": "default"
                        }
                    ]
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 27,
                "width": "half",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "external_identifier",
            "type": "string",
            "schema": {
                "name": "external_identifier",
                "table": "directus_users",
                "schema": "public",
                "data_type": "character varying",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": 255,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": true,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "external_identifier",
                "special": null,
                "interface": "input",
                "options": {
                    "iconRight": "account_circle"
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 28,
                "width": "half",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "auth_data",
            "type": "json",
            "schema": {
                "name": "auth_data",
                "table": "directus_users",
                "schema": "public",
                "data_type": "json",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "system": true,
                "collection": "directus_users",
                "field": "auth_data",
                "special": null,
                "interface": null,
                "options": null,
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": true,
                "sort": 29,
                "width": "full",
                "group": null,
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false
            }
        },
        {
            "collection": "directus_users",
            "field": "nineDayFortnightStart",
            "type": "date",
            "schema": {
                "name": "nineDayFortnightStart",
                "table": "directus_users",
                "schema": "public",
                "data_type": "date",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": "2023-10-09",
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": null,
                "foreign_key_table": null,
                "foreign_key_column": null
            },
            "meta": {
                "collection": "directus_users",
                "field": "nineDayFortnightStart",
                "special": null,
                "interface": "datetime",
                "options": null,
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 1,
                "width": "full",
                "translations": null,
                "note": "This should store the LAST start (Monday) of the 9DF for the staff member.",
                "conditions": null,
                "required": false,
                "group": "Timesheet",
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "directus_users",
            "field": "Timesheet",
            "type": "alias",
            "schema": null,
            "meta": {
                "collection": "directus_users",
                "field": "Timesheet",
                "special": [
                    "alias",
                    "no-data",
                    "group"
                ],
                "interface": "group-detail",
                "options": {
                    "headerIcon": "av_timer"
                },
                "display": null,
                "display_options": null,
                "readonly": false,
                "hidden": false,
                "sort": 1,
                "width": "full",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false,
                "group": null,
                "validation": null,
                "validation_message": null
            }
        },
        {
            "collection": "directus_users",
            "field": "manager",
            "type": "uuid",
            "schema": {
                "name": "manager",
                "table": "directus_users",
                "schema": "public",
                "data_type": "uuid",
                "is_nullable": true,
                "generation_expression": null,
                "default_value": null,
                "is_generated": false,
                "max_length": null,
                "comment": null,
                "numeric_precision": null,
                "numeric_scale": null,
                "is_unique": false,
                "is_primary_key": false,
                "has_auto_increment": false,
                "foreign_key_schema": "public",
                "foreign_key_table": "directus_users",
                "foreign_key_column": "id"
            },
            "meta": {
                "collection": "directus_users",
                "field": "manager",
                "special": [
                    "m2o"
                ],
                "interface": "select-dropdown-m2o",
                "options": {
                    "template": null,
                    "enableCreate": false,
                    "filter": null
                },
                "display": "user",
                "display_options": {
                    "circle": true
                },
                "readonly": false,
                "hidden": false,
                "sort": 2,
                "width": "full",
                "translations": null,
                "note": null,
                "conditions": null,
                "required": false,
                "group": "Timesheet",
                "validation": null,
                "validation_message": null
            }
        }
    ],
    "relations": [
        {
            "collection": "timesheets",
            "field": "user_updated",
            "related_collection": "directus_users",
            "schema": {
                "constraint_name": "timesheets_user_updated_foreign",
                "table": "timesheets",
                "column": "user_updated",
                "foreign_key_schema": "public",
                "foreign_key_table": "directus_users",
                "foreign_key_column": "id",
                "on_update": "NO ACTION",
                "on_delete": "NO ACTION"
            },
            "meta": {
                "many_collection": "timesheets",
                "many_field": "user_updated",
                "one_collection": "directus_users",
                "one_field": null,
                "one_collection_field": null,
                "one_allowed_collections": null,
                "junction_field": null,
                "sort_field": null,
                "one_deselect_action": "nullify"
            }
        },
        {
            "collection": "timesheets",
            "field": "user_created",
            "related_collection": "directus_users",
            "schema": {
                "constraint_name": "timesheets_user_created_foreign",
                "table": "timesheets",
                "column": "user_created",
                "foreign_key_schema": "public",
                "foreign_key_table": "directus_users",
                "foreign_key_column": "id",
                "on_update": "NO ACTION",
                "on_delete": "NO ACTION"
            },
            "meta": {
                "many_collection": "timesheets",
                "many_field": "user_created",
                "one_collection": "directus_users",
                "one_field": null,
                "one_collection_field": null,
                "one_allowed_collections": null,
                "junction_field": null,
                "sort_field": null,
                "one_deselect_action": "nullify"
            }
        },
        {
            "collection": "ts_leave",
            "field": "leave_type",
            "related_collection": "ts_leave_type",
            "schema": {
                "constraint_name": "ts_leave_leave_type_foreign",
                "table": "ts_leave",
                "column": "leave_type",
                "foreign_key_schema": "public",
                "foreign_key_table": "ts_leave_type",
                "foreign_key_column": "id",
                "on_update": "NO ACTION",
                "on_delete": "SET NULL"
            },
            "meta": {
                "many_collection": "ts_leave",
                "many_field": "leave_type",
                "one_collection": "ts_leave_type",
                "one_field": null,
                "one_collection_field": null,
                "one_allowed_collections": null,
                "junction_field": null,
                "sort_field": null,
                "one_deselect_action": "nullify"
            }
        },
        {
            "collection": "ts_leave",
            "field": "approved_by",
            "related_collection": "directus_users",
            "schema": {
                "constraint_name": "ts_leave_approved_by_foreign",
                "table": "ts_leave",
                "column": "approved_by",
                "foreign_key_schema": "public",
                "foreign_key_table": "directus_users",
                "foreign_key_column": "id",
                "on_update": "NO ACTION",
                "on_delete": "SET NULL"
            },
            "meta": {
                "many_collection": "ts_leave",
                "many_field": "approved_by",
                "one_collection": "directus_users",
                "one_field": null,
                "one_collection_field": null,
                "one_allowed_collections": null,
                "junction_field": null,
                "sort_field": null,
                "one_deselect_action": "nullify"
            }
        },
        {
            "collection": "ts_leave",
            "field": "user",
            "related_collection": "directus_users",
            "schema": {
                "constraint_name": "ts_leave_user_foreign",
                "table": "ts_leave",
                "column": "user",
                "foreign_key_schema": "public",
                "foreign_key_table": "directus_users",
                "foreign_key_column": "id",
                "on_update": "NO ACTION",
                "on_delete": "NO ACTION"
            },
            "meta": {
                "many_collection": "ts_leave",
                "many_field": "user",
                "one_collection": "directus_users",
                "one_field": null,
                "one_collection_field": null,
                "one_allowed_collections": null,
                "junction_field": null,
                "sort_field": null,
                "one_deselect_action": "nullify"
            }
        },
        {
            "collection": "ts_settings",
            "field": "user_updated",
            "related_collection": "directus_users",
            "schema": {
                "constraint_name": "ts_settings_user_updated_foreign",
                "table": "ts_settings",
                "column": "user_updated",
                "foreign_key_schema": "public",
                "foreign_key_table": "directus_users",
                "foreign_key_column": "id",
                "on_update": "NO ACTION",
                "on_delete": "NO ACTION"
            },
            "meta": {
                "many_collection": "ts_settings",
                "many_field": "user_updated",
                "one_collection": "directus_users",
                "one_field": null,
                "one_collection_field": null,
                "one_allowed_collections": null,
                "junction_field": null,
                "sort_field": null,
                "one_deselect_action": "nullify"
            }
        },
        {
            "collection": "ts_settings",
            "field": "nine_day_fortnight_leave_type",
            "related_collection": "ts_leave_type",
            "schema": {
                "constraint_name": "ts_settings_nine_day_fortnight_leave_type_foreign",
                "table": "ts_settings",
                "column": "nine_day_fortnight_leave_type",
                "foreign_key_schema": "public",
                "foreign_key_table": "ts_leave_type",
                "foreign_key_column": "id",
                "on_update": "NO ACTION",
                "on_delete": "SET NULL"
            },
            "meta": {
                "many_collection": "ts_settings",
                "many_field": "nine_day_fortnight_leave_type",
                "one_collection": "ts_leave_type",
                "one_field": null,
                "one_collection_field": null,
                "one_allowed_collections": null,
                "junction_field": null,
                "sort_field": null,
                "one_deselect_action": "nullify"
            }
        },
        {
            "collection": "directus_users",
            "field": "role",
            "related_collection": "directus_roles",
            "schema": {
                "constraint_name": "directus_users_role_foreign",
                "table": "directus_users",
                "column": "role",
                "foreign_key_schema": "public",
                "foreign_key_table": "directus_roles",
                "foreign_key_column": "id",
                "on_update": "NO ACTION",
                "on_delete": "SET NULL"
            },
            "meta": {
                "system": true,
                "many_collection": "directus_users",
                "many_field": "role",
                "one_collection": "directus_roles",
                "one_field": "users",
                "one_allowed_collections": null,
                "one_collection_field": null,
                "one_deselect_action": "nullify",
                "junction_field": null,
                "sort_field": null
            }
        },
        {
            "collection": "directus_users",
            "field": "manager",
            "related_collection": "directus_users",
            "schema": {
                "constraint_name": "directus_users_manager_foreign",
                "table": "directus_users",
                "column": "manager",
                "foreign_key_schema": "public",
                "foreign_key_table": "directus_users",
                "foreign_key_column": "id",
                "on_update": "NO ACTION",
                "on_delete": "NO ACTION"
            },
            "meta": {
                "many_collection": "directus_users",
                "many_field": "manager",
                "one_collection": "directus_users",
                "one_field": null,
                "one_collection_field": null,
                "one_allowed_collections": null,
                "junction_field": null,
                "sort_field": null,
                "one_deselect_action": "nullify"
            }
        },
        {
            "collection": "directus_users",
            "field": "avatar",
            "related_collection": "directus_files",
            "schema": null,
            "meta": {
                "system": true,
                "many_collection": "directus_users",
                "many_field": "avatar",
                "one_collection": "directus_files",
                "one_field": null,
                "one_allowed_collections": null,
                "one_collection_field": null,
                "one_deselect_action": "nullify",
                "junction_field": null,
                "sort_field": null
            }
        }
    ]
}