webhooks_sponsorship

APIs.ioEngineeringPlatform

Properties

Name Type Description
created_at string
maintainer object
node_id string
privacy_level string
sponsor object
sponsorable object
tier object The `tier_changed` and `pending_tier_change` will include the original tier before the change or pending change. For more information, see the pending tier change payload.
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-webhooks-sponsorship-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/webhooks_sponsorship",
  "title": "webhooks_sponsorship",
  "type": "object",
  "properties": {
    "created_at": {
      "type": "string"
    },
    "maintainer": {
      "type": "object",
      "properties": {
        "avatar_url": {
          "type": "string"
        },
        "events_url": {
          "type": "string"
        },
        "followers_url": {
          "type": "string"
        },
        "following_url": {
          "type": "string"
        },
        "gists_url": {
          "type": "string"
        },
        "gravatar_id": {
          "type": "string"
        },
        "html_url": {
          "type": "string"
        },
        "id": {
          "type": "integer"
        },
        "login": {
          "type": "string"
        },
        "node_id": {
          "type": "string"
        },
        "organizations_url": {
          "type": "string"
        },
        "received_events_url": {
          "type": "string"
        },
        "repos_url": {
          "type": "string"
        },
        "site_admin": {
          "type": "boolean"
        },
        "starred_url": {
          "type": "string"
        },
        "subscriptions_url": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "node_id": {
      "type": "string"
    },
    "privacy_level": {
      "type": "string"
    },
    "sponsor": {
      "title": "User",
      "type": "object",
      "nullable": true,
      "properties": {
        "avatar_url": {
          "type": "string",
          "format": "uri"
        },
        "deleted": {
          "type": "boolean"
        },
        "email": {
          "type": "string",
          "nullable": true
        },
        "events_url": {
          "type": "string",
          "format": "uri-template"
        },
        "followers_url": {
          "type": "string",
          "format": "uri"
        },
        "following_url": {
          "type": "string",
          "format": "uri-template"
        },
        "gists_url": {
          "type": "string",
          "format": "uri-template"
        },
        "gravatar_id": {
          "type": "string"
        },
        "html_url": {
          "type": "string",
          "format": "uri"
        },
        "id": {
          "type": "integer"
        },
        "login": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "node_id": {
          "type": "string"
        },
        "organizations_url": {
          "type": "string",
          "format": "uri"
        },
        "received_events_url": {
          "type": "string",
          "format": "uri"
        },
        "repos_url": {
          "type": "string",
          "format": "uri"
        },
        "site_admin": {
          "type": "boolean"
        },
        "starred_url": {
          "type": "string",
          "format": "uri-template"
        },
        "subscriptions_url": {
          "type": "string",
          "format": "uri"
        },
        "type": {
          "type": "string",
          "enum": [
            "Bot",
            "User",
            "Organization"
          ]
        },
        "url": {
          "type": "string",
          "format": "uri"
        }
      },
      "required": [
        "login",
        "id"
      ]
    },
    "sponsorable": {
      "title": "User",
      "type": "object",
      "nullable": true,
      "properties": {
        "avatar_url": {
          "type": "string",
          "format": "uri"
        },
        "deleted": {
          "type": "boolean"
        },
        "email": {
          "type": "string",
          "nullable": true
        },
        "events_url": {
          "type": "string",
          "format": "uri-template"
        },
        "followers_url": {
          "type": "string",
          "format": "uri"
        },
        "following_url": {
          "type": "string",
          "format": "uri-template"
        },
        "gists_url": {
          "type": "string",
          "format": "uri-template"
        },
        "gravatar_id": {
          "type": "string"
        },
        "html_url": {
          "type": "string",
          "format": "uri"
        },
        "id": {
          "type": "integer"
        },
        "login": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "node_id": {
          "type": "string"
        },
        "organizations_url": {
          "type": "string",
          "format": "uri"
        },
        "received_events_url": {
          "type": "string",
          "format": "uri"
        },
        "repos_url": {
          "type": "string",
          "format": "uri"
        },
        "site_admin": {
          "type": "boolean"
        },
        "starred_url": {
          "type": "string",
          "format": "uri-template"
        },
        "subscriptions_url": {
          "type": "string",
          "format": "uri"
        },
        "type": {
          "type": "string",
          "enum": [
            "Bot",
            "User",
            "Organization"
          ]
        },
        "url": {
          "type": "string",
          "format": "uri"
        }
      },
      "required": [
        "login",
        "id"
      ]
    },
    "tier": {
      "title": "Sponsorship Tier",
      "description": "The `tier_changed` and `pending_tier_change` will include the original tier before the change or pending change. For more information, see the pending tier change payload.",
      "type": "object",
      "properties": {
        "created_at": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "is_custom_ammount": {
          "type": "boolean"
        },
        "is_custom_amount": {
          "type": "boolean"
        },
        "is_one_time": {
          "type": "boolean"
        },
        "monthly_price_in_cents": {
          "type": "integer"
        },
        "monthly_price_in_dollars": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "node_id": {
          "type": "string"
        }
      },
      "required": [
        "node_id",
        "created_at",
        "description",
        "monthly_price_in_cents",
        "monthly_price_in_dollars",
        "name",
        "is_one_time"
      ]
    }
  },
  "required": [
    "node_id",
    "created_at",
    "sponsorable",
    "sponsor",
    "privacy_level",
    "tier"
  ]
}