Skip to main content

Schema

Upgather SDK


Upgather SDK / Schema

Class: Schema

Represents the dynamic content types of the backend.

Remarks​

This class holds a list of ContentType instances that describe the structure of the data.

Constructors​

new Schema()​

new Schema(contentTypes?): Schema

Creates an instance of Schema.

Parameters​

contentTypes?​

ContentType[]

(Optional) An array of ContentType instances.

Returns​

Schema

Properties​

contentTypes​

contentTypes: ContentType[]

A list of content types defined by the backend.