fragment OracleMarketSpecFields on Market {
  id
  state
  tradingMode
  tradableInstrument {
    instrument {
      id
      name
      code
      product {
        ... on Future {
          dataSourceSpecForSettlementData {
            id
            data {
              ...DataSourceSpec
            }
          }
          dataSourceSpecForTradingTermination {
            id
            data {
              ...DataSourceSpec
            }
          }
          dataSourceSpecBinding {
            settlementDataProperty
            tradingTerminationProperty
          }
        }
      }
    }
  }
}

query OracleMarketsSpec {
  marketsConnection {
    edges {
      node {
        ...OracleMarketSpecFields
      }
    }
  }
}
