Sha256: 77286abc75055544e1b5ae9e3cf11cc9c06fc9d9c6a0f085e3b25035f3099ca4

Contents?: true

Size: 1.95 KB

Versions: 7

Compression:

Stored size: 1.95 KB

Contents

{
  "id": "funding.json#",
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "description": "",
  "required": [],
  "minProperties": 1,
  "additionalProperties": true,
  "anyOf": [{
      "title": "allocation is required",
      "required": ["allocation"]
    },
    {
      "title": "timePeriod is required",
      "required": ["timePeriod"]
    }
  ],
  "properties": {
    "allocation": {
      "type": "array",
      "description": "Funds contributed to support the development of the resource.",
      "example": "",
      "items": {
        "$ref": "#/definitions/allocation"
      }
    },
    "timePeriod": {
      "$ref": "./timePeriod.json#",
      "description": "The period for which the allocation is relevant.",
      "example": ""
    }
  },
  "definitions": {
    "allocation": {
      "type": "object",
      "example": "../examples/allocation.json",
      "required": ["amount", "currency"],
      "additionalProperties": true,
      "properties": {
        "amount": {
          "type": "number",
          "description": "The amount of the allocation in the indicated currency.",
          "example": ""
        },
        "currency": {
          "type": "string",
          "description": "The ISO 4217 currency code.",
          "example": ""
        },
        "sourceId": {
          "type": "string",
          "description": "The contactId of the entity providing the allocation.",
          "example": ""
        },
        "recipientId": {
          "type": "string",
          "description": "The contactId of the entity receiving the allocation.",
          "example": ""
        },
        "matching": {
          "type": "boolean",
          "description": "Tdicates whether the funds are to be considered matching funds.",
          "example": ""
        },
        "comment": {
          "type": "string",
          "description": "Additional information relevant to the allocation.",
          "example": ""
        }
      }
    }
  }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
adiwg-mdjson_schemas-2.0.0.pre.alpha.8 schema/funding.json
adiwg-mdjson_schemas-2.0.0.pre.alpha.7 schema/funding.json
adiwg-mdjson_schemas-2.0.0.pre.alpha.6 schema/funding.json
adiwg-mdjson_schemas-2.0.0.pre.alpha.5 schema/funding.json
adiwg-mdjson_schemas-2.0.0.pre.alpha.4 schema/funding.json
adiwg-mdjson_schemas-2.0.0.pre.alpha.3 schema/funding.json
adiwg-mdjson_schemas-2.0.0.pre.alpha.2 schema/funding.json