Skip to content

Class: StorageLocation

A physical storage unit within an organisation's warehouse.

URI: inkind_knowledge_repo:StorageLocation

 classDiagram
    class StorageLocation
    click StorageLocation href "../StorageLocation/"
      StorageLocation : capacity

      StorageLocation : category_affinity





        StorageLocation --> "0..1" CategoryEnum : category_affinity
        click CategoryEnum href "../CategoryEnum/"



      StorageLocation : current_occupancy

      StorageLocation : id

      StorageLocation : is_active

      StorageLocation : label

      StorageLocation : org





        StorageLocation --> "1" SocialOrganisation : org
        click SocialOrganisation href "../SocialOrganisation/"



      StorageLocation : parent





        StorageLocation --> "0..1" StorageLocation : parent
        click StorageLocation href "../StorageLocation/"



Slots

Name Cardinality and Range Description Inheritance
id 1
Uriorcurie
A unique identifier for the entity direct
org 1
SocialOrganisation
Reference to the owning SocialOrganisation direct
label 1
String
Human-readable label for the entity direct
parent 0..1
StorageLocation
FK — for hierarchical storage (zone -> rack -> bin) direct
capacity 0..1
Integer
Maximum item count for this location direct
current_occupancy 1
Integer
Current item count — derived from items linked to this location direct
is_active 1
Boolean
Whether this entity is currently active direct
category_affinity 0..1
CategoryEnum
Preferred item category — informational hint, not enforced by the engine direct

Usages

used by used in type used
StorageLocation parent range StorageLocation
DonationItem storage_unit range StorageLocation
ClothingItem storage_unit range StorageLocation
AccessoriesItem storage_unit range StorageLocation
FootwearItem storage_unit range StorageLocation
FurnitureItem storage_unit range StorageLocation
BeddingTextilesItem storage_unit range StorageLocation
HouseholdItem storage_unit range StorageLocation
ElectronicsItem storage_unit range StorageLocation
ToysItem storage_unit range StorageLocation
SportsItem storage_unit range StorageLocation
BooksItem storage_unit range StorageLocation
StationeryItem storage_unit range StorageLocation
PersonalCareItem storage_unit range StorageLocation
MobilityAidsItem storage_unit range StorageLocation
BabyInfantItem storage_unit range StorageLocation
FoodItem storage_unit range StorageLocation
OtherItem storage_unit range StorageLocation

Identifier and Mapping Information

Schema Source

  • from schema: https://inkind-at.github.io/inkind-knowledge-repo

Mappings

Mapping Type Mapped Value
self inkind_knowledge_repo:StorageLocation
native inkind_knowledge_repo:StorageLocation

LinkML Source

Direct

name: StorageLocation
description: A physical storage unit within an organisation's warehouse.
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
slots:
- id
- org
- label
- parent
- capacity
- current_occupancy
- is_active
- category_affinity
slot_usage:
  org:
    name: org
    range: SocialOrganisation
    required: true
  parent:
    name: parent
    description: FK — for hierarchical storage (zone -> rack -> bin).  Null for top-level
      locations.
    range: StorageLocation
    required: false

Induced

name: StorageLocation
description: A physical storage unit within an organisation's warehouse.
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
slot_usage:
  org:
    name: org
    range: SocialOrganisation
    required: true
  parent:
    name: parent
    description: FK — for hierarchical storage (zone -> rack -> bin).  Null for top-level
      locations.
    range: StorageLocation
    required: false
attributes:
  id:
    name: id
    description: A unique identifier for the entity.
    from_schema: https://inkind-at.github.io/inkind-knowledge-repo
    rank: 1000
    slot_uri: schema:identifier
    identifier: true
    alias: id
    owner: StorageLocation
    domain_of:
    - NamedThing
    - SocialOrganisation
    - Actor
    - StorageLocation
    - DonationSource
    - DonationCollection
    - DonationItem
    - DemandSignal
    - Campaign
    - ProvenanceRecord
    range: uriorcurie
    required: true
  org:
    name: org
    description: Reference to the owning SocialOrganisation. Concrete range applied
      via slot_usage in each class.
    from_schema: https://inkind-at.github.io/inkind-knowledge-repo
    rank: 1000
    alias: org
    owner: StorageLocation
    domain_of:
    - Actor
    - StorageLocation
    - DonationCollection
    - DemandSignal
    - Campaign
    - ProvenanceRecord
    range: SocialOrganisation
    required: true
  label:
    name: label
    description: Human-readable label for the entity.
    from_schema: https://inkind-at.github.io/inkind-knowledge-repo
    rank: 1000
    alias: label
    owner: StorageLocation
    domain_of:
    - StorageLocation
    - DonationCollection
    range: string
    required: true
  parent:
    name: parent
    description: FK — for hierarchical storage (zone -> rack -> bin).  Null for top-level
      locations.
    from_schema: https://inkind-at.github.io/inkind-knowledge-repo
    rank: 1000
    alias: parent
    owner: StorageLocation
    domain_of:
    - SocialOrganisation
    - StorageLocation
    - DonationCollection
    range: StorageLocation
    required: false
  capacity:
    name: capacity
    description: Maximum item count for this location.  Null = unlimited.
    from_schema: https://inkind-at.github.io/inkind-knowledge-repo
    rank: 1000
    alias: capacity
    owner: StorageLocation
    domain_of:
    - StorageLocation
    range: integer
  current_occupancy:
    name: current_occupancy
    description: Current item count — derived from items linked to this location.
    from_schema: https://inkind-at.github.io/inkind-knowledge-repo
    rank: 1000
    alias: current_occupancy
    owner: StorageLocation
    domain_of:
    - StorageLocation
    range: integer
    required: true
  is_active:
    name: is_active
    description: Whether this entity is currently active.
    from_schema: https://inkind-at.github.io/inkind-knowledge-repo
    rank: 1000
    alias: is_active
    owner: StorageLocation
    domain_of:
    - SocialOrganisation
    - Actor
    - StorageLocation
    range: boolean
    required: true
  category_affinity:
    name: category_affinity
    description: Preferred item category — informational hint, not enforced by the
      engine.
    from_schema: https://inkind-at.github.io/inkind-knowledge-repo
    rank: 1000
    alias: category_affinity
    owner: StorageLocation
    domain_of:
    - StorageLocation
    range: CategoryEnum