{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "definitions": {
        "namedResource": {
            "properties": {
                "name": {
                    "type": "string"
                },
                "resource_uri": {
                    "type": "string"
                }
            },
            "required": [
                "name",
                "resource_uri"
            ],
            "type": "object"
        }
    },
    "properties": {
        "created": {
            "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}.\\d{6}",
            "type": "string"
        },
        "id": {
            "type": "integer"
        },
        "ineffective": {
            "items": {
                "$ref": "#/definitions/namedResource"
            },
            "type": "array"
        },
        "modified": {
            "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}.\\d{6}",
            "type": "string"
        },
        "name": {
            "type": "string"
        },
        "no_effect": {
            "items": {
                "$ref": "#/definitions/namedResource"
            },
            "type": "array"
        },
        "resistance": {
            "items": {
                "$ref": "#/definitions/namedResource"
            },
            "type": "array"
        },
        "resource_uri": {
            "type": "string"
        },
        "super_effective": {
            "items": {
                "$ref": "#/definitions/namedResource"
            },
            "type": "array"
        },
        "weakness": {
            "items": {
                "$ref": "#/definitions/namedResource"
            },
            "type": "array"
        }
    },
    "required": [
        "name",
        "id",
        "resource_uri",
        "created",
        "modified"
    ],
    "type": "object"
}