{
  "schemaVersion": 1,
  "domain": "law",
  "citizenId": "2737098",
  "city": "nairobi",
  "recordCount": 3,
  "source": {
    "path": "assets/data/citizens/source-records/nairobi-2737098-legal-complete.json",
    "sha256": "9ffe51c81b25714d6e262b94e90a6e12cd2c09d0b1a08a1f42aea178bd4d951e",
    "tablePointer": "/tables/legalCaseSummaries"
  },
  "scope": "3 supplied cases, with 9 detailed events for the employment dispute.",
  "rawFields": [
    {
      "name": "CitizenId",
      "key": "CitizenId",
      "type": "source text or null",
      "description": "Exact CitizenId value in the supplied legal case summary; null becomes an empty CSV field."
    },
    {
      "name": "CitizenName",
      "key": "CitizenName",
      "type": "source text or null",
      "description": "Exact CitizenName value in the supplied legal case summary; null becomes an empty CSV field."
    },
    {
      "name": "DateOfBirth",
      "key": "DateOfBirth",
      "type": "source text or null",
      "description": "Exact DateOfBirth value in the supplied legal case summary; null becomes an empty CSV field."
    },
    {
      "name": "Age",
      "key": "Age",
      "type": "source text or null",
      "description": "Exact Age value in the supplied legal case summary; null becomes an empty CSV field."
    },
    {
      "name": "Gender",
      "key": "Gender",
      "type": "source text or null",
      "description": "Exact Gender value in the supplied legal case summary; null becomes an empty CSV field."
    },
    {
      "name": "Ward",
      "key": "Ward",
      "type": "source text or null",
      "description": "Exact Ward value in the supplied legal case summary; null becomes an empty CSV field."
    },
    {
      "name": "CaseKey",
      "key": "CaseKey",
      "type": "source text or null",
      "description": "Exact CaseKey value in the supplied legal case summary; null becomes an empty CSV field."
    },
    {
      "name": "CaseId",
      "key": "CaseId",
      "type": "source text or null",
      "description": "Exact CaseId value in the supplied legal case summary; null becomes an empty CSV field."
    },
    {
      "name": "Filed",
      "key": "Filed",
      "type": "source text or null",
      "description": "Exact Filed value in the supplied legal case summary; null becomes an empty CSV field."
    },
    {
      "name": "CaseType",
      "key": "CaseType",
      "type": "source text or null",
      "description": "Exact CaseType value in the supplied legal case summary; null becomes an empty CSV field."
    },
    {
      "name": "CitizenRole",
      "key": "CitizenRole",
      "type": "source text or null",
      "description": "Exact CitizenRole value in the supplied legal case summary; null becomes an empty CSV field."
    },
    {
      "name": "Status",
      "key": "Status",
      "type": "source text or null",
      "description": "Exact Status value in the supplied legal case summary; null becomes an empty CSV field."
    },
    {
      "name": "Resolution",
      "key": "Resolution",
      "type": "source text or null",
      "description": "Exact Resolution value in the supplied legal case summary; null becomes an empty CSV field."
    },
    {
      "name": "Compliance",
      "key": "Compliance",
      "type": "source text or null",
      "description": "Exact Compliance value in the supplied legal case summary; null becomes an empty CSV field."
    },
    {
      "name": "LegalEvents",
      "key": "LegalEvents",
      "type": "source text or null",
      "description": "Exact LegalEvents value in the supplied legal case summary; null becomes an empty CSV field."
    },
    {
      "name": "CaseDuration",
      "key": "CaseDuration",
      "type": "source text or null",
      "description": "Exact CaseDuration value in the supplied legal case summary; null becomes an empty CSV field."
    },
    {
      "name": "PublicSummary",
      "key": "PublicSummary",
      "type": "source text or null",
      "description": "Exact PublicSummary value in the supplied legal case summary; null becomes an empty CSV field."
    }
  ],
  "displayFields": [
    {
      "key": "date",
      "label": "Filed"
    },
    {
      "key": "type",
      "label": "Case type"
    },
    {
      "key": "status",
      "label": "Status"
    },
    {
      "key": "resolution",
      "label": "Resolution"
    }
  ],
  "derivedFields": [
    {
      "name": "SourceTable",
      "description": "Identifies the source result table in the complete legal CSV. Each remaining field preserves the source value; fields absent from that table are empty."
    }
  ],
  "secondaryTables": [
    {
      "name": "legalCaseSummaries",
      "recordCount": 3,
      "rawFields": [
        {
          "name": "CitizenId",
          "key": "CitizenId"
        },
        {
          "name": "CitizenName",
          "key": "CitizenName"
        },
        {
          "name": "DateOfBirth",
          "key": "DateOfBirth"
        },
        {
          "name": "Age",
          "key": "Age"
        },
        {
          "name": "Gender",
          "key": "Gender"
        },
        {
          "name": "Ward",
          "key": "Ward"
        },
        {
          "name": "CaseKey",
          "key": "CaseKey"
        },
        {
          "name": "CaseId",
          "key": "CaseId"
        },
        {
          "name": "Filed",
          "key": "Filed"
        },
        {
          "name": "CaseType",
          "key": "CaseType"
        },
        {
          "name": "CitizenRole",
          "key": "CitizenRole"
        },
        {
          "name": "Status",
          "key": "Status"
        },
        {
          "name": "Resolution",
          "key": "Resolution"
        },
        {
          "name": "Compliance",
          "key": "Compliance"
        },
        {
          "name": "LegalEvents",
          "key": "LegalEvents"
        },
        {
          "name": "CaseDuration",
          "key": "CaseDuration"
        },
        {
          "name": "PublicSummary",
          "key": "PublicSummary"
        }
      ],
      "downloadHref": "/downloads/citizens/nairobi-2737098-law-complete.csv"
    },
    {
      "name": "legalCaseDetails",
      "recordCount": 1,
      "rawFields": [
        {
          "name": "CitizenId",
          "key": "CitizenId"
        },
        {
          "name": "CitizenName",
          "key": "CitizenName"
        },
        {
          "name": "DateOfBirth",
          "key": "DateOfBirth"
        },
        {
          "name": "Age",
          "key": "Age"
        },
        {
          "name": "Gender",
          "key": "Gender"
        },
        {
          "name": "Ward",
          "key": "Ward"
        },
        {
          "name": "CaseKey",
          "key": "CaseKey"
        },
        {
          "name": "CaseId",
          "key": "CaseId"
        },
        {
          "name": "CaseType",
          "key": "CaseType"
        },
        {
          "name": "SourceDomain",
          "key": "SourceDomain"
        },
        {
          "name": "CitizenRole",
          "key": "CitizenRole"
        },
        {
          "name": "DisputeOccurred",
          "key": "DisputeOccurred"
        },
        {
          "name": "CaseFiled",
          "key": "CaseFiled"
        },
        {
          "name": "CaseClosed",
          "key": "CaseClosed"
        },
        {
          "name": "FilingDelay",
          "key": "FilingDelay"
        },
        {
          "name": "Status",
          "key": "Status"
        },
        {
          "name": "Resolution",
          "key": "Resolution"
        },
        {
          "name": "Compliance",
          "key": "Compliance"
        },
        {
          "name": "LegalEvents",
          "key": "LegalEvents"
        },
        {
          "name": "Resolutions",
          "key": "Resolutions"
        },
        {
          "name": "Remedies",
          "key": "Remedies"
        },
        {
          "name": "Obligations",
          "key": "Obligations"
        },
        {
          "name": "EnforcementActions",
          "key": "EnforcementActions"
        },
        {
          "name": "ComplianceChecks",
          "key": "ComplianceChecks"
        },
        {
          "name": "Reopened",
          "key": "Reopened"
        },
        {
          "name": "CaseDuration",
          "key": "CaseDuration"
        },
        {
          "name": "ConnectedSource",
          "key": "ConnectedSource"
        },
        {
          "name": "SourceRecordId",
          "key": "SourceRecordId"
        },
        {
          "name": "SourceTriggerDate",
          "key": "SourceTriggerDate"
        },
        {
          "name": "EmploymentAtDispute",
          "key": "EmploymentAtDispute"
        },
        {
          "name": "MonthlyGrossAtDispute",
          "key": "MonthlyGrossAtDispute"
        }
      ],
      "downloadHref": "/downloads/citizens/nairobi-2737098-law-complete.csv"
    },
    {
      "name": "legalEvents",
      "recordCount": 9,
      "rawFields": [
        {
          "name": "CaseKey",
          "key": "CaseKey"
        },
        {
          "name": "EventNumber",
          "key": "EventNumber"
        },
        {
          "name": "Date",
          "key": "Date"
        },
        {
          "name": "Stage",
          "key": "Stage"
        },
        {
          "name": "Event",
          "key": "Event"
        },
        {
          "name": "Details",
          "key": "Details"
        },
        {
          "name": "Outcome",
          "key": "Outcome"
        },
        {
          "name": "Amount",
          "key": "Amount"
        },
        {
          "name": "DaysSincePreviousEvent",
          "key": "DaysSincePreviousEvent"
        },
        {
          "name": "Context",
          "key": "Context"
        },
        {
          "name": "RecordStatus",
          "key": "RecordStatus"
        },
        {
          "name": "FinalEvent",
          "key": "FinalEvent"
        },
        {
          "name": "EvidenceSource",
          "key": "EvidenceSource"
        },
        {
          "name": "EvidenceRecordId",
          "key": "EvidenceRecordId"
        }
      ],
      "downloadHref": "/downloads/citizens/nairobi-2737098-law-complete.csv"
    },
    {
      "name": "legalParties",
      "recordCount": 2,
      "rawFields": [
        {
          "name": "CaseKey",
          "key": "CaseKey"
        },
        {
          "name": "Party",
          "key": "Party"
        },
        {
          "name": "Role",
          "key": "Role"
        },
        {
          "name": "Capacity",
          "key": "Capacity"
        },
        {
          "name": "FeaturedCitizen",
          "key": "FeaturedCitizen"
        }
      ],
      "downloadHref": "/downloads/citizens/nairobi-2737098-law-complete.csv"
    },
    {
      "name": "legalContextSnapshots",
      "recordCount": 2,
      "rawFields": [
        {
          "name": "CaseKey",
          "key": "CaseKey"
        },
        {
          "name": "Snapshot",
          "key": "Snapshot"
        },
        {
          "name": "EventDate",
          "key": "EventDate"
        },
        {
          "name": "Age",
          "key": "Age"
        },
        {
          "name": "Ward",
          "key": "Ward"
        },
        {
          "name": "EmploymentStatus",
          "key": "EmploymentStatus"
        },
        {
          "name": "Employer",
          "key": "Employer"
        },
        {
          "name": "JobTitle",
          "key": "JobTitle"
        },
        {
          "name": "EmploymentType",
          "key": "EmploymentType"
        },
        {
          "name": "GrossMonthly",
          "key": "GrossMonthly"
        },
        {
          "name": "SourceDomain",
          "key": "SourceDomain"
        },
        {
          "name": "SourceEntity",
          "key": "SourceEntity"
        },
        {
          "name": "SourceRecordId",
          "key": "SourceRecordId"
        },
        {
          "name": "SourceTriggerDate",
          "key": "SourceTriggerDate"
        }
      ],
      "downloadHref": "/downloads/citizens/nairobi-2737098-law-complete.csv"
    }
  ],
  "suppliedEventCount": 9,
  "reportedEventCount": 15,
  "missingFields": [
    "Insurance-case event rows were not supplied; only the employment case has a detailed timeline.",
    "No insurance policy foreign key or direct employment contract foreign key was supplied."
  ],
  "exports": [
    {
      "href": "/downloads/citizens/nairobi-2737098-law-complete.csv",
      "recordCount": 17,
      "fieldCount": 59
    }
  ],
  "downloadHref": "/downloads/citizens/nairobi-2737098-law-complete.csv"
}
