descriptor_path = document[:transitions].first[:descriptors]['name']['required']