Skip to main content

chio_kernel/operator_report/
constants.rs

1/// Maximum number of budget rows returned in a single operator report.
2pub const MAX_OPERATOR_BUDGET_LIMIT: usize = 200;
3/// Maximum number of shared-evidence reference rows returned in one query.
4pub const MAX_SHARED_EVIDENCE_LIMIT: usize = 200;
5/// Maximum number of settlement backlog rows returned in one report.
6pub const MAX_SETTLEMENT_BACKLOG_LIMIT: usize = 200;
7/// Maximum number of receipt detail rows returned in one behavioral feed.
8pub const MAX_BEHAVIORAL_FEED_RECEIPT_LIMIT: usize = 200;
9/// Maximum number of metered-billing reconciliation rows returned in one report.
10pub const MAX_METERED_BILLING_LIMIT: usize = 200;
11/// Maximum number of authorization-context rows returned in one report.
12pub const MAX_AUTHORIZATION_CONTEXT_LIMIT: usize = 200;
13/// Maximum number of economic projection rows returned in one report.
14pub const MAX_ECONOMIC_RECEIPT_LIMIT: usize = 200;
15/// Stable schema identifier for Chio's normative OAuth-family authorization profile.
16pub const CHIO_OAUTH_AUTHORIZATION_PROFILE_SCHEMA: &str = "chio.oauth.authorization-profile.v1";
17/// Stable schema identifier for Chio's sender-constraint profile.
18pub const CHIO_OAUTH_SENDER_CONSTRAINT_SCHEMA: &str = "chio.oauth.sender-constraint.v1";
19/// Stable schema identifier for Chio authorization-context reports.
20pub const CHIO_OAUTH_AUTHORIZATION_CONTEXT_REPORT_SCHEMA: &str =
21    "chio.oauth.authorization-context-report.v1";
22/// Stable schema identifier for the deterministic economic completion flow bundle.
23pub const ECONOMIC_COMPLETION_FLOW_SCHEMA: &str = "chio.economic-completion-flow.v1";
24/// Stable schema identifier for Chio authorization-profile metadata artifacts.
25pub const CHIO_OAUTH_AUTHORIZATION_METADATA_SCHEMA: &str = "chio.oauth.authorization-metadata.v1";
26/// Stable schema identifier for Chio enterprise IAM reviewer packs.
27pub const CHIO_OAUTH_AUTHORIZATION_REVIEW_PACK_SCHEMA: &str =
28    "chio.oauth.authorization-review-pack.v1";
29/// Stable identifier for Chio's first governed authorization-details profile.
30pub const CHIO_OAUTH_AUTHORIZATION_PROFILE_ID: &str = "chio-governed-rar-v1";
31/// Detail type for the primary governed tool action.
32pub const CHIO_OAUTH_AUTHORIZATION_TOOL_DETAIL_TYPE: &str = "chio_governed_tool";
33/// Detail type for governed commerce scope.
34pub const CHIO_OAUTH_AUTHORIZATION_COMMERCE_DETAIL_TYPE: &str = "chio_governed_commerce";
35/// Detail type for governed metered-billing scope.
36pub const CHIO_OAUTH_AUTHORIZATION_METERED_BILLING_DETAIL_TYPE: &str =
37    "chio_governed_metered_billing";
38/// Stable label for Chio's capability-subject sender binding.
39pub const CHIO_OAUTH_SENDER_BINDING_CAPABILITY_SUBJECT: &str = "capability_subject";
40/// Stable label for Chio's Chio-native DPoP proof requirement.
41pub const CHIO_OAUTH_SENDER_PROOF_CHIO_DPOP: &str = "chio_dpop_v1";
42/// Stable label for Chio's bounded mTLS-thumbprint sender adapter.
43pub const CHIO_OAUTH_SENDER_PROOF_CHIO_MTLS: &str = "chio_mtls_thumbprint_v1";
44/// Stable label for Chio's bounded attestation-bound sender adapter.
45pub const CHIO_OAUTH_SENDER_PROOF_CHIO_ATTESTATION: &str = "chio_attestation_binding_v1";
46/// Stable request-time parameter for Chio governed authorization details.
47pub const CHIO_OAUTH_REQUEST_TIME_AUTHORIZATION_DETAILS_PARAMETER: &str = "authorization_details";
48/// Stable request-time parameter for Chio governed transaction context.
49pub const CHIO_OAUTH_REQUEST_TIME_TRANSACTION_CONTEXT_PARAMETER: &str = "chio_transaction_context";
50/// Stable access-token claim for Chio governed authorization details.
51pub const CHIO_OAUTH_REQUEST_TIME_AUTHORIZATION_DETAILS_CLAIM: &str = "authorization_details";
52/// Stable access-token claim for Chio governed transaction context.
53pub const CHIO_OAUTH_REQUEST_TIME_TRANSACTION_CONTEXT_CLAIM: &str = "chio_transaction_context";
54
55/// Stable schema identifier for insurer-facing behavioral feed exports.
56pub const BEHAVIORAL_FEED_SCHEMA: &str = "chio.behavioral-feed.v1";