-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update spec according to latest changes
- Loading branch information
1 parent
6dfa677
commit cdb4098
Showing
12 changed files
with
83 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
## | ||
## Describes the specification for a Kibana knowledge base entry's manifest.yml file | ||
## | ||
spec: | ||
type: object | ||
additionalProperties: false | ||
properties: | ||
type: | ||
type: string | ||
description: > | ||
Type of the index data. | ||
enum: | ||
- knowledge_base_entry | ||
description: | ||
description: A description of what the index data provides | ||
type: string | ||
|
||
# Conditional properties. | ||
title: true | ||
index: true | ||
retrieval: true | ||
allOf: | ||
- if: | ||
properties: | ||
type: | ||
const: knowledge_base_entry | ||
required: | ||
- type | ||
then: | ||
properties: | ||
title: | ||
description: The title of the knowledge base entry as used by the knowledge base | ||
type: string | ||
index: | ||
type: object | ||
additionalProperties: false | ||
properties: | ||
system: | ||
description: Specify whether the index should be system-managed or not | ||
type: boolean | ||
required: | ||
- system | ||
retrieval: | ||
type: object | ||
additionalProperties: false | ||
properties: | ||
syntactic_fields: | ||
description: List of fields that should be used for syntactic search during retrieval. | ||
type: array | ||
items: | ||
type: string | ||
semantic_fields: | ||
description: List of fields that should be used for semantic search during retrieval. | ||
type: array | ||
items: | ||
type: string | ||
required: | ||
- syntactic_fields | ||
- semantic_fields | ||
required: | ||
- index | ||
- retrieval | ||
else: | ||
not: | ||
required: | ||
- index | ||
- retrieval | ||
required: | ||
- type |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 0 additions & 43 deletions
43
spec/content/kibana/knowledge_base_entry/manifest.spec.yml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...ana/knowledge_base_entry/foo/manifest.yml → ...nowledge_base/index_data/foo/manifest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...ana/knowledge_base_entry/foo/manifest.yml → ...nowledge_base/index_data/foo/manifest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters