{"id":25969195,"url":"https://github.com/folkerkinzel/contacts","last_synced_at":"2026-02-09T08:32:07.880Z","repository":{"id":142563897,"uuid":"248765152","full_name":"FolkerKinzel/Contacts","owner":"FolkerKinzel","description":".NET library that provides an easy to use data model to store contact data of organizations and natural persons.","archived":false,"fork":false,"pushed_at":"2024-12-27T22:59:33.000Z","size":7728,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T02:36:37.906Z","etag":null,"topics":["contact","csharp","data-model","dotnet"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FolkerKinzel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-20T13:42:00.000Z","updated_at":"2024-12-27T22:59:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"592af59b-2909-45f3-a458-d849c51560de","html_url":"https://github.com/FolkerKinzel/Contacts","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FolkerKinzel%2FContacts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FolkerKinzel%2FContacts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FolkerKinzel%2FContacts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FolkerKinzel%2FContacts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FolkerKinzel","download_url":"https://codeload.github.com/FolkerKinzel/Contacts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241935266,"owners_count":20044826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["contact","csharp","data-model","dotnet"],"created_at":"2025-03-04T22:47:04.881Z","updated_at":"2026-02-09T08:32:07.846Z","avatar_url":"https://github.com/FolkerKinzel.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FolkerKinzel.Contacts\n[![NuGet](https://img.shields.io/nuget/v/FolkerKinzel.Contacts)](https://www.nuget.org/packages/FolkerKinzel.Contacts/)\n[![GitHub](https://img.shields.io/github/license/FolkerKinzel/Contacts)](https://github.com/FolkerKinzel/Contacts/blob/master/LICENSE)\n\n\n.NET library that provides an easy to use data model to store contact data of organizations and natural persons.\n\n(If you need to persist this data model as vCard (*.vcf) or CSV, have a look at [FolkerKinzel.Contacts.IO](https://github.com/FolkerKinzel/Contacts.IO).)\n\n[Project Reference](https://folkerkinzel.github.io/Contacts/reference/)\n\n[Version History](https://github.com/FolkerKinzel/Contacts/releases)\n\n\n## Example\n```csharp\nusing FolkerKinzel.Contacts;\n\nnamespace Examples;\n\npublic static class ContactExample\n{\n    public static Contact[] InitializeContacts() =\u003e\n        [\n            new()\n            {\n                DisplayName = \"John Doe\",\n                Person = new Person\n                {\n                    Name = new Name\n                    {\n                        FirstName = \"John\",\n                        MiddleName = \"William\",\n                        LastName = \"Doe\",\n                        Suffix = \"jr.\"\n                    },\n\n                    BirthDay = new DateOnly(1972, 1, 3),\n                    Spouse = \"Jane Doe\",\n                    Anniversary = new DateOnly(2001, 6, 15),\n                    Gender = Sex.Male,\n                    NickName = \"The Dude\"\n                },\n\n                Work = new Work\n                {\n                    JobTitle = \"Facility Manager\",\n                    Company = \"Does Company\"\n                },\n\n                // PhoneNumber implements IEnumerable\u003cPhoneNumber\u003e. So you\n                // can assign a single instance without having to wrap it \n                // into an Array or List:\n                PhoneNumbers = new PhoneNumber\n                {\n                    Value = \"0123-45678\",\n                    IsWork = true\n                },\n\n                EmailAddresses = [\"john.doe@internet.com\"]\n            },\n\n            new()\n            {\n                DisplayName = \"Jane Doe\",\n                Person = new Person\n                {\n                    Name = new Name\n                    {\n                        FirstName = \"Jane\",\n                        LastName = \"Doe\",\n                        Prefix = \"Dr.\"\n                    },\n                    BirthDay = new DateOnly(1981, 5, 4),\n                    Spouse = \"John Doe\",\n                    Anniversary = new DateOnly(2001, 6, 15),\n                    Gender = Sex.Female\n                },\n\n                Work = new Work\n                {\n                    JobTitle = \"CEO\",\n                    Company = \"Does Company\"\n                },\n\n                PhoneNumbers =\n                [\n                    new() {\n                        Value = \"0123-45678\",\n                        IsWork = true\n                    },\n\n                    new() {\n                        Value = \"876-54321\",\n                        IsMobile = true\n                    }\n                ]\n            }\n        ];\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffolkerkinzel%2Fcontacts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffolkerkinzel%2Fcontacts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffolkerkinzel%2Fcontacts/lists"}