This repository was archived by the owner on Jan 18, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Application data model
Steven Myers edited this page Nov 19, 2017
·
1 revision
{
"guid": "eCfJuTamHKj3BkwkEGhlfKuMTV",
"user": {
"guid": "eCfJuTamHKj3BkwkEGhlfKuMTV",
"title": "test",
"description": "test program",
"details": "this is a test. \nset test = true on form to see this in results",
"detailLinks": [
"google.com"
],
"externalLink": "google.com",
"created": 1511026108747,
"tags": [
"test"
]
},
"application": [
{
"guid": "eCfJuTamHKj3BkwkEGhlfKuMTV",
"id": "omVcQtLa8R0zNlOL6c3y4ohL7y",
"conditions": [
{
"key": {
"name": "test",
"type": "boolean"
},
"value": true
}
]
}
]
}
The application
property is an array of queries
each query
is composed by conditions
these conditions ensure that query property is in the database with the key
property. Each of these keys should be found GET http://localhost:9200/master_screener/queries/_mapping?pretty=true
. They can be thought of as foreign keys. The type property
is used to control the value property
, ie make sure that a Boolean
key is not compared against a number.