def METHOD_NAME(model_id):
    model = get_specs(MODELS).get(model_id)
    if not model:
        abort(404)
    model = json.loads(model['schema'])
    return render_template(MODEL_DOC_TEMPLATE, model_id=model_id, model=model)