{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.demiton.io/registers/timesheet_code_list/v1.json",
  "title": "timesheet_code_list contract v1",
  "type": "object",
  "required": [
    "code",
    "name",
    "source_external_id",
    "timesheet_code_entity_id"
  ],
  "properties": {
    "code": {
      "type": "string",
      "description": "The pay / timesheet code the cross-source alias binding matches on",
      "x-demiton-requiredness": "required"
    },
    "name": {
      "type": "string",
      "description": "Human name of the timesheet code",
      "x-demiton-requiredness": "required"
    },
    "legal_entity_id": {
      "type": "integer",
      "description": "Owning legal entity where the source is multi-company",
      "x-demiton-requiredness": "optional"
    },
    "source_created_at": {
      "type": "string",
      "description": "When the source system created the code",
      "x-demiton-requiredness": "optional",
      "format": "date-time",
      "x-demiton-type": "datetime"
    },
    "source_deleted_at": {
      "type": "string",
      "description": "Soft-delete time in the source system, if the system keeps deleted codes in the feed",
      "x-demiton-requiredness": "optional",
      "format": "date-time",
      "x-demiton-type": "datetime"
    },
    "source_external_id": {
      "type": "number",
      "description": "The raw record id in the producing system",
      "x-demiton-requiredness": "required"
    },
    "source_modified_at": {
      "type": "string",
      "description": "When the source system last modified the code",
      "x-demiton-requiredness": "optional",
      "format": "date-time",
      "x-demiton-type": "datetime"
    },
    "timesheet_code_entity_id": {
      "type": "integer",
      "description": "Demiton canonical `TIMESHEET_CODE` spine node this fact is about",
      "x-demiton-requiredness": "required"
    },
    "parent_time_code_reference": {
      "type": "object",
      "description": "The source's nested parent/owning time-code object, if the code table is hierarchical",
      "x-demiton-requiredness": "optional"
    }
  },
  "x-demiton-register-type": "timesheet_code_list",
  "x-demiton-contract-version": "1.0.3",
  "x-demiton-store": "tenant",
  "x-demiton-axes": [],
  "x-demiton-measures": [],
  "x-demiton-provenance": {
    "standards": [
      {
        "code": "Fair Work Act 2009 (Cth)",
        "title": "Fair Work Act 2009 - employee records and National Employment Standards",
        "access": "full_text_verified",
        "clause": "ss.87(1), 96(1), 535(1)",
        "region": "Australia",
        "edition": "compilation 2026-07-07",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Fair Work Regulations 2009 (Cth)",
        "title": "Fair Work Regulations 2009 - employee record content",
        "access": "full_text_verified",
        "clause": "reg 3.36",
        "region": "Australia",
        "edition": "compilation 2026-06-20",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Single Touch Payroll Phase 2 (ATO)",
        "title": "Single Touch Payroll Phase 2 employer reporting guidelines",
        "access": "public_summary",
        "region": "Australia",
        "edition": "Phase 2 (mandatory from 1 Jan 2022)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "ISO 30414:2025",
        "title": "Human resource management - Requirements and recommendations for human capital reporting and disclosure",
        "access": "paywalled_secondary",
        "region": "International",
        "edition": "2nd ed. 2025 (supersedes ISO 30414:2018)",
        "checked_on": "2026-09-14"
      }
    ]
  },
  "description": "Timesheet and pay codes: award codes, allowances and the like.",
  "x-demiton-contract-url": "https://docs.demiton.io/registers/timesheet_code_list/",
  "x-demiton-register-catalog": "https://docs.demiton.io/concepts/register-catalog"
}