{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "definitions": {
        "tag": {
            "additionalProperties": false,
            "properties": {
                "name": {
                    "type": "string"
                }
            },
            "required": [
                "name"
            ],
            "type": "object"
        },
        "track": {
            "additionalProperties": false,
            "properties": {
                "duration": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "url": {
                    "_format": "uri",
                    "type": "string"
                }
            },
            "required": [
                "name"
            ],
            "type": "object"
        }
    },
    "description": "The JSON schema that matches album info.",
    "id": "https://mastert.github.io/bandcamp-scraper/schemas/album-info.json",
    "properties": {
        "artist": {
            "type": "string"
        },
        "imageUrl": {
            "_format": "uri",
            "type": "string"
        },
        "raw": {
            "type": "object"
        },
        "tags": {
            "items": {
                "$ref": "#/definitions/tag"
            },
            "type": "array"
        },
        "title": {
            "type": "string"
        },
        "tracks": {
            "items": {
                "$ref": "#/definitions/track"
            },
            "type": "array"
        },
        "url": {
            "_format": "uri",
            "type": "string"
        }
    },
    "required": [
        "artist",
        "title",
        "url",
        "tracks",
        "raw"
    ],
    "title": "album-info",
    "type": "object"
}