With Lightning Types, you can define the data structures that drive custom components and structure Agentforce responses. Use these types to customize user interfaces in Agentforce and other supported Salesforce applications for consistent, platform-wide interactions.
- Define Object-Based Custom Lightning Types with JSON Schemas
Create LightningTypeBundle metadata to define data structures by using JSON Schema. Build flexible, object-based types for use in Experience Builder, Prompt Builder, and other supported Salesforce applications. Define schemas directly in the metadata to simplify development and deployment. - Create Object-Based Custom Lightning Types in Setup
Use the Object option in Setup to define a JSON object structure so that you can create custom Lightning types. Build flexible types for use in Experience Builder, Prompt Builder, and other supported Salesforce applications. Optimize your configuration workflow by manually defining schemas to deliver solutions faster.