Skip to content

Commit e1d4dfa

Browse files
Google APIscopybara-github
authored andcommitted
docs: Clarify Properties documentation
PiperOrigin-RevId: 590321253
1 parent b70df3b commit e1d4dfa

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

google/cloud/documentai/v1/document_schema.proto

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ message DocumentSchema {
3939
// Defines properties that can be part of the entity type.
4040
message Property {
4141
// Types of occurrences of the entity type in the document. This
42-
// represents the number of instances of instances of an entity, not
43-
// number of mentions of an entity. For example, a bank statement may
44-
// only have one `account_number`, but this account number may be
45-
// mentioned in several places on the document. In this case the
46-
// 'account_number' would be considered a `REQUIRED_ONCE` entity type. If,
47-
// on the other hand, we expect a bank statement to contain the status of
48-
// multiple different accounts for the customers, the occurrence type will
49-
// be set to `REQUIRED_MULTIPLE`.
42+
// represents the number of instances of an entity, not number of mentions
43+
// of an entity. For example, a bank statement may only have one
44+
// `account_number`, but this account number may be mentioned in several
45+
// places on the document. In this case the 'account_number' would be
46+
// considered a `REQUIRED_ONCE` entity type. If, on the other hand, we
47+
// expect a bank statement to contain the status of multiple different
48+
// accounts for the customers, the occurrence type will be set to
49+
// `REQUIRED_MULTIPLE`.
5050
enum OccurrenceType {
5151
// Unspecified occurrence type.
5252
OCCURRENCE_TYPE_UNSPECIFIED = 0;

0 commit comments

Comments
 (0)