- Remove slot_uri, description, mappings from slot_usage sections - Move these properties to centralized slot files in modules/slots/ - Keep only class-specific overrides in slot_usage (required, inlined, examples) - Update 1,499 centralized slot files with enriched definitions - Clean 188 class files Violations fixed: - slot_uri in slot_usage: 1,676 → 0 - description in slot_usage: 2,287 → 0 (moved to centralized) Schema still validates: 816 classes, 2028 slots, 127 enums
313 lines
9.3 KiB
YAML
313 lines
9.3 KiB
YAML
id: https://nde.nl/ontology/hc/class/EADDownload
|
|
name: ead_download
|
|
title: EADDownload Class
|
|
prefixes:
|
|
linkml: https://w3id.org/linkml/
|
|
hc: https://nde.nl/ontology/hc/
|
|
dcat: http://www.w3.org/ns/dcat#
|
|
dcterms: http://purl.org/dc/terms/
|
|
schema: http://schema.org/
|
|
xsd: http://www.w3.org/2001/XMLSchema#
|
|
imports:
|
|
- linkml:types
|
|
- ../metadata
|
|
- ./DataServiceEndpoint
|
|
- ../slots/protocol
|
|
- ../slots/response_format
|
|
- ../slots/specificity_annotation
|
|
- ../slots/template_specificity
|
|
- ./SpecificityAnnotation
|
|
- ./TemplateSpecificityScores
|
|
- ../enums/EADVersionEnum
|
|
- ../enums/CompressionTypeEnum
|
|
classes:
|
|
EADDownload:
|
|
is_a: DataServiceEndpoint
|
|
class_uri: hc:EADDownload
|
|
description: "EAD (Encoded Archival Description) finding aid download endpoint.\n\n**Purpose:**\n\nModels endpoints that\
|
|
\ provide EAD XML downloads for archival finding aids.\nEAD is the international standard for encoding archival descriptive\
|
|
\ information.\n\n**EAD Versions:**\n\n- **EAD3** (2015): Current standard, aligned with ISAD(G), RiC-CM\n- **EAD 2002**:\
|
|
\ Previous version, still widely used\n- **EAD 1.0** (1998): Original version, legacy\n\n**EAD Structure:**\n\nAn EAD\
|
|
\ document contains:\n- **<eadheader>** / **<control>**: Finding aid metadata\n- **<archdesc>**: Archival description\n\
|
|
\ - **<did>**: Descriptive identification (title, dates, extent)\n - **<bioghist>**: Biographical/historical note\n\
|
|
\ - **<scopecontent>**: Scope and content\n - **<arrangement>**: Arrangement\n - **<accessrestrict>**: Access restrictions\n\
|
|
\ - **<userestrict>**: Use restrictions\n - **<dsc>**: Description of subordinate components (hierarchy)\n\n**Example\
|
|
\ - Nationaal Archief EAD Download:**\n\n```yaml\nead_download:\n endpoint_name: \"Nationaal Archief EAD Download\"\
|
|
\n base_url: \"https://www.nationaalarchief.nl/onderzoeken/archief/\"\n url_pattern: \"{base_url}{archive_code}/download/ead\"\
|
|
\n ead_version: EAD_2002\n archive_code_format: \"^[0-9]+\\\\.[0-9]+\\\\.[0-9]+$\"\n includes_dao_links: true\n \
|
|
\ includes_index: true\n compression: none\n example_url: \"https://www.nationaalarchief.nl/onderzoeken/archief/2.04.87/download/ead\"\
|
|
\n```\n\n**Use Cases:**\n\n1. **Finding aid harvesting**: Aggregate archival descriptions\n2. **Data migration**: Move\
|
|
\ descriptions between systems\n3. **Preservation**: Archive finding aids as XML\n4. **Integration**: Import into archival\
|
|
\ management systems\n\n**See Also:**\n\n- EAD3: https://www.loc.gov/ead/\n- ISAD(G): https://www.ica.org/en/isadg-general-international-standard-archival-description-second-edition\n"
|
|
attributes:
|
|
base_url:
|
|
slot_uri: dcat:endpointURL
|
|
description: 'Base URL for EAD downloads.
|
|
|
|
|
|
Individual finding aids accessed by appending archive code.
|
|
|
|
|
|
Example: "https://www.nationaalarchief.nl/onderzoeken/archief/"
|
|
|
|
'
|
|
range: uri
|
|
required: true
|
|
url_pattern:
|
|
slot_uri: hydra:template
|
|
description: 'URL pattern for constructing EAD download requests.
|
|
|
|
|
|
Use {placeholders} for dynamic parts:
|
|
|
|
- {archive_code}: Archive/fonds identifier
|
|
|
|
- {format}: Output format (ead, xml)
|
|
|
|
|
|
Example: "{base_url}{archive_code}/download/ead"
|
|
|
|
'
|
|
range: string
|
|
ead_version:
|
|
slot_uri: dcterms:conformsTo
|
|
description: 'EAD version used in downloaded files.
|
|
|
|
|
|
Values:
|
|
|
|
- EAD3: Current standard (2015)
|
|
|
|
- EAD_2002: Previous version, widely used
|
|
|
|
- EAD_1_0: Original version (legacy)
|
|
|
|
'
|
|
range: EADVersionEnum
|
|
required: true
|
|
ead_schema_url:
|
|
slot_uri: schema:schemaVersion
|
|
description: 'URL to EAD schema (XSD or RNG) used for validation.
|
|
|
|
|
|
Example: "https://www.loc.gov/ead/ead3.xsd"
|
|
|
|
'
|
|
range: uri
|
|
archive_code_format:
|
|
slot_uri: dcterms:identifier
|
|
description: 'Regex pattern for archive/fonds codes used in URLs.
|
|
|
|
|
|
Dutch Nationaal Archief uses: "^[0-9]+\\.[0-9]+\\.[0-9]+$" (e.g., 2.04.87)
|
|
|
|
|
|
Example: "^[0-9]+\\.[0-9]+\\.[0-9]+$"
|
|
|
|
'
|
|
range: string
|
|
archive_code_examples:
|
|
slot_uri: schema:workExample
|
|
description: 'Example archive codes for reference.
|
|
|
|
|
|
Example: ["2.04.87", "2.21.281.02", "4.MST"]
|
|
|
|
'
|
|
range: string
|
|
multivalued: true
|
|
isad_g_compliant:
|
|
slot_uri: dcterms:conformsTo
|
|
description: 'Whether EAD output follows ISAD(G) description standard.
|
|
|
|
|
|
ISAD(G) = General International Standard Archival Description
|
|
|
|
'
|
|
range: boolean
|
|
includes_dao_links:
|
|
slot_uri: schema:associatedMedia
|
|
description: 'Whether EAD includes <dao> (digital archival object) links.
|
|
|
|
|
|
<dao> elements link to digitized content (images, documents).
|
|
|
|
Essential for integration with digital content delivery.
|
|
|
|
'
|
|
range: boolean
|
|
includes_index:
|
|
slot_uri: schema:hasPart
|
|
description: 'Whether EAD includes <index> elements.
|
|
|
|
|
|
Index provides structured access points (names, subjects, places).
|
|
|
|
'
|
|
range: boolean
|
|
includes_controlaccess:
|
|
slot_uri: schema:hasPart
|
|
description: 'Whether EAD includes <controlaccess> elements.
|
|
|
|
|
|
Controlled access terms (subjects, names, genres, functions).
|
|
|
|
'
|
|
range: boolean
|
|
multilevel_description:
|
|
slot_uri: schema:hasPart
|
|
description: 'Whether EAD supports multi-level hierarchical description.
|
|
|
|
|
|
Uses <dsc> (description of subordinate components) with nested
|
|
|
|
<c> (component) elements for series, files, items.
|
|
|
|
'
|
|
range: boolean
|
|
max_hierarchy_depth:
|
|
slot_uri: schema:maxValue
|
|
description: 'Maximum depth of component hierarchy in downloaded EADs.
|
|
|
|
|
|
Some systems limit depth for performance.
|
|
|
|
|
|
Example: 12
|
|
|
|
'
|
|
range: integer
|
|
encoding:
|
|
slot_uri: schema:encodingType
|
|
description: 'Character encoding of EAD output.
|
|
|
|
|
|
Should be UTF-8 for modern systems.
|
|
|
|
|
|
Example: "UTF-8"
|
|
|
|
'
|
|
range: string
|
|
compression:
|
|
slot_uri: schema:encodingFormat
|
|
description: 'Compression applied to downloads.
|
|
|
|
|
|
Values:
|
|
|
|
- NONE: Plain XML
|
|
|
|
- GZIP: Gzip compressed
|
|
|
|
- ZIP: ZIP archive
|
|
|
|
'
|
|
range: CompressionTypeEnum
|
|
includes_dtd_declaration:
|
|
slot_uri: schema:additionalProperty
|
|
description: 'Whether XML includes DOCTYPE declaration referencing DTD.
|
|
|
|
|
|
Legacy EAD often includes DTD reference.
|
|
|
|
Modern practice uses XSD validation.
|
|
|
|
'
|
|
range: boolean
|
|
namespace_aware:
|
|
slot_uri: schema:additionalProperty
|
|
description: 'Whether EAD uses XML namespaces.
|
|
|
|
|
|
EAD3 uses namespace: urn:isbn:1-931666-22-9 (changed to LOC namespace)
|
|
|
|
EAD 2002 may be namespace-aware or not.
|
|
|
|
'
|
|
range: boolean
|
|
default_namespace:
|
|
slot_uri: schema:additionalProperty
|
|
description: 'Default XML namespace for EAD elements.
|
|
|
|
|
|
EAD3: "http://ead3.archivists.org/schema/"
|
|
|
|
EAD 2002: "urn:isbn:1-931666-22-9"
|
|
|
|
'
|
|
range: uri
|
|
language_of_description:
|
|
slot_uri: dcterms:language
|
|
description: 'Primary language of finding aid descriptions.
|
|
|
|
|
|
ISO 639-1 code.
|
|
|
|
|
|
Example: "nl" (Dutch)
|
|
|
|
'
|
|
range: string
|
|
supports_partial_download:
|
|
slot_uri: schema:additionalProperty
|
|
description: 'Whether partial EAD download is supported.
|
|
|
|
|
|
Some systems allow downloading specific components rather
|
|
|
|
than entire finding aid.
|
|
|
|
'
|
|
range: boolean
|
|
batch_download_available:
|
|
slot_uri: schema:additionalProperty
|
|
description: 'Whether batch download of multiple finding aids is available.
|
|
|
|
|
|
May provide ZIP archive or OAI-PMH harvesting.
|
|
|
|
'
|
|
range: boolean
|
|
transform_options:
|
|
slot_uri: schema:additionalProperty
|
|
description: 'Output transformation options available.
|
|
|
|
|
|
Some systems offer XSLT-transformed output (HTML, PDF).
|
|
|
|
|
|
Example: ["EAD", "HTML", "PDF"]
|
|
|
|
'
|
|
range: string
|
|
multivalued: true
|
|
example_url:
|
|
slot_uri: schema:workExample
|
|
description: 'Example URL for EAD download.
|
|
|
|
|
|
Example: "https://www.nationaalarchief.nl/onderzoeken/archief/2.04.87/download/ead"
|
|
|
|
'
|
|
range: uri
|
|
slot_usage:
|
|
response_format:
|
|
ifabsent: string(application/xml)
|
|
specificity_annotation:
|
|
range: SpecificityAnnotation
|
|
inlined: true
|
|
template_specificity:
|
|
range: TemplateSpecificityScores
|
|
inlined: true
|
|
comments:
|
|
- EAD is the standard for archival finding aids
|
|
- Check for <dao> links to connect descriptions with digitized content
|
|
- EAD3 is current standard but EAD 2002 still widely used
|
|
see_also:
|
|
- https://www.loc.gov/ead/
|
|
- https://eadiva.com/
|
|
- https://www.ica.org/en/isadg-general-international-standard-archival-description-second-edition
|
|
slots:
|
|
- specificity_annotation
|
|
- template_specificity
|