glam/schemas/20251121/linkml/modules/classes/Format.yaml

92 lines
2.5 KiB
YAML

id: https://nde.nl/ontology/hc/class/Format
name: Format
title: Format
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
dct: http://purl.org/dc/terms/
schema: http://schema.org/
premis: http://www.loc.gov/premis/rdf/v3/
default_prefix: hc
imports:
- linkml:types
- ../slots/has_description
- ../slots/identified_by
- ../slots/has_label
classes:
Format:
class_uri: dct:MediaType
description: 'A structured representation of a document, file, or resource format.
**USAGE**:
Represents format specifications for:
- Finding aids (EAD, PDF, HTML, MARC)
- API responses (JSON, XML, RDF)
- Media files (JPEG, MP3, MP4)
- Transcripts and subtitles (VTT, SRT, TXT)
**ONTOLOGY ALIGNMENT**:
- **Primary** (`class_uri`): `dct:MediaType` - Dublin Core media type
- **Related**: `schema:encodingFormat` - Schema.org encoding
- **Related**: `premis:Format` - PREMIS preservation format
**MIGRATION NOTE**:
Created per slot_fixes.yaml revision (Rule 53, 2026-01-22).
Replaces simple string-valued `format` slot with structured class.
'
slots:
- identified_by
- has_label
- has_description
exact_mappings:
- dct:MediaType
close_mappings:
- schema:encodingFormat
- premis:Format
examples:
- value:
format_id: iana:application/xml+ead
format_name: Encoded Archival Description (EAD)
mime_type: application/xml
file_extension:
- .xml
- .ead
format_specification_url: https://www.loc.gov/ead/
description: EAD finding aid format
- value:
format_id: iana:text/vtt
format_name: WebVTT (Web Video Text Tracks)
mime_type: text/vtt
file_extension:
- .vtt
format_specification_url: https://www.w3.org/TR/webvtt1/
description: WebVTT subtitle/caption format
- value:
format_id: iana:application/pdf
format_name: Portable Document Format (PDF)
mime_type: application/pdf
file_extension:
- .pdf
format_specification_url: https://www.iso.org/standard/75839.html
description: PDF document format
annotations:
custodian_types: '["*"]'
custodian_types_rationale: Format specifications applicable to all custodian
types.
specificity_score: '0.25'
specificity_rationale: Broadly applicable - formats used across all heritage
custodian types.