]> Lady’s Gitweb - Vocab/blob - data/classes/olo¦Slot
Add .rsync-filter
[Vocab] / data / classes / olo¦Slot
1 <?xml version="1.0"?>
2 <!--
3 SPDX-FileCopyrightText: 2025 Lady <https://www.ladys.computer/about/#lady>
4 SPDX-License-Identifier: CC0-1.0
5 -->
6 <!DOCTYPE Class SYSTEM "../../DTD">
7 <Class>
8 <label xml:lang="en">Slot</label>
9 <comment xml:lang="en">
10 <p>
11 A <ref target="ore:Proxy">Proxy</ref> representing a single item in an <ptr target="olo:OrderedList">Ordered List</ptr>.
12 </p>
13 <p>
14 Slots are required to have an <ref target="olo:index">index</ref>, which should be less than or equal to its <ref target="olo:ordered_list">ordered list</ref>¦s <ref target="olo:length">length</ref>, and an <ref target="olo:item">item</ref>, providing the thing being proxied by the slot.
15 </p>
16 <p>
17 A Slot is not actually required to have an ordered list by <ptr target="(OLO)"/>, and this caveat may prove useful for ordered slots in <ref target="ore:Aggregation">Aggregations</ref> of indeterminate length, or Aggregations which allow multiple slots with identical indices.
18 In these cases, Slots will still never·the·less <ref target="ore:proxyIn">be a proxy in</ref> some Aggregation, which provides the context for interpreting their index.
19 </p>
20 </comment>
21 <isDefinedBy>
22 <SpecificResource source="(OLO)" fragment="Slot"/>
23 </isDefinedBy>
24 <subClassOf>
25 <resource name="ore:Proxy"/>
26 </subClassOf>
27 <subClassOf>
28 <Restriction>
29 <onProperty>
30 <resource name="olo:index"/>
31 </onProperty>
32 <cardinality>1</cardinality>
33 </Restriction>
34 </subClassOf>
35 <subClassOf>
36 <Restriction>
37 <onProperty>
38 <resource name="olo:item"/>
39 </onProperty>
40 <cardinality>1</cardinality>
41 </Restriction>
42 </subClassOf>
43 <subClassOf>
44 <Restriction>
45 <onProperty>
46 <resource name="olo:ordered_list"/>
47 </onProperty>
48 <maxCardinality>1</maxCardinality>
49 </Restriction>
50 </subClassOf>
51 <hasKey>
52 <resource name="olo:ordered_list"/>
53 <resource name="olo:index"/>
54 </hasKey>
55 </Class>
This page took 0.106298 seconds and 5 git commands to generate.