diff --git a/specs/search/common/enums.yml b/specs/search/common/enums.yml index f7360d4d00..2007c32bfd 100644 --- a/specs/search/common/enums.yml +++ b/specs/search/common/enums.yml @@ -28,6 +28,11 @@ dictionaryEntryState: default: enabled description: Whether a dictionary entry is active. +dictionaryEntryType: + type: string + enum: [custom, standard] + description: Whether a dictionary entry is provided by Algolia (standard), or has been added by you (custom). + logType: type: string enum: [all, query, build, error] diff --git a/specs/search/paths/dictionaries/common/schemas/SearchDictionaryEntriesResponse.yml b/specs/search/paths/dictionaries/common/schemas/SearchDictionaryEntriesResponse.yml index b27786aeac..a22f716148 100644 --- a/specs/search/paths/dictionaries/common/schemas/SearchDictionaryEntriesResponse.yml +++ b/specs/search/paths/dictionaries/common/schemas/SearchDictionaryEntriesResponse.yml @@ -52,3 +52,5 @@ dictionaryEntry: type: string state: $ref: '../../../../common/enums.yml#/dictionaryEntryState' + type: + $ref: '../../../../common/enums.yml#/dictionaryEntryType'