Comments
Single-line comments for annotating documents.
Syntax
Examples
# Internet Object document: personnel records
# Address schema definition
~ $address: {street:string, zip:{string, maxLen:5}, city:string}
# Person schema definition
~ $schema: {
name:string, # individual's full name
age:int, # age in years
homeAddress?: $address, # optional home address
officeAddress?: $address # optional office address
}
---
# Personnel records
~ John Doe, 25, {Queens, "50010", NewYork}, {Bond Street, "50001", NewYork}
~ Jane Doe, 20, {Queens, "50010", NewYork}, {Bond Street, "50001", NewYork}Comment placement
Rules
Best practices
See Also
Last updated
Was this helpful?
