JSON field constraints
Submit your requests to define JSON field constraints through the service request form on the Support Portal.
About this task
You can define a number of constraints for the fields included in JSON objects stored in values of a specified attribute type. For example, you can require that a field value is a specific data type, specify whether a field is required or optional, or restrict values of string fields to a predefined set of values.
For additional information, see About managing JSON attribute values in the PingDirectory Server Administration Guide.
Steps
-
Complete the following fields:
-
Subject: Enter a description of your request, including the action to be taken.
-
Environment Type: Specify the type of environment affected by this request.
-
Proposed Change Window: Specify the dates or times in which you want the work complete.
-
-
In the Capability list, select PingDirectory service requests → JSON field constraints.
-
In the JSON attribute field, specify the JSON attribute for which a field will be created.
-
Select the Allow unnamed fields option if you want to allow attributes that are not explicitly defined in the constraints.
-
In the JSON field name field, specify a field name to add to the JSON attribute
-
In the Value type field, specify the value type of the JSON.
-
Select the Is required option if this field should be required.
-
In the Is array field, specify whether the field should hold an array (required), can hold an array (optional) or cannot hold an array (prohibited).
-
Select the Allow null value option if you want to allow nun values in the field.
-
Select the Allow empty object option to allow empty objects in the field.
-
Select the Index values option to create an index for this field.
-
In the Business Priority list, select the appropriate description:
-
Change needed by deadline to avoid business impact
-
Change modifies existing functionality
-
Change adds new functionality
-
-
In the Description field, enter a description of your request.
-
If you are tracking your request within your organization, enter the tracking ID or ticket number associated with it in the Customer Tracking ID field.
-
To submit your request, click Save.