Skip to main content

Module catalog

Module catalog 

Source
Expand description

Typed model of stripe projects catalog --json.

The catalog is the single source of truth for every provisionable provider service: its configuration_schema, pricing tiers, constraints, and categories. Plugins declare a CatalogService reference plus a typed config; ServiceDetail::validate_config checks that config against the catalog, and ServiceDetail::requires_confirmation derives paid confirmation from the selected pricing tier.

Deserialization is permissive so up never breaks on additive drift: every struct captures unmodeled keys in extra, and every enum has an Unknown fallback. The strict Catalog::drift_report (used in tests) fails when the live catalog contains anything we have not modeled.

Modules§

verify
The catalog-anchored provisioning seam.

Structs§

AllowedUpdate
Catalog
The data payload of a stripe projects catalog --json envelope.
ComponentOption
ComponentPricing
ConfigSchema
A JSON-Schema subset describing a service’s --config. Tri-state on the wire: absent, {} (all defaults here), or a full object.
CountConstraint
PaidPricing
PaidPricingEntry
Pricing
PropertySchema
ServiceDetail

Enums§

Availability
Category
ComponentOptionKind
Constraint
Direction
Kind
PaidKind
PricingKind
PropertyType
Scope