Queries (Json Schema Query Folder)

This folder under a JSON schema stores search queries whose results are then available to be used by the schema. Queries generate JSON payloads from the results of bql or neql searches. For example, a query may include a report of overridden points, active alarms, or history logs for a given point.
Figure 38.   Queries folder properties
Image

To access these properties, expand Config > JsonSchema, right-click Queries and click Views > Ax Property Sheet.

Property Value Description
Query Interval time Defines how often the schema executes its queries, which determines how up-to-date exported data are when the schema uses an Update Strategy of COV.

If multiple queries exist, each time the schema executes it runs each query in parallel.

Last Query Completed Timestamp read-only (defaults to null) Reports the time the last query completed.
Queries, queriesMaxExecutionTime (hidden property on the Queries folder) time Increases the amount of time granted to complete all queries on each cycle. Failure to complete within this time causes the schema generation to fail.