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§
- Allowed
Update - Catalog
- The
datapayload of astripe projects catalog --jsonenvelope. - Component
Option - Component
Pricing - Config
Schema - A JSON-Schema subset describing a service’s
--config. Tri-state on the wire: absent,{}(all defaults here), or a full object. - Count
Constraint - Paid
Pricing - Paid
Pricing Entry - Pricing
- Property
Schema - Service
Detail