uses transform codec
- CURIE:
gmeow:usesTransformCodec - IRI: https://blackcatinformatics.ca/gmeow/usesTransformCodec
- Category: property
- Defined by:
gmeow:slices/gts - Box roles: ConfigBox role, RBox role (What is this?)
A transform codec declared in a segment's catalog and used by at least one of its frames (spec §8). Non-functional: payloads carry stackable codec chains.
Structure
Property shape: object property; gmeow:GTSSegment -> gmeow:TransformCodec
Practical Pattern
Use gmeow:usesTransformCodec from gmeow:GTSSegment to gmeow:TransformCodec when the relationship itself belongs in the native GMEOW graph.
Example Snippets
These snippets are generated from canonical slice examples and trimmed to the Turtle blocks where this term appears.
Dist Package
- Source:
slices/core/gts/examples/dist-package.ttl - Examples catalog: open in catalog#example-slices-core-gts-examples-dist-package
@prefix gmeow: <https://blackcatinformatics.ca/gmeow/> .
@prefix ex: <https://blackcatinformatics.ca/gmeow/examples/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
ex:gts-dist-segment-core
a gmeow:GTSSegment ;
rdfs:label "core dist segment"@en ;
gmeow:gtsSegmentOf ex:gts-dist-package-001 ;
gmeow:embodies ex:gmeow-ontology-expression-001 ;
gmeow:gtsSegmentIndex "0"^^xsd:nonNegativeInteger ;
gmeow:gtsHeadId "blake3:929d046b2300eb09424f2d46b07fb793ad97ddde5e9fdb25ebefe245e8da8be8" ;
gmeow:gtsProfile gmeow:gtsProfileDist ;
gmeow:usesTransformCodec gmeow:codecZstd .
ex:gts-dist-segment-music
a gmeow:GTSSegment ;
rdfs:label "appended music-extension segment"@en ;
gmeow:gtsSegmentOf ex:gts-dist-package-001 ;
gmeow:embodies ex:gmeow-ontology-expression-001 ;
gmeow:gtsSegmentIndex "1"^^xsd:nonNegativeInteger ;
gmeow:gtsHeadId "blake3:167704cc2c533090b63ff3bf38b4fcff2bb70b33f996aa22f53025044e310ee8" ;
gmeow:gtsProfile gmeow:gtsProfileGeneric ;
gmeow:usesTransformCodec gmeow:codecZstd .
Common Companion Terms
gmeow:GTSSegment, gmeow:TransformCodec
Usage Advice
Use when
- Use to record which catalog codecs a segment's frames actually employ — so a reader can tell, before decoding, which libraries or keys it must hold to read the segment.
Avoid when
- Avoid treating it as a single codec per segment (payloads stack chains, so it is non-functional) and avoid using it to describe a single frame's exact codec stack; it is the segment-level catalog-in-use.
How to use
- List each
gmeow:TransformCodecthe segment uses; read each codec'sgmeow:codecClassto anticipate the degradation path — unknown-codec or missing-key opacity — when a capability is absent.