{
    "definitions": {
        "orgName": {
            "description": "Username may only contain alphanumeric characters or single hyphens, and cannot begin or end with a hyphen",
            "id": "#orgName",
            "pattern": "^(?:[A-Za-z0-9]+[-]?)+[A-Za-z0-9]$",
            "type": "string"
        },
        "pluginName": {
            "id": "#pluginName",
            "not": {
                "pattern": ".{14,}(?:ghlint|plugin)"
            },
            "pattern": "^ghlint-plugin-(?:[A-Za-z0-9]+[-]?)+[A-Za-z0-9]$",
            "type": "string"
        },
        "pluginShortName": {
            "id": "#pluginShortName",
            "not": {
                "pattern": "ghlint|plugin"
            },
            "pattern": "^(?:[A-Za-z0-9]+[-]?)+[A-Za-z0-9]$",
            "type": "string"
        },
        "repoName": {
            "id": "#repoName",
            "pattern": "^(?:(?:[A-Za-z0-9]+[-]?)+[A-Za-z0-9]/)?[A-Za-z0-9_-]+$",
            "type": "string"
        },
        "repoNamesList": {
            "id": "#repoNamesList",
            "pattern": "^(?:(?:(?:[A-Za-z0-9]+[-]?)+[A-Za-z0-9]/)?[A-Za-z0-9_-]+\\s*,\\s*)*(?:(?:[A-Za-z0-9]+[-]?)+[A-Za-z0-9]/)?[A-Za-z0-9_-]+$",
            "type": "string"
        },
        "ruleName": {
            "id": "#ruleName",
            "pattern": "^[A-Za-z](?:[A-Za-z0-9]+[-]?)+[A-Za-z0-9]$",
            "type": "string"
        },
        "teamName": {
            "id": "#teamName",
            "type": "string"
        }
    },
    "properties": {
        "orgName": {
            "$ref": "#/definitions/orgName"
        },
        "pluginName": {
            "$ref": "#/definitions/pluginName"
        },
        "pluginShortName": {
            "$ref": "#/definitions/pluginShortName"
        },
        "repoName": {
            "$ref": "#/definitions/repoName"
        },
        "repoNamesList": {
            "$ref": "#/definitions/repoNamesList"
        },
        "ruleName": {
            "$ref": "#/definitions/ruleName"
        },
        "teamName": {
            "$ref": "#/definitions/teamName"
        }
    },
    "required": [
        "orgName",
        "pluginName",
        "pluginShortName",
        "repoName",
        "repoNamesList",
        "ruleName",
        "teamName"
    ]
}