Any

Property Type: any

An any property can store any user-defined object data. When defined, a json schema can be attached that will validate the
input. This is very handy for storing legacy data, rapid prototyping, and for non-access controlled adhoc data.

Property Options

NameTypeDefaultDescription
serializeDataBooleantrueIf true, property will be serialized and stored as a string. Note, when serialized, property cannot be used in query or aggregation.
maxSizeInteger0The maximum object size in bytes. Set to 0 for no maximum size.

Base property options not available:

  • array
  • uniqueValues
  • indexed
  • unique

Property Validators

Required
name: required

JSON Schema
name: json
defintion:

OptionTypeDescription
schemaJSON SchemaA valid JSON Schema for validating the input against. See http://json-schema.org/examples.html for examples.