# Funding-schema.json

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "../Documentation/Implementation/data_model/Json/",
    "title": "Funding",
    "description": "Funding schema",
    "dataTypes": null,
    "type": "object",
    "properties": {
        "funder": {
            "type": "object",
            "$comment": "class=Funder",
            "properties": {
                "dbid": {
                    "type": "number"
                }
            },
            "required": [
                "dbid"
            ],
            "description": "Information about a funder"
        },
        "grantId": {
            "type": "string",
            "description": "Funding  identifier (financing agreement)"
        },
        "fundingStatus": {
            "type": "string",
            "description": "Funding status: planned, requested, accepted, rejected"
        }
    },
    "required": [
        "funder",
        "fundingStatus"
    ]
}