{"id":20308445,"url":"https://github.com/0xdir/htcds_dart","last_synced_at":"2025-10-24T15:49:12.795Z","repository":{"id":181828216,"uuid":"667486783","full_name":"0xdir/htcds_dart","owner":"0xdir","description":"Human Trafficking Case Data Standard (HTCDS v0.2) objects, for easy creation, storage and transmission of case data related to human trafficking.","archived":false,"fork":false,"pushed_at":"2023-07-17T16:15:59.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-24T15:49:06.986Z","etag":null,"topics":["data","humanitarian","schema","standards"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/htcds","language":"Dart","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/0xdir.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-07-17T16:00:47.000Z","updated_at":"2025-06-15T13:29:23.000Z","dependencies_parsed_at":"2023-07-17T17:42:57.289Z","dependency_job_id":null,"html_url":"https://github.com/0xdir/htcds_dart","commit_stats":null,"previous_names":["0xdir/htcds_dart"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/0xdir/htcds_dart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdir%2Fhtcds_dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdir%2Fhtcds_dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdir%2Fhtcds_dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdir%2Fhtcds_dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xdir","download_url":"https://codeload.github.com/0xdir/htcds_dart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdir%2Fhtcds_dart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280823235,"owners_count":26397437,"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","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["data","humanitarian","schema","standards"],"created_at":"2024-11-14T17:22:28.973Z","updated_at":"2025-10-24T15:49:12.761Z","avatar_url":"https://github.com/0xdir.png","language":"Dart","funding_links":["https://github.com/sponsors/0xdir"],"categories":[],"sub_categories":[],"readme":"[![pub package](https://img.shields.io/pub/v/htcds.svg)](https://pub.dev/packages/htcds)\n[![package publisher](https://img.shields.io/pub/publisher/htcds.svg)](https://pub.dev/packages/htcds/publisher)\n\nThis library comprises Human Trafficking Case Data Standard (HTCDS v0.2) \nobjects, for easy creation, storage and transmission of case data\nrelated to human trafficking.\n\nThe Human Trafficking Case Data Standard ([HTCDS]) is a global\nformat and common approach to collecting and recording case data\nrelated to human trafficking. The standard will enable organizations\naround the world to collect and potentially share information\nrelated to human trafficking cases in a consistent way.\n\n[HTCDS]: https://hapi.etica.ai/eng-Latn/data-schema/UN/HTCDS/HTCDS.json\n\nThe HTCDS is intended to be a reference for organizations\nhandling cases related to human trafficking, technology\nservice providers and independent software vendors (ISVs).\n\nThis is a community maintained library which has no association \nwith the International Organization for Migration (IOM).\n\n## Using\n\nThe easiest way to use this library is via the top-level ```Case, Person, and Victim``` classes.\n\n```dart\nimport 'package:htcds/htcds.dart';\n\nvoid main() {\n  /// Create the Responding Officer's profile\n  Person officer1 = Person(\n    salutation: 'Mr',\n    firstName: 'John',\n    secondName: 'Doe',\n    title: 'SGT',\n  );\n\n  /// Create the Victim's profile\n  Victim victim1 = Victim(\n      salutation: 'Ms',\n      firstName: 'Jane',\n      secondName: 'Doe',\n      gender: Gender.female,\n      /// Use Enums found in /constants\n      methodOfRecruitment: MethodOfRecruitment.internet,\n      methodsOfControl: [\n        MethodOfControl.falsePromises,\n        MethodOfControl.physicalAbuse,\n      ]);\n\n  /// Create the case\n  Case case1 = Case(\n    caseOwner: 'John',\n    status: 'open',\n    persons: [officer1, victim1],\n  );\n\n  /// Do stuff with the case\n  ///\n  /// eg. transmit to another organization expecting the data\n  /// in HTCDS schema\n  print(case1.toJson());\n}\n```\n\n## Getting Help\n\nSubmit an issue on [github].\n\n[github]: https://github.com/0xdir/htcds_dart\n\n\n## This work builds upon:\n1. [Human Trafficking Case Data Standard (HTCDS)](https://github.com/UNMigration/HTCDS)\n\nDo check out their repo too!\n\n## How to contribute\n\nAll feedback and suggestions for improvements are welcome:\n\n1. Open a discussion on [github]\n2. Discuss proposed changes\n3. Submit a PR (optional)\n\n[github]: https://github.com/0xdir/htcds_dart\n\n## Support my work\n\nThis package is possible thanks to the people and companies\nwho donate money, services or time to keep the project running.\n\nIf you're interested in becoming a Sponsor, Backer or Contributor\nto expand the project, please visit my [github sponsors page].\n\n[github sponsors page]: https://github.com/sponsors/0xdir\n\nOr buy me coffee at `0xdir.near`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xdir%2Fhtcds_dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xdir%2Fhtcds_dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xdir%2Fhtcds_dart/lists"}