{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "client_token": {
            "type": "string"
        },
        "policies": {
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "metadata": {
            "type": "object",
            "properties": {
                "aws_region": {
                    "type": "string"
                },
                "username": {
                    "type": "string"
                },
                "is_admin": {
                    "type": "string"
                },
                "groups": {
                    "type": "string"
                },
                "aws_iam_principal_arn": {
                    "type": "string"
                }
            }
        },
        "lease_duration": {
            "type": "integer"
        },
        "renewable": {
            "type": "boolean"
        }
    },
    "required": [
        "client_token",
        "policies",
        "metadata",
        "lease_duration",
        "renewable"
    ]
}