Civic Transparency Schemas (README.md)
JSON Schema definitions for privacy-preserving social media transparency APIs.
Schemas
| Schema | Purpose | Status |
|---|---|---|
provenance_tag.schema.json |
Per-post behavioral metadata | Draft |
series.schema.json |
Aggregated time series API responses | Draft |
transparency_api.openapi.yaml |
REST API specification | Draft |
Implementation
- Generate provenance tags when posts are created
- Aggregate tags into time buckets with k-anonymity (k≥100)
- Expose aggregated data via REST API
See API documentation for complete specification.
Privacy
- All responses maintain k-anonymity (k≥100)
- Individual posts and users are never exposed
- Rare categories (<5%) are grouped as "other"
- Geographic data limited to country-level
Versioning
This specification follows semantic versioning. See CHANGELOG.md for version history.
License
MIT
Metadata
Release files for civic-transparency-spec 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| civic_transparency_spec-0.2.1.tar.gz | 10.6 kB | With provenance | Details for civic_transparency_spec-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| civic_transparency_spec-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for civic_transparency_spec-0.2.1-py3-none-any.whl |
Total release size: 20.7 kB
Release files / civic_transparency_spec-0.2.1.tar.gz
| Download URL | civic_transparency_spec-0.2.1.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b567a7a77ca76ceb075091a3a59884bb1d100ad1a24206409b250d2d5e7bdd7
|
|
BLAKE2b-256 checksum How to use checksums |
3cb454569de29eca6f3d71a284f71a767787486128e7f3880d548fd4e6fc791d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 19, 2025.
Transparency logRelease files / civic_transparency_spec-0.2.1-py3-none-any.whl
| Download URL | civic_transparency_spec-0.2.1-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9bff7981373a4e2c481a126a896d0606c888133bad7484588a5fe70b660a26b8
|
|
BLAKE2b-256 checksum How to use checksums |
949498560752a208136ca5e4f2df956779b38b4ce2fb4232769bc0c410c4badb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 19, 2025.
Transparency logSecurity for civic-transparency-spec 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for civic_transparency_spec-0.2.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 19, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.