Schema.type

An instance validates successfully against this keyword if its value is equal to one of the elements in this keyword's array value.

class Schema
@optional
SchemaType type;

Meta