1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00
market/src/models/Asset.ts
2020-05-13 20:34:47 +03:00

40 lines
790 B
TypeScript

import { MetaDataDexFreight } from '../@types/MetaData'
const AssetModel: MetaDataDexFreight = {
// OEP-8 Attributes
// https://github.com/oceanprotocol/OEPs/tree/master/8
main: {
type: 'dataset',
name: '',
dateCreated: '',
author: '',
license: '',
price: '0',
files: []
},
additionalInformation: {
description: '',
copyrightHolder: '',
categories: [''],
tags: undefined,
// links: [],
// custom items
deliveryType: 'files',
termsAndConditions: false,
dateRange: undefined,
granularity: undefined,
supportName: undefined,
supportEmail: undefined,
access: 'Download'
},
curation: {
rating: 0,
numVotes: 0,
schema: '5-star voting',
isListed: true
}
}
export default AssetModel