JsonSchemaService (Json Schema Service)

This service supports JSON functionality and provides some station global filtering.
Figure 44.   JsonSchemaService properties
Image

You access these properties by double-clicking the JsonSchemaService under the Config > Services folder in the Nav tree.

In addition to the standard properties (Status, Fault Cause, and Enabled), the following properties are unique to the JsonSchemaService:

Property Value Description
Run As User text Specifies the user account to assume in the event that a router processes an incoming change. This is mandatory when using the SetPointHandler, for example, so that the framework can limit any changes triggered by a cloud platform to areas where the platform should have write access within the station. This setting is also optionally used for JSON schema export data.

This property is important for security. Only a super user can configure it. The framework requires it for incoming data used to update a SetPointHandler. The set operation succeeds only if a real user with operator-write permission on the slot issues the incoming JSON.

This property is optional when exporting JSON with a schema. When set, the data value of the exported slot defaults to an empty string unless Run As User is a real user with operator-read permission on the slot.

S M A Expiration Monitor additional properties Configures a reminder of when the framework Software Maintenance Agreement is about to expire.
Global Cov Slot Filter Additional properties Provides some station global filtering by identifying which slots should be ignored when subscribed to bound values. The default list of slots includes a good example of why this function is necessary in that changes to a component’s wsAnnotation property (which details the position and size of a component glyph on the Wire Sheet), should generally be excluded from the changes of value reported to any upstream consumer of data.