glam/frontend/public/schemas/20251121/linkml/modules/classes/DimArchives.yaml
kempersc f2b10fca19
All checks were successful
Deploy Frontend / build-and-deploy (push) Successful in 3m48s
fix: correct hallucinated PREMIS terms and Schema.org namespace mismatch
PREMIS ontology fixes (8 schema files):
- Replace invalid premis:hasRepresentation with dcterms:hasFormat
- Replace invalid premis:hasAccessRestriction with odrl:hasPolicy
- Replace invalid premis:hasPreservationPolicy with dcterms:conformsTo
- Replace invalid premis:hasAccessPolicy with dcterms:accessRights
- Replace invalid premis:hasStoragePolicy with dcterms:conformsTo
- Replace invalid premis:ProcessingStatus with skos:Concept
- Add proper close_mappings to valid PREMIS classes (premis:Representation, etc.)
- Document hallucinated terms in Rule 51 (AGENTS.md) for future prevention

Schema.org namespace fixes (3 frontend files):
- Update OntologyTermPopup.tsx: add normalizeSchemaOrgUri() function
- Update ontology-loader.ts: change schema prefix to https://schema.org/
- Update linkml-schema-service.ts: change schema prefix to https://schema.org/
- The schemaorg.owl file uses https:// but code was using http://

These changes ensure ontology term lookups work correctly for Schema.org
terms and that LinkML schema files only reference valid ontology predicates.
2026-01-13 14:16:33 +01:00

139 lines
6.4 KiB
YAML

id: https://nde.nl/ontology/hc/class/DimArchives
name: dim_archives_class
title: Dim Archives Type
prefixes:
linkml: https://w3id.org/linkml/
schema: http://schema.org/
hc: https://nde.nl/ontology/hc/
skos: http://www.w3.org/2004/02/skos/core#
wd: http://www.wikidata.org/entity/
premis: http://www.loc.gov/premis/rdf/v3/
rico: https://www.ica.org/standards/RiC/ontology#
default_prefix: hc
imports:
- linkml:types
- ./ArchiveOrganizationType
- ./AccessPolicy
- ./Collection
- ./DimArchivesRecordSetTypes
- ../slots/has_or_had_holds_record_set_type
- ./CollectionType
- ../slots/type_scope
- ../slots/has_access_application_url
- ../slots/has_or_had_custodian_type
- ../slots/default_access_policy
- ../slots/restriction_category
- ../slots/specificity_annotation
- ../slots/template_specificity
- ../slots/typical_approval_time
- ../slots/wikidata_entity
- ./SpecificityAnnotation
- ./TemplateSpecificityScores
- ./DimArchivesRecordSetType
classes:
DimArchives:
is_a: ArchiveOrganizationType
class_uri: schema:ArchiveOrganization
slots:
- has_access_application_url
- has_or_had_custodian_type
- default_access_policy
- has_or_had_holds_record_set_type
- restriction_category
- specificity_annotation
- template_specificity
- typical_approval_time
- wikidata_entity
description: "Archive with LIMITED access - between broadly accessible and fully closed.\n\n**Wikidata**: Q112796779 (Dim\
\ Archive)\n\n**DEFINITION**:\n\nDim Archive provides access to materials but with significant restrictions\nthat limit\
\ who can access, when, or under what conditions. This is the\nmiddle position in the Light/Dim/Dark access spectrum.\n\
\n**ACCESS SPECTRUM**:\n\n| Type | Access Level | Characteristics |\n|------|--------------|-----------------|\n| Light\
\ Archive (Q112815447) | Broadly accessible | Open to public/researchers |\n| **Dim Archive** | Limited access | Restricted\
\ by criteria |\n| Dark Archive (Q112796578) | No current access | Preservation only |\n\n**RESTRICTION TYPES** (reasons\
\ for \"dim\" access):\n\n1. **User-Based Restrictions**\n - Researchers only (credentials required)\n - Institutional\
\ affiliates only\n - Nationality restrictions\n - Security clearance required\n\n2. **Content-Based Restrictions**\n\
\ - Privacy-sensitive materials (personal data)\n - Confidential business information\n - Culturally sensitive\
\ materials\n - Copyright restrictions (reading room only)\n\n3. **Process-Based Restrictions**\n - Appointment\
\ required\n - Approval/application process\n - Fee-based access\n - Supervised access only\n\n4. **Format-Based\
\ Restrictions**\n - Physical access only (no digital)\n - Specific reading room required\n - No reproduction\
\ allowed\n - Watermarked copies only\n\n**SPECIAL LINKAGE: AccessPolicy → Collection**\n\nDim archives use AccessPolicy\
\ to document restrictions. AccessPolicy\napplies to Collection instances:\n\n```\nDimArchives (custodian type)\n │\n\
\ └── manages → Collection (holdings)\n │\n └── has_access_policy → AccessPolicy\n\
\ ├── access_level: RESTRICTED\n ├── restriction_reason: (text)\n \
\ ├── eligible_users: (criteria)\n └── access_process: (procedure)\n```\n\n\
**MULTILINGUAL LABELS**:\n- Dim Archive (de) [uses English term]\n\n**RELATED TYPES**:\n- LightArchive (Q112815447)\
\ - broadly accessible\n- DarkArchive (Q112796578) - no current access\n- AccessPolicy - policy class for restriction\
\ documentation\n"
slot_usage:
wikidata_entity:
equals_string: Q112796779
default_access_policy:
range: AccessPolicy
required: true
examples:
- value:
policy_id: https://nde.nl/ontology/hc/policy/researcher-only
access_level: RESTRICTED
restriction_reason: Privacy-sensitive personal data
eligible_users: Credentialed academic researchers
access_process: Application and approval required
restriction_category:
range: string
multivalued: true
examples:
- value:
- user_based
- process_based
description: Researcher credentials + approval process
has_access_application_url:
range: uri
examples:
- value: https://archive.example.org/request-access
typical_approval_time:
range: string
examples:
- value: 2-3 business days
has_or_had_custodian_type:
equals_expression: '["hc:ArchiveOrganizationType", "hc:DigitalPlatformType"]'
exact_mappings:
- wd:Q112796779
close_mappings:
- premis:RightsStatus
- rico:RecordSet
- skos:Concept
broad_mappings:
- wd:Q166118
related_mappings:
- wikidata:Q112815447
- wikidata:Q112796578
comments:
- Dim archives provide LIMITED access (between light and dark)
- 'SPECIAL LINKAGE: default_access_policy links to AccessPolicy'
- AccessPolicy flows through to Collection for fine-grained control
- Restrictions may be user-based, content-based, process-based, or format-based
- Part of Light/Dim/Dark access spectrum classification
see_also:
- https://www.wikidata.org/wiki/Q112796779
- http://www.loc.gov/premis/
examples:
- value:
type_id: https://nde.nl/ontology/hc/type/archive/Q112796779
glamorcubesfixphdnt_code: ARCHIVE
wikidata_entity: Q112796779
type_label:
- Dim Archive@en
- Dim Archive@de
type_description: Archive with limited access
default_access_policy:
policy_id: https://nde.nl/ontology/hc/policy/researcher-access
access_level: RESTRICTED
restriction_reason: Privacy-sensitive personal data (GDPR)
eligible_users: Academic researchers with institutional has_or_had_affiliation
access_process: Submit research proposal and sign access agreement
restriction_category:
- user_based
- process_based
- content_based
access_application_url: https://archive.example.org/apply
typical_approval_time: 5-10 business days
description: Dim archive with researcher access only