{
    "$comment": "design document https://g0v.hackmd.io/eIeU2g86Tfu5VnLazNfUvQ",
    "description": "A representation of an UserArticleLink",
    "properties": {
        "articleId": {
            "type": "string"
        },
        "createdAt": {
            "format": "date-time",
            "instanceOf": "Date"
        },
        "lastPositiveFeedbackRepliedAt": {
            "format": "date-time",
            "instanceOf": "Date"
        },
        "lastRepliedAt": {
            "format": "date-time",
            "instanceOf": "Date"
        },
        "lastViewedAt": {
            "format": "date-time",
            "instanceOf": "Date"
        },
        "userId": {
            "type": "string"
        }
    },
    "required": [
        "userId",
        "articleId",
        "createdAt"
    ],
    "title": "UserArticleLink",
    "type": "object"
}