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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sectum_ai_spec-0.9.0.tar.gz (27.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sectum_ai_spec-0.9.0-py3-none-any.whl (42.4 kB view details)

Uploaded Python 3

File details

Details for the file sectum_ai_spec-0.9.0.tar.gz.

File metadata

  • Download URL: sectum_ai_spec-0.9.0.tar.gz
  • Upload date:
  • Size: 27.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for sectum_ai_spec-0.9.0.tar.gz
Algorithm Hash digest
SHA256 bbd9baf9ca6db82220e52d8a33196ce96deb83f02a18bc1087054bbf0e62d70f
MD5 e1566bba8bdda84abd4f2534078e0f81
BLAKE2b-256 c8a6b6364cec50ab26f73d7c044d2228c98624f13f7ce45691bcc7df206e3c7b

See more details on using hashes here.

Provenance

The following attestation bundles were made for sectum_ai_spec-0.9.0.tar.gz:

Publisher: release.yml on sectum-ai/sectum-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sectum_ai_spec-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: sectum_ai_spec-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 42.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for sectum_ai_spec-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ef0a034ffcb4ed079103497d22236b20fbeaf3012ef2cf57f44662ec96a8b12
MD5 13538060e1d1f4be1d5e1f8a2d07ec1e
BLAKE2b-256 70d04d8f7ba3c9e9fc284f1475b93b54d4ad3d147357760163a273f3647089c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for sectum_ai_spec-0.9.0-py3-none-any.whl:

Publisher: release.yml on sectum-ai/sectum-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.10.0

2 files

This release

0.9.0 This release

2 files

0.8.4

2 files

0.8.3

2 files

0.8.2

2 files

0.8.1

2 files

0.8.0

2 files

0.7.1

2 files

0.7.0

2 files

0.6.0

2 files

0.5.1

2 files

0.5.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 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