originbyte

docs/schema

Schema

Project

FieldTypeDescription
projectIDUIDUnique identifier of the project and acts as primary key
nameStringProject name alias
projectOwnerAddressThe active address
packageIDAddressThe address of the published package
publisherObjectIDArray of all publisher objects created for a collection. (TODO: Explore if we should start off with simple Address, what does this mean for future compatibility?
upgradeCapAddressAddress of the object that is used to upgrade the package

NFT Types

FieldTypeDescription
typeIDUID
projectIDUIDActs as foreign key
typeNameStringThe type name of the struct
adminObjectsDictionary
collectionObjectsDictionary

Admin Objects

FieldTypeDescription
typeIDUIDForeign key
mintCapsArray[ObjectID]
transferPolicyCapObjectID
withdrawPolicyCapObjectID
borrowPolicyCapObjectID

Collection Objects

FieldTypeDescription
typeIDUIDForeign key
collectionObjectID
royaltyBPSObjectID
allowlistsArray[ObjectID]
listingObjectID
warehousesArray[ObjectID]
venuesArray[ObjectID]
transferPolicyObjectID
withdrawPolicyObjectID
borrowPolicyObjectID