Specification: Bool (basic v1)
Profiles: basic v1
Other versions: Bool (basic v2)
The Bool data type encodes logical truth values in the basic v1 profile.
Encoding rules
- Set
_typeto"Bool". - Encode the payload under
dataas the lowercase string"true"or"false". - Treat the namespace/version table below as the profile log for this type.
Canonical Example Payload
The following payload is taken directly from the current rosetta-stone corpus.
{
"_ns": {"Oscar": ["https://github.com/oscar-system/Oscar.jl", "1.7.0"]},
"_type": "Bool",
"data": "true"
}
Documented Profiles in This Corpus
This table records the profile/version pairs currently represented by the rosetta-stone examples for this data type. Add new rows as new systems or encoding revisions are documented.
| Profile | Version | Example | Root type |
|---|---|---|---|
| Oscar | 1.7.0 |
Boolean | Bool |