Skip to main content

Common Object Data

Contextal Platform always performs a basic data collection for the input data before it gets passed to a dedicated data processor (backend). The common data is available for all input objects, and below is an example of such data:

{
"org": "ctx",
"object_id": "913a1df70747761ab30275c93488889fa0750f5e691b4a198c9518425f676809",
"object_type": "Image",
"object_subtype": "PNG",
"recursion_level": 5,
"size": 269781,
"hashes": {
"md5": "46ee069afcce4624999439273e121a49",
"sha1": "22551aa0385e653a92141ab991a926734d2ddee5",
"sha512": "e1e40f3a70eeede570b4b89a3a21c0a6dcfc3fc1b53a6a4a38c7cbf13867c0e95222f9bab06d51f1b59e578bf2e89a370227c3e52250c780bf3581764428dc97",
"sha256": "913a1df70747761ab30275c93488889fa0750f5e691b4a198c9518425f676809"
},
"ctime": 1724667831.143179,
}

where the fields are:

  • org → custom organization string set by the client
  • object_id → ID of the object in the database (sha256 of its data)
  • object_type → data type recognized by the platform
  • object_subtype → in some cases, such as graphics, the platform provides additional details about the data format, but subtype is not guaranteed to be set
  • recursion_level → the level in the graph the object is located at (1 for the root object)
  • size → size of the raw object data
  • hashes → calculated hashes of the object data
  • ctime → timestamp of the object set by the platform