FieldType

data class FieldType(val name: String, val fullName: String, val normalizedName: String, val commonType: CommonFieldType?)

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JsonObject)
constructor(name: String, fullName: String, normalizedName: String, commonType: CommonFieldType?)

Properties

Link copied to clipboard

Optional common field type. Commonly occurring fields that have the same semantic meaning in different document types will often have a set common type.

Link copied to clipboard

Unique global field type name prefixed with the document types of all containing documents.

Link copied to clipboard

Local field type name scoped to the containing document type.

Link copied to clipboard

Normalized global field type name. Fields in document types derived from the same base document type in the schema will have the same normalized name.

Functions

Link copied to clipboard
fun toJson(): JsonObject