{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Badge List",
    "description": "A list of available Open Badges",
    "type": "object",
    "required": [
        "badgelist"
    ],
    "additionalProperties": false,
    "properties": {
        "badgelist": {
            "description": "Container for a set of badge elements.",
            "type": "array",
            "items": {
                "title": "Badge",
                "description": "Container for the data needed to describe a badge assertion to extract.",
                "type": "object",
                "required": [
                    "loc"
                ],
                "additionalProperties": false,
                "properties": {
                    "loc": {
                        "description": "The location URI of a badge assertion.",
                        "type": "string",
                        "format": "uri"
                    },
                    "priority": {
                        "description": "The priority of a particular badge relative to other badges on the same site.",
                        "type": "number",
                        "minimum": 0.0,
                        "maximum": 1.0
                    }
                }
            }
        }
    }
}