59 lines
1.3 KiB
YAML
59 lines
1.3 KiB
YAML
# Kindred Systems Location Hierarchy Schema
|
|
#
|
|
# Format: facility/area/shelf/bin
|
|
#
|
|
# Examples:
|
|
# lab/main/shelf-a/bin-1
|
|
# lab/storage/shelf-b/bin-42
|
|
|
|
location_schema:
|
|
name: kindred-lab
|
|
version: 1
|
|
description: "Kindred Systems lab and storage locations"
|
|
|
|
path_separator: "/"
|
|
|
|
hierarchy:
|
|
- level: 0
|
|
type: facility
|
|
description: "Building or site"
|
|
name_pattern: "^[a-z][a-z0-9-]*$"
|
|
examples: ["lab", "warehouse", "office"]
|
|
|
|
- level: 1
|
|
type: area
|
|
description: "Room or zone within facility"
|
|
name_pattern: "^[a-z][a-z0-9-]*$"
|
|
examples: ["main", "storage", "assembly", "electronics"]
|
|
|
|
- level: 2
|
|
type: shelf
|
|
description: "Shelving unit"
|
|
name_pattern: "^shelf-[a-z]$"
|
|
examples: ["shelf-a", "shelf-b", "shelf-c"]
|
|
|
|
- level: 3
|
|
type: bin
|
|
description: "Individual container or bin"
|
|
name_pattern: "^bin-[0-9]{1,3}$"
|
|
examples: ["bin-1", "bin-42", "bin-100"]
|
|
|
|
properties:
|
|
facility:
|
|
- name: address
|
|
type: text
|
|
required: false
|
|
area:
|
|
- name: climate_controlled
|
|
type: boolean
|
|
default: false
|
|
shelf:
|
|
- name: max_weight_kg
|
|
type: number
|
|
required: false
|
|
bin:
|
|
- name: bin_size
|
|
type: enum
|
|
values: [small, medium, large]
|
|
default: medium
|