---
title: RecordStore
framework: applenewsformat
role: symbol
role_heading: Object
path: applenewsformat/recordstore
---

# RecordStore

The object that contains JSON data for a data table.

## Declaration

```data
object RecordStore
```

## Properties

descriptors: Provides information about the data that can be in each data record. The order of the descriptors determines the order of the columns (or the rows if the table’s dataOrientation is set to horizontal.) Version 1.5 records: Provides data records that fit within the structure defined by descriptors. Each descriptor can be used only once per record. You can choose not to include all values from a given record in a data table. Only data that corresponds to a data descriptor will be included in your data table.

## Mentioned in

Defining and Using Table Styles

## Discussion

Discussion The RecordStore object uses two required properties to provide the data for a table and to specify how that data will be used in the table. Data descriptors define how the data is interpreted and how it will be displayed in the table. For each set of data, data descriptors communicate the data type, unique keys, data formats, and header labels for the table. Data records provide the actual data as a set of key-value pairs that relate to the descriptors. For example, your data descriptors might describe a table that contains stock symbols and prices; each data record could provide the symbol and price for a particular stock. This object can be used in DataTable. Example {   "components": [     {       "role": "datatable",       "showDescriptorLabels": true,       "sortBy": [         {           "descriptor": "id-name",           "direction": "descending"         }       ],       "data": {         "descriptors": [           {             "identifier": "id-name",             "key": "name",             "label": {               "type": "formatted_text",               "text": "Name"             },             "dataType": "string"           },           {             "identifier": "id-occupation",             "key": "occupation",             "label": "Occupation",             "dataType": "string"           }         ],         "records": [           {             "name": "Amelia Earhart",             "occupation": "Pilot"           },           {             "name": "Grace Hopper",             "occupation": "Computer Scientist"           }         ]       }     }   ] }

## Topics

### Objects

- [RecordStore.records](applenewsformat/recordstore/records-data.dictionary.md)

## See Also

### Tables with JSON Data

- [Adding a JSON Table](applenews/adding-a-json-table.md)
- [DataTable](applenewsformat/datatable.md)
- [DataDescriptor](applenewsformat/datadescriptor.md)
- [DataTableSorting](applenewsformat/datatablesorting.md)
- [DataFormat](applenewsformat/dataformat.md)
- [FloatDataFormat](applenewsformat/floatdataformat.md)
- [ImageDataFormat](applenewsformat/imagedataformat.md)
