- Migrate 236+ class files from custodian_types to has_or_had_custodian_type - Archive deprecated slots: custodian_type, custodian_types, custodian_type_broader/narrower/related - Update main schema and manifest imports - Fix Custodian.yaml class to use new slot - Fix annotation format (list→scalar) in has_or_had_custodian_type.yaml Rules applied: - Rule 39: RiC-O naming convention (hasOrHad pattern) - Rule 43: Slot nouns must be singular (multivalued:true for cardinality) - Rule 38: Slot centralization with semantic URI
49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
id: https://nde.nl/ontology/hc/slot/iso_3166_2_code
|
|
name: iso_3166_2_code_slot
|
|
title: Iso 3166 2 Code Slot
|
|
prefixes:
|
|
linkml: https://w3id.org/linkml/
|
|
hc: https://nde.nl/ontology/hc/
|
|
schema: http://schema.org/
|
|
imports:
|
|
- linkml:types
|
|
default_prefix: hc
|
|
slots:
|
|
iso_3166_2_code:
|
|
description: 'ISO 3166-2 subdivision code.
|
|
|
|
|
|
Format: {country_alpha2}-{subdivision_code}
|
|
|
|
- First 2 letters: ISO 3166-1 alpha-2 country code
|
|
|
|
- Hyphen separator
|
|
|
|
- Subdivision code (1-3 alphanumeric characters, varies by country)
|
|
|
|
|
|
Examples:
|
|
|
|
- "US-PA": Pennsylvania (US state)
|
|
|
|
- "ID-BA": Bali (Indonesian province)
|
|
|
|
- "DE-BY": Bayern/Bavaria (German Land)
|
|
|
|
- "NL-LI": Limburg (Dutch province)
|
|
|
|
- "CA-ON": Ontario (Canadian province)
|
|
|
|
- "AU-NSW": New South Wales (Australian state)
|
|
|
|
- "IN-KL": Kerala (Indian state)
|
|
|
|
- "ES-AN": Andalucía/Andalusia (Spanish autonomous community)
|
|
|
|
|
|
Reference: https://en.wikipedia.org/wiki/ISO_3166-2
|
|
|
|
'
|
|
range: string
|
|
pattern: ^[A-Z]{2}-[A-Z0-9]{1,3}$
|
|
slot_uri: schema:addressRegion
|