84 lines
5.0 KiB
JSON
84 lines
5.0 KiB
JSON
{
|
|
"groups" : [ {
|
|
"id" : "mp.plugin.manager",
|
|
"builds" : [ ],
|
|
"versions" : [ {
|
|
"from" : "8"
|
|
} ],
|
|
"rules" : {
|
|
"event_id" : [ "{enum#__event_id}" ],
|
|
"event_data" : {
|
|
"acceptance_result" : [ "{enum:ACCEPTED|DECLINED|AUTO_ACCEPTED}" ],
|
|
"enabled_state" : [ "{enum:ENABLED|DISABLED}" ],
|
|
"group" : [ "{enum:BUNDLED_UPDATE|UPDATE|INSTALLING|INSTALLED|SEARCH_INSTALLED|SEARCH|STAFF_PICKS|NEW_AND_UPDATED|TOP_DOWNLOADS|TOP_RATED|CUSTOM_REPOSITORY|INTERNAL|SUGGESTED}" ],
|
|
"index" : [ "{regexp#integer}" ],
|
|
"localSearchFeatures.isBundled" : [ "{enum#boolean}" ],
|
|
"localSearchFeatures.isDisabled" : [ "{enum#boolean}" ],
|
|
"localSearchFeatures.isDownloaded" : [ "{enum#boolean}" ],
|
|
"localSearchFeatures.isEnabled" : [ "{enum#boolean}" ],
|
|
"localSearchFeatures.isInvalid" : [ "{enum#boolean}" ],
|
|
"localSearchFeatures.isUpdateNeeded" : [ "{enum#boolean}" ],
|
|
"localSearchFeatures.tagFiltersCount" : [ "{regexp#integer}" ],
|
|
"localSearchFeatures.vendorFiltersCount" : [ "{regexp#integer}" ],
|
|
"localSearchFeatures.withAttributes" : [ "{enum#boolean}" ],
|
|
"marketplaceSearchFeatures.customRepositoryCount" : [ "{regexp#integer}" ],
|
|
"marketplaceSearchFeatures.isStaffPicks" : [ "{enum#boolean}" ],
|
|
"marketplaceSearchFeatures.isSuggested" : [ "{enum#boolean}" ],
|
|
"marketplaceSearchFeatures.marketplaceCustomRepositoryCount" : [ "{regexp#integer}" ],
|
|
"marketplaceSearchFeatures.sortBy" : [ "{enum:UPDATE_DATE|DOWNLOADS|RATING|NAME|RELEVANCE}" ],
|
|
"marketplaceSearchFeatures.tagsListFilter" : [ "{util#mp_tags_list}" ],
|
|
"marketplaceSearchFeatures.vendorsListFilter" : [ "{util#mp_vendors_list}" ],
|
|
"plugin" : [ "{util#plugin}" ],
|
|
"plugin_type" : [ "{util#plugin_type}" ],
|
|
"plugin_version" : [ "{util#plugin_version}" ],
|
|
"previous_version" : [ "{util#plugin_version}" ],
|
|
"resultsFeatures.isEmpty" : [ "{enum#boolean}" ],
|
|
"resultsFeatures.reportLimit" : [ "{regexp#integer}" ],
|
|
"resultsFeatures.results.byJetBrains" : [ "{enum#boolean}" ],
|
|
"resultsFeatures.results.marketplaceInfo.date" : [ "{regexp#integer}" ],
|
|
"resultsFeatures.results.marketplaceInfo.downloads" : [ "{regexp#integer}" ],
|
|
"resultsFeatures.results.marketplaceInfo.isPaid" : [ "{enum#boolean}" ],
|
|
"resultsFeatures.results.marketplaceInfo.marketplaceId" : [ "{regexp#integer}" ],
|
|
"resultsFeatures.results.marketplaceInfo.marketplaceRating" : [ "{regexp#float}" ],
|
|
"resultsFeatures.results.nameLength" : [ "{regexp#integer}" ],
|
|
"resultsFeatures.results.plugin" : [ "{util#plugin}" ],
|
|
"resultsFeatures.results.plugin_type" : [ "{util#plugin_type}" ],
|
|
"resultsFeatures.results.plugin_version" : [ "{util#plugin_version}" ],
|
|
"resultsFeatures.total" : [ "{regexp#integer}" ],
|
|
"signature_check_result" : [ "{enum:INVALID_SIGNATURE|MISSING_SIGNATURE|WRONG_SIGNATURE|SUCCESSFUL}" ],
|
|
"source" : [ "{enum:MARKETPLACE|CUSTOM_REPOSITORY|FROM_DISK}" ],
|
|
"userQueryFeatures.isEmptyQuery" : [ "{enum#boolean}" ],
|
|
"userQueryFeatures.queryContainsAbbreviations" : [ "{enum#boolean}" ],
|
|
"userQueryFeatures.queryContainsPath" : [ "{enum#boolean}" ],
|
|
"userQueryFeatures.queryContainsSpaces" : [ "{enum#boolean}" ],
|
|
"userQueryFeatures.queryIsAllLowercase" : [ "{enum#boolean}" ],
|
|
"userQueryFeatures.queryIsAllUppercase" : [ "{enum#boolean}" ],
|
|
"userQueryFeatures.queryIsCamelCase" : [ "{enum#boolean}" ],
|
|
"userQueryFeatures.queryLength" : [ "{regexp#integer}" ],
|
|
"userQueryFeatures.withHANSymbols" : [ "{enum#boolean}" ],
|
|
"userQueryFeatures.wordCharsAndDelimitersOnly" : [ "{enum#boolean}" ],
|
|
"userQueryFeatures.wordsNumber" : [ "{regexp#integer}" ]
|
|
},
|
|
"enums" : {
|
|
"__event_id" : [ "plugin.install.third.party.check", "plugin.search.card.opened", "plugin.signature.warning.shown", "plugin.state.changed", "search.reset", "plugin.installation.finished", "plugin.signature.check.result", "marketplace.tab.search", "plugin.installation.started", "installed.tab.search", "plugin.was.removed" ]
|
|
}
|
|
}
|
|
} ],
|
|
"rules" : {
|
|
"enums" : {
|
|
"boolean" : [ "true", "false", "TRUE", "FALSE", "True", "False" ],
|
|
"plugin_type" : [ "JVM_CORE", "PLATFORM", "JB_BUNDLED", "JB_NOT_BUNDLED", "LISTED", "NOT_LISTED", "JB_UPDATED_BUNDLED", "UNKNOWN", "FROM_SOURCES" ]
|
|
},
|
|
"regexps" : {
|
|
"count" : "\\d+K?M?\\+?",
|
|
"date_YYYY-MM-DD_HH" : "^[12][0-9]{3}-(0[0-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])( ([0-1][0-9]|2[0-3]))?$",
|
|
"date_short_hash" : "[0-9]{2}[01][0-9][0123][0-9]-(([0-9A-Fa-f]{12})|undefined)",
|
|
"float" : "-?\\d+(\\.\\d+(E\\-?\\d+)?)?",
|
|
"hash" : "([0-9A-Fa-f]{40,64})|undefined",
|
|
"integer" : "-?\\d+(\\+)?",
|
|
"short_hash" : "([0-9A-Fa-f]{12})|undefined",
|
|
"version" : "Unknown|unknown.format|unknown|UNKNOWN|((\\d+\\.?)*\\d+)"
|
|
}
|
|
},
|
|
"version" : "4244"
|
|
} |