Remove build_definitions method

it does exactly the same thing as build_string_properties
Pass keyword args to build_schema

makes it clearer what each argument means