# Seed-Data Stub Examples
Input/output examples showing gold file analysis and the resulting seed-data stubs.
---
## Example 1: Formula Field with Date and Picklist Dependencies
**Gold file**: `gold/objects/Contract/fields/Payment_Overdue__c.field-meta.xml`
```xml
Payment_Overdue__cTextIF(AND(Payment_Due_Date__c < TODAY(), ISPICKVAL(Payment_Status__c, "UNPAID")), "PAYMENT OVERDUE", null)BlankAsZero20
```
**Analysis**: Formula references `Payment_Due_Date__c` (Date) and `Payment_Status__c`
(Picklist with value `UNPAID`).
**Generated stubs**:
`seed-data/objects/Contract/fields/Payment_Due_Date__c.field-meta.xml`:
```xml
Payment_Due_Date__cDate
```
`seed-data/objects/Contract/fields/Payment_Status__c.field-meta.xml`:
```xml
Payment_Status__cPicklistUNPAID
```
Only `UNPAID` is included — no other values.
---
## Example 2: Flow Referencing Custom Objects
**Gold file**: A Flow XML that triggers on `Adoption__c` record creation and references
a Lookup to `Animal__c`.
**Generated stubs**:
`seed-data/objects/Adoption__c/Adoption__c.object-meta.xml`:
```xml
DeployedTextAdoptionsReadWrite
```
`seed-data/objects/Animal__c/Animal__c.object-meta.xml`:
```xml
DeployedTextAnimalsReadWrite
```
`seed-data/objects/Adoption__c/fields/Animal__c.field-meta.xml`:
```xml
Animal__cLookupAnimal__cAdoptions
```
---
## Example 3: Apex Class with Parent Class Dependency
**Gold file**: `gold/classes/OrderProcessor.cls` extends `BaseProcessor`.
**Generated stubs**:
`seed-data/classes/BaseProcessor.cls`:
```java
public abstract class BaseProcessor {
}
```
`seed-data/classes/BaseProcessor.cls-meta.xml`:
```xml
62.0Active
```
Empty stub — no method bodies or implementations.