Skip to main content

Module model

Module model 

Source
Expand description

TEA data model for the pinned OpenAPI 1.0.0 schemas.

Composite objects ignore unknown JSON fields so a later revision can add properties without making existing ones unreadable. Fields whose schemas forbid additional properties (error recognition, discovery, well-known) are handled in the discovery module. Enumerations preserve unknown values.

Structs§

Artifact
A TEA Artifact revision.
ArtifactFormat
One format of an artifact revision.
Cle
TEA projection of CLE events. This is not a full ECMA-428 document.
CleDefinitions
CLE definition block.
CleEvent
One CLE event in the TEA projection.
CleSupportDefinition
CLE support definition.
CleVersionSpecifier
CLE version specifier.
Collection
A TEA Collection version.
CollectionUpdateReason
Why a collection version was published.
ComplianceDocument
Compliance document type re-export helper for callers building identifiers.
Component
A TEA Component.
ComponentRef
A component included by a product release.
ComponentRelease
A TEA Component Release without its collection.
ComponentReleaseWithCollection
A component release and its latest collection.
Identifier
An external identifier attached to a TEA object.
Page
A page of results.
Product
A TEA Product.
ProductRelease
A TEA Product Release without its collection.
ProductReleaseWithCollection
A product release and its latest collection.
ReleaseDistribution
One distribution of a component release.
TeaErrorBody
TEA error body.
TokenErrorBody
OAuth token error body from POST /token.
TokenResponse
Successful token response. The access token is opaque.

Functions§

parse_artifact
Parse an artifact and validate it.
parse_collection
Parse a collection and validate it.
parse_component_release
Parse a component release with its latest collection.
parse_json
Deserialize JSON and run validate when the type has one.
parse_product_release
Parse a product release with its latest collection.