{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Action types",
    "description": "The collection of action types",
    "type": "array",
    "items": {
        "title": "Action types.",
        "type": "object",
        "properties": {
            "id": {
                "description": "Unique identifier given by the server",
                "type": "integer"
            },
            "name": {
                "description": "A name to identify the action type.",
                "type": "string"
            },
            "description": {
                "description": "A human description of the action type.",
                "type": "string"
            },
            "public": {
                "description": "Make the action type available to everybody.",
                "type": "boolean"
            },
            "type": {
                "description": "Valid URL to define the action type.",
                "type": "string"
            },
            "organizationId": {
                "description": "Link to the organization",
                "type": "integer"
            },
            "deletable": {
                "type": "boolean",
                "description": "Define if the action type can be deleted."
            },
            "schema": {
                "description": "A valid JSON Schema.",
                "type": "object"
            }
        },
        "required": [
            "id",
            "name",
            "public",
            "type",
            "organizationId",
            "deletable",
            "schema"
        ]
    }
}