DiariumCase: {
    caseId: string;
    caseName: string;
    caseSubject: string;
    companyId?: string;
    companyName?: string;
    countyId?: DiariumCountyId;
    countyName?: DiariumCountyName;
    municipalityId?: DiariumMunicipalityId;
    municipalityName?: DiariumMunicipalityName;
    workplaceId?: string;
    workplaceName?: string;
}

Data model for case metadata

Most of this is optional because tons of csases lack most of these fields.

Type declaration