glam/schemas/20251121/linkml/modules/classes/IdentifierFormat.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

25 lines
1.4 KiB
YAML

id: https://nde.nl/ontology/hc/class/IdentifierFormat
name: IdentifierFormat
title: IdentifierFormat
description: "A specific format variant for an identifier standard.\n\nMany identifier standards allow multiple display formats. This class\ncaptures the variations and which is canonical for storage.\n\n**Examples:**\n\n- **ISNI formats:**\n - \"0000 0000 0000 0000\" (display format with spaces)\n - \"0000000000000000\" (compact/canonical for storage)\n - \"http://isni.org/isni/0000000000000000\" (URI format)\n\n- **ISIL formats:**\n - \"NL-AmUvA\" (full format with country prefix)\n - \"AmUvA\" (local part only)\n\n- **Wikidata formats:**\n - \"Q12345\" (short form)\n - \"http://www.wikidata.org/entity/Q12345\" (full URI)\n\n**Usage:**\n\nWhen storing identifiers, use the canonical format (canonical: true).\nWhen displaying, choose the appropriate format for the context."
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
skos: http://www.w3.org/2004/02/skos/core#
schema: http://schema.org/
default_prefix: hc
imports:
- linkml:types
- ../slots/has_or_had_label
- ../slots/has_or_had_score
classes:
IdentifierFormat:
class_uri: schema:PropertyValue
description: Identifier format variant.
slots:
- has_or_had_label
- has_or_had_score
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: "['*']"