glam/schemas/20251121/linkml/modules/slots/postal_code.yaml
2025-12-03 17:38:46 +01:00

35 lines
908 B
YAML

# postal_code slot - Postal/ZIP code
# Used by: AuxiliaryPlace, other location-related classes
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#
slots:
postal_code:
slot_uri: schema:postalCode
range: string
required: false
description: |
Postal code or ZIP code for the location.
exact_mappings:
- locn:postCode
- vcard:postal-code
comments:
- "Format varies by country"
- "Store as string to preserve leading zeros and special characters"