{"id":19666854,"url":"https://github.com/mavolin/standards","last_synced_at":"2026-03-04T04:02:58.498Z","repository":{"id":65423995,"uuid":"591431188","full_name":"mavolin/standards","owner":"mavolin","description":"📄 Boringly simple parsing and validation for IBANs, BICs, ISO3166 alpha-2s, German Health Insurance Numbers, German Tax IDs, German Pension Insurance Numbers, and German Postal Codes.","archived":false,"fork":false,"pushed_at":"2025-03-05T16:13:14.000Z","size":183,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"v1","last_synced_at":"2025-10-07T20:58:37.028Z","etag":null,"topics":["bic","german","go","golang","health-insurance-number","iban","iso3166","iso3166-1","postal-code","ssn","tax-id","validation"],"latest_commit_sha":null,"homepage":"","language":"Go","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/mavolin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2023-01-20T18:36:13.000Z","updated_at":"2025-03-05T16:10:55.000Z","dependencies_parsed_at":"2024-06-20T21:50:42.581Z","dependency_job_id":"27031257-4f92-4435-94ed-5e4ba52023ff","html_url":"https://github.com/mavolin/standards","commit_stats":{"total_commits":27,"total_committers":1,"mean_commits":27.0,"dds":0.0,"last_synced_commit":"6456d73ab9f58084aa16af971f36a787f5cddc73"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/mavolin/standards","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mavolin%2Fstandards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mavolin%2Fstandards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mavolin%2Fstandards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mavolin%2Fstandards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mavolin","download_url":"https://codeload.github.com/mavolin/standards/tar.gz/refs/heads/v1","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mavolin%2Fstandards/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30071670,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T03:25:38.285Z","status":"ssl_error","status_checked_at":"2026-03-04T03:25:05.086Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bic","german","go","golang","health-insurance-number","iban","iso3166","iso3166-1","postal-code","ssn","tax-id","validation"],"created_at":"2024-11-11T16:29:15.180Z","updated_at":"2026-03-04T04:02:58.481Z","avatar_url":"https://github.com/mavolin.png","language":"Go","readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1\u003estandards\u003c/h1\u003e\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/mavolin/standards.svg)](https://pkg.go.dev/github.com/mavolin/standards)\n[![Test](https://github.com/mavolin/standards/actions/workflows/test.yml/badge.svg)](https://github.com/mavolin/standards/actions)\n[![Code Coverage](https://codecov.io/gh/mavolin/standards/branch/develop/graph/badge.svg?token=ewFEQGgMES)](https://codecov.io/gh/mavolin/standards)\n[![Go Report Card](https://goreportcard.com/badge/github.com/mavolin/standards)](https://goreportcard.com/report/github.com/mavolin/standards)\n[![License MIT](https://img.shields.io/github/license/mavolin/standards)](https://github.com/mavolin/standards/blob/develop/LICENSE)\n\u003c/div\u003e\n\n---\n\n## About\n\nBoringly simple parsing and validation for various notations.\n\n## Supported Standards\n\n* 🏦 BICs\n* 💰 IBANs with country-specific BBAN validation\n* 🏴‍☠️ ISO3166-1 Alpha2 (e.g. `DE`, or `ES`)\n* 🚑 German Health Insurance Numbers (Krankenversicherungsnummern)\n* 🧓 German Pension Insurance Numbers (Renten-/ Sozialversicherungsnummern)\n* 💲 German Tax Identification Numbers (Steuer-IDs)\n* ✉ German Postal Codes (Postleitzahlen)\n\n## Each Package Is the Same\n\nEach standard is implemented in its own package,\nand each package provides a type for the standard, e.g. `bic.BIC` for BICs.\nThat type contains all the information that can be extracted from the notation.\n\n```go\npackage bic\n\ntype BIC struct {\n\tBusinessPartyPrefix string\n\tCountryCode         string\n\tBusinessPartySuffix string\n\tBranchCode          string\n}\n```\n\nEach type implements:\n\n* `String() string` to get the notation pretty-printed\n* `Compact() string` to get the notation in compact, machine-readable form\n* `MarshalText() ([]byte, error)` same as `Compact`\n* `UnmarshalText([]byte) error` to parse the notation\n\nAdditionally, each package provides these two functions:\n\n* `Parse(string) (Type, error)` parses the given string, and validates it\n* `IsValid(string) bool` simply checks whether the given string is valid in the given standard.\n\n## License\n\nBuilt with ❤ by [Maximilian von Lindern](https://github.com/mavolin).\nAvailable under the [MIT License](./LICENSE).","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmavolin%2Fstandards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmavolin%2Fstandards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmavolin%2Fstandards/lists"}