<?xml version="1.0" encoding="utf-8"?>
<!--
//
//  Measurement.xml - XML definition for the initial Mocha `Measurement` and `Measurement Unit` system class instances
//
//  Author:
//       Michael Becker <alcexhim@gmail.com>
//
//  Copyright (c) 2020 Mike Becker's Software
//
//  This program is free software: you can redistribute it and/or modify
//  it under the terms of the GNU General Public License as published by
//  the Free Software Foundation, either version 3 of the License, or
//  (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//
//  You should have received a copy of the GNU General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
-->
<mocha xmlns="urn:net.alcetech.schemas.Mocha">
	<libraries>
		<library id="{2826E41F-763A-413F-B239-3D9698AB629F}">
			<instances>
				<instance id="{EB941FB3-0CF6-44DD-B693-7A108F8B89D3}" classInstanceId="&IDC_ExtractSingleInstanceStringComponent;">
					<relationships>
						<relationship relationshipInstanceId="{5E499753-F50F-4A9E-BF53-DC013820499C}">
							<!-- Extract Single Instance String Component.has Relationship -->
							<targetInstances>
								<instanceReference instanceId="&IDR_Class__has_title__Translation;" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				<instance id="{D94917FA-EA53-4398-BC77-F6CAAEADB9FD}" classInstanceId="&IDC_String;">
					<relationships>
						<relationship relationshipInstanceId="&IDR_String__has__String_Component;">
							<!-- String.has String Component -->
							<targetInstances>
								<instanceReference instanceId="{EB941FB3-0CF6-44DD-B693-7A108F8B89D3}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				<instance id="{62693026-B7A0-40B5-92AE-038A2B264F33}" superClassId="&IDC_Class;">
					<translations>
						<translation relationshipInstanceId="&IDR_Class__has_title__Translation;">
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Measurement Unit" />
							</translationValues>
						</translation>
					</translations>
					<relationships>
						<relationship relationshipInstanceId="&IDR_Class__has__Attribute;">
							<!-- Class.has Attribute `CSS Value` [Text Attribute] -->
							<targetInstances>
								<instanceReference instanceId="{C0DD4A42-F503-4EB3-8034-7C428B1B8803}" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="&IDR_Class__instance_labeled_by__String;">
							<!-- Class.instance labeled by String -->
							<targetInstances>
								<instanceReference instanceId="{D94917FA-EA53-4398-BC77-F6CAAEADB9FD}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				<instance id="{BBBB1E24-8C0F-48B5-8529-7BB522415D35}" classInstanceId="{62693026-B7A0-40B5-92AE-038A2B264F33}">
					<attributeValues>
						<attributeValue attributeInstanceId="{C0DD4A42-F503-4EB3-8034-7C428B1B8803}" value="cm" />
					</attributeValues>
					<translations>
						<translation relationshipInstanceId="&IDR_Class__has_title__Translation;">
							<!-- Measurement.has title Translation -->
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Centimeter" />
							</translationValues>
						</translation>
						<translation relationshipInstanceId="{3B29DC78-B30A-46AA-9B20-2573239CECD9}">
							<!-- Measurement.has description Translation -->
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Measurement is in centimeters." />
							</translationValues>
						</translation>
					</translations>
				</instance>
				<instance id="{D55BF6E0-D6DB-43CA-909E-C66E25328F4E}" classInstanceId="{62693026-B7A0-40B5-92AE-038A2B264F33}">
					<attributeValues>
						<attributeValue attributeInstanceId="{C0DD4A42-F503-4EB3-8034-7C428B1B8803}" value="em" />
					</attributeValues>
					<translations>
						<translation relationshipInstanceId="&IDR_Class__has_title__Translation;">
							<!-- Measurement.has title Translation -->
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Em" />
							</translationValues>
						</translation>
						<translation relationshipInstanceId="{3B29DC78-B30A-46AA-9B20-2573239CECD9}">
							<!-- Measurement.has description Translation -->
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Measurement is relative to the height of the parent element's font." />
							</translationValues>
						</translation>
					</translations>
				</instance>
				<instance id="{912A40FE-778C-4004-9685-1F2BF8618026}" classInstanceId="{62693026-B7A0-40B5-92AE-038A2B264F33}">
					<attributeValues>
						<attributeValue attributeInstanceId="{C0DD4A42-F503-4EB3-8034-7C428B1B8803}" value="ex" />
					</attributeValues>
					<translations>
						<translation relationshipInstanceId="&IDR_Class__has_title__Translation;">
							<!-- Measurement.has title Translation -->
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Ex" />
							</translationValues>
						</translation>
						<translation relationshipInstanceId="{3B29DC78-B30A-46AA-9B20-2573239CECD9}">
							<!-- Measurement.has description Translation -->
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Measurement is relative to the height of the lowercase letter x of the parent element's font." />
							</translationValues>
						</translation>
					</translations>
				</instance>
				<instance id="{6D670E0D-536C-46DF-801A-2DFFA086350F}" classInstanceId="{62693026-B7A0-40B5-92AE-038A2B264F33}">
					<attributeValues>
						<attributeValue attributeInstanceId="{C0DD4A42-F503-4EB3-8034-7C428B1B8803}" value="in" />
					</attributeValues>
					<translations>
						<translation relationshipInstanceId="&IDR_Class__has_title__Translation;">
							<!-- Measurement.has title Translation -->
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Inch" />
							</translationValues>
						</translation>
						<translation relationshipInstanceId="{3B29DC78-B30A-46AA-9B20-2573239CECD9}">
							<!-- Measurement.has description Translation -->
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Measurement is in inches." />
							</translationValues>
						</translation>
					</translations>
				</instance>
				<instance id="{180B1276-BD0D-43A6-BD3D-8A0D4043FFCE}" classInstanceId="{62693026-B7A0-40B5-92AE-038A2B264F33}">
					<attributeValues>
						<attributeValue attributeInstanceId="{C0DD4A42-F503-4EB3-8034-7C428B1B8803}" value="mm" />
					</attributeValues>
					<translations>
						<translation relationshipInstanceId="&IDR_Class__has_title__Translation;">
							<!-- Measurement.has title Translation -->
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Millimeter" />
							</translationValues>
						</translation>
						<translation relationshipInstanceId="{3B29DC78-B30A-46AA-9B20-2573239CECD9}">
							<!-- Measurement.has description Translation -->
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Measurement is in millimeters." />
							</translationValues>
						</translation>
					</translations>
				</instance>
				<instance id="{5DF5DE6A-819F-4880-9F48-098CB7F67FA2}" classInstanceId="{62693026-B7A0-40B5-92AE-038A2B264F33}">
					<attributeValues>
						<attributeValue attributeInstanceId="{C0DD4A42-F503-4EB3-8034-7C428B1B8803}" value="%" />
					</attributeValues>
					<translations>
						<translation relationshipInstanceId="&IDR_Class__has_title__Translation;">
							<!-- Measurement.has title Translation -->
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Percentage" />
							</translationValues>
						</translation>
						<translation relationshipInstanceId="{3B29DC78-B30A-46AA-9B20-2573239CECD9}">
							<!-- Measurement.has description Translation -->
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Measurement is a percentage relative to the parent element." />
							</translationValues>
						</translation>
					</translations>
				</instance>
				<instance id="{D0A462FC-683C-4C14-945F-F8F0B02C472F}" classInstanceId="{62693026-B7A0-40B5-92AE-038A2B264F33}">
					<attributeValues>
						<attributeValue attributeInstanceId="{C0DD4A42-F503-4EB3-8034-7C428B1B8803}" value="pc" />
					</attributeValues>
					<translations>
						<translation relationshipInstanceId="&IDR_Class__has_title__Translation;">
							<!-- Measurement.has title Translation -->
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Pica" />
							</translationValues>
						</translation>
						<translation relationshipInstanceId="{3B29DC78-B30A-46AA-9B20-2573239CECD9}">
							<!-- Measurement.has description Translation -->
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Measurement is in picas. A pica represents 12 points." />
							</translationValues>
						</translation>
					</translations>
				</instance>
				<instance id="{A945C259-06AC-428C-BE8B-7B54B1911A2A}" classInstanceId="{62693026-B7A0-40B5-92AE-038A2B264F33}">
					<attributeValues>
						<attributeValue attributeInstanceId="{C0DD4A42-F503-4EB3-8034-7C428B1B8803}" value="px" />
					</attributeValues>
					<translations>
						<translation relationshipInstanceId="&IDR_Class__has_title__Translation;">
							<!-- Measurement.has title Translation -->
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Pixel" />
							</translationValues>
						</translation>
						<translation relationshipInstanceId="{3B29DC78-B30A-46AA-9B20-2573239CECD9}">
							<!-- Measurement.has description Translation -->
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Measurement is in pixels." />
							</translationValues>
						</translation>
					</translations>
				</instance>
				<instance id="{33027987-0466-439A-B53B-1950FD65EA03}" classInstanceId="{62693026-B7A0-40B5-92AE-038A2B264F33}">
					<attributeValues>
						<attributeValue attributeInstanceId="{C0DD4A42-F503-4EB3-8034-7C428B1B8803}" value="pt" />
					</attributeValues>
					<translations>
						<translation relationshipInstanceId="&IDR_Class__has_title__Translation;">
							<!-- Measurement.has title Translation -->
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Point" />
							</translationValues>
						</translation>
						<translation relationshipInstanceId="{3B29DC78-B30A-46AA-9B20-2573239CECD9}">
							<!-- Measurement.has description Translation -->
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Measurement is in points. A point represents 1/72 of an inch." />
							</translationValues>
						</translation>
					</translations>
				</instance>
				
				<instance id="{9FAED5A9-040D-4718-92C0-FBE2385F2A97}" superClassId="&IDC_Class;">
					<translations>
						<translation relationshipInstanceId="&IDR_Class__has_title__Translation;">
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Measurement" />
							</translationValues>
						</translation>
					</translations>
					<relationships>
						<relationship relationshipInstanceId="&IDR_Class__has__Attribute;">
							<!-- Class.has Attribute `Value` [Numeric Attribute] -->
							<targetInstances>
								<instanceReference instanceId="{B88E5262-6B99-401C-896C-34283AB58AED}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				<instance id="{C9720082-1F40-406D-80B7-81C1B690354D}" classInstanceId="&IDC_Relationship;">
					<!-- Relationship: Measurement.has Measurement Unit -->
					<attributeValues>
						<attributeValue attributeInstanceId="{71106B12-1934-4834-B0F6-D894637BAEED}" value="has" />
					</attributeValues>
					<relationships>
						<relationship relationshipInstanceId="{7FB5D234-042E-45CB-B11D-AD72F8D45BD3}">
							<!-- .has source Class `Measurement` -->
							<targetInstances>
								<instanceReference instanceId="{9FAED5A9-040D-4718-92C0-FBE2385F2A97}" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="{F220F1C2-0499-4E87-A32E-BDBF80C1F8A4}">
							<!-- .has destination Class `Measurement Unit` -->
							<targetInstances>
								<instanceReference instanceId="{62693026-B7A0-40B5-92AE-038A2B264F33}" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="&IDR_Relationship__has_sibling__Relationship;">
							<!-- .has sibling Relationship -->
							<targetInstances>
								<instanceReference instanceId="{3117CB16-6860-48B6-8E21-3655A121E695}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				<instance id="{3117CB16-6860-48B6-8E21-3655A121E695}" classInstanceId="&IDC_Relationship;">
					<!-- Relationship: Measurement Unit.for Measurement -->
					<attributeValues>
						<attributeValue attributeInstanceId="{71106B12-1934-4834-B0F6-D894637BAEED}" value="for" />
					</attributeValues>
					<relationships>
						<relationship relationshipInstanceId="{7FB5D234-042E-45CB-B11D-AD72F8D45BD3}">
							<!-- .has source Class `Measurement Unit` -->
							<targetInstances>
								<instanceReference instanceId="{62693026-B7A0-40B5-92AE-038A2B264F33}" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="{F220F1C2-0499-4E87-A32E-BDBF80C1F8A4}">
							<!-- .has destination Class `Measurement` -->
							<targetInstances>
								<instanceReference instanceId="{9FAED5A9-040D-4718-92C0-FBE2385F2A97}" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="&IDR_Relationship__has_sibling__Relationship;">
							<!-- .has sibling Relationship -->
							<targetInstances>
								<instanceReference instanceId="{C9720082-1F40-406D-80B7-81C1B690354D}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
			</instances>
		</library>
	</libraries>
</mocha>
