Sectum AI - Pydantic data models and JSON Schema for the verification spec.
Project description
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.
- Documentation: https://docs.sectum.ai
- Source: https://github.com/sectum-ai/sectum-ai
Apache-2.0.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sectum_ai_spec-0.1.7.tar.gz.
File metadata
- Download URL: sectum_ai_spec-0.1.7.tar.gz
- Upload date:
- Size: 21.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cea903413c979c4d4ab28ec692da4108875fb0f1fd7b4074b90b2e332f68cf55
|
|
| MD5 |
b370098b12a1d05434c5b0eea4dac7ab
|
|
| BLAKE2b-256 |
4645e5c2e6beccdb11de5a718388289d68cfb85fae40c47e025402733ec6f5bb
|
Provenance
The following attestation bundles were made for sectum_ai_spec-0.1.7.tar.gz:
Publisher:
release.yml on sectum-ai/sectum-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sectum_ai_spec-0.1.7.tar.gz -
Subject digest:
cea903413c979c4d4ab28ec692da4108875fb0f1fd7b4074b90b2e332f68cf55 - Sigstore transparency entry: 2065301687
- Sigstore integration time:
-
Permalink:
sectum-ai/sectum-ai@cee7136dfbb66be118965569a4b9ba8c5ec986b2 -
Branch / Tag:
refs/tags/v0.1.7 - Owner: https://github.com/sectum-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@cee7136dfbb66be118965569a4b9ba8c5ec986b2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sectum_ai_spec-0.1.7-py3-none-any.whl.
File metadata
- Download URL: sectum_ai_spec-0.1.7-py3-none-any.whl
- Upload date:
- Size: 34.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8097baa0bb02a5051801d68cfdf646d17f4d4404ecda5691093136a2c6c53a09
|
|
| MD5 |
bf7c9287e84c63a929e0328fc0595436
|
|
| BLAKE2b-256 |
4a348bf0208f9a28329c1226bf2e4b9b17298d1ca661f0bcd46bcd813d1ab3c1
|
Provenance
The following attestation bundles were made for sectum_ai_spec-0.1.7-py3-none-any.whl:
Publisher:
release.yml on sectum-ai/sectum-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sectum_ai_spec-0.1.7-py3-none-any.whl -
Subject digest:
8097baa0bb02a5051801d68cfdf646d17f4d4404ecda5691093136a2c6c53a09 - Sigstore transparency entry: 2065303773
- Sigstore integration time:
-
Permalink:
sectum-ai/sectum-ai@cee7136dfbb66be118965569a4b9ba8c5ec986b2 -
Branch / Tag:
refs/tags/v0.1.7 - Owner: https://github.com/sectum-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@cee7136dfbb66be118965569a4b9ba8c5ec986b2 -
Trigger Event:
push
-
Statement type: