Function Schema.getTypes

If this is a union, returns its types.

const(Schema[]) getTypes() @safe const;