glam/schemas/20251121/linkml/modules/slots/numeric_value.yaml
2026-01-16 12:50:50 +01:00

44 lines
1.2 KiB
YAML

# numeric_value slot
# Created to fix ambiguous attribute warnings for integer-valued identifiers
# Used by BoxNumber and similar integer-based identifier wrapper classes
id: https://nde.nl/ontology/hc/slot/numeric_value
name: numeric_value_slot
title: Numeric Value Slot
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
xsd: http://www.w3.org/2001/XMLSchema#
imports:
- linkml:types
default_range: string
slots:
numeric_value:
slot_uri: rdf:value
range: integer
description: |
Numeric (integer) value for identifier wrapper classes.
Used by classes that encapsulate integer-based identifiers:
- BoxNumber: Storage box position number
- ShelfNumber: Shelf position within a bay
- SequenceNumber: Ordering position
For string-based identifiers, use identifier_value instead.
For decimal/percentage values, use rate_value instead.
exact_mappings:
- rdf:value
close_mappings:
- xsd:integer
examples:
- value: 12
description: Box at position 12
- value: 145
description: Inventory number 145
- value: 3
description: Shelf level 3