Skip to main content

Crate postproject_core

Crate postproject_core 

Source
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.
ActivityId
Stable identity of a production activity.
ActivityInput
One representation consumed by an activity.
ActivityKind
A namespaced, open-world production activity kind.
ActivityOutput
One representation produced by an activity.
ActivityRole
A namespaced, open-world role for an activity input or output.
AgentIdentity
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.
AvailabilityIssue
A resource- or frame-specific availability diagnostic.
Confidence
A deterministic confidence value in basis points from 0 through 10,000.
ContentStructure
A validated description of how resources realize one representation.
DecimalValue
An exact base-ten decimal represented as coefficient * 10^-scale.
Error
An application-neutral error with a stable category and useful context.
ExternalIdentifier
An identifier assigned by an external standard, vendor, or application.
FileFacts
Cheap filesystem facts observed for one resource.
FrameRange
An inclusive, regularly stepped frame domain.
HostObjectBinding
Portable reference from a host document to one production-scoped object.
IdentifierScheme
An extensible scheme name for an external identifier.
IdentifierSchemeDefinition
Documentation and optional local validation for one identifier scheme.
ImageSequenceDescriptor
A compact description of one regular or sparse image sequence.
ImageSequencePattern
The filename components surrounding an image-sequence frame number.
Locator
A URI identifying one access route to a resource.
LocatorId
Stable identity of one access route to a resource.
MediaRoot
An ordered filesystem or URI boundary searched by the resolver.
MediaRootId
Stable identity of a configured resolver search root.
MetadataAssertion
One independently repeatable assertion about a target object.
MetadataField
One named member of an ordered structured metadata value.
MetadataMatch
A metadata assertion together with the object carrying it.
MetadataProperty
A globally meaningful property formed from a vocabulary and local name.
MetadataPropertyAlias
One externally defined spelling corresponding to a property.
MetadataPropertyDefinition
Advisory type, cardinality, and mapping information for one property.
MetadataValue
A bounded, recursively typed metadata value.
MetadataVocabularyDefinition
Documentation and property hints for one metadata vocabulary.
OriginIdentity
Identity of the integrating application or process that committed a revision.
OriginalMediaImport
A validated aggregate representing an imported asset and original media.
Production
A persistent container for production state.
ProductionId
Stable identity of a production.
PropertyId
A property name local to a metadata vocabulary.
RationalRate
A positive, normalized rational rate.
RationalTime
An exact integer value measured at a rational rate.
RationalValue
An exact normalized rational number.
Representation
One encoded or derived form of an asset.
RepresentationFingerprint
Versioned, structure-aware identity evidence for a representation.
RepresentationId
Stable identity of an encoded or derived asset representation.
RepresentationImport
A validated representation and the storage resources that realize it.
RepresentationResolution
Representation-level availability with ordered per-resource detail.
ResolutionCandidate
A possible resource locator considered by the resolver.
ResolutionEvidence
Structured evidence with optional human-readable context.
Resource
A storage-level component used to realize a representation.
ResourceFingerprint
Versioned identity evidence derived from one storage resource.
ResourceId
Stable identity of stored content used by a representation.
ResourceMember
One resource’s role and requiredness within a content structure.
ResourceResolution
An explainable result for one resource, independent of representation shape.
ResourceRole
A namespaced, open-world role for a resource within a representation.
Revision
One committed production mutation transaction in local sequence order.
RevisionContext
Optional origin and message applied to one transaction’s revision.
RevisionEvent
One deterministically ordered semantic event within a revision.
RevisionId
Stable identity of one durable production revision.
TimeRange
A half-open time range with a non-negative duration.
Timestamp
A UTC instant represented as microseconds since the Unix epoch.
ToolIdentity
The software or service that performed a production activity.
TransactionId
Stable identity of a domain transaction.
TransactionLifecycle
A small state machine shared by storage-backed domain transactions.
VocabularyId
An extensible identifier for a metadata vocabulary or namespace.

Enums§

AvailabilityIssueKind
The machine-inspectable category of a representation availability issue.
ContentStructureKind
The structural shape used to realize a representation.
ErrorKind
Stable categories shared by core services and external adapters.
EvidenceKind
A machine-inspectable reason supporting or opposing a resolution candidate.
IdentifierValidationKind
The strength of local validation supplied for a known scheme.
LocatorAvailability
The last observed availability of a resource locator.
MetadataCardinality
Whether a property accepts at most one assertion or repeated assertions.
MetadataValueKind
The inspectable type of a MetadataValue.
ObjectRef
A typed reference to an object that may carry extensible assertions.
RepresentationAvailability
Aggregated availability of a complete representation.
RepresentationKind
The semantic role of an asset representation.
ResourceResolutionState
The outcome of resolving one storage resource.
RevisionEventKind
One semantic mutation recorded in a durable revision.
TransactionState
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 EBUCore namespace 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§

ProductionRead
Read operations required from a production persistence backend.
ProductionStore
A production persistence backend with explicit domain transactions.
ProductionStoreTransaction
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.