Hi All ,
Can some one help me to understand the createTraitDefinition attribute properties.
Is attribute properties are fixed or Can we add a custom property to attribute i.e like the below examples custom1,custom2, custom3 ?
Swagger API : https://developer.opentext.com/services/products/content-metadata-service/apis/content-metadata#Trait/createTraitDefinition
Example :
"attributes": [
{
"default_value": "",
"data_type": "string",
"read_only": false,
"repeating": false,
"required": false,
"searchable": true,
"sortable": false,
"visible": true,
"unique": false,
"presentation_type": "TextArea",
"custom1":"",
"custom2":"",
"custom":[],
"flow": "new",
"display_name": "bbtarea4",
"display_name_multilingual": {
"en": "bbtarea4"
},
"id": null,
"name": "bbtarea4",
"size": 2000,
"custom_sequence": 1,
"localizable": true,
"url": "/trait-definitions/bbt4/attributes",
"validators": [
{
"type": "length_validator",
"operation": "Create",
"params": [
{
"name": "min",
"value": "1"
}
]
}
]
}
]