---
title: Adding value settings to an attribute
description: Define the attribute's data type and an optional default value for the attribute.
component: pingone
page_id: pingone:authorization_using_pingone_authorize:p1_az_adding_value_settings_to_attributes
canonical_url: https://docs.pingidentity.com/pingone/authorization_using_pingone_authorize/p1_az_adding_value_settings_to_attributes.html
revdate: May 15, 2024
section_ids:
  before-you-begin: Before you begin
  steps: Steps
---

# Adding value settings to an attribute

Define the attribute's data type and an optional default value for the attribute.

## Before you begin

[Add an attribute](p1_az_adding_attributes.html) and configure the attribute's general settings.

## Steps

1. **Optional:** In the **Value Settings** section, select the **Default value** check box, and then enter a default value.

   This provides the attribute with a value when it can't otherwise be resolved.

   ![Screen capture showing the Default Value check box, the default value field, and the Type field in attribute Value Settings.](_images/ddk1677111758594.png)

2. To constrain the set of allowable values for the attribute, select a data **Type**.

   For details, see [Value settings](p1_az_value_settings.html).

3. **Optional:** If the data type is **JSON**, enter a valid **JSON Schema**.

   ![Screen capture showing an example JSON schema in attribute Value Settings.](_images/luv1677112009290.png)

   |   |                                                                                      |
   | - | ------------------------------------------------------------------------------------ |
   |   | You can [generate attributes](p1_az_generating_attributes.html) based on the schema. |
