extract_model_spec function

Extract A Model Specification