glam/schemas/20251121/linkml/modules/slots/has_api_version.yaml
kempersc 0d5d48568d refactor(schema): centralize slot definitions per Rule 38
- Remove slot_uri, description, mappings from slot_usage sections
- Move these properties to centralized slot files in modules/slots/
- Keep only class-specific overrides in slot_usage (required, inlined, examples)
- Update 1,499 centralized slot files with enriched definitions
- Clean 188 class files

Violations fixed:
- slot_uri in slot_usage: 1,676 → 0
- description in slot_usage: 2,287 → 0 (moved to centralized)

Schema still validates: 816 classes, 2028 slots, 127 enums
2026-01-11 23:27:17 +01:00

33 lines
862 B
YAML

id: https://nde.nl/ontology/hc/slot/has_api_version
name: has_api_version_slot
title: Has Api Version Slot
prefixes:
dcat: http://www.w3.org/ns/dcat#
hc: https://nde.nl/ontology/hc/
linkml: https://w3id.org/linkml/
pav: http://purl.org/pav/
schema: http://schema.org/
imports:
- linkml:types
default_prefix: hc
slots:
has_api_version:
description: 'Version of the API used for retrieval.
Schema.org: softwareVersion for API version tracking.
'
range: string
slot_uri: schema:version
exact_mappings:
- schema:version
close_mappings:
- dcat:version
- pav:version
annotations:
custodian_types: '["*"]'
custodian_types_rationale: Applicable to all heritage custodian types.
custodian_types_primary: M
specificity_score: 0.5
specificity_rationale: Moderately specific slot.