Skip to content

DataSourceType

The reusable conversion contract between a domain-native input format and one or more evaluation-ready data types. Every concrete data source references one of these through its source and target pair.

idstring

Deterministic identifier of the data source type, derived as source.type:source.store.

Example:"demo:data-types:planning-assumption-reference:comm-store"
sourceobject(Source)required

The user-facing input format - a registered data type and the store it lives in. Together with target, it selects the matching data source type.

Example:
{ "store": "fdplan", "type": "production-forecast-fdplan-workbook" }
targetsArray of stringsrequired

List of evaluation data types that this source can be converted into.

Example:
[ "production-forecast" ]
editorsArray of objects or null(Editor)

List of editors defining how data source type is provided.

Example:
[ { "editorURL": "", "name": "fdplan-file-selector", "type": "Both" } ]
viewersArray of objects or null(Viewer)

List of viewers defining how data source type is viewed.

Example:
[]
transformationProviderobject(TransformationProvider)

Transformation provider defines which provider is used to process the data.

Example:
{ "name": "system" }
copyProviderobject(CopyProvider)

Copy provider defines which provider copies the data sources of this data source type. Defaults to system (FDPlan copies internally); set a custom name to delegate copying to an external worker, which then handles copy_transformation_required events. Data source types in the fdplan store can only be processed by the system worker and are not allowed to have a custom copy provider.

Example:
{ "name": "system" }
isSystemboolean

true for built-in types shipped with the platform.

Example:true
archivedboolean

true once the type is retired and should no longer be used to create new data sources.

{ "id": "production-forecast-fdplan-workbook:fdplan", "editors": [ { … } ], "isSystem": true, "source": { "store": "fdplan", "type": "production-forecast-fdplan-workbook" }, "targets": [ "production-forecast" ], "copyProvider": { "name": "system" }, "transformationProvider": { "name": "system" }, "viewers": [] }