Add nestDepth to the schema