@neume-network/schema
Version:
A JSON schema for music.
87 lines (56 loc) • 2.32 kB
Markdown
# Changelog
## 0.9.0
- (breaking changes) Add array `track.er721.tokens` with the following fields
and requirements:
- Move `track.erc721.tokenId` to `track.erc721.tokens[n].id`
- Move `track.erc721.tokenURI` to `track.erc721.tokens[n].uri`
- Add and require `track.erc721.tokens[n].minting` object containing
`minting.transactionHash` and `minting.from`.
- Add `track.artist.address` as a non-mandatory field
## 0.8.1
- Add `headers` prop to ipfs and arweave message
## 0.8.0
- Add `arweave` extraction worker message.
- (breaking) `https.options.url` must now be `format: uri` and start with
`https://`.
- (breaking) `graphql.options.url` must now be `format: uri` and start with
`https://`.
- (breaking) `jsonrpc.options.url` must now be `format: uri` and start with
`https://`.
- (breaking) `ipfs.options.url` must now be `format: uri`.
- (breaking) `ipfs.options.gateway` must now be `format: uri`.
- (breaking) `manifestations[0].mimetype.type` must now be `string`.
## 0.7.1
- Stop validating `transformer.args` and `extractor.args` as it isn't possible
without triggering excessive warning logs from AJV.
- Remove false usage of `oneOf` in `track.erc721.createdAt`.
## 0.7.0
- (breaking) For all extraction worker messages, the properties `results` and
`error` are now optional but they can't be `null`ed anymore.
## 0.6.1
- Add IPFS message schema type
## 0.6.0
- (breaking) In track schema, require at least one manifestation to be present
where `mimetype` contains the keyword `audio` to ensure that any track always
has an audio file included.
## 0.5.1
- The `crawlPath`'s `transformer` property now allows passing a list of
arguments.
## 0.5.0
- (breaking): `config` schema now requires mandatory property
`queue.options.concurrent` of type `integer`.
## 0.4.0
- (breaking): `erc721.owner` must be a Ethereum-compatible address
- Package exports `crawlPath` schema, thx @il3ven
## 0.3.1
- Adds `config` object that allows to define `endpoints` for timeout and
rate-limiting control.
## 0.3.0
- (breaking) Require `track.erc721.createdAt` as e.g. the Ethereum block number
a song was registered on-chain.
## 0.2.0
- Re-release under `@neume-network/schema`
## 0.1.0
- Add mandatory field: `track.erc721.tokenURI`
## 0.0.1
- Initial release