{
    "$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"
        },
        "modified": {
            "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}.\\d{6}",
            "type": "string"
        },
        "name": {
            "type": "string"
        },
        "pokemon": {
            "items": {
                "$ref": "#/definitions/namedResource"
            },
            "type": "array"
        },
        "resource_uri": {
            "type": "string"
        }
    },
    "required": [
        "resource_uri",
        "created",
        "modified",
        "name",
        "pokemon",
        "id"
    ],
    "type": "object"
}