diff options
-rw-r--r-- | site/spec.html | 6 |
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> |