All checks were successful
Deploy Frontend / build-and-deploy (push) Successful in 3m57s
- Remove inline slot definitions from 144 class files - Create 7 new centralized slot files in modules/slots/: - custodian_type_broader.yaml - custodian_type_narrower.yaml - custodian_type_related.yaml - definition.yaml - finding_aid_access_restriction.yaml - finding_aid_description.yaml - finding_aid_temporal_coverage.yaml - Add centralize_inline_slots.py automation script - Update manifest with new timestamp Rule 48: Class files must NOT define inline slots - all slots must be imported from modules/slots/ directory. Note: Pre-existing IdentifierFormat duplicate class definition (in Standard.yaml and IdentifierFormat.yaml) not addressed in this commit - requires separate schema refactor.
67 lines
1.7 KiB
YAML
67 lines
1.7 KiB
YAML
id: https://nde.nl/ontology/hc/class/FeaturedCard
|
|
name: featured_card_class
|
|
title: FeaturedCard Class
|
|
prefixes:
|
|
linkml: https://w3id.org/linkml/
|
|
hc: https://nde.nl/ontology/hc/
|
|
schema: http://schema.org/
|
|
dcterms: http://purl.org/dc/terms/
|
|
default_prefix: hc
|
|
default_range: string
|
|
imports:
|
|
- linkml:types
|
|
- ../metadata
|
|
- ./SpecificityAnnotation
|
|
- ./TemplateSpecificityScores
|
|
- ../slots/xpath
|
|
- ../slots/card_description
|
|
- ../slots/card_description_en
|
|
- ../slots/card_image_url
|
|
- ../slots/card_title
|
|
- ../slots/card_title_en
|
|
- ../slots/card_url
|
|
- ../slots/specificity_annotation
|
|
- ../slots/template_specificity
|
|
classes:
|
|
FeaturedCard:
|
|
class_uri: schema:CreativeWork
|
|
description: 'A featured content card (often with image/icon).
|
|
|
|
|
|
Common on archive websites to highlight important sub-guides or resources.
|
|
|
|
'
|
|
slots:
|
|
- card_description
|
|
- card_description_en
|
|
- card_image_url
|
|
- card_title
|
|
- card_title_en
|
|
- card_url
|
|
- specificity_annotation
|
|
- template_specificity
|
|
- xpath
|
|
slot_usage:
|
|
card_title:
|
|
description: Title of the card (original language)
|
|
required: true
|
|
card_title_en:
|
|
description: English translation of title
|
|
card_description:
|
|
description: Description text (original language)
|
|
card_description_en:
|
|
description: English translation of description
|
|
card_url:
|
|
description: URL the card links to
|
|
range: uri
|
|
card_image_url:
|
|
description: URL of card image/icon
|
|
range: uri
|
|
xpath:
|
|
description: XPath to card element
|
|
specificity_annotation:
|
|
range: SpecificityAnnotation
|
|
inlined: true
|
|
template_specificity:
|
|
range: TemplateSpecificityScores
|
|
inlined: true
|