Skip to main content

Location Extended

This schema extension is the most detailed when it comes to location, you'll find all the layers you can think of.

Details​

  • Dependencies:

Nodes​

Continent​

  • Label: Continent
  • Namespace: Location
  • Icon: jam:world
  • Inherit From: LocationGeneric

Country​

  • Label: Country
  • Namespace: Location
  • Icon: gis:search-country
  • Inherit From: LocationGeneric

Region​

  • Label: Region
  • Namespace: Location
  • Icon: carbon:cics-region-target
  • Inherit From: LocationGeneric

Metro​

  • Label: Metro
  • Namespace: Location
  • Icon: healthicons:city
  • Inherit From: LocationGeneric

Building​

  • Label: Building
  • Namespace: Location
  • Icon: ri:building-line
  • Inherit From: LocationGeneric

Attributes​

namedescriptionkindoptionaldefault_valuechoices
facility_idTextTrue
physical_addressTextTrue

Relationships​

namepeeroptionalcardinalitykind
ownerOrganizationGenericTrueone

Floor​

  • Label: Floor
  • Namespace: Location
  • Icon: mdi:home-floor-0
  • Inherit From: LocationGeneric

Suite​

  • Label: Suite
  • Namespace: Location
  • Icon: game-icons:cage
  • Inherit From: LocationGeneric

Attributes​

namedescriptionkindoptionaldefault_valuechoices
facility_idTextTrue

Relationships​

namepeeroptionalcardinalitykind
ownerOrganizationGenericTrueone

Rack​

  • Label: Rack
  • Namespace: Location
  • Icon: clarity:rack-server-line
  • Human Friendly ID: shortname__value
  • Inherit From: LocationGeneric

Attributes​

namedescriptionkindoptionaldefault_valuechoices
facility_idTextTrue

Relationships​

namepeeroptionalcardinalitykind
ownerOrganizationGenericTrueone

Extensions​

note

In this context "extensions" refer to modifications or additions to the existing schema, such as adding new attributes, relationships, or other schema elements.

OrganizationProvider​

Relationships​

namepeeroptionalcardinalitykind
locationLocationBuildingTruemany

Code​

version: '1.0'
nodes:
- name: Continent
namespace: Location
inherit_from:
- LocationGeneric
include_in_menu: true
menu_placement: LocationGeneric
label: Continent
display_label: name__value
parent: ''
children: LocationCountry
icon: jam:world
- name: Country
namespace: Location
inherit_from:
- LocationGeneric
include_in_menu: true
menu_placement: LocationGeneric
label: Country
display_label: name__value
parent: LocationContinent
children: LocationRegion
icon: gis:search-country
- name: Region
namespace: Location
inherit_from:
- LocationGeneric
include_in_menu: true
menu_placement: LocationGeneric
label: Region
display_label: name__value
parent: LocationCountry
children: LocationMetro
icon: carbon:cics-region-target
- name: Metro
namespace: Location
inherit_from:
- LocationGeneric
include_in_menu: true
menu_placement: LocationGeneric
label: Metro
display_label: name__value
parent: LocationRegion
children: LocationBuilding
icon: healthicons:city
- name: Building
namespace: Location
inherit_from:
- LocationGeneric
include_in_menu: true
menu_placement: LocationGeneric
label: Building
display_label: name__value
parent: LocationMetro
children: LocationFloor
icon: ri:building-line
attributes:
- name: facility_id
kind: Text
unique: false
optional: true
order_weight: 1100
- name: physical_address
kind: Text
unique: false
optional: true
order_weight: 1500
relationships:
- name: owner
peer: OrganizationGeneric
optional: true
cardinality: one
- name: Floor
namespace: Location
inherit_from:
- LocationGeneric
include_in_menu: true
menu_placement: LocationGeneric
label: Floor
display_label: name__value
parent: LocationBuilding
icon: mdi:home-floor-0
children: LocationSuite
- name: Suite
namespace: Location
inherit_from:
- LocationGeneric
include_in_menu: true
menu_placement: LocationGeneric
label: Suite
display_label: name__value
parent: LocationFloor
children: LocationRack
icon: game-icons:cage
attributes:
- name: facility_id
kind: Text
unique: false
optional: true
order_weight: 1100
relationships:
- name: owner
peer: OrganizationGeneric
optional: true
cardinality: one
- name: Rack
namespace: Location
inherit_from:
- LocationGeneric
include_in_menu: true
menu_placement: LocationGeneric
label: Rack
display_label: name__value
human_friendly_id:
- shortname__value
parent: LocationSuite
children: ''
icon: clarity:rack-server-line
attributes:
- name: facility_id
kind: Text
unique: false
optional: true
order_weight: 1100
relationships:
- name: owner
peer: OrganizationGeneric
optional: true
cardinality: one
extensions:
nodes:
- kind: OrganizationProvider
relationships:
- name: location
peer: LocationBuilding
cardinality: many
optional: true