| { |
| "$schema": "http://json-schema.org/draft-03/schema", |
| "$license": [ |
| "http://www.apache.org/licenses/LICENSE-2.0" |
| ], |
| "id": "#", |
| "type": "object", |
| "javaType" : "org.apache.streams.elasticsearch.ElasticsearchReaderConfiguration", |
| "extends": {"$ref":"ElasticsearchConfiguration.json"}, |
| "javaInterfaces": ["java.io.Serializable"], |
| "properties": { |
| "indexes": { |
| "type": "array", |
| "items": { |
| "type": "string" |
| }, |
| "description": "Indexes to read from" |
| }, |
| "types": { |
| "type": "array", |
| "items": { |
| "type": "string" |
| }, |
| "description": "Types to read from" |
| }, |
| "scrollTimeout": { |
| "type": "string", |
| "description": "Scroll Timeout (JodaTime)" |
| }, |
| "_search": { |
| "type": "object", |
| "existingJavaType" : "java.util.Map", |
| "description": "Search definition" |
| } |
| } |
| } |