Queries folder. The schema turns the queries in this folder into a string.

The example above uses the points of a BACnet device. This JSON configuration includes the Queries folder and the root object container for the schema.
By default, each schema includes a Queries folder, which comes with two properties: Query Interval (to configure how frequently to execute the query), and Last Query Completed Timestamp.
Query Interval, right-click the Queries folder, click , configure the interval, and click Save.Query Ord, and click Save.Queries folder contains a single query. It could contain additional queries.
This query searches a particular BACnet device for the name, object ID, current value and status of all points under the device.
The Last Result Size property indicates that the query finds two points.
Output Style to render the query in.

The first group of name and value pairs reports the result of the main binding query (under config). The data block at the bottom shows the result of the ad hoc query in the Queries folder. The data block displays as an object array identified by the square brackets. The array contains one object per BACnet point, in this case two objects, each inside a pair of braces.
This example could have used a relative schema. Which one to use depends on your requirements. Does your API need all data in a single JSON message or does it require one message per point? This procedure does not subscribe to the component model. It runs a bql query to populate the BITable and encodes that data. The power of bql to select data feeds into the input to the schema the same as you could feed a series transform into this schema, query the historical alarm data, or query history data.
This type of query configuration does not have to be done with device points. By “query” in this context, we mean anything that returns a BITable so you could use a transform ord, bql on the history space or neql on the component space. Any time you have something you can feed to the ReportService you can encode and output it with a schema.