{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "#Requirement",
    "description": "An individual requirement for security, compliance, regulation or design.",
    "type": "object",
    "allOf": [
        {
            "$ref": "#RecordEntity"
        },
        {
            "properties": {
                "title": {
                    "description": "The title text of the requirement.",
                    "type": "string"
                },
                "summary": {
                    "description": "The summary text of the requirement.",
                    "type": "string"
                },
                "state": {
                    "description": "The state of the requirement (e.g. 'implemented').",
                    "type": "string"
                }
            },
            "required": ["title"]
        }
    ]
}
