The metadata form configuration of a Media Shuttle portal, as returned by getPortalMetadataForms.

Describes whether the portal collects metadata on upload and, if so, how the metadata form is defined.

Hierarchy

  • PortalMetadataForms

Properties

enabled: boolean

True if metadata collection is enabled for the portal.

formStyle: "JSON" | "WEB"

How the portal's metadata form is defined.

  • JSON: the form is described by a form definition referenced by jsonFormConfig.
  • WEB: the portal uses a web form. No form definition is available through the SDK for this style.
jsonFormConfig: {
    formDefinitionId: string;
}

Configuration of the JSON metadata form. Only applicable when formStyle is JSON.

Type declaration

Generated using TypeDoc