masterT / bandcamp-scraper

A scraper for https://bandcamp.com
MIT License
194 stars 34 forks source link

Fix search result schema json #31

Closed JanneHarju closed 6 years ago

JanneHarju commented 6 years ago

This is started to complain about wrong schema in search result schema. Problem is with oneOf it is now #/oneOf. So #/ must be moved from child object $ref to parent like this:

"#/oneOf": [
    { "$ref": "definitions/artist" },
    { "$ref": "definitions/album" },
    { "$ref": "definitions/track" },
    { "$ref": "definitions/fan" },
    { "$ref": "definitions/label" }
  ]
masterT commented 6 years ago

Hi, thanks for the notification, I fixed it and publish a new version bandcamp-scraper@1.2.4.