apply schema type