public JsonSchemaWriter(JsonWriter writer, JsonSchemaResolver resolver)
 {
     ValidationUtils.ArgumentNotNull(writer, nameof(writer));
     _writer   = writer;
     _resolver = resolver;
 }
 public JsonSchemaBuilder(JsonSchemaResolver resolver)
 {
     _stack           = new List <JsonSchema>();
     _documentSchemas = new Dictionary <string, JsonSchema>();
     _resolver        = resolver;
 }