artifact media type
- CURIE:
gmeow:artifactMediaType - IRI: https://blackcatinformatics.ca/gmeow/artifactMediaType
- Category: property
- Defined by:
gmeow:slices/attestation - Box roles: CBox role, RBox role (What is this?)
The media type of the attestation artifact's serialization (e.g. application/vnd.in-toto+json, application/vc+ld+json).
Structure
Property shape: datatype property; gmeow:AttestationArtifact -> rdfs:Literal; functional
Practical Pattern
Use gmeow:artifactMediaType from gmeow:AttestationArtifact to rdfs:Literal 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.
Software Release
- Source:
slices/core/attestation/examples/software-release.ttl - Examples catalog: open in catalog#example-slices-core-attestation-examples-software-release
ex:artifact a gmeow:AttestationArtifact ;
gmeow:artifactMediaType "application/vnd.in-toto+json" ;
gmeow:contentDigest "sha256:def456abc1237890def456abc1237890def456abc1237890def456abc1237890" .
Common Companion Terms
Usage Advice
Use when
- Use to record the IANA media type of an attestation artifact's serialization, so a consumer can dispatch the right parser before re-verifying it.
Avoid when
- Avoid for the broad attestation kind (
gmeow:attestationType, e.g. SLSA provenance) — the media type is the wire format string, not the attestation category — and avoid two values, since it is functional.
How to use
- Set one media-type literal on the
gmeow:AttestationArtifact; pair it withgmeow:attestationTypeon theAttestationso consumers know both the format and the kind.
Examples
- ex:inTotoJson
gmeow:artifactMediaType"application/vnd.in-toto+json".