glam/schemas/20251121/linkml/modules/classes/LanguageCode.yaml
kempersc f9f3cc8e74 fix: resolve YAML import indentation and add missing slot descriptions
Schema Improvements:
- Fix YAML import indentation across 800+ class files (sed: '^- ../' → '  - ../')
- Add descriptions to 26 inline slots missing them (lint warnings)
- Fix malformed imports in BirthPlace.yaml and CustodianObservation.yaml

Validation Results:
- linkml-lint: 4 warnings (intentional SCREAMING_CASE tier names)
- gen-owl: SUCCESS (164,069 lines generated)
- gen-json-schema: SUCCESS (9.4MB generated)

Files affected: 1,034 files, +23,908 -15,200 lines
2026-01-16 00:09:28 +01:00

50 lines
1.3 KiB
YAML

id: https://nde.nl/ontology/hc/class/LanguageCode
name: language_code_class
title: LanguageCode Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
dcterms: http://purl.org/dc/terms/
schema: http://schema.org/
skos: http://www.w3.org/2004/02/skos/core#
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
default_prefix: hc
imports:
- linkml:types
- ../metadata
- ../slots/language_code
- ../slots/specificity_annotation
- ../slots/template_specificity
- ./SpecificityAnnotation
- ./TemplateSpecificityScores
- ../slots/language_code
- ../slots/specificity_annotation
- ../slots/template_specificity
- ../slots/language_code
- ../slots/specificity_annotation
- ../slots/template_specificity
classes:
LanguageCode:
class_uri: dcterms:LinguisticSystem
description: 'ISO 639-1 two-letter language code.
Dublin Core: LinguisticSystem for language representation.
**Examples**: "nl", "en", "fr", "de", "es"
'
exact_mappings:
- dcterms:LinguisticSystem
- schema:Language
close_mappings:
- skos:Concept
slots:
- language_code
- specificity_annotation
- template_specificity
slot_usage:
language_code:
range: string
pattern: ^[a-z]{2}$
required: true