glam/schemas/20251121/linkml/modules/classes/Supplier.yaml
kempersc fc405445c6 Refactor and update schema definitions
- Removed obsolete slots: `has_or_had_custodian_observation`, `provider`, and `specificity_annotation`.
- Updated `has_or_had_score` slot to use `SpecificityScore` class and modified its description and examples.
- Added new slots: `end_seconds`, `end_time`, `has_archive_path`, `has_or_had_custodian_name`, `protocol_name`, and `protocol_version`.
- Introduced a script `check_annotation_types.py` to validate the presence and structure of `custodian_types` in YAML files.
- Added a script `update_specificity.py` to automate updates related to `SpecificityAnnotation` to `SpecificityScore`.
2026-02-01 19:55:38 +01:00

99 lines
4 KiB
YAML

id: https://nde.nl/ontology/hc/class/Supplier
name: supplier
title: Supplier
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
gr: http://purl.org/goodrelations/v1#
org: http://www.w3.org/ns/org#
default_prefix: hc
imports:
- linkml:types
- ../slots/has_or_had_description
- ../slots/has_or_had_identifier
- ../slots/has_or_had_label
- ../slots/has_or_had_type
- ../slots/temporal_extent
classes:
Supplier:
class_uri: schema:Organization
description: "Business entity that supplies goods or services to a heritage custodian.\n\n**PURPOSE**:\nModels supplier relationships for commercial operations (gift shops, cafes, etc.)\nin a structured way that captures:\n- Supplier identity and contact\n- Type of supplier (print, reproduction, service, etc.)\n- Products/services provided\n- Temporal validity of relationship\n\n**ONTOLOGY ALIGNMENT**:\n- **Primary** (`class_uri`): `schema:Organization` - Schema.org organization\n- **Close**: `gr:BusinessEntity` - GoodRelations business entity\n- **Related**: `org:Organization` - W3C Org organization\n\n**USAGE**:\n```yaml\nhas_or_had_supplier:\n - has_or_had_identifier: \"hc:supplier/king-mcgaw\"\n has_or_had_label:\n label_text: \"King & McGaw\"\n has_or_had_type:\n has_or_had_label: \"Print Supplier\"\n has_or_had_description:\n description_text: \"Fine art print supplier for museum reproductions\"\n temporal_extent:\n begin_of_the_begin: \"2018-01-01\"\n\
```\n\n**MIGRATION NOTE**:\nReplaces plain string values from `supplier_relationship` slot.\nProvides structured data with type classification and temporal tracking.\n"
slots:
- has_or_had_identifier
- has_or_had_label
- has_or_had_description
- has_or_had_type
- temporal_extent
slot_usage:
has_or_had_identifier:
range: uriorcurie
examples:
- value: hc:supplier/king-mcgaw
has_or_had_label:
range: string
inlined: true
required: true
examples:
- value:
label_text: King & McGaw
- value:
label_text: Museum Reproductions Ltd
has_or_had_description:
range: string
inlined: true
examples:
- value:
description_text: Fine art print supplier specializing in museum reproduction prints
has_or_had_type:
range: uriorcurie
inlined: true
multivalued: true
examples:
- value:
has_or_had_label:
label_text: Print Supplier
temporal_extent:
range: TimeSpan
inlined: true
examples:
- value:
begin_of_the_begin: '2018-01-01'
exact_mappings:
- schema:Organization
close_mappings:
- gr:BusinessEntity
related_mappings:
- org:Organization
examples:
- value:
has_or_had_identifier: hc:supplier/king-mcgaw
has_or_had_label:
label_text: King & McGaw
has_or_had_type:
- has_or_had_label:
label_text: Print Supplier
has_or_had_description:
description_text: Leading supplier of fine art prints and museum reproduction services
temporal_extent:
begin_of_the_begin: '2018-01-01'
- value:
has_or_had_identifier: hc:supplier/museum-reproductions-ltd
has_or_had_label:
label_text: Museum Reproductions Ltd
has_or_had_type:
- has_or_had_label:
label_text: Reproduction Supplier
has_or_had_description:
description_text: High-quality reproductions of museum artifacts
temporal_extent:
begin_of_the_begin: '2015-06-01'
end_of_the_end: '2022-12-31'
annotations:
custodian_types: '["*"]'
custodian_types_rationale: Suppliers applicable to any custodian with commercial operations.
migration_source: supplier_relationship string values
migration_date: '2026-01-16'
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration