Modified:
wiki/Restrictions.wiki
Log:
Edited wiki page through web user interface.
Modified: wiki/Restrictions.wiki
==============================================================================
--- wiki/Restrictions.wiki (original)
+++ wiki/Restrictions.wiki Sat Mar 8 07:54:36 2008
@@ -12,4 +12,18 @@
* `maxCharacters` - integer holding the maximum number of characters
allowed for a string. Defaults to the maximum integer size. Lower
values are more restrictive. A character is a unicode value, which may
or may not be one byte based on the character and the encoding used.
* `pattern` - a regular expression, matching the rules given by
[http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf
ECMA 262], the ECMAScript specification. The value null indicates no
pattern is in effect, and is the default. A restriction type should use
the union of all patterns in effect up the tree, however it should be
noted that ECMA 262 does not define the regular expression intersection operator.
-_To be continued_
\ No newline at end of file
+== Numerical Restrictions ==
+
+ * minValue - lowest value (inclusive) allowed for a number. If this
number has a higher precision than the precision restriction allows,
then the minimum value can not be hit - for example, a minValue of 12.5
and precision 0 means that 13 is the smallest value allowed. Defaults
to the lowest value allowed in the processing system. Higher values are
more restrictive.
+ * maxValue - highest value (inclusive) allowed for a number. If this
number has a higher precision than the precision restriction allows,
then the maximum value can not be hit - for example, a maxValue of 12.5
and precision 0 means that 11 is the largest value allowed. Defaults to
the largest value allowed in the processing system. Lower values are
more restrictive.
+ * precision - the number of decimal places allowed in numerical
values. A common value is zero, which indicates that values must be
integers. Lower values are more restrictive.
+
+== Array Restrictions ==
+
+* minElements - minimum number of elements allowed in an array.
Defaults to zero. Higher values are more restrictive.
+* minElements - maximum number of elements allowed in an array.
Defaults to the largest value allowed in the processing system. Lower
values are more restrictive.
+* enclosedType - type of data within the array. Subtypes are more restrictive.
+
+== Object Restrictions ==
+
+* members - an [ObjectDefinition object definition]
\ No newline at end of file