DATAMONGO-1891 - Polishing.

Tweaked wording.

Original pull request: #542.
This commit is contained in:
Mark Paluch
2018-03-21 16:01:01 +01:00
parent ee8436880b
commit 309148dd64

View File

@@ -1547,8 +1547,9 @@ MongoJsonSchema.builder() <1>
<4> Build the schema object. Use the schema to either create a collection or <<mongodb-template-query.criteria,query documents>>.
====
There are already some predefined strongly typed `JsonSchemaObject` and `JsonSchemaProperty` available via static methods on the gateway interfaces.
However there may arise the need to build custom property validation rules which can be done via builder API.
There are already some predefined and strongly typed schema objects (`JsonSchemaObject` and `JsonSchemaProperty`) available
via static methods on the gateway interfaces.
However there may arise the need to build custom property validation rules which can be created via builder API.
[source,java]
----