Skip to main content

Civic Transparency Schemas (README.md)

License: MIT

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

  1. Generate provenance tags when posts are created
  2. Aggregate tags into time buckets with k-anonymity (k≥100)
  3. 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)

Source distribution for civic-transparency-spec 0.2.1
File Size Uploaded
civic_transparency_spec-0.2.1.tar.gz 10.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for civic-transparency-spec 0.2.1
File Interpreter ABI Platform
civic_transparency_spec-0.2.1-py3-none-any.whl Python 3 none any Details

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 log

Release 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 log

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page