glam/schemas/20251121/linkml/modules/classes/CacheValidation.yaml
2026-01-30 23:56:19 +01:00

42 lines
1.4 KiB
YAML

id: https://nde.nl/ontology/hc/class/CacheValidation
name: CacheValidation
title: Cache Validation Class
description: 'Describes methods used for validating cache freshness (e.g., ETag, Last-Modified).
**RULE 53 COMPLIANT**: Created for etag migration per slot_fixes.yaml revision.'
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
prov: http://www.w3.org/ns/prov#
imports:
- linkml:types
- ../slots/has_or_had_description
- ../slots/has_or_had_identifier
- ../slots/has_or_had_method
- ../slots/has_or_had_score
- ../slots/has_or_had_type
- ../slots/specificity_annotation
- ./ETag
default_prefix: hc
classes:
CacheValidation:
description: A method used to validate if a cached resource is still fresh. Can use ETags, Last-Modified dates, or other mechanisms.
slots:
- has_or_had_identifier
- has_or_had_type
- has_or_had_description
- specificity_annotation
- has_or_had_score
slot_usage:
has_or_had_identifier:
range: ETag
required: false
description: The ETag associated with this validation method.
has_or_had_type:
range: string
description: Type of validation (e.g. "ETag", "Last-Modified").
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: "['*']"
custodian_types_rationale: Universal utility concept