{
    "$schema": "http://json-schema.org/draft-04/schema",
    "allOf": [
        {
            "properties": {
                "date": {
                    "_format": "date-time",
                    "description": "When the operation should be considered performed",
                    "type": "string"
                },
                "id": {
                    "description": "The id of the item being operated",
                    "type": "string"
                },
                "note": {
                    "description": "The new or updated note",
                    "type": "string"
                },
                "operation": {
                    "description": "The identifier of the operation being performed",
                    "enum": [
                        "update"
                    ],
                    "type": "string"
                },
                "organization_id": {
                    "description": "The id of the organization",
                    "type": "string"
                },
                "type": {
                    "description": "Identifies this as an ANS operation",
                    "enum": [
                        "planning-note-operation"
                    ],
                    "type": "string"
                },
                "version": {
                    "description": "The version of ANS this item is written in",
                    "type": "string"
                }
            },
            "required": [
                "type",
                "operation",
                "id",
                "organization_id",
                "note"
            ]
        }
    ],
    "description": "An operation to update the planning note associated with a story.",
    "type": "object"
}