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.
- Artifact
Format - 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.
- CleSupport
Definition - CLE support definition.
- CleVersion
Specifier - CLE version specifier.
- Collection
- A TEA Collection version.
- Collection
Update Reason - Why a collection version was published.
- Compliance
Document - Compliance document type re-export helper for callers building identifiers.
- Component
- A TEA Component.
- Component
Ref - A component included by a product release.
- Component
Release - A TEA Component Release without its collection.
- Component
Release With Collection - 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.
- Product
Release - A TEA Product Release without its collection.
- Product
Release With Collection - A product release and its latest collection.
- Release
Distribution - One distribution of a component release.
- TeaError
Body - TEA error body.
- Token
Error Body - OAuth token error body from
POST /token. - Token
Response - 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
validatewhen the type has one. - parse_
product_ release - Parse a product release with its latest collection.