# Automatic Record Metadata

These instructions apply to the legacy Admin Console.

As you design your Object Type Data Schema, keep in mind that there are several things that are automatically generated, stored, and kept up to date as metadata for a record, so you can conveniently use these values throughout your solution and don't need to include them in the Data Schema itself.

* `createdAt`: ISO 8601 date and time
* `updatedAt`: ISO 8601 date and time
* `hash`: using all Record details that are not in `_metaData`, this unique 64-character alphanumeric value is updated with every modification of a Record and can be used in your solution for version control, change validation, and concurrency control (only the version of the record you expect to be updated, is updated), and other purposes
* `schema`: identifier for the Object Type Data Schema
* `type`: for Object Types that you create in Contextual, always "custom"
* `secrets`: an array of paths to stored secret properties, including nested properties and array entries; see [Secrets](https://docs.contextual.io/legacy/components-and-data/object-types/object-type-details/data-schema/secret.md) for response and decryption behavior

{% code title="Record Metadata Example" lineNumbers="true" %}
```json
"_metaData": {
  "createdAt": "2024-05-09T14:22:50.588Z",
  "hash": "894ab5c5bc0f03daca18bfc835d8fbf4ca315842f24d7d696b5b436222aa5eed",
  "id": "87111",
  "schema": "native-object:zipcodes",
  "type": "custom",
  "updatedAt": "2024-05-09T14:22:50.588Z",
  "secrets": []
}
```
{% endcode %}
