Description
I'd ask about xsd:strings and xsd:double too, but I'm not even sure if their definitions in ECMAScript are equivalent to the XSD ones.
3.3.2.1 Value Space
boolean has the ·value space· of two-valued logic: {true, false}.
6.1.3The Boolean Type
The Boolean type represents a logical entity having two values, called true and false.
The value space
is the union of the four primitive types (strings, numbers, booleans, and null) and two structured types (objects and arrays) from [ECMASCRIPT]. Two JSON values A and B are considered equal if and only if the following is true:
- If A and B are both objects, (...)
- Otherwise, if A and B are both arrays, (...)
- Otherwise, if A and B satisfy the Strict Equality Comparison defined in Section 7.2.15 in [ECMASCRIPT].
- Otherwise, A and B are not equal.
If I were to guess, I'd guess they are disjoint, because that would be similar to the handling of xsd:hexBinary and xsd:base64binary. On the other hand - the definitions look equal, and nothing says explicitely that they should be disjoint.