Closed xmcai2016 closed 9 months ago
Schema for the list of CIDs, Daghaus already has an idea what they want to provide for our reference: https://github.com/web3-storage/dealer/blob/main/docs/architecture.md#offer-store-schema
interface Offer {
aggregate: PieceCID
pieces: PieceCID[]
collection: string
orderID: string // optional, we may or may not want to support ordering CIDs by priority
}
Assume that the collections have already been created / established manually. Throw error if not. If they do not specify collection, add to default collection (every tenant has a default collection upon onboarding to Spade).
Drafted the schema on Notion. cc @ribasushi for feedback from Spade deal engine point of view.
talked with Riba in Iceland. updated the notion page linked above. @jcace the notion page has the upload schema that riba and I agreed on, let me know your comments!
This is complete.
ETA: 2023-11-11
We need to provide some guidance about how the csv/json needs to be structured for us to be able to ingest it.