Developer data platform
Enterprise software and support
Free software used by millions
Build faster
By Industry
By Use Case
Developer Data Platform
Innovate fast at scale with a unified developer experience
White Papers & Presentations
Webinars, white papers, data sheet and more
Community
Education
About
Services
Partnerships
Docs Home → Realm
On this page
To mark a property as optional, append a question mark ? to its type.
?
The following schema defines a DogSchema with the optional property breed of type string.
breed
string
const DogSchema = { name: "Dog", properties: { breed: "string?" }};