Setting restrictions

When you define any item type for a schema, you can specify valid values to that type. You can define validations to the types by setting the restrictions.

Before you begin

  • You must have a group type in your schema.
  • You must have a structured view of your schema.

About this task

You can set restrictions only for item types of your schema.

Procedure

  1. Open the structure view of your schema.
  2. Click the context menu for each item type and set the required restrictions.
    You can set the following restriction rules:
    • Optional
    • Required
    • Set Range
    • Unlimited
  3. Save the changes.

    You can modify the properties of the selected item type by using Properties in the context menu.

    For information about item restrictions, see related links at the end of this page.

What to do next

You can apply functions to define component rules to any item type. You can also generate test data without applying functions. See Generating test data.