/// <summary> /// Initializes a new instance of the <see cref="Schema" /> class. /// </summary> /// <param name="type">The type.</param> /// <param name="depth">The max-depth the serializer should traverse down the object tree.</param> public Schema(Type type, int depth = DEFAULT_DEPTH) { AddRange(MockarooConvert.ConvertToSchema(type, 2)); }