{
  "service": "ossinsight",
  "displayName": "OSS Insight",
  "categories": [
    "Developer Tools",
    "Data"
  ],
  "authTypes": [
    "no_auth"
  ],
  "auth": [
    {
      "type": "no_auth"
    }
  ],
  "homepageUrl": "https://ossinsight.io",
  "actions": [
    {
      "id": "ossinsight.get_issue_creators_history",
      "service": "ossinsight",
      "name": "get_issue_creators_history",
      "description": "Get historical issue creator counts for a GitHub repository.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "owner": {
            "type": "string",
            "minLength": 1,
            "description": "The owner of the GitHub repository."
          },
          "repo": {
            "type": "string",
            "minLength": 1,
            "description": "The name of the GitHub repository."
          },
          "per": {
            "type": "string",
            "enum": [
              "day",
              "week",
              "month"
            ],
            "description": "The time interval of the returned history points.",
            "default": "month"
          },
          "from": {
            "type": "string",
            "description": "The start date of the time range.",
            "default": "2000-01-01",
            "format": "date"
          },
          "to": {
            "type": "string",
            "description": "The end date of the time range.",
            "default": "2099-01-01",
            "format": "date"
          }
        },
        "additionalProperties": false,
        "required": [
          "owner",
          "repo"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "history": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string",
                  "description": "The history point date returned by OSS Insight."
                },
                "issue_creators": {
                  "type": "integer",
                  "description": "The cumulative issue creator count for the date."
                }
              },
              "additionalProperties": false,
              "description": "One issue creator history point returned by OSS Insight."
            },
            "description": "Issue creator history returned by OSS Insight."
          },
          "metadata": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "col": {
                      "type": "string",
                      "description": "The column name returned by OSS Insight."
                    },
                    "data_type": {
                      "type": "string",
                      "description": "The SQL data type of the column."
                    },
                    "nullable": {
                      "type": "boolean",
                      "description": "Whether the column can be null."
                    }
                  },
                  "additionalProperties": false,
                  "description": "A column descriptor from the OSS Insight SQL endpoint response."
                },
                "description": "The SQL columns returned by the upstream endpoint."
              },
              "result": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "integer",
                    "description": "The OSS Insight result code."
                  },
                  "message": {
                    "type": "string",
                    "description": "The OSS Insight result message."
                  },
                  "start_ms": {
                    "type": "number",
                    "description": "The query start timestamp in milliseconds."
                  },
                  "end_ms": {
                    "type": "number",
                    "description": "The query end timestamp in milliseconds."
                  },
                  "latency": {
                    "type": "string",
                    "description": "The query latency text returned by OSS Insight."
                  },
                  "row_count": {
                    "type": "integer",
                    "description": "The number of rows returned."
                  },
                  "row_affect": {
                    "type": "integer",
                    "description": "The number of affected rows."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "The row limit applied by OSS Insight."
                  }
                },
                "additionalProperties": false,
                "description": "Execution metadata returned by OSS Insight."
              }
            },
            "additionalProperties": false,
            "description": "SQL metadata returned by OSS Insight."
          }
        },
        "additionalProperties": false,
        "required": [
          "history",
          "metadata"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "ossinsight.get_pull_request_creators_history",
      "service": "ossinsight",
      "name": "get_pull_request_creators_history",
      "description": "Get historical pull request creator counts for a GitHub repository.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "owner": {
            "type": "string",
            "minLength": 1,
            "description": "The owner of the GitHub repository."
          },
          "repo": {
            "type": "string",
            "minLength": 1,
            "description": "The name of the GitHub repository."
          },
          "per": {
            "type": "string",
            "enum": [
              "day",
              "week",
              "month"
            ],
            "description": "The time interval of the returned history points.",
            "default": "month"
          },
          "from": {
            "type": "string",
            "description": "The start date of the time range.",
            "default": "2000-01-01",
            "format": "date"
          },
          "to": {
            "type": "string",
            "description": "The end date of the time range.",
            "default": "2099-01-01",
            "format": "date"
          }
        },
        "additionalProperties": false,
        "required": [
          "owner",
          "repo"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "history": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string",
                  "description": "The history point date returned by OSS Insight."
                },
                "pull_request_creators": {
                  "type": "integer",
                  "description": "The cumulative pull request creator count for the date."
                }
              },
              "additionalProperties": false,
              "description": "One pull request creator history point returned by OSS Insight."
            },
            "description": "Pull request creator history returned by OSS Insight."
          },
          "metadata": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "col": {
                      "type": "string",
                      "description": "The column name returned by OSS Insight."
                    },
                    "data_type": {
                      "type": "string",
                      "description": "The SQL data type of the column."
                    },
                    "nullable": {
                      "type": "boolean",
                      "description": "Whether the column can be null."
                    }
                  },
                  "additionalProperties": false,
                  "description": "A column descriptor from the OSS Insight SQL endpoint response."
                },
                "description": "The SQL columns returned by the upstream endpoint."
              },
              "result": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "integer",
                    "description": "The OSS Insight result code."
                  },
                  "message": {
                    "type": "string",
                    "description": "The OSS Insight result message."
                  },
                  "start_ms": {
                    "type": "number",
                    "description": "The query start timestamp in milliseconds."
                  },
                  "end_ms": {
                    "type": "number",
                    "description": "The query end timestamp in milliseconds."
                  },
                  "latency": {
                    "type": "string",
                    "description": "The query latency text returned by OSS Insight."
                  },
                  "row_count": {
                    "type": "integer",
                    "description": "The number of rows returned."
                  },
                  "row_affect": {
                    "type": "integer",
                    "description": "The number of affected rows."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "The row limit applied by OSS Insight."
                  }
                },
                "additionalProperties": false,
                "description": "Execution metadata returned by OSS Insight."
              }
            },
            "additionalProperties": false,
            "description": "SQL metadata returned by OSS Insight."
          }
        },
        "additionalProperties": false,
        "required": [
          "history",
          "metadata"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "ossinsight.get_stargazers_history",
      "service": "ossinsight",
      "name": "get_stargazers_history",
      "description": "Get the historical stargazer count for a GitHub repository.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "owner": {
            "type": "string",
            "minLength": 1,
            "description": "The owner of the GitHub repository."
          },
          "repo": {
            "type": "string",
            "minLength": 1,
            "description": "The name of the GitHub repository."
          },
          "per": {
            "type": "string",
            "enum": [
              "day",
              "week",
              "month"
            ],
            "description": "The time interval of the returned history points.",
            "default": "month"
          },
          "from": {
            "type": "string",
            "description": "The start date of the time range.",
            "default": "2000-01-01",
            "format": "date"
          },
          "to": {
            "type": "string",
            "description": "The end date of the time range.",
            "default": "2099-01-01",
            "format": "date"
          }
        },
        "additionalProperties": false,
        "required": [
          "owner",
          "repo"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "history": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string",
                  "description": "The history point date returned by OSS Insight."
                },
                "stargazers": {
                  "type": "integer",
                  "description": "The cumulative stargazer count for the date."
                }
              },
              "additionalProperties": false,
              "description": "One stargazer history point returned by OSS Insight."
            },
            "description": "Historical stargazer counts returned by OSS Insight."
          },
          "metadata": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "col": {
                      "type": "string",
                      "description": "The column name returned by OSS Insight."
                    },
                    "data_type": {
                      "type": "string",
                      "description": "The SQL data type of the column."
                    },
                    "nullable": {
                      "type": "boolean",
                      "description": "Whether the column can be null."
                    }
                  },
                  "additionalProperties": false,
                  "description": "A column descriptor from the OSS Insight SQL endpoint response."
                },
                "description": "The SQL columns returned by the upstream endpoint."
              },
              "result": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "integer",
                    "description": "The OSS Insight result code."
                  },
                  "message": {
                    "type": "string",
                    "description": "The OSS Insight result message."
                  },
                  "start_ms": {
                    "type": "number",
                    "description": "The query start timestamp in milliseconds."
                  },
                  "end_ms": {
                    "type": "number",
                    "description": "The query end timestamp in milliseconds."
                  },
                  "latency": {
                    "type": "string",
                    "description": "The query latency text returned by OSS Insight."
                  },
                  "row_count": {
                    "type": "integer",
                    "description": "The number of rows returned."
                  },
                  "row_affect": {
                    "type": "integer",
                    "description": "The number of affected rows."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "The row limit applied by OSS Insight."
                  }
                },
                "additionalProperties": false,
                "description": "Execution metadata returned by OSS Insight."
              }
            },
            "additionalProperties": false,
            "description": "SQL metadata returned by OSS Insight."
          }
        },
        "additionalProperties": false,
        "required": [
          "history",
          "metadata"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "ossinsight.list_collection_repos",
      "service": "ossinsight",
      "name": "list_collection_repos",
      "description": "List repositories in an OSS Insight collection.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "collection_id": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "The OSS Insight collection ID as a string."
              },
              {
                "type": "integer",
                "description": "The OSS Insight collection ID as a number."
              }
            ],
            "description": "The OSS Insight collection ID."
          }
        },
        "additionalProperties": false,
        "required": [
          "collection_id"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "repositories": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "repo_id": {
                  "type": "string",
                  "description": "The GitHub repository ID."
                },
                "repo_name": {
                  "type": "string",
                  "description": "The repository name in owner/repo format."
                }
              },
              "additionalProperties": false,
              "description": "One repository in an OSS Insight collection."
            },
            "description": "Repositories returned by OSS Insight."
          },
          "metadata": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "col": {
                      "type": "string",
                      "description": "The column name returned by OSS Insight."
                    },
                    "data_type": {
                      "type": "string",
                      "description": "The SQL data type of the column."
                    },
                    "nullable": {
                      "type": "boolean",
                      "description": "Whether the column can be null."
                    }
                  },
                  "additionalProperties": false,
                  "description": "A column descriptor from the OSS Insight SQL endpoint response."
                },
                "description": "The SQL columns returned by the upstream endpoint."
              },
              "result": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "integer",
                    "description": "The OSS Insight result code."
                  },
                  "message": {
                    "type": "string",
                    "description": "The OSS Insight result message."
                  },
                  "start_ms": {
                    "type": "number",
                    "description": "The query start timestamp in milliseconds."
                  },
                  "end_ms": {
                    "type": "number",
                    "description": "The query end timestamp in milliseconds."
                  },
                  "latency": {
                    "type": "string",
                    "description": "The query latency text returned by OSS Insight."
                  },
                  "row_count": {
                    "type": "integer",
                    "description": "The number of rows returned."
                  },
                  "row_affect": {
                    "type": "integer",
                    "description": "The number of affected rows."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "The row limit applied by OSS Insight."
                  }
                },
                "additionalProperties": false,
                "description": "Execution metadata returned by OSS Insight."
              }
            },
            "additionalProperties": false,
            "description": "SQL metadata returned by OSS Insight."
          }
        },
        "additionalProperties": false,
        "required": [
          "repositories",
          "metadata"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "ossinsight.list_collections",
      "service": "ossinsight",
      "name": "list_collections",
      "description": "List all OSS Insight repository collections.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "No input parameters are required for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "collections": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The OSS Insight collection ID."
                },
                "name": {
                  "type": "string",
                  "description": "The OSS Insight collection name."
                }
              },
              "additionalProperties": false,
              "description": "One OSS Insight collection."
            },
            "description": "Collections returned by OSS Insight."
          },
          "metadata": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "col": {
                      "type": "string",
                      "description": "The column name returned by OSS Insight."
                    },
                    "data_type": {
                      "type": "string",
                      "description": "The SQL data type of the column."
                    },
                    "nullable": {
                      "type": "boolean",
                      "description": "Whether the column can be null."
                    }
                  },
                  "additionalProperties": false,
                  "description": "A column descriptor from the OSS Insight SQL endpoint response."
                },
                "description": "The SQL columns returned by the upstream endpoint."
              },
              "result": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "integer",
                    "description": "The OSS Insight result code."
                  },
                  "message": {
                    "type": "string",
                    "description": "The OSS Insight result message."
                  },
                  "start_ms": {
                    "type": "number",
                    "description": "The query start timestamp in milliseconds."
                  },
                  "end_ms": {
                    "type": "number",
                    "description": "The query end timestamp in milliseconds."
                  },
                  "latency": {
                    "type": "string",
                    "description": "The query latency text returned by OSS Insight."
                  },
                  "row_count": {
                    "type": "integer",
                    "description": "The number of rows returned."
                  },
                  "row_affect": {
                    "type": "integer",
                    "description": "The number of affected rows."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "The row limit applied by OSS Insight."
                  }
                },
                "additionalProperties": false,
                "description": "Execution metadata returned by OSS Insight."
              }
            },
            "additionalProperties": false,
            "description": "SQL metadata returned by OSS Insight."
          }
        },
        "additionalProperties": false,
        "required": [
          "collections",
          "metadata"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "ossinsight.list_hot_collections",
      "service": "ossinsight",
      "name": "list_hot_collections",
      "description": "List hot OSS Insight collections with representative repositories.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "No input parameters are required for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "collections": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The OSS Insight collection ID."
                },
                "name": {
                  "type": "string",
                  "description": "The OSS Insight collection name."
                },
                "repos": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The number of repositories in the collection."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "repo_id": {
                  "type": "string",
                  "description": "The GitHub repository ID for the representative hot repo."
                },
                "repo_name": {
                  "type": "string",
                  "description": "The representative hot repository name in owner/repo format."
                },
                "repo_current_period_rank": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The repository rank in the current period."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "repo_past_period_rank": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The repository rank in the previous period."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "repo_rank_changes": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The repository rank change between periods."
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": false,
              "description": "One hot OSS Insight collection row."
            },
            "description": "Hot collections returned by OSS Insight."
          },
          "metadata": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "col": {
                      "type": "string",
                      "description": "The column name returned by OSS Insight."
                    },
                    "data_type": {
                      "type": "string",
                      "description": "The SQL data type of the column."
                    },
                    "nullable": {
                      "type": "boolean",
                      "description": "Whether the column can be null."
                    }
                  },
                  "additionalProperties": false,
                  "description": "A column descriptor from the OSS Insight SQL endpoint response."
                },
                "description": "The SQL columns returned by the upstream endpoint."
              },
              "result": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "integer",
                    "description": "The OSS Insight result code."
                  },
                  "message": {
                    "type": "string",
                    "description": "The OSS Insight result message."
                  },
                  "start_ms": {
                    "type": "number",
                    "description": "The query start timestamp in milliseconds."
                  },
                  "end_ms": {
                    "type": "number",
                    "description": "The query end timestamp in milliseconds."
                  },
                  "latency": {
                    "type": "string",
                    "description": "The query latency text returned by OSS Insight."
                  },
                  "row_count": {
                    "type": "integer",
                    "description": "The number of rows returned."
                  },
                  "row_affect": {
                    "type": "integer",
                    "description": "The number of affected rows."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "The row limit applied by OSS Insight."
                  }
                },
                "additionalProperties": false,
                "description": "Execution metadata returned by OSS Insight."
              }
            },
            "additionalProperties": false,
            "description": "SQL metadata returned by OSS Insight."
          }
        },
        "additionalProperties": false,
        "required": [
          "collections",
          "metadata"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "ossinsight.list_issue_creator_countries",
      "service": "ossinsight",
      "name": "list_issue_creator_countries",
      "description": "List countries or regions of issue creators for a GitHub repository.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "owner": {
            "type": "string",
            "minLength": 1,
            "description": "The owner of the GitHub repository."
          },
          "repo": {
            "type": "string",
            "minLength": 1,
            "description": "The name of the GitHub repository."
          },
          "exclude_unknown": {
            "type": "boolean",
            "description": "Whether to exclude rows with unknown country or organization information.",
            "default": true
          },
          "from": {
            "type": "string",
            "description": "The start date of the time range.",
            "default": "2000-01-01",
            "format": "date"
          },
          "to": {
            "type": "string",
            "description": "The end date of the time range.",
            "default": "2099-01-01",
            "format": "date"
          }
        },
        "additionalProperties": false,
        "required": [
          "owner",
          "repo"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "countries": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "country_code": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The country or region code of issue creators, or null when unknown."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "issue_creators": {
                  "type": "integer",
                  "description": "The number of issue creators in this country or region."
                },
                "percentage": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "The share of issue creators represented by this country or region."
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": false,
              "description": "One issue creator country or region row returned by OSS Insight."
            },
            "description": "Issue creator countries or regions returned by OSS Insight."
          },
          "metadata": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "col": {
                      "type": "string",
                      "description": "The column name returned by OSS Insight."
                    },
                    "data_type": {
                      "type": "string",
                      "description": "The SQL data type of the column."
                    },
                    "nullable": {
                      "type": "boolean",
                      "description": "Whether the column can be null."
                    }
                  },
                  "additionalProperties": false,
                  "description": "A column descriptor from the OSS Insight SQL endpoint response."
                },
                "description": "The SQL columns returned by the upstream endpoint."
              },
              "result": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "integer",
                    "description": "The OSS Insight result code."
                  },
                  "message": {
                    "type": "string",
                    "description": "The OSS Insight result message."
                  },
                  "start_ms": {
                    "type": "number",
                    "description": "The query start timestamp in milliseconds."
                  },
                  "end_ms": {
                    "type": "number",
                    "description": "The query end timestamp in milliseconds."
                  },
                  "latency": {
                    "type": "string",
                    "description": "The query latency text returned by OSS Insight."
                  },
                  "row_count": {
                    "type": "integer",
                    "description": "The number of rows returned."
                  },
                  "row_affect": {
                    "type": "integer",
                    "description": "The number of affected rows."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "The row limit applied by OSS Insight."
                  }
                },
                "additionalProperties": false,
                "description": "Execution metadata returned by OSS Insight."
              }
            },
            "additionalProperties": false,
            "description": "SQL metadata returned by OSS Insight."
          }
        },
        "additionalProperties": false,
        "required": [
          "countries",
          "metadata"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "ossinsight.list_issue_creator_organizations",
      "service": "ossinsight",
      "name": "list_issue_creator_organizations",
      "description": "List organizations of issue creators for a GitHub repository.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "owner": {
            "type": "string",
            "minLength": 1,
            "description": "The owner of the GitHub repository."
          },
          "repo": {
            "type": "string",
            "minLength": 1,
            "description": "The name of the GitHub repository."
          },
          "exclude_unknown": {
            "type": "boolean",
            "description": "Whether to exclude rows with unknown country or organization information.",
            "default": true
          },
          "from": {
            "type": "string",
            "description": "The start date of the time range.",
            "default": "2000-01-01",
            "format": "date"
          },
          "to": {
            "type": "string",
            "description": "The end date of the time range.",
            "default": "2099-01-01",
            "format": "date"
          }
        },
        "additionalProperties": false,
        "required": [
          "owner",
          "repo"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "organizations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "org_name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The GitHub organization name, or null when unknown."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "issue_creators": {
                  "type": "integer",
                  "description": "The number of issue creators in this organization."
                },
                "percentage": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "The share of issue creators represented by this organization."
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": false,
              "description": "One issue creator organization row returned by OSS Insight."
            },
            "description": "Issue creator organizations returned by OSS Insight."
          },
          "metadata": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "col": {
                      "type": "string",
                      "description": "The column name returned by OSS Insight."
                    },
                    "data_type": {
                      "type": "string",
                      "description": "The SQL data type of the column."
                    },
                    "nullable": {
                      "type": "boolean",
                      "description": "Whether the column can be null."
                    }
                  },
                  "additionalProperties": false,
                  "description": "A column descriptor from the OSS Insight SQL endpoint response."
                },
                "description": "The SQL columns returned by the upstream endpoint."
              },
              "result": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "integer",
                    "description": "The OSS Insight result code."
                  },
                  "message": {
                    "type": "string",
                    "description": "The OSS Insight result message."
                  },
                  "start_ms": {
                    "type": "number",
                    "description": "The query start timestamp in milliseconds."
                  },
                  "end_ms": {
                    "type": "number",
                    "description": "The query end timestamp in milliseconds."
                  },
                  "latency": {
                    "type": "string",
                    "description": "The query latency text returned by OSS Insight."
                  },
                  "row_count": {
                    "type": "integer",
                    "description": "The number of rows returned."
                  },
                  "row_affect": {
                    "type": "integer",
                    "description": "The number of affected rows."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "The row limit applied by OSS Insight."
                  }
                },
                "additionalProperties": false,
                "description": "Execution metadata returned by OSS Insight."
              }
            },
            "additionalProperties": false,
            "description": "SQL metadata returned by OSS Insight."
          }
        },
        "additionalProperties": false,
        "required": [
          "organizations",
          "metadata"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "ossinsight.list_issue_creators",
      "service": "ossinsight",
      "name": "list_issue_creators",
      "description": "List issue creators for a GitHub repository.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "owner": {
            "type": "string",
            "minLength": 1,
            "description": "The owner of the GitHub repository."
          },
          "repo": {
            "type": "string",
            "minLength": 1,
            "description": "The name of the GitHub repository."
          },
          "sort": {
            "type": "string",
            "minLength": 1,
            "description": "The OSS Insight sort option for the creator list endpoint.",
            "default": "issues-desc"
          },
          "exclude_bots": {
            "type": "boolean",
            "description": "Whether to exclude bot accounts.",
            "default": true
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The 1-based page number to fetch.",
            "default": 1
          },
          "page_size": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of rows to fetch per page.",
            "default": 30
          }
        },
        "additionalProperties": false,
        "required": [
          "owner",
          "repo"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "creators": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The GitHub user ID."
                },
                "login": {
                  "type": "string",
                  "description": "The GitHub login."
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The GitHub user display name, or null when unknown."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "issues": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The number of issues created by this user."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "first_issue_opened_at": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The first issue open timestamp for this user."
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": false,
              "description": "One issue creator row returned by OSS Insight."
            },
            "description": "Issue creators returned by OSS Insight."
          },
          "metadata": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "col": {
                      "type": "string",
                      "description": "The column name returned by OSS Insight."
                    },
                    "data_type": {
                      "type": "string",
                      "description": "The SQL data type of the column."
                    },
                    "nullable": {
                      "type": "boolean",
                      "description": "Whether the column can be null."
                    }
                  },
                  "additionalProperties": false,
                  "description": "A column descriptor from the OSS Insight SQL endpoint response."
                },
                "description": "The SQL columns returned by the upstream endpoint."
              },
              "result": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "integer",
                    "description": "The OSS Insight result code."
                  },
                  "message": {
                    "type": "string",
                    "description": "The OSS Insight result message."
                  },
                  "start_ms": {
                    "type": "number",
                    "description": "The query start timestamp in milliseconds."
                  },
                  "end_ms": {
                    "type": "number",
                    "description": "The query end timestamp in milliseconds."
                  },
                  "latency": {
                    "type": "string",
                    "description": "The query latency text returned by OSS Insight."
                  },
                  "row_count": {
                    "type": "integer",
                    "description": "The number of rows returned."
                  },
                  "row_affect": {
                    "type": "integer",
                    "description": "The number of affected rows."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "The row limit applied by OSS Insight."
                  }
                },
                "additionalProperties": false,
                "description": "Execution metadata returned by OSS Insight."
              }
            },
            "additionalProperties": false,
            "description": "SQL metadata returned by OSS Insight."
          }
        },
        "additionalProperties": false,
        "required": [
          "creators",
          "metadata"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "ossinsight.list_pull_request_creator_countries",
      "service": "ossinsight",
      "name": "list_pull_request_creator_countries",
      "description": "List countries or regions of pull request creators for a GitHub repository.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "owner": {
            "type": "string",
            "minLength": 1,
            "description": "The owner of the GitHub repository."
          },
          "repo": {
            "type": "string",
            "minLength": 1,
            "description": "The name of the GitHub repository."
          },
          "exclude_unknown": {
            "type": "boolean",
            "description": "Whether to exclude rows with unknown country or organization information.",
            "default": true
          },
          "from": {
            "type": "string",
            "description": "The start date of the time range.",
            "default": "2000-01-01",
            "format": "date"
          },
          "to": {
            "type": "string",
            "description": "The end date of the time range.",
            "default": "2099-01-01",
            "format": "date"
          }
        },
        "additionalProperties": false,
        "required": [
          "owner",
          "repo"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "countries": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "country_code": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The country or region code of pull request creators, or null when unknown."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "pull_request_creators": {
                  "type": "integer",
                  "description": "The number of pull request creators in this country or region."
                },
                "percentage": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "The share of pull request creators represented by this country or region."
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": false,
              "description": "One pull request creator country or region row returned by OSS Insight."
            },
            "description": "Pull request creator countries or regions returned by OSS Insight."
          },
          "metadata": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "col": {
                      "type": "string",
                      "description": "The column name returned by OSS Insight."
                    },
                    "data_type": {
                      "type": "string",
                      "description": "The SQL data type of the column."
                    },
                    "nullable": {
                      "type": "boolean",
                      "description": "Whether the column can be null."
                    }
                  },
                  "additionalProperties": false,
                  "description": "A column descriptor from the OSS Insight SQL endpoint response."
                },
                "description": "The SQL columns returned by the upstream endpoint."
              },
              "result": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "integer",
                    "description": "The OSS Insight result code."
                  },
                  "message": {
                    "type": "string",
                    "description": "The OSS Insight result message."
                  },
                  "start_ms": {
                    "type": "number",
                    "description": "The query start timestamp in milliseconds."
                  },
                  "end_ms": {
                    "type": "number",
                    "description": "The query end timestamp in milliseconds."
                  },
                  "latency": {
                    "type": "string",
                    "description": "The query latency text returned by OSS Insight."
                  },
                  "row_count": {
                    "type": "integer",
                    "description": "The number of rows returned."
                  },
                  "row_affect": {
                    "type": "integer",
                    "description": "The number of affected rows."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "The row limit applied by OSS Insight."
                  }
                },
                "additionalProperties": false,
                "description": "Execution metadata returned by OSS Insight."
              }
            },
            "additionalProperties": false,
            "description": "SQL metadata returned by OSS Insight."
          }
        },
        "additionalProperties": false,
        "required": [
          "countries",
          "metadata"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "ossinsight.list_pull_request_creator_organizations",
      "service": "ossinsight",
      "name": "list_pull_request_creator_organizations",
      "description": "List organizations of pull request creators for a GitHub repository.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "owner": {
            "type": "string",
            "minLength": 1,
            "description": "The owner of the GitHub repository."
          },
          "repo": {
            "type": "string",
            "minLength": 1,
            "description": "The name of the GitHub repository."
          },
          "exclude_unknown": {
            "type": "boolean",
            "description": "Whether to exclude rows with unknown country or organization information.",
            "default": true
          },
          "from": {
            "type": "string",
            "description": "The start date of the time range.",
            "default": "2000-01-01",
            "format": "date"
          },
          "to": {
            "type": "string",
            "description": "The end date of the time range.",
            "default": "2099-01-01",
            "format": "date"
          }
        },
        "additionalProperties": false,
        "required": [
          "owner",
          "repo"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "organizations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "org_name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The GitHub organization name, or null when unknown."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "pull_request_creators": {
                  "type": "integer",
                  "description": "The number of pull request creators in this organization."
                },
                "percentage": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "The share of pull request creators represented by this organization."
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": false,
              "description": "One pull request creator organization row returned by OSS Insight."
            },
            "description": "Pull request creator organizations returned by OSS Insight."
          },
          "metadata": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "col": {
                      "type": "string",
                      "description": "The column name returned by OSS Insight."
                    },
                    "data_type": {
                      "type": "string",
                      "description": "The SQL data type of the column."
                    },
                    "nullable": {
                      "type": "boolean",
                      "description": "Whether the column can be null."
                    }
                  },
                  "additionalProperties": false,
                  "description": "A column descriptor from the OSS Insight SQL endpoint response."
                },
                "description": "The SQL columns returned by the upstream endpoint."
              },
              "result": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "integer",
                    "description": "The OSS Insight result code."
                  },
                  "message": {
                    "type": "string",
                    "description": "The OSS Insight result message."
                  },
                  "start_ms": {
                    "type": "number",
                    "description": "The query start timestamp in milliseconds."
                  },
                  "end_ms": {
                    "type": "number",
                    "description": "The query end timestamp in milliseconds."
                  },
                  "latency": {
                    "type": "string",
                    "description": "The query latency text returned by OSS Insight."
                  },
                  "row_count": {
                    "type": "integer",
                    "description": "The number of rows returned."
                  },
                  "row_affect": {
                    "type": "integer",
                    "description": "The number of affected rows."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "The row limit applied by OSS Insight."
                  }
                },
                "additionalProperties": false,
                "description": "Execution metadata returned by OSS Insight."
              }
            },
            "additionalProperties": false,
            "description": "SQL metadata returned by OSS Insight."
          }
        },
        "additionalProperties": false,
        "required": [
          "organizations",
          "metadata"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "ossinsight.list_pull_request_creators",
      "service": "ossinsight",
      "name": "list_pull_request_creators",
      "description": "List pull request creators for a GitHub repository.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "owner": {
            "type": "string",
            "minLength": 1,
            "description": "The owner of the GitHub repository."
          },
          "repo": {
            "type": "string",
            "minLength": 1,
            "description": "The name of the GitHub repository."
          },
          "sort": {
            "type": "string",
            "minLength": 1,
            "description": "The OSS Insight sort option for the creator list endpoint.",
            "default": "prs-desc"
          },
          "exclude_bots": {
            "type": "boolean",
            "description": "Whether to exclude bot accounts.",
            "default": true
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The 1-based page number to fetch.",
            "default": 1
          },
          "page_size": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of rows to fetch per page.",
            "default": 30
          }
        },
        "additionalProperties": false,
        "required": [
          "owner",
          "repo"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "creators": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The GitHub user ID."
                },
                "login": {
                  "type": "string",
                  "description": "The GitHub login."
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The GitHub user display name, or null when unknown."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "prs": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The number of pull requests created by this user."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "first_pr_opened_at": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The first pull request open timestamp for this user."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "first_pr_merged_at": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The first pull request merge timestamp for this user."
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": false,
              "description": "One pull request creator row returned by OSS Insight."
            },
            "description": "Pull request creators returned by OSS Insight."
          },
          "metadata": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "col": {
                      "type": "string",
                      "description": "The column name returned by OSS Insight."
                    },
                    "data_type": {
                      "type": "string",
                      "description": "The SQL data type of the column."
                    },
                    "nullable": {
                      "type": "boolean",
                      "description": "Whether the column can be null."
                    }
                  },
                  "additionalProperties": false,
                  "description": "A column descriptor from the OSS Insight SQL endpoint response."
                },
                "description": "The SQL columns returned by the upstream endpoint."
              },
              "result": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "integer",
                    "description": "The OSS Insight result code."
                  },
                  "message": {
                    "type": "string",
                    "description": "The OSS Insight result message."
                  },
                  "start_ms": {
                    "type": "number",
                    "description": "The query start timestamp in milliseconds."
                  },
                  "end_ms": {
                    "type": "number",
                    "description": "The query end timestamp in milliseconds."
                  },
                  "latency": {
                    "type": "string",
                    "description": "The query latency text returned by OSS Insight."
                  },
                  "row_count": {
                    "type": "integer",
                    "description": "The number of rows returned."
                  },
                  "row_affect": {
                    "type": "integer",
                    "description": "The number of affected rows."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "The row limit applied by OSS Insight."
                  }
                },
                "additionalProperties": false,
                "description": "Execution metadata returned by OSS Insight."
              }
            },
            "additionalProperties": false,
            "description": "SQL metadata returned by OSS Insight."
          }
        },
        "additionalProperties": false,
        "required": [
          "creators",
          "metadata"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "ossinsight.list_stargazer_countries",
      "service": "ossinsight",
      "name": "list_stargazer_countries",
      "description": "List countries or regions of stargazers for a GitHub repository.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "owner": {
            "type": "string",
            "minLength": 1,
            "description": "The owner of the GitHub repository."
          },
          "repo": {
            "type": "string",
            "minLength": 1,
            "description": "The name of the GitHub repository."
          },
          "exclude_unknown": {
            "type": "boolean",
            "description": "Whether to exclude rows with unknown country or organization information.",
            "default": true
          },
          "from": {
            "type": "string",
            "description": "The start date of the time range.",
            "default": "2000-01-01",
            "format": "date"
          },
          "to": {
            "type": "string",
            "description": "The end date of the time range.",
            "default": "2099-01-01",
            "format": "date"
          }
        },
        "additionalProperties": false,
        "required": [
          "owner",
          "repo"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "countries": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "country_code": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The country or region code of stargazers, or null when unknown."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "stargazers": {
                  "type": "integer",
                  "description": "The number of stargazers in this country or region."
                },
                "percentage": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "The share of stargazers represented by this country or region."
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": false,
              "description": "One stargazer country or region row returned by OSS Insight."
            },
            "description": "Countries or regions of stargazers returned by OSS Insight."
          },
          "metadata": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "col": {
                      "type": "string",
                      "description": "The column name returned by OSS Insight."
                    },
                    "data_type": {
                      "type": "string",
                      "description": "The SQL data type of the column."
                    },
                    "nullable": {
                      "type": "boolean",
                      "description": "Whether the column can be null."
                    }
                  },
                  "additionalProperties": false,
                  "description": "A column descriptor from the OSS Insight SQL endpoint response."
                },
                "description": "The SQL columns returned by the upstream endpoint."
              },
              "result": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "integer",
                    "description": "The OSS Insight result code."
                  },
                  "message": {
                    "type": "string",
                    "description": "The OSS Insight result message."
                  },
                  "start_ms": {
                    "type": "number",
                    "description": "The query start timestamp in milliseconds."
                  },
                  "end_ms": {
                    "type": "number",
                    "description": "The query end timestamp in milliseconds."
                  },
                  "latency": {
                    "type": "string",
                    "description": "The query latency text returned by OSS Insight."
                  },
                  "row_count": {
                    "type": "integer",
                    "description": "The number of rows returned."
                  },
                  "row_affect": {
                    "type": "integer",
                    "description": "The number of affected rows."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "The row limit applied by OSS Insight."
                  }
                },
                "additionalProperties": false,
                "description": "Execution metadata returned by OSS Insight."
              }
            },
            "additionalProperties": false,
            "description": "SQL metadata returned by OSS Insight."
          }
        },
        "additionalProperties": false,
        "required": [
          "countries",
          "metadata"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "ossinsight.list_stargazer_organizations",
      "service": "ossinsight",
      "name": "list_stargazer_organizations",
      "description": "List organizations of stargazers for a GitHub repository.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "owner": {
            "type": "string",
            "minLength": 1,
            "description": "The owner of the GitHub repository."
          },
          "repo": {
            "type": "string",
            "minLength": 1,
            "description": "The name of the GitHub repository."
          },
          "exclude_unknown": {
            "type": "boolean",
            "description": "Whether to exclude rows with unknown country or organization information.",
            "default": true
          },
          "from": {
            "type": "string",
            "description": "The start date of the time range.",
            "default": "2000-01-01",
            "format": "date"
          },
          "to": {
            "type": "string",
            "description": "The end date of the time range.",
            "default": "2099-01-01",
            "format": "date"
          }
        },
        "additionalProperties": false,
        "required": [
          "owner",
          "repo"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "organizations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "org_name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The GitHub organization name, or null when unknown."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "stargazers": {
                  "type": "integer",
                  "description": "The number of stargazers in this organization."
                },
                "percentage": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "The share of stargazers represented by this organization."
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": false,
              "description": "One stargazer organization row returned by OSS Insight."
            },
            "description": "Stargazer organizations returned by OSS Insight."
          },
          "metadata": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "col": {
                      "type": "string",
                      "description": "The column name returned by OSS Insight."
                    },
                    "data_type": {
                      "type": "string",
                      "description": "The SQL data type of the column."
                    },
                    "nullable": {
                      "type": "boolean",
                      "description": "Whether the column can be null."
                    }
                  },
                  "additionalProperties": false,
                  "description": "A column descriptor from the OSS Insight SQL endpoint response."
                },
                "description": "The SQL columns returned by the upstream endpoint."
              },
              "result": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "integer",
                    "description": "The OSS Insight result code."
                  },
                  "message": {
                    "type": "string",
                    "description": "The OSS Insight result message."
                  },
                  "start_ms": {
                    "type": "number",
                    "description": "The query start timestamp in milliseconds."
                  },
                  "end_ms": {
                    "type": "number",
                    "description": "The query end timestamp in milliseconds."
                  },
                  "latency": {
                    "type": "string",
                    "description": "The query latency text returned by OSS Insight."
                  },
                  "row_count": {
                    "type": "integer",
                    "description": "The number of rows returned."
                  },
                  "row_affect": {
                    "type": "integer",
                    "description": "The number of affected rows."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "The row limit applied by OSS Insight."
                  }
                },
                "additionalProperties": false,
                "description": "Execution metadata returned by OSS Insight."
              }
            },
            "additionalProperties": false,
            "description": "SQL metadata returned by OSS Insight."
          }
        },
        "additionalProperties": false,
        "required": [
          "organizations",
          "metadata"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "ossinsight.list_trending_repos",
      "service": "ossinsight",
      "name": "list_trending_repos",
      "description": "List recently trending GitHub repositories from OSS Insight.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "period": {
            "type": "string",
            "enum": [
              "past_24_hours",
              "past_week",
              "past_month"
            ],
            "description": "The time period used to calculate trending repositories.",
            "default": "past_24_hours"
          },
          "language": {
            "type": "string",
            "minLength": 1,
            "description": "The programming language filter. Use All to include every language.",
            "default": "All"
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "repositories": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "repo_id": {
                  "type": "string",
                  "description": "The GitHub repository ID."
                },
                "repo_name": {
                  "type": "string",
                  "description": "The full repository name in owner/repo format."
                },
                "primary_language": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The repository primary programming language, or null when unknown."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The repository description, or null when not available."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "stars": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The repository star count."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "forks": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The repository fork count."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "pull_requests": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The number of pull requests used by the trending score."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "pushes": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The number of pushes used by the trending score."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "total_score": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "The OSS Insight trending score."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "contributor_logins": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "description": "A GitHub login that contributed during the trend window."
                  },
                  "description": "Contributor logins returned by OSS Insight."
                },
                "collection_names": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "description": "A collection name associated with the repository."
                  },
                  "description": "OSS Insight collection names returned for the repository."
                }
              },
              "additionalProperties": false,
              "description": "One trending GitHub repository returned by OSS Insight."
            },
            "description": "Trending repositories returned by OSS Insight."
          },
          "metadata": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "col": {
                      "type": "string",
                      "description": "The column name returned by OSS Insight."
                    },
                    "data_type": {
                      "type": "string",
                      "description": "The SQL data type of the column."
                    },
                    "nullable": {
                      "type": "boolean",
                      "description": "Whether the column can be null."
                    }
                  },
                  "additionalProperties": false,
                  "description": "A column descriptor from the OSS Insight SQL endpoint response."
                },
                "description": "The SQL columns returned by the upstream endpoint."
              },
              "result": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "integer",
                    "description": "The OSS Insight result code."
                  },
                  "message": {
                    "type": "string",
                    "description": "The OSS Insight result message."
                  },
                  "start_ms": {
                    "type": "number",
                    "description": "The query start timestamp in milliseconds."
                  },
                  "end_ms": {
                    "type": "number",
                    "description": "The query end timestamp in milliseconds."
                  },
                  "latency": {
                    "type": "string",
                    "description": "The query latency text returned by OSS Insight."
                  },
                  "row_count": {
                    "type": "integer",
                    "description": "The number of rows returned."
                  },
                  "row_affect": {
                    "type": "integer",
                    "description": "The number of affected rows."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "The row limit applied by OSS Insight."
                  }
                },
                "additionalProperties": false,
                "description": "Execution metadata returned by OSS Insight."
              }
            },
            "additionalProperties": false,
            "description": "SQL metadata returned by OSS Insight."
          }
        },
        "additionalProperties": false,
        "required": [
          "repositories",
          "metadata"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "ossinsight.rank_collection_repos_by_issues",
      "service": "ossinsight",
      "name": "rank_collection_repos_by_issues",
      "description": "Rank repositories in an OSS Insight collection by issue growth.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "collection_id": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "The OSS Insight collection ID as a string."
              },
              {
                "type": "integer",
                "description": "The OSS Insight collection ID as a number."
              }
            ],
            "description": "The OSS Insight collection ID."
          },
          "period": {
            "type": "string",
            "minLength": 1,
            "description": "The OSS Insight collection ranking period, such as past_7_days or past_28_days.",
            "default": "past_28_days"
          }
        },
        "additionalProperties": false,
        "required": [
          "collection_id"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "rankings": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "repo_id": {
                  "type": "string",
                  "description": "The GitHub repository ID."
                },
                "repo_name": {
                  "type": "string",
                  "description": "The repository name in owner/repo format."
                },
                "current_period_growth": {
                  "type": "integer",
                  "description": "The metric growth in the current period."
                },
                "current_period_rank": {
                  "type": "integer",
                  "description": "The repository rank in the current period."
                },
                "past_period_growth": {
                  "type": "integer",
                  "description": "The metric growth in the previous period."
                },
                "past_period_rank": {
                  "type": "integer",
                  "description": "The repository rank in the previous period."
                },
                "growth_pop": {
                  "type": "number",
                  "description": "The period-over-period metric growth percentage."
                },
                "rank_pop": {
                  "type": "integer",
                  "description": "The period-over-period rank change."
                },
                "total": {
                  "type": "integer",
                  "description": "The repository total metric value."
                }
              },
              "additionalProperties": false,
              "description": "One repository ranking row in an OSS Insight collection."
            },
            "description": "Repository issue-growth rankings returned by OSS Insight."
          },
          "metadata": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "col": {
                      "type": "string",
                      "description": "The column name returned by OSS Insight."
                    },
                    "data_type": {
                      "type": "string",
                      "description": "The SQL data type of the column."
                    },
                    "nullable": {
                      "type": "boolean",
                      "description": "Whether the column can be null."
                    }
                  },
                  "additionalProperties": false,
                  "description": "A column descriptor from the OSS Insight SQL endpoint response."
                },
                "description": "The SQL columns returned by the upstream endpoint."
              },
              "result": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "integer",
                    "description": "The OSS Insight result code."
                  },
                  "message": {
                    "type": "string",
                    "description": "The OSS Insight result message."
                  },
                  "start_ms": {
                    "type": "number",
                    "description": "The query start timestamp in milliseconds."
                  },
                  "end_ms": {
                    "type": "number",
                    "description": "The query end timestamp in milliseconds."
                  },
                  "latency": {
                    "type": "string",
                    "description": "The query latency text returned by OSS Insight."
                  },
                  "row_count": {
                    "type": "integer",
                    "description": "The number of rows returned."
                  },
                  "row_affect": {
                    "type": "integer",
                    "description": "The number of affected rows."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "The row limit applied by OSS Insight."
                  }
                },
                "additionalProperties": false,
                "description": "Execution metadata returned by OSS Insight."
              }
            },
            "additionalProperties": false,
            "description": "SQL metadata returned by OSS Insight."
          }
        },
        "additionalProperties": false,
        "required": [
          "rankings",
          "metadata"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "ossinsight.rank_collection_repos_by_pull_requests",
      "service": "ossinsight",
      "name": "rank_collection_repos_by_pull_requests",
      "description": "Rank repositories in an OSS Insight collection by pull request growth.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "collection_id": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "The OSS Insight collection ID as a string."
              },
              {
                "type": "integer",
                "description": "The OSS Insight collection ID as a number."
              }
            ],
            "description": "The OSS Insight collection ID."
          },
          "period": {
            "type": "string",
            "minLength": 1,
            "description": "The OSS Insight collection ranking period, such as past_7_days or past_28_days.",
            "default": "past_28_days"
          }
        },
        "additionalProperties": false,
        "required": [
          "collection_id"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "rankings": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "repo_id": {
                  "type": "string",
                  "description": "The GitHub repository ID."
                },
                "repo_name": {
                  "type": "string",
                  "description": "The repository name in owner/repo format."
                },
                "current_period_growth": {
                  "type": "integer",
                  "description": "The metric growth in the current period."
                },
                "current_period_rank": {
                  "type": "integer",
                  "description": "The repository rank in the current period."
                },
                "past_period_growth": {
                  "type": "integer",
                  "description": "The metric growth in the previous period."
                },
                "past_period_rank": {
                  "type": "integer",
                  "description": "The repository rank in the previous period."
                },
                "growth_pop": {
                  "type": "number",
                  "description": "The period-over-period metric growth percentage."
                },
                "rank_pop": {
                  "type": "integer",
                  "description": "The period-over-period rank change."
                },
                "total": {
                  "type": "integer",
                  "description": "The repository total metric value."
                }
              },
              "additionalProperties": false,
              "description": "One repository ranking row in an OSS Insight collection."
            },
            "description": "Repository pull-request-growth rankings returned by OSS Insight."
          },
          "metadata": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "col": {
                      "type": "string",
                      "description": "The column name returned by OSS Insight."
                    },
                    "data_type": {
                      "type": "string",
                      "description": "The SQL data type of the column."
                    },
                    "nullable": {
                      "type": "boolean",
                      "description": "Whether the column can be null."
                    }
                  },
                  "additionalProperties": false,
                  "description": "A column descriptor from the OSS Insight SQL endpoint response."
                },
                "description": "The SQL columns returned by the upstream endpoint."
              },
              "result": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "integer",
                    "description": "The OSS Insight result code."
                  },
                  "message": {
                    "type": "string",
                    "description": "The OSS Insight result message."
                  },
                  "start_ms": {
                    "type": "number",
                    "description": "The query start timestamp in milliseconds."
                  },
                  "end_ms": {
                    "type": "number",
                    "description": "The query end timestamp in milliseconds."
                  },
                  "latency": {
                    "type": "string",
                    "description": "The query latency text returned by OSS Insight."
                  },
                  "row_count": {
                    "type": "integer",
                    "description": "The number of rows returned."
                  },
                  "row_affect": {
                    "type": "integer",
                    "description": "The number of affected rows."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "The row limit applied by OSS Insight."
                  }
                },
                "additionalProperties": false,
                "description": "Execution metadata returned by OSS Insight."
              }
            },
            "additionalProperties": false,
            "description": "SQL metadata returned by OSS Insight."
          }
        },
        "additionalProperties": false,
        "required": [
          "rankings",
          "metadata"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "ossinsight.rank_collection_repos_by_stars",
      "service": "ossinsight",
      "name": "rank_collection_repos_by_stars",
      "description": "Rank repositories in an OSS Insight collection by star growth.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "collection_id": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "The OSS Insight collection ID as a string."
              },
              {
                "type": "integer",
                "description": "The OSS Insight collection ID as a number."
              }
            ],
            "description": "The OSS Insight collection ID."
          },
          "period": {
            "type": "string",
            "minLength": 1,
            "description": "The OSS Insight collection ranking period, such as past_7_days or past_28_days.",
            "default": "past_28_days"
          }
        },
        "additionalProperties": false,
        "required": [
          "collection_id"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "rankings": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "repo_id": {
                  "type": "string",
                  "description": "The GitHub repository ID."
                },
                "repo_name": {
                  "type": "string",
                  "description": "The repository name in owner/repo format."
                },
                "current_period_growth": {
                  "type": "integer",
                  "description": "The metric growth in the current period."
                },
                "current_period_rank": {
                  "type": "integer",
                  "description": "The repository rank in the current period."
                },
                "past_period_growth": {
                  "type": "integer",
                  "description": "The metric growth in the previous period."
                },
                "past_period_rank": {
                  "type": "integer",
                  "description": "The repository rank in the previous period."
                },
                "growth_pop": {
                  "type": "number",
                  "description": "The period-over-period metric growth percentage."
                },
                "rank_pop": {
                  "type": "integer",
                  "description": "The period-over-period rank change."
                },
                "total": {
                  "type": "integer",
                  "description": "The repository total metric value."
                }
              },
              "additionalProperties": false,
              "description": "One repository ranking row in an OSS Insight collection."
            },
            "description": "Repository star-growth rankings returned by OSS Insight."
          },
          "metadata": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "col": {
                      "type": "string",
                      "description": "The column name returned by OSS Insight."
                    },
                    "data_type": {
                      "type": "string",
                      "description": "The SQL data type of the column."
                    },
                    "nullable": {
                      "type": "boolean",
                      "description": "Whether the column can be null."
                    }
                  },
                  "additionalProperties": false,
                  "description": "A column descriptor from the OSS Insight SQL endpoint response."
                },
                "description": "The SQL columns returned by the upstream endpoint."
              },
              "result": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "integer",
                    "description": "The OSS Insight result code."
                  },
                  "message": {
                    "type": "string",
                    "description": "The OSS Insight result message."
                  },
                  "start_ms": {
                    "type": "number",
                    "description": "The query start timestamp in milliseconds."
                  },
                  "end_ms": {
                    "type": "number",
                    "description": "The query end timestamp in milliseconds."
                  },
                  "latency": {
                    "type": "string",
                    "description": "The query latency text returned by OSS Insight."
                  },
                  "row_count": {
                    "type": "integer",
                    "description": "The number of rows returned."
                  },
                  "row_affect": {
                    "type": "integer",
                    "description": "The number of affected rows."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "The row limit applied by OSS Insight."
                  }
                },
                "additionalProperties": false,
                "description": "Execution metadata returned by OSS Insight."
              }
            },
            "additionalProperties": false,
            "description": "SQL metadata returned by OSS Insight."
          }
        },
        "additionalProperties": false,
        "required": [
          "rankings",
          "metadata"
        ],
        "description": "Action output."
      }
    }
  ]
}
