Skip to main content
Version: mainnet (v0.71)

DataSourceSpec

An data source specification describes the data source data that a product (or a risk model) wants to get from the oracle engine.

type DataSourceSpec {
id: ID!
createdAt: Timestamp!
updatedAt: Timestamp
data: DataSourceDefinition!
status: DataSourceSpecStatus!
}

Fields

DataSourceSpec.id ● ID! non-null scalar

ID is a hash generated from the DataSourceSpec data.

DataSourceSpec.createdAt ● Timestamp! non-null scalar

RFC3339Nano creation date time

DataSourceSpec.updatedAt ● Timestamp scalar

RFC3339Nano last updated timestamp

DataSourceSpec.data ● DataSourceDefinition! non-null object

DataSourceSpec.status ● DataSourceSpecStatus! non-null enum

Status describes the status of the data source spec

Member of

ExternalDataSourceSpec object ● Future object