{
	"$schema" : "http://json-schema.org/draft-04/schema#",
	"title" : "DataFilter",
	"type" : "object",
	"additionalProperties" : false,
	"description" : "Version v2,filter definiition for data retrive ",
	"properties" : {
		"type" : {
			"$ref" : "/resources/schema/data/api/v2/DataFilterType.json",
			"description" : "the filter type"
		},

		"params" : {
			"type" : "array",
			"description" : "Value of the filter to match.  For example to retrieve user.entity.insight for users 'user01' and 'user02', put the values 'user01' and 'user02' in this array.",
			"items" : {
				"type" : "string",
				"description" : "For simplicity and wide-range spanning, all values are treated as strings",
				"minLength" : 3
			},

			"minItems" : 1,
			"maxItems" : 20,
			"uniqueItems" : true
		}
	}
}