{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": true,
    "description": "The schema representation of a badge class",
    "properties": {
        "alignment": {
            "description": "List of objects describing which educational standards this badge aligns to, if any.",
            "minItems": 0,
            "type": "array"
        },
        "criteria": {
            "_format": "uri",
            "description": "URL of the criteria for earning the achievement. If the badge represents an educational achievement, consider marking up this up with LRMI",
            "type": "string"
        },
        "description": {
            "description": "A short description of the achievement.",
            "type": "string"
        },
        "image": {
            "_format": "uri",
            "description": "URL of an image representing the achievement.",
            "type": "string"
        },
        "issuer": {
            "_format": "uri",
            "description": "URL of the organization that issued the badge. Endpoint should be an IssuerOrganization",
            "type": "string"
        },
        "name": {
            "description": "The name of the achievement.",
            "type": "string"
        },
        "tags": {
            "description": "List of tags that describe the type of achievement.",
            "minItems": 0,
            "type": "array"
        }
    },
    "required": [
        "name",
        "description",
        "image",
        "criteria",
        "issuer"
    ],
    "title": "Badge Class",
    "type": "object"
}