{"id":26257969,"url":"https://github.com/cybozu/protobuf","last_synced_at":"2025-07-25T04:36:16.985Z","repository":{"id":131845005,"uuid":"608421739","full_name":"cybozu/protobuf","owner":"cybozu","description":"Normalization and validation system for Protocol Buffers","archived":false,"fork":false,"pushed_at":"2025-04-01T07:48:58.000Z","size":473,"stargazers_count":13,"open_issues_count":3,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-20T12:15:42.491Z","etag":null,"topics":["normalization","protocol-buffers","validation"],"latest_commit_sha":null,"homepage":"https://buf.build/cybozu/protobuf/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cybozu.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":"2023-03-02T01:25:18.000Z","updated_at":"2025-02-25T09:11:02.000Z","dependencies_parsed_at":"2023-09-27T21:19:32.694Z","dependency_job_id":"df22122a-a6d1-424e-9594-c96005c8bac7","html_url":"https://github.com/cybozu/protobuf","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybozu%2Fprotobuf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybozu%2Fprotobuf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybozu%2Fprotobuf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybozu%2Fprotobuf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cybozu","download_url":"https://codeload.github.com/cybozu/protobuf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251362986,"owners_count":21577558,"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":["normalization","protocol-buffers","validation"],"created_at":"2025-03-13T21:30:11.663Z","updated_at":"2025-04-28T18:23:50.548Z","avatar_url":"https://github.com/cybozu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cybozu Public Protocol Buffers Schema\n\nThis repository contains public Protocol Buffer files and related tools from Cybozu.\n\nThis repository forms a [Buf module][module] to publish protobuf files on [BSR][BSR].\nYou can import packages in this repository by adding the following lines to `buf.yaml`.\n\n```yaml\nversion: v1\ndeps:\n- buf.build/cybozu/protobuf\n```\n\nIf you are not familiar with `buf`, read https://docs.buf.build/manuals/cli/overview\n\n## `cybozu.validate`\n\nThis protobuf package provides custom options to normalize and validate messages.\nRead [examples/validation.proto](examples/validation.proto) for example usage.\n\nYou can get the code generator for Go as follows:\n\n```console\n$ go install github.com/cybozu/protobuf/cmd/protoc-gen-go-cybozu-validate@latest\n```\n\nor download prebuilt binaries from [Releases](https://github.com/cybozu/protobuf/releases/latest).\n\nThe following is an example `buf.gen.yaml` to generate validation code:\n\n```yaml\nversion: v1\nplugins:\n  - plugin: go\n    out: .\n    opt: paths=source_relative\n  - plugin: go-cybozu-validate\n    out: .\n    opt: paths=source_relative\n```\n\n## API documentation\n\nVisit https://buf.build/cybozu/protobuf\n\n## Versioning and backward-compatibility\n\nWe keep backward-compatibility of Protocol Buffers files.\nWhen we want to add breaking changes to Protocol Buffers files, we create\na different package like `cybozu.foo.v2` not to break the current package.\n\nHowever, the generated code in this repository may not be backward compatible.\nFor example, Go code generated by `protoc-gen-go` may not be always backward compatible.\n\nSo, we use a [semver](https://semver.org/) with major version zero (0.y.z) to\ntag this repository to declare the generated code may bring breaking changes.\n\n### For developers\n\nRunning `make create-tag` creates a new tag and push it to GitHub automatically.\nThe rest of the release process will be done by GitHub Actions.\n\n## License\n\nAll code in this repository is licensed under the Apache License Version 2.0.\nRead [LICENSE](LICENSE) for terms and conditions.\n\n[module]: https://docs.buf.build/bsr/overview#modules\n[BSR]: https://docs.buf.build/bsr/introduction\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybozu%2Fprotobuf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcybozu%2Fprotobuf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybozu%2Fprotobuf/lists"}