{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/github/json-schema/github-interaction-limit-response-schema.json",
  "title": "Interaction Limits",
  "description": "Interaction limit settings.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/github-interactions-api-openapi.yml#/components/schemas/interaction-limit-response",
  "type": "object",
  "properties": {
    "limit": {
      "$ref": "#/$defs/interaction-group"
    },
    "origin": {
      "type": "string"
    },
    "expires_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "limit",
    "origin",
    "expires_at"
  ],
  "$defs": {
    "interaction-group": {
      "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"
      ]
    }
  }
}