From 9f43c02592d157759a82efa25f3df6d178cdd0f8 Mon Sep 17 00:00:00 2001 From: David Waltermire Date: Fri, 1 Sep 2023 13:16:35 -0400 Subject: [PATCH] Adding constraints to computer example (#419) * Added some constraints to the computer example. --- .../specification/computer-example.xml | 109 ++++++++++++++++-- 1 file changed, 101 insertions(+), 8 deletions(-) diff --git a/website/content/specification/computer-example.xml b/website/content/specification/computer-example.xml index 460bf77af..0d3e3a820 100644 --- a/website/content/specification/computer-example.xml +++ b/website/content/specification/computer-example.xml @@ -1,5 +1,7 @@ - + Computer Model 0.0.5 computer @@ -49,10 +51,16 @@ A container object for a motherboard in a computer and its sub-parts. - + Motherboard Type The type motherboard layout, at, atx, mini-itx or an alternative. - type + + + Advanced Technology Form Factor + Advanced Technology Extended Form Factor + Mini Information Technology eXtended Form Factor + + Motherboard Central Processing Unit (CPU) @@ -64,11 +72,22 @@ CPU Architecture The Instruction Set Architecture (ISA) of the processor, x86, x86-64, arm, or an alternative. + + + x86 32-bit + x86 64-bit + arm + + CPU Speed The clock speed of the CPU in megahertz or gigahertz. + + + + @@ -79,11 +98,17 @@ - + ATA Socket Type The type of ATA socket on the motherboard , pata (parallel ATA), sata (Serial ATA), or an alternative. - type + + + Parallel ATA + Serial ATA + + + @@ -99,6 +124,7 @@ Memory Module Size Size of the memory module in binary, not SI base-10 units, meaning a kilobyte is 1024 bytes, not 1000 bytes. + @@ -120,6 +146,7 @@ + @@ -138,9 +165,11 @@ + + @@ -149,6 +178,19 @@ Ensures that each USB device has a unique UUID. + + CPU model + + + +

Warn if a model is not provided.

+
+
+ + +

It is invalid to provide multiple models.

+
+
@@ -164,8 +206,59 @@ Remarks Additional remarks related to the containing computer component. - - - + + Property + An attribute, characteristic, or quality of the containing object expressed as a namespace qualified name/value pair. + prop + + Property Name + A textual label, within a namespace, that uniquely identifies a specific attribute, characteristic, or quality of the property's containing object. + + + Property Universally Unique Identifier + + A unique identifier for a property. + + + Property Namespace + A namespace qualifying the property's name. This allows different organizations to associate distinct semantics with the same name. + +

This value must be an absolute URI that serves as a naming system identifier.

+

When a ns is not provided, its value should be assumed to be http://example.com/ns/computer and the name should be a name defined by this model.

+
+
+ + Property Value + Indicates the value of the attribute, characteristic, or quality. + + + Property Class + A textual label that provides a sub-type or characterization of the + property's name. + +

This can be used to further distinguish or discriminate between the semantics of multiple properties of the same object with the same name and ns, or to group properties into categories.

+

A class can be used in validation rules to express extra constraints over named items of a specific class value. It is available for grouping, but unlike group is not expected specifically to designate any group membership as such.

+
+
+ + Property Group + An identifier for relating distinct sets of properties. + +

Different sets of properties may relate to separate contexts. Declare a group on a property to associate it with one or more other properties in a given context.

+
+
+ + + + + + A label or descriptor that is tied to a sensitivity or classification marking system. An optional class can be used to define the specific marking system used for the associated value. + + + +

A property can be included for any purpose useful to an application or implementation. Typically, properties will be used to sort, filter, select, order, and arrange content objects, to relate objects to one another, or to associate an object to class hierarchies, taxonomies, or external authorities. Thus, the lexical composition of properties may be constrained by external processes to ensure consistency.

+

Property allows for associated remarks that describe why the specific property value was applied to the containing object, or the significance of the value in the context of the containing object.

+
+