{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "description": "Advertisement status for the supplied advertisement",
    "properties": {
        "advertisementId": {
            "type": "string"
        },
        "status": {
            "enum": [
                "open",
                "expired"
            ]
        },
        "postedBy": {
            "type": "string"
        },
        "datePosted": {
            "type": "number"
        },
        "expiredBy": {
            "type": "string"
        },
        "dateExpired": {
            "type": "number"
        },
        "title": {
            "type": "string"
        },
        "referenceCode": {
            "type": "string"
        }
    },
    "additionalProperties": false
}