---
schema_version: "1"
id: 6336f39c108f24587cf6d57c788f6112c4413b8440442b6202b9f9ce1515bbd6
title: Define Fields for an Object-Based Lightning Type
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/lt_object_fields.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.lt_object_fields.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3d1bd0baccb6a223585ee1fbcb3e961857ae63d7ea25cf207293b8673e48108b
description: After you create an object-based custom Lightning type, define its schema by specifying fields.
products:
  - Salesforce Platform
release: "264"
---
# Define Fields for an Object-Based Lightning Type

After you create an object-based custom Lightning type, define its schema by specifying fields.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions.</td></tr></tbody></table>

1. Open your object-based custom Lightning type.
2. Select the **Schema** tab.
3. Update the prepopulated field row with your field details.
    - **Field Name**. Enter a name for the field, for example, First Name.
    - **Data Type**. Select a data type, for example, String.
    - **Description**. Optionally, enter a description to help users understand what the field represents.
    - **Required**. Optionally, select this checkbox to make the field required.
4. To add more fields, click **Add Row** and enter the details for the new field.
5. Save your work.