diff options
author | Daniel Silverthorn <daniel.silverthorn@amdocs.com> | 2017-05-04 13:08:13 -0400 |
---|---|---|
committer | Daniel Silverthorn <daniel.silverthorn@amdocs.com> | 2017-05-09 12:05:00 -0400 |
commit | c75a08a749718fc5ef25f8c2f826939be657c0bf (patch) | |
tree | e2a2e29f8ebc54f6e2eeac6df63d8ca2189d39a0 /src/main/resources/json/schema/document-field.schema.json | |
parent | 30b899f10fb4fe638a973061bad6f8ba87003494 (diff) |
Initial search service commit
Changing common logging dep
Change-Id: I454697a9df0ee63f43d7b7d2a3818fe2d9b7bcf2
Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
Diffstat (limited to 'src/main/resources/json/schema/document-field.schema.json')
-rw-r--r-- | src/main/resources/json/schema/document-field.schema.json | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/main/resources/json/schema/document-field.schema.json b/src/main/resources/json/schema/document-field.schema.json new file mode 100644 index 0000000..2b79256 --- /dev/null +++ b/src/main/resources/json/schema/document-field.schema.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Document Field Schema", + "description": "Describes the structure of a document field for storage in a document store.", + "type": "object", + "javaType": "org.openecomp.sa.rest.DocumentFieldSchema", + "properties": { + "name": { + "type": "string" + }, + "data-type": { + "type": "string" + }, + "format": { + "type": "string" + }, + "searchable": { + "type": "boolean" + }, + "search-analyzer": { + "type": "string" + }, + "index-analyzer": { + "type": "string" + }, + "sub-fields": { + "type": "array", + "items": { + "$ref": "document-field.schema.json" + } + } + }, + "required": [ + "name", + "data-type" + ] +}
\ No newline at end of file |