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

Name

Type

Default

Description

serializeData

Boolean

true

If true, property will be serialized and stored as a string. Note, when serialized, property cannot be used in query or aggregation.

maxSize

Integer

0

The 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:

Option

Type

Description

schema

JSON Schema

A valid JSON Schema for validating the input against. See http://json-schema.org/learn/ for examples.

Last updated