{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "properties": {
        "@id": {
            "type": "string"
        },
        "nif:beginIndex": {
            "type": "integer"
        },
        "nif:endIndex": {
            "type": "integer"
        },
        "nif:anchorOf": {
            "description": "Piece of context that contains the Sentiment",
            "type": "string"
        },
        "marl:hasPolarity": {
            "enum": [
                "marl:Positive",
                "marl:Negative",
                "marl:Neutral"
            ]
        },
        "marl:polarityValue": {
            "type": "number"
        },
        "prov:wasGeneratedBy": {
            "type": "string",
            "description": "The ID of the analysis that generated this Sentiment. The full object should be included in the \"analysis\" property of the root object"
        }
    },
    "required": [
        "prov:wasGeneratedBy"
    ]
}