masterT / bandcamp-scraper

A scraper for https://bandcamp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix search result schema json

JanneHarju opened this issue · comments

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" }
  ]

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