2026-09-14 09:57:12 +07:00

63 lines
2.1 KiB
JSON

{
"api_major_version": "v1",
"artifacts": {
"checksums": "SHA256SUMS",
"compatibility": "compatibility.json",
"error_taxonomy": "error-taxonomy.json",
"fixture_index": "fixture-index.json",
"fixtures_directory": "fixtures/",
"manifest": "contract.json",
"openapi": "openapi.json",
"outcome_taxonomy": "outcome-taxonomy.json",
"schemas_directory": "schemas/",
"security_profile": "security-profile.json"
},
"contract_pack_version": "0.1.0",
"generator": "uv run generate-contract-pack",
"profiles": {
"admission": {
"request_schema_file": "schemas/admission-request.schema.json",
"response_schema_file": "schemas/admission-response.schema.json",
"version": "1.0.0"
},
"canonical_snapshot": {
"schema_file": "schemas/canonical-snapshot.schema.json",
"version": "1.0.0"
},
"errors": {
"outcome_schema_file": "schemas/outcome-taxonomy.schema.json",
"schema_file": "schemas/error-taxonomy.schema.json",
"version": "1.0.0"
},
"lineage": {
"schema_file": "schemas/lineage.schema.json",
"version": "1.0.0"
},
"polling": {
"endpoint": "GET /v1/scoring-runs/{run_id}",
"schema_file": "schemas/polling-response.schema.json",
"version": "1.0.0"
},
"review": {
"endpoint": "POST /v1/scoring-runs/{run_id}/reviews",
"request_schema_file": "schemas/review-request.schema.json",
"response_schema_file": "schemas/review-response.schema.json",
"version": "1.0.0"
},
"scoring_config": {
"immutable": true,
"schema_file": "schemas/scoring-config.schema.json",
"selection": "Callers select an existing version; Lead Scoring remains authoritative.",
"selection_schema_file": "schemas/scoring-config-selection.schema.json",
"version": "1.0.0"
},
"webhook": {
"endpoint": "POST /api/v1/internal/lead-scoring/events",
"schema_file": "schemas/webhook-event-envelope.schema.json",
"version": "1.0.0"
}
},
"release_status": "pre-release",
"source_of_truth": "Pydantic models under src/lead_scoring/schemas"
}