{
  "title": "Interaction Restrictions",
  "description": "Limit interactions to a specific type of user for a specified duration",
  "type": "object",
  "properties": {
    "limit": {
      "type": "string",
      "description": "The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect.",
      "enum": [
        "existing_users",
        "contributors_only",
        "collaborators_only"
      ]
    },
    "expiry": {
      "type": "string",
      "description": "The duration of the interaction restriction. Default: `one_day`.",
      "enum": [
        "one_day",
        "three_days",
        "one_week",
        "one_month",
        "six_months"
      ]
    }
  },
  "required": [
    "limit"
  ],
  "$schema": "https://json-schema.org/draft/2019-09/schema"
}