Properties define the metadata stored in a schema. After creating a schema, you can add properties and, for complex properties, create nested sub-properties to model your business data.
A schema consists of one or more properties. Each property defines a specific piece of metadata, such as a title, status, creation date, or customer information. Property types and configuration options determine how values are stored, validated, and searched.
To add a property to a schema:
-
Open the schema in your project.
Schema is displayed as a new tab.
-
Select the + button next to the [schema name] drop-down
menu.
The Add Property dialog box is displayed.
- Enter a name in the Name field.
-
Select the property type from the Type drop-down menu.
The following types are supported:
Property Type Description String Stores text values. Integer Stores whole numbers. Floating point Stores numeric values that can contain decimal places. Boolean Stores a true or false value. Complex Stores a group of nested sub-properties. Only one level of nested properties is supported. Date Stores date values. Blob Stores binary content, such as images, thumbnails, or other file-based data. - Optional: Enter a description in the Description field.
- Depending on the property type, you can add an optional default property value in the Default field.
-
Depending on the property type, you have the following additional property
configuration options:
Configuration Option Available For Description Multivalued All types except Complex Allows the property to store multiple values instead of a single value. Required All types except Complex Requires a value to be provided for the property. Limited length String Restricts the minimum and maximum number of characters allowed. Full text indexable String, Blob Makes the property value searchable through full-text indexing. Limited value Integer, Date Restricts the minimum and maximum allowed value. Full text indexable String, Blob Determines whether the property value is included in the repository's full-text index and can be searched. The following are available:
- Repository Default, which uses the default full-text indexing behavior configured for the repository
- Yes, which always includes the property value in the full-text index
- No, which excludes the property value from the full-text index
- When you are done configuring, select Add Property.
The property is added to the schema. Repeat the steps to add
further properties.