Schema Migration Fixes: - Fix YAML import indentation in ~650 slot files (linkml:types and enum imports) - Rename slot reference: has_or_had_holds_record_set_type → hold_or_held_record_set_type (70+ archive class files, main schema, manifest.json) - Fix ProvenanceBlock.yaml: remove invalid any_of range, use string with multivalued - Fix has_or_had_provenance.yaml: remove nested template_specificity from annotations Validation Status: - 0 errors (was multiple import/reference errors) - 30 warnings (missing descriptions on inline slots, intentional SCREAMING_CASE names) Files changed: ~3,850 (slots, classes, main schema, manifest)
46 lines
996 B
YAML
46 lines
996 B
YAML
id: https://nde.nl/ontology/hc/slot/postal_code
|
|
name: postal_code_slot
|
|
title: Postal Code Slot
|
|
description: 'Postal code or ZIP code for a location.
|
|
|
|
|
|
Format varies by country:
|
|
|
|
- Netherlands: "1071 XX" (4 digits + 2 letters)
|
|
|
|
- USA: "20500" or "20500-0001" (5 or 9 digits)
|
|
|
|
- UK: "SW1A 1AA" (outward + inward codes)
|
|
|
|
'
|
|
prefixes:
|
|
linkml: https://w3id.org/linkml/
|
|
hc: https://nde.nl/ontology/hc/
|
|
schema: http://schema.org/
|
|
locn: http://www.w3.org/ns/locn#
|
|
|
|
imports:
|
|
- linkml:types
|
|
|
|
slots:
|
|
postal_code:
|
|
slot_uri: schema:postalCode
|
|
range: string
|
|
required: false
|
|
description: 'Postal/ZIP code for this auxiliary place.
|
|
|
|
|
|
vCard: postal-code for postal codes.
|
|
|
|
Also aligns with W3C Location locn:postCode.
|
|
|
|
'
|
|
exact_mappings:
|
|
- locn:postCode
|
|
- vcard:postal-code
|
|
- schema:postalCode
|
|
broad_mappings:
|
|
- dcterms:identifier
|
|
comments:
|
|
- Format varies by country
|
|
- Store as string to preserve leading zeros and special characters
|