<?xml version="1.0"?>
<!--
SPDX-FileCopyrightText: 2024 Lady <https://www.ladys.computer/about/#lady>
SPDX-License-Identifier: CC0-1.0
-->
<!DOCTYPE Class SYSTEM "../../DTD">
<Class>
	<label xml:lang="en">Data Position Selector</label>
	<comment xml:lang="en">
		<p>
			A <ref target="anno:Selector">Selector</ref> which describes an area of interest in another thing using <ref target="anno:start">start</ref> and <ref target="anno:end">end</ref> values, interpreted as positions in a byte stream.
		</p>
		<p>
			Position 0 is the position preceding the first byte, position 1 is the position after the first byte but before the second, and so on.
		</p>
	</comment>
	<isDefinedBy>
		<SpecificResource source="(ANNO)" fragment="datapositionselector"/>
	</isDefinedBy>
	<subClassOf>
		<resource name="anno:Selector"/>
	</subClassOf>
	<subClassOf>
		<Restriction>
			<onProperty>
				<resource name="anno:start"/>
			</onProperty>
			<cardinality>1</cardinality>
		</Restriction>
	</subClassOf>
	<subClassOf>
		<Restriction>
			<onProperty>
				<resource name="anno:end"/>
			</onProperty>
			<cardinality>1</cardinality>
		</Restriction>
	</subClassOf>
</Class>