{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "schema:MonetaryGrant",
  "title": "MonetaryGrant",
  "description": "A monetary grant.",
  "type": "object",
  "allOf": [
    {
      "description": "A grant, typically financial or otherwise quantifiable, of resources. Typically a [[funder]] sponsors some [[MonetaryAmount]] to an [[Organization]] or [[Person]],\n    sometimes not necessarily via a dedicated or long-lived [[Project]], resulting in one or more outputs, or [[fundedItem]]s. For financial sponsorship, indicate the [[funder]] of a [[MonetaryGrant]]. For non-financial support, indicate [[sponsor]] of [[Grant]]s of resources (e.g. office space).\n\nGrants support  activities directed towards some agreed collective goals, often but not always organized as [[Project]]s. Long-lived projects are sometimes sponsored by a variety of grants over time, but it is also common for a project to be associated with a single grant.\n\nThe amount of a [[Grant]] is represented using [[amount]] as a [[MonetaryAmount]].\n    ",
      "$ref": "schema:Grant"
    }
  ],
  "properties": {
    "amount": {
      "description": "The amount of money.",
      "anyOf": [{ "type": "number" }, { "$ref": "schema:MonetaryAmount" }]
    },
    "funder": {
      "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.",
      "oneOf": [
        {
          "anyOf": [
            { "$ref": "schema:Organization" },
            { "$ref": "schema:Person" }
          ]
        },
        {
          "type": "array",
          "items": {
            "anyOf": [
              { "$ref": "schema:Organization" },
              { "$ref": "schema:Person" }
            ]
          }
        }
      ]
    }
  }
}
