Expand description
Application-neutral domain types and service contracts for PostProject.
This crate deliberately has no persistence, FFI, or application-framework dependencies. Backends and adapters depend on this crate, never the reverse.
Structs§
- Activity
- A production operation connecting input and output representations.
- Activity
Id - Stable identity of a production activity.
- Activity
Input - One representation consumed by an activity.
- Activity
Kind - A namespaced, open-world production activity kind.
- Activity
Output - One representation produced by an activity.
- Activity
Role - A namespaced, open-world role for an activity input or output.
- Agent
Identity - A person, organization, application instance, or service responsible for an activity.
- Asset
- Logical identity for one piece of production media.
- AssetId
- Stable logical identity of an asset.
- Availability
Issue - A resource- or frame-specific availability diagnostic.
- Confidence
- A deterministic confidence value in basis points from 0 through 10,000.
- Content
Structure - A validated description of how resources realize one representation.
- Decimal
Value - An exact base-ten decimal represented as
coefficient * 10^-scale. - Error
- An application-neutral error with a stable category and useful context.
- External
Identifier - An identifier assigned by an external standard, vendor, or application.
- File
Facts - Cheap filesystem facts observed for one resource.
- Frame
Range - An inclusive, regularly stepped frame domain.
- Host
Object Binding - Portable reference from a host document to one production-scoped object.
- Identifier
Scheme - An extensible scheme name for an external identifier.
- Identifier
Scheme Definition - Documentation and optional local validation for one identifier scheme.
- Image
Sequence Descriptor - A compact description of one regular or sparse image sequence.
- Image
Sequence Pattern - The filename components surrounding an image-sequence frame number.
- Locator
- A URI identifying one access route to a resource.
- Locator
Id - Stable identity of one access route to a resource.
- Media
Root - An ordered filesystem or URI boundary searched by the resolver.
- Media
Root Id - Stable identity of a configured resolver search root.
- Metadata
Assertion - One independently repeatable assertion about a target object.
- Metadata
Field - One named member of an ordered structured metadata value.
- Metadata
Match - A metadata assertion together with the object carrying it.
- Metadata
Property - A globally meaningful property formed from a vocabulary and local name.
- Metadata
Property Alias - One externally defined spelling corresponding to a property.
- Metadata
Property Definition - Advisory type, cardinality, and mapping information for one property.
- Metadata
Value - A bounded, recursively typed metadata value.
- Metadata
Vocabulary Definition - Documentation and property hints for one metadata vocabulary.
- Origin
Identity - Identity of the integrating application or process that committed a revision.
- Original
Media Import - A validated aggregate representing an imported asset and original media.
- Production
- A persistent container for production state.
- Production
Id - Stable identity of a production.
- Property
Id - A property name local to a metadata vocabulary.
- Rational
Rate - A positive, normalized rational rate.
- Rational
Time - An exact integer value measured at a rational rate.
- Rational
Value - An exact normalized rational number.
- Representation
- One encoded or derived form of an asset.
- Representation
Fingerprint - Versioned, structure-aware identity evidence for a representation.
- Representation
Id - Stable identity of an encoded or derived asset representation.
- Representation
Import - A validated representation and the storage resources that realize it.
- Representation
Resolution - Representation-level availability with ordered per-resource detail.
- Resolution
Candidate - A possible resource locator considered by the resolver.
- Resolution
Evidence - Structured evidence with optional human-readable context.
- Resource
- A storage-level component used to realize a representation.
- Resource
Fingerprint - Versioned identity evidence derived from one storage resource.
- Resource
Id - Stable identity of stored content used by a representation.
- Resource
Member - One resource’s role and requiredness within a content structure.
- Resource
Resolution - An explainable result for one resource, independent of representation shape.
- Resource
Role - A namespaced, open-world role for a resource within a representation.
- Revision
- One committed production mutation transaction in local sequence order.
- Revision
Context - Optional origin and message applied to one transaction’s revision.
- Revision
Event - One deterministically ordered semantic event within a revision.
- Revision
Id - Stable identity of one durable production revision.
- Time
Range - A half-open time range with a non-negative duration.
- Timestamp
- A UTC instant represented as microseconds since the Unix epoch.
- Tool
Identity - The software or service that performed a production activity.
- Transaction
Id - Stable identity of a domain transaction.
- Transaction
Lifecycle - A small state machine shared by storage-backed domain transactions.
- Vocabulary
Id - An extensible identifier for a metadata vocabulary or namespace.
Enums§
- Availability
Issue Kind - The machine-inspectable category of a representation availability issue.
- Content
Structure Kind - The structural shape used to realize a representation.
- Error
Kind - Stable categories shared by core services and external adapters.
- Evidence
Kind - A machine-inspectable reason supporting or opposing a resolution candidate.
- Identifier
Validation Kind - The strength of local validation supplied for a known scheme.
- Locator
Availability - The last observed availability of a resource locator.
- Metadata
Cardinality - Whether a property accepts at most one assertion or repeated assertions.
- Metadata
Value Kind - The inspectable type of a
MetadataValue. - Object
Ref - A typed reference to an object that may carry extensible assertions.
- Representation
Availability - Aggregated availability of a complete representation.
- Representation
Kind - The semantic role of an asset representation.
- Resource
Resolution State - The outcome of resolving one storage resource.
- Revision
Event Kind - One semantic mutation recorded in a durable revision.
- Transaction
State - The state of an explicit domain transaction.
Constants§
- DUBLIN_
CORE_ ELEMENTS_ VOCABULARY - Dublin Core elements namespace used by XMP and other mappings.
- EBUCORE_
VOCABULARY - Current
EBUCorenamespace identity. - EIDR_
SCHEME - Entertainment Identifier Registry URNs from RFC 7972.
- IDENTIFIER_
SCHEMES - Small built-in registry. Unknown schemes remain valid opaque identifiers.
- IPTC_
VMH_ JSON_ VOCABULARY - IPTC Video Metadata Hub 1.7 JSON schema identity.
- ISAN_
SCHEME - International Standard Audiovisual Number URNs from RFC 4246.
- MAX_
ACTIVITY_ EDGES - Maximum number of input or output edges on one activity.
- MAX_
ACTIVITY_ KIND_ BYTES - Maximum encoded length of an activity-kind identifier.
- MAX_
ACTIVITY_ ROLE_ BYTES - Maximum encoded length of an activity-edge role identifier.
- MAX_
CONTENT_ MEMBERS - Maximum number of materialized resource members in one content structure.
- MAX_
FRAME_ PADDING - Maximum supported zero-padding width for an image-sequence frame number.
- MAX_
IDENTIFIER_ QUALIFIER_ BYTES - Maximum UTF-8 byte length of an optional identifier qualifier.
- MAX_
IDENTIFIER_ SCHEME_ BYTES - Maximum UTF-8 byte length of an external identifier scheme.
- MAX_
IDENTIFIER_ VALUE_ BYTES - Maximum UTF-8 byte length of an external identifier value.
- MAX_
LANGUAGE_ TAG_ BYTES - Maximum byte length of a language tag.
- MAX_
METADATA_ BINARY_ BYTES - Maximum byte length of one binary value.
- MAX_
METADATA_ COLLECTION_ ITEMS - Maximum number of direct children in a list or structured value.
- MAX_
METADATA_ DECIMAL_ SCALE - Maximum number of fractional decimal digits.
- MAX_
METADATA_ NESTING_ DEPTH - Maximum nesting depth of lists and structured values, including the root.
- MAX_
METADATA_ TEXT_ BYTES - Maximum UTF-8 byte length of one text value.
- MAX_
METADATA_ TOTAL_ BYTES - Maximum aggregate payload size of one metadata value.
- MAX_
METADATA_ URI_ BYTES - Maximum UTF-8 byte length of one URI value.
- MAX_
PROPERTY_ ID_ BYTES - Maximum UTF-8 byte length of a vocabulary-local property identifier.
- MAX_
PROVENANCE_ NAME_ BYTES - Maximum UTF-8 byte length of a tool or agent display name.
- MAX_
PROVENANCE_ URI_ BYTES - Maximum UTF-8 byte length of an optional tool or vendor URI.
- MAX_
RESOURCE_ ROLE_ BYTES - Maximum encoded length of an extensible resource-role identifier.
- MAX_
REVISION_ MESSAGE_ BYTES - Maximum UTF-8 byte length of a revision message.
- MAX_
REVISION_ PAGE_ SIZE - Maximum revisions returned by one change-feed page.
- MAX_
SEQUENCE_ EXCEPTIONS - Maximum number of sparse frame exceptions stored in one sequence descriptor.
- MAX_
SEQUENCE_ PATTERN_ BYTES - Maximum combined UTF-8 length of an image-sequence prefix and suffix.
- MAX_
TOOL_ VERSION_ BYTES - Maximum UTF-8 byte length of an optional tool version.
- MAX_
VOCABULARY_ ID_ BYTES - Maximum UTF-8 byte length of a vocabulary identifier.
- METADATA_
VOCABULARIES - Small built-in registry. Unknown vocabularies and properties remain valid.
- POSTPROJECT_
APPLICATION_ SCHEME - Application-defined identifiers whose value semantics belong to the host.
- POSTPROJECT_
METADATA_ VOCABULARY - Namespace reserved for the small set of PostProject-owned metadata terms.
- SMPTE_
UMID_ SCHEME - SMPTE UMID values represented according to SMPTE ST 2029.
- XMP_
BASIC_ VOCABULARY - Adobe XMP Basic namespace.
Traits§
- Production
Read - Read operations required from a production persistence backend.
- Production
Store - A production persistence backend with explicit domain transactions.
- Production
Store Transaction - Transactional mutation operations required from a persistence backend.
Functions§
- identifier_
scheme_ definition - Finds a built-in definition by exact scheme spelling.
- metadata_
property_ definition - Finds a built-in property hint by exact vocabulary and property spelling.
- metadata_
vocabulary_ definition - Finds a built-in vocabulary definition by exact identifier spelling.
- validate_
known_ identifier - Applies optional built-in validation and reports whether the scheme is known.
Type Aliases§
- Result
- The result type returned by core domain operations.