3 SPDX-FileCopyrightText: 2025 Lady <https://www.ladys.computer/about/#lady>
 
   4 SPDX-License-Identifier: CC0-1.0
 
   6 <!DOCTYPE Class SYSTEM "../../DTD">
 
   8         <label xml:lang="en">Slot</label>
 
   9         <comment xml:lang="en">
 
  11                         A <ref target="ore:Proxy">Proxy</ref> representing a single item associated with a numeric <ref target="olo:index">index</ref>.
 
  14                         The <ref target="olo:item">item</ref> of a Slot provides the thing being it proxies.
 
  17                         When an <ref target="OrderedAggregation">Ordered Aggregation</ref> <ref target="hasSlot">has a slot</ref>, its index must be unique within that Ordered Aggregation.
 
  18                         However, Slots are permitted to <ref target="ore:proxyIn">be proxies in</ref> other kinds of <ref target="ore:Aggregation">Aggregation</ref>, in which case index uniqueness is not required.
 
  21                         When a Slot <ref target="olo:ordered_list">has an ordered list</ref>, its index should be less than or equal to the <ref target="olo:length">length</ref> of that <ref target="olo:OrderedList">Ordered List</ref>.
 
  25                 <SpecificResource source="(OLO)" fragment="Slot"/>
 
  28                 <resource name="ore:Proxy"/>
 
  33                                 <resource name="olo:index"/>
 
  35                         <cardinality>1</cardinality>
 
  41                                 <resource name="olo:item"/>
 
  43                         <cardinality>1</cardinality>
 
  49                                 <resource name="hasSlot"/>
 
  52                 <resource name="olo:index"/>