summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2025-09-09 22:39:10 -0400
committerpommicket <pommicket@gmail.com>2025-09-09 22:39:10 -0400
commit7539affac22f5aa1275b62fa9dc42043d8762795 (patch)
tree441824a2ea6eec8676d28ac7c66d284f7607ab6d
parentfa15fef8804373124b623b2265eb7588f25e9f16 (diff)
Allow Any as alias of String
-rw-r--r--site/spec.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/site/spec.html b/site/spec.html
index fdd3fed..f5cb5e2 100644
--- a/site/spec.html
+++ b/site/spec.html
@@ -455,19 +455,19 @@ The value of the <code>type</code> rule for vehicle.car.id is String,
for vehicle.truck.id is UInt,
for my.truck.id is Float,
for my.car.id is Int,
-and for my.nephews.car.id is String (no schema key matches, so the default of String is used).
+and for my.nephews.car.id is Any (no schema key matches, so the default is used).
</p>
<h3><code>type</code> rule</h3>
<p>
- Default: <code>String</code>.
+ Default: <code>Any</code>.
</p>
<p>
This describes what values a key is allowed to be associated with.
The following types are defined:
</p>
<ul>
- <li><code>String</code> — accepts any value</li>
+ <li><code>Any</code> or <code>String</code> — accepts any value</li>
<li><code>None</code> — accepts an unset value (special—see below)</li>
<li><code>Empty</code> — accepts an empty value (equivalent to <code>''</code>)</li>
<li>