---
title: SourceSchemaFunction
slug: data-platform/connect-platform/app-sdk-api-reference-classes-sourceschemafunction
createdAt: 2026-08-05T20:06:38.318Z
---

[OCP App SDK](docId\:gxEU_0AA37IEZJK-uoVcT)

***

[OCP App SDK](docId\:gxEU_0AA37IEZJK-uoVcT) / SourceSchemaFunction

# Class: `abstract` SourceSchemaFunction

Defined in: [src/app/SourceSchemaFunction.ts:7](https://github.com/ZaiusInc/app-sdk/blob/8c7209817facb226c91abb960e6d54a7692b9aa2/src/app/SourceSchemaFunction.ts#L7)

## Constructors

### Constructor

:::BlockQuote
**new SourceSchemaFunction**(`config`): `SourceSchemaFunction`
:::

Defined in: [src/app/SourceSchemaFunction.ts:10](https://github.com/ZaiusInc/app-sdk/blob/8c7209817facb226c91abb960e6d54a7692b9aa2/src/app/SourceSchemaFunction.ts#L10)

### Parameters

### config

[`` `SourceSchemaFunctionConfig` ``](docId\:LSLZjwdcY1Ew0aJHg2YUS)

### Returns

`SourceSchemaFunction`

## Properties

### config

:::BlockQuote
`protected` **config**: [`` `SourceSchemaFunctionConfig` ``](docId\:LSLZjwdcY1Ew0aJHg2YUS)
:::

Defined in: [src/app/SourceSchemaFunction.ts:8](https://github.com/ZaiusInc/app-sdk/blob/8c7209817facb226c91abb960e6d54a7692b9aa2/src/app/SourceSchemaFunction.ts#L8)

## Methods

### getSourcesSchema()

:::BlockQuote
`abstract` **getSourcesSchema**(): `Promise`\<[`` `SourceSchema` ``](docId\:wDxo71PndyEn63d31V0F5)>
:::

Defined in: [src/app/SourceSchemaFunction.ts:14](https://github.com/ZaiusInc/app-sdk/blob/8c7209817facb226c91abb960e6d54a7692b9aa2/src/app/SourceSchemaFunction.ts#L14)

### Returns

`Promise`\<[`` `SourceSchema` ``](docId\:wDxo71PndyEn63d31V0F5)>
