Skip to main content

sectum-ai-spec

Shared data models and JSON Schema for Sectum AI, the multi-tenant AI verification toolkit.

This distribution holds the Pydantic v2 models and exported JSON Schema that every other Sectum package builds on — Scenario, Marker, GroundTruthManifest, ProbeStep, Observation, Finding, RunResult, and EvidencePack — plus the typed error hierarchy (SectumError and friends). It is the lowest layer in the package graph and depends on nothing else in the family.

pip install sectum-ai-spec

Most users install the umbrella package sectum-ai instead, which pulls this in automatically.

JSON Schema

Every model is also published as a standalone JSON Schema document under sectum_ai/spec/schemas/<Model>.schema.json (shipped in the wheel). Each carries a $schema dialect (draft 2020-12) and a version-pinned $id (https://schemas.sectum.ai/<schema_version>/<Model>.schema.json), so external tooling can validate Sectum artifacts without importing Python:

from sectum_ai.spec import json_schemas
from sectum_ai.spec.schema import SCHEMA_DIR  # the committed, packaged artifacts

finding_schema = json_schemas()["Finding"]

The Pydantic models are authoritative; the schemas are generated from them. Regenerate after a model change with uv run python scripts/gen_schemas.py (a test fails if a committed artifact drifts). The schema_version field versions the models — bump it for a backward-incompatible change, then regenerate.

Apache-2.0.

Metadata

Release files for sectum-ai-spec 0.11.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sectum-ai-spec 0.11.0
File Size Uploaded
sectum_ai_spec-0.11.0.tar.gz 27.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sectum-ai-spec 0.11.0
File Interpreter ABI Platform
sectum_ai_spec-0.11.0-py3-none-any.whl Python 3 none any Details

Total release size: 70.3 kB

Release files / sectum_ai_spec-0.11.0.tar.gz

Download URL sectum_ai_spec-0.11.0.tar.gz
Size 27.8 kB
Tags Source
SHA-256 checksum
How to use checksums
35e936e8cd0c080ab66659b8b29031259ecc183913ef85e39e7f673eb03af0de
BLAKE2b-256 checksum
How to use checksums
51dfbc973f788090c2f1e2003a5a4ca23a371c7769a4abdf44d06263106a7c47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 2, 2026.

Transparency log

Release files / sectum_ai_spec-0.11.0-py3-none-any.whl

Download URL sectum_ai_spec-0.11.0-py3-none-any.whl
Size 42.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4979423ce44c61fa0dfbc05aa2506f52f0eabe33d4ccd06b7f09a1fa1af6835
BLAKE2b-256 checksum
How to use checksums
3ab31c691d08e9e378626c3c2df902c882c7e23b41e6e80ac9078899f9db43ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 2, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.11.0 This release

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

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