Simple Attribute

The Simple Attribute is designed to capture and represent a single stand-alone attribute within an entity or relationship.

The simple attribute type is the only Reltio attribute type that can and must be further defined as a data type, described in the following table. Other Reltio attributes (Nested, Reference, and Analytic) are composed of collections of the Simple attribute or Nested attribute.

Table 1. Simple Attribute Data Types
Data Type of Simple Attribute Description Supported Format Additional Information
String This can be any text.   Length of the value is limited by the option maxAttributeValueSize in the physical configuration, where the default maximum value is 10240.
Int, Integer, Long, Dollar All these types are considered by the Reltio platform as Long java type.    
Number Number supports any value that can be parsed to Double and Long java objects such as (Long.parseLong(value) or Double.parseDouble(value);).    
Float, Double This can be any value that can be parsed to the Double java object (Double.parseDouble(value);).    
Boolean This can be any value that can be parsed to the Boolean java object (Boolean.parseBoolean(value);) . The possible values considered as true or false. Look at the possible values for Java type Boolean (java/lang/Boolean.java).
Date, Time, Timestamp Date is a different type. Following are the supported Date formats:
  • yyyy-MM-dd
  • MM/dd/YYYY
  • MM.dd.YYYY
  • MM-dd-YYYY
  • YYYY/MM/dd
  • YYYY-MM-dd
  • YYYY.MM.dd
  • YYYYMMdd
Supports the Time format but does not consider extra information such as hours and minutes.
Time and Timestamp are the same types. Following are the supported Time and Timestamp formats:
  • YYYY-MM-dd'T'HH:mm:ss.SSSZ
  • yyyy-MM-dd'T'HH:mm:ssZZ
  • yyyy-MM-dd'T'HH:mm:ss.SSSZZ
  • MM/dd/YYYY HH.mm
  • MM.dd.YYYY HH.mm
  • MM-dd-YYYY HH.mm
Supports the Date format but the missing information such as hours and minutes are filled in by zeros.
Blob Any text can be entered in a blob. As the value represents binary data, the same text cannot be used for searching. You can store a multiline text data in this type of attributes.  

For more information, refer to the Knowledge Base Article.

URL, Blog URL, Image URL This can be any text and is wrapped if needed. It is displayed as a link on the Hub.    

Reltio platform does not allow you to define a custom format for the time and date values, but supports various formats for attributes of the specified types as explained in the above table.

Examples of Attributes Filled by Template

Timestamp

The timestamp in the business configuration is as follows:

...{
    "label": "DeliveryTime",
    "name": "DeliveryTime",
    "description": "",
    "type": "Timestamp",
    "hidden": false,
    "important": false,
    "system": false,
    "required": false,
    "searchable": true,
    "attributeOrdering": {
        "orderType": "ASC",
        "orderingStrategy": "LUD"
    },
    "uri": "configuration/entityTypes/Package/attributes/DeliveryTime",
    "skipInDataAccess": false
}...

The possible formats of the timestamp attribute in a request are as follows:

[
    {
        "attributes": {
            "DeliveryTime": [
                  {
                    "value": "2015-04-29T10:15:00.500+0000"
                  },
                  {
                    "value": "2015-04-29T10:16:00+00:00"
                },
                {
                    "value": "2015-04-29T10:17:00.500+00:00"
                },
                {
                    "value": "04/29/2015 10.18"
                },
                {
                    "value": "04.29.2015 10.19"
                },
                {
                    "value": "04-29-2015 10.20"
                },
                {
                    "value": "1601547609000"
                }
            ]
        },
        "type": "configuration/entityTypes/Package",
        "crosswalks": [
            {
                "type": "configuration/sources/HMS",
                "value": "pack01"
            }
        ]
    }
]

In the response, the values are converted to one format as follows:

... "attributes": {
        "DeliveryTime": [
            {
                "type": "configuration/entityTypes/Package/attributes/DeliveryTime",
                "ov": true,
                "value": "2015-04-29T10:18:00.000+0000",
                "uri": "entities/l4KNI1t/attributes/DeliveryTime/27ruofPRB"
            },
            {
                "type": "configuration/entityTypes/Package/attributes/DeliveryTime",
                "ov": true,
                "value": "2015-04-29T10:17:00.500+0000",
                "uri": "entities/l4KNI1t/attributes/DeliveryTime/27ruofLAv"
            },
            {
                "type": "configuration/entityTypes/Package/attributes/DeliveryTime",
                "ov": true,
                "value": "2015-04-29T10:16:00.000+0000",
                "uri": "entities/l4KNI1t/attributes/DeliveryTime/27ruofGuf"
            },
            {
                "type": "configuration/entityTypes/Package/attributes/DeliveryTime",
                "ov": true,
                "value": "2020-10-01T10:20:09.000+0000",
                "uri": "entities/l4KNI1t/attributes/DeliveryTime/27ruofXxh"
            },
            {
                "type": "configuration/entityTypes/Package/attributes/DeliveryTime",
                "ov": true,
                "value": "2015-04-29T10:19:00.000+0000",
                "uri": "entities/l4KNI1t/attributes/DeliveryTime/27ruofThR"
            },
            {
                "type": "configuration/entityTypes/Package/attributes/DeliveryTime",
                "ov": true,
                "value": "2015-04-29T10:15:00.500+0000",
                "uri": "entities/l4KNI1t/attributes/DeliveryTime/27ruofCeP"
            },
            {
                "type": "configuration/entityTypes/Package/attributes/DeliveryTime",
                "ov": true,
                "value": "2015-04-29T10:20:00.000+0000",
                "uri": "entities/l4KNI1t/attributes/DeliveryTime/1CiSgOvkQ"
            }
        ]
    },...

Date

The possible formats of the date attribute in a request are as follows:

[
    {
        "attributes": {
            "DeliveryDate": [
                {
                    "value": "2015-04-10"
                },
                {
                    "value": "04/11/2015"
                },
                {
                    "value": "04.12.2015"
                },
                {
                    "value": "04-13-2015"
                },
                {
                    "value": "2015/04/14"
                },
                {
                    "value": "2015-04-15"
                },
                {
                    "value": "2015.04.16"
                },
                {
                    "value": "20150417"
                }
            ]
        },
        "type": "configuration/entityTypes/Package",
        "crosswalks": [
            {
                "type": "configuration/sources/HMS",
                "value": "pack02"
            }
        ]
    }
]

In the response, the values are converted to one format as follows:

..."DeliveryDate": [
        {
            "type": "configuration/entityTypes/Package/attributes/DeliveryDate",
            "ov": true,
            "value": "2015-04-17",
            "uri": "entities/1MDULiDj/attributes/DeliveryDate/2UUBjKj2R"
        },
        {
            "type": "configuration/entityTypes/Package/attributes/DeliveryDate",
            "ov": true,
            "value": "2015-04-16",
            "uri": "entities/1MDULiDj/attributes/DeliveryDate/2UUBjKemB"
        },
        {
            "type": "configuration/entityTypes/Package/attributes/DeliveryDate",
            "ov": true,
            "value": "2015-04-15",
            "uri": "entities/1MDULiDj/attributes/DeliveryDate/2UUBjKaVv"
        },
        {
            "type": "configuration/entityTypes/Package/attributes/DeliveryDate",
            "ov": true,
            "value": "2015-04-14",
            "uri": "entities/1MDULiDj/attributes/DeliveryDate/2UUBjKWFf"
        },
        {
            "type": "configuration/entityTypes/Package/attributes/DeliveryDate",
            "ov": true,
            "value": "2015-04-13",
            "uri": "entities/1MDULiDj/attributes/DeliveryDate/2UUBjKRzP"
        },
        {
            "type": "configuration/entityTypes/Package/attributes/DeliveryDate",
            "ov": true,
            "value": "2015-04-12",
            "uri": "entities/1MDULiDj/attributes/DeliveryDate/2UUBjKNj9"
        },
        {
            "type": "configuration/entityTypes/Package/attributes/DeliveryDate",
            "ov": true,
            "value": "2015-04-11",
            "uri": "entities/1MDULiDj/attributes/DeliveryDate/2UUBjKJSt"
        },
        {
            "type": "configuration/entityTypes/Package/attributes/DeliveryDate",
            "ov": true,
            "value": "2015-04-10",
            "uri": "entities/1MDULiDj/attributes/DeliveryDate/2UUBjKFCd"
        }
    ]
},...