extract building example part of schemata_example() as build_example()

it might be useful for describe some JSON examples in render command (e.g. generate JSON request body by `link['schema']['properties']` value)