@vannizhang/living-atlas-content-validator 1.5.19-beta.4 → 1.5.19-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -38,7 +38,8 @@ import { checkFeatureServiceFieldDescriptions } from './lib/featureServiceFieldD
38
38
  import { checkFeatureServiceFieldAliases } from './lib/featureServiceFieldAliases/checkFeatureServiceFieldAliases';
39
39
  import { checkFeatureServiceFieldValueTypes } from './lib/featureServiceFieldValueTypes/checkFeatureServiceFieldValueTypes';
40
40
  import { fetchFeatureServiceLayersAndTables } from './services/feature-service/fetchFeatureServiceLayersAndTables';
41
- export { configureSettings, validate, isValidTitle, isValidAccessInformation, isValidDescription, isValidLicenseInfo, isValidAccess, isValidSSL, isValidSummary, isValidTags, isValidThumbnail, isValidUserProfileDescription, isValidUserProfileName, isValidUserProfileThumbnail, isDeprecated, isDeleteProtectionEnabled, checkTitleAndSnippetSearchability, matchLocationInfo, matchDateTimeInfo, matchSourceInfo, matchTopicInfo, isRecognizedLocation, isRecognizedDateTimeInfo, isRecognizedSource, isRecognizedTopic, isRejectedLocationInfo, isRejectedDateTimeInfo, isRejectedSourceInfo, isRejectedTopicInfo, isEligibleForCheckingTitleAndSnippetSearchability, getLivingAtlasSupportedItemTypes, checkIsLivingAtlasSupportedItemType, sanitizeTags, getStringsConfig, getDefaultStringsConfig, checkFeatureServiceFieldAliases, checkFeatureServiceFieldDescriptions, checkFeatureServiceFieldValueTypes, fetchFeatureServiceLayersAndTables, };
41
+ import { getRelevantFeatureLayerFields } from './lib/util/getRelevantFeatureLayerFields';
42
+ export { configureSettings, validate, isValidTitle, isValidAccessInformation, isValidDescription, isValidLicenseInfo, isValidAccess, isValidSSL, isValidSummary, isValidTags, isValidThumbnail, isValidUserProfileDescription, isValidUserProfileName, isValidUserProfileThumbnail, isDeprecated, isDeleteProtectionEnabled, checkTitleAndSnippetSearchability, matchLocationInfo, matchDateTimeInfo, matchSourceInfo, matchTopicInfo, isRecognizedLocation, isRecognizedDateTimeInfo, isRecognizedSource, isRecognizedTopic, isRejectedLocationInfo, isRejectedDateTimeInfo, isRejectedSourceInfo, isRejectedTopicInfo, isEligibleForCheckingTitleAndSnippetSearchability, getLivingAtlasSupportedItemTypes, checkIsLivingAtlasSupportedItemType, sanitizeTags, getStringsConfig, getDefaultStringsConfig, checkFeatureServiceFieldAliases, checkFeatureServiceFieldDescriptions, checkFeatureServiceFieldValueTypes, fetchFeatureServiceLayersAndTables, getRelevantFeatureLayerFields, };
42
43
  export { fetchAdditonalPatterns4TitleAndSnippetSearchability, fetchProfanitiesData, getSubmittedCustomTerms, getMyCustomTerms, addCustomTerms2FeatureTable, updateStatusOfCustomTermsInFeatureTable, getPackagedReviewResults, getReviewedReviewResults, getUnarchivedReviewResults, getDeployedReviewResults, getReviewResultsByTermAndCategory, addReviewResults2FeatureTable, updateReviewResultsInFeatureTable, getCustomTermsFeatureTableItemInfo, getCustomTermsReviewResultsFeatureTableItemInfo, containsProfanity, };
43
44
  export { isValidRegexPattern, escapeSpecialCharacters };
44
45
  export type { ValidationMessage, ValidationInfo, ValidationResult, ValidationRulesStringJSON, ValidationResultStatus, MatchResult, CustomTermFeature, CustomTermCategory, CustomTermStatus, CustomTermsReviewResultLifecycle, CustomTermReviewResultFeature, AdditionalPatterns4TitleAndSnippetSearchability, AddFeaturesResponse, LivingAtlasSupportedItemType, FeatureLayerFieldRaw, FeatureLayerFieldFormatted, FeatureLayerJSON, FeatureLayerFieldValueType, FeatureServiceJSON, };
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getReviewResultsByTermAndCategory = exports.getDeployedReviewResults = exports.getUnarchivedReviewResults = exports.getReviewedReviewResults = exports.getPackagedReviewResults = exports.updateStatusOfCustomTermsInFeatureTable = exports.addCustomTerms2FeatureTable = exports.getMyCustomTerms = exports.getSubmittedCustomTerms = exports.fetchProfanitiesData = exports.fetchAdditonalPatterns4TitleAndSnippetSearchability = exports.fetchFeatureServiceLayersAndTables = exports.checkFeatureServiceFieldValueTypes = exports.checkFeatureServiceFieldDescriptions = exports.checkFeatureServiceFieldAliases = exports.getDefaultStringsConfig = exports.getStringsConfig = exports.sanitizeTags = exports.checkIsLivingAtlasSupportedItemType = exports.getLivingAtlasSupportedItemTypes = exports.isEligibleForCheckingTitleAndSnippetSearchability = exports.isRejectedTopicInfo = exports.isRejectedSourceInfo = exports.isRejectedDateTimeInfo = exports.isRejectedLocationInfo = exports.isRecognizedTopic = exports.isRecognizedSource = exports.isRecognizedDateTimeInfo = exports.isRecognizedLocation = exports.matchTopicInfo = exports.matchSourceInfo = exports.matchDateTimeInfo = exports.matchLocationInfo = exports.checkTitleAndSnippetSearchability = exports.isDeleteProtectionEnabled = exports.isDeprecated = exports.isValidUserProfileThumbnail = exports.isValidUserProfileName = exports.isValidUserProfileDescription = exports.isValidThumbnail = exports.isValidTags = exports.isValidSummary = exports.isValidSSL = exports.isValidAccess = exports.isValidLicenseInfo = exports.isValidDescription = exports.isValidAccessInformation = exports.isValidTitle = exports.validate = exports.configureSettings = void 0;
4
- exports.escapeSpecialCharacters = exports.isValidRegexPattern = exports.containsProfanity = exports.getCustomTermsReviewResultsFeatureTableItemInfo = exports.getCustomTermsFeatureTableItemInfo = exports.updateReviewResultsInFeatureTable = exports.addReviewResults2FeatureTable = void 0;
3
+ exports.getDeployedReviewResults = exports.getUnarchivedReviewResults = exports.getReviewedReviewResults = exports.getPackagedReviewResults = exports.updateStatusOfCustomTermsInFeatureTable = exports.addCustomTerms2FeatureTable = exports.getMyCustomTerms = exports.getSubmittedCustomTerms = exports.fetchProfanitiesData = exports.fetchAdditonalPatterns4TitleAndSnippetSearchability = exports.getRelevantFeatureLayerFields = exports.fetchFeatureServiceLayersAndTables = exports.checkFeatureServiceFieldValueTypes = exports.checkFeatureServiceFieldDescriptions = exports.checkFeatureServiceFieldAliases = exports.getDefaultStringsConfig = exports.getStringsConfig = exports.sanitizeTags = exports.checkIsLivingAtlasSupportedItemType = exports.getLivingAtlasSupportedItemTypes = exports.isEligibleForCheckingTitleAndSnippetSearchability = exports.isRejectedTopicInfo = exports.isRejectedSourceInfo = exports.isRejectedDateTimeInfo = exports.isRejectedLocationInfo = exports.isRecognizedTopic = exports.isRecognizedSource = exports.isRecognizedDateTimeInfo = exports.isRecognizedLocation = exports.matchTopicInfo = exports.matchSourceInfo = exports.matchDateTimeInfo = exports.matchLocationInfo = exports.checkTitleAndSnippetSearchability = exports.isDeleteProtectionEnabled = exports.isDeprecated = exports.isValidUserProfileThumbnail = exports.isValidUserProfileName = exports.isValidUserProfileDescription = exports.isValidThumbnail = exports.isValidTags = exports.isValidSummary = exports.isValidSSL = exports.isValidAccess = exports.isValidLicenseInfo = exports.isValidDescription = exports.isValidAccessInformation = exports.isValidTitle = exports.validate = exports.configureSettings = void 0;
4
+ exports.escapeSpecialCharacters = exports.isValidRegexPattern = exports.containsProfanity = exports.getCustomTermsReviewResultsFeatureTableItemInfo = exports.getCustomTermsFeatureTableItemInfo = exports.updateReviewResultsInFeatureTable = exports.addReviewResults2FeatureTable = exports.getReviewResultsByTermAndCategory = void 0;
5
5
  const isValidTitle_1 = require("./lib/title/isValidTitle");
6
6
  Object.defineProperty(exports, "isValidTitle", { enumerable: true, get: function () { return isValidTitle_1.isValidTitle; } });
7
7
  const isValidAccessInformation_1 = require("./lib/accessInformation/isValidAccessInformation");
@@ -97,4 +97,6 @@ const checkFeatureServiceFieldValueTypes_1 = require("./lib/featureServiceFieldV
97
97
  Object.defineProperty(exports, "checkFeatureServiceFieldValueTypes", { enumerable: true, get: function () { return checkFeatureServiceFieldValueTypes_1.checkFeatureServiceFieldValueTypes; } });
98
98
  const fetchFeatureServiceLayersAndTables_1 = require("./services/feature-service/fetchFeatureServiceLayersAndTables");
99
99
  Object.defineProperty(exports, "fetchFeatureServiceLayersAndTables", { enumerable: true, get: function () { return fetchFeatureServiceLayersAndTables_1.fetchFeatureServiceLayersAndTables; } });
100
+ const getRelevantFeatureLayerFields_1 = require("./lib/util/getRelevantFeatureLayerFields");
101
+ Object.defineProperty(exports, "getRelevantFeatureLayerFields", { enumerable: true, get: function () { return getRelevantFeatureLayerFields_1.getRelevantFeatureLayerFields; } });
100
102
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAiBA,2DAAwD;AA6GpD,6FA7GK,2BAAY,OA6GL;AA5GhB,+FAA4F;AA6GxF,yGA7GK,mDAAwB,OA6GL;AA5G5B,6EAA0E;AA6GtE,mGA7GK,uCAAkB,OA6GL;AA5GtB,yEAAyE;AACzE,6EAA0E;AA6GtE,mGA7GK,uCAAkB,OA6GL;AA5GtB,+DAA4D;AA6GxD,8FA7GK,6BAAa,OA6GL;AA5GjB,qDAAkD;AA6G9C,2FA7GK,uBAAU,OA6GL;AA5Gd,iEAA8D;AA6G1D,+FA7GK,+BAAc,OA6GL;AA5GlB,wDAAqD;AA6GjD,4FA7GK,yBAAW,OA6GL;AA5Gf,uEAAoE;AA6GhE,iGA7GK,mCAAgB,OA6GL;AA5GpB,8GAA2G;AA6GvG,8GA7GK,6DAA6B,OA6GL;AA5GjC,yFAAsF;AA6GlF,uGA7GK,+CAAsB,OA6GL;AA5G1B,wGAAqG;AA6GjG,4GA7GK,yDAA2B,OA6GL;AA5G/B,gEAA6D;AA6GzD,6FA7GK,2BAAY,OA6GL;AA5GhB,sDAAmD;AA6F/C,yFA7FK,mBAAQ,OA6FL;AA5FZ,gGAA6F,CAAC,kCAAkC;AA4G5H,0GA5GK,qDAAyB,OA4GL;AA3G7B,0EAA0E;AAC1E,iIAA8H;AA2G1H,kHA3GK,qEAAiC,OA2GL;AA1GrC,iGAImE;AAuG/D,kGA1GA,qCAAiB,OA0GA;AAIjB,qGA7GA,wCAAoB,OA6GA;AAIpB,uGA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EK,2CAAoB,OAkEL;AAjExB,8EAA4E;AA+ExE,kGA/EK,oCAAiB,OA+EL;AA9ErB,kGAGqD;AA+CjD,iHAjDA,mEAAgC,OAiDA;AAChC,oHAjDA,sEAAmC,OAiDA;AA5CvC,qIAAkI;AAiD9H,qHAjDK,2EAAoC,OAiDL;AA/CxC,sHAAmH;AA8C/G,gHA9CK,iEAA+B,OA8CL;AA5CnC,+HAA4H;AA8CxH,mHA9CK,uEAAkC,OA8CL;AA5CtC,sHAAmH;AA6C/G,mHA7CK,uEAAkC,OA6CL;AA3CtC,4FAAyF;AA4CrF,8GA5CK,6DAA6B,OA4CL"}
@@ -52,9 +52,10 @@ const checkFeatureServiceFieldAliases = (item, featureLayers) => {
52
52
  return validationResult;
53
53
  }
54
54
  const relevantFields = (0, getRelevantFeatureLayerFields_1.getRelevantFeatureLayerFields)(featureLayers || []);
55
- // should receive full score since there is no relevant field that needs to be checked
56
55
  if (relevantFields.length === 0) {
57
- validationResult.scoringFactor = scoringFactors.CONTAINS_FIELD_ALIASES;
56
+ validationResult.messages.push({
57
+ message: strings.featureLayerFieldDescriptions.NO_RELEVANT_FIELD,
58
+ });
58
59
  return validationResult;
59
60
  }
60
61
  // get the count of fields with aliases
@@ -1 +1 @@
1
- {"version":3,"file":"checkFeatureServiceFieldAliases.js","sourceRoot":"","sources":["../../../src/lib/featureServiceFieldAliases/checkFeatureServiceFieldAliases.ts"],"names":[],"mappings":";;;AACA,yFAAsF;AACtF,+DAA4D;AAC5D,yDAAyD;AACzD,mDAAgD;AAEhD;;;;;;;;;;;;;;;;;;;GAmBG;AACI,MAAM,+BAA+B,GAAG,CAC3C,IAAW,EACX,aAAiC,EACnB,EAAE;IAChB,MAAM,OAAO,GAAG,IAAA,gCAAgB,GAAE,CAAC;IAEnC,MAAM,cAAc,GAAG,6BAAa,CAAC,cAAc,CAAC,OAAO,CAAC;IAE5D,MAAM,gBAAgB,GAAmB;QACrC,gBAAgB,EAAE,+BAA+B;QACjD,KAAK,E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,EAAE,CAAC;QACzB,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC;YAC3B,OAAO,EAAE,OAAO,CAAC,wBAAwB,CAAC,eAAe;SAC5D,CAAC,CAAC;QACH,OAAO,gBAAgB,CAAC;IAC5B,CAAC;IAED,gFAAgF;IAChF,yEAAyE;IACzE,IAAI,gBAAgB,GAAG,GAAG,EAAE,CAAC;QACzB,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC;YAC3B,OAAO,EAAE,OAAO,CAAC,wBAAwB,CAAC,mBAAmB;SAChE,CAAC,CAAC;QACH,gBAAgB,CAAC,aAAa;YAC1B,cAAc,CAAC,sBAAsB,GAAG,CAAC,CAAC;QAC9C,OAAO,gBAAgB,CAAC;IAC5B,CAAC;IAED,mFAAmF;IACnF,+BAA+B;IAC/B,gBAAgB,CAAC,aAAa,GAAG,CAAC,CAAC;IAEnC,OAAO,gBAAgB,CAAC;AAC5B,CAAC,CAAC;AA7EW,QAAA,+BAA+B,mCA6E1C"}
1
+ {"version":3,"file":"checkFeatureServiceFieldAliases.js","sourceRoot":"","sources":["../../../src/lib/featureServiceFieldAliases/checkFeatureServiceFieldAliases.ts"],"names":[],"mappings":";;;AACA,yFAAsF;AACtF,+DAA4D;AAC5D,yDAAyD;AACzD,mDAAgD;AAEhD;;;;;;;;;;;;;;;;;;;GAmBG;AACI,MAAM,+BAA+B,GAAG,CAC3C,IAAW,EACX,aAAiC,EACnB,EAAE;IAChB,MAAM,OAAO,GAAG,IAAA,gCAAgB,GAAE,CAAC;IAEnC,MAAM,cAAc,GAAG,6BAAa,CAAC,cAAc,CAAC,OAAO,CAAC;IAE5D,MAAM,gBAAgB,GAAmB;QACrC,gBAAgB,EAAE,+BAA+B;QACjD,KAAK,EAAE,OAAO,CAAC,wBAAwB,CAAC,KAAK;QAC7C,KAAK,EAAE,OAAO,CAAC,wBAAwB,CAAC,KAAK;QAC7C,QAAQ,EAAE,CAAC;QACX,KAAK,EAAE,CAAC;QACR,QAAQ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AAe;SAC5D,CAAC,CAAC;QACH,OAAO,gBAAgB,CAAC;IAC5B,CAAC;IAED,gFAAgF;IAChF,yEAAyE;IACzE,IAAI,gBAAgB,GAAG,GAAG,EAAE,CAAC;QACzB,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC;YAC3B,OAAO,EAAE,OAAO,CAAC,wBAAwB,CAAC,mBAAmB;SAChE,CAAC,CAAC;QACH,gBAAgB,CAAC,aAAa;YAC1B,cAAc,CAAC,sBAAsB,GAAG,CAAC,CAAC;QAC9C,OAAO,gBAAgB,CAAC;IAC5B,CAAC;IAED,mFAAmF;IACnF,+BAA+B;IAC/B,gBAAgB,CAAC,aAAa,GAAG,CAAC,CAAC;IAEnC,OAAO,gBAAgB,CAAC;AAC5B,CAAC,CAAC;AA9EW,QAAA,+BAA+B,mCA8E1C"}
@@ -51,10 +51,13 @@ const checkFeatureServiceFieldDescriptions = (item, featureLayers) => {
51
51
  return validationResult;
52
52
  }
53
53
  const relevantFields = (0, getRelevantFeatureLayerFields_1.getRelevantFeatureLayerFields)(featureLayers || []);
54
- // should receive full score since there is no relevant field that needs to be checked
54
+ // should receive 0 score since there is no relevant field found.
55
+ // Checked with Jim Herris and he said that he'd rather see this as a 0 score
56
+ // so that the user can see that there are no relevant fields
55
57
  if (relevantFields.length === 0) {
56
- validationResult.scoringFactor =
57
- scoringFactors.CONTAINS_FIELD_DESCRIPTIONS;
58
+ validationResult.messages.push({
59
+ message: strings.featureLayerFieldDescriptions.NO_RELEVANT_FIELD,
60
+ });
58
61
  return validationResult;
59
62
  }
60
63
  // get the count of fields with descriptions provided
@@ -1 +1 @@
1
- {"version":3,"file":"checkFeatureServiceFieldDescriptions.js","sourceRoot":"","sources":["../../../src/lib/featureServiceFieldDescriptions/checkFeatureServiceFieldDescriptions.ts"],"names":[],"mappings":";;;AACA,yFAAsF;AACtF,+DAA4D;AAC5D,yDAAyD;AACzD,mDAAgD;AAEhD;;;;;;;;;;;;;;;;;;GAkBG;AACI,MAA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C,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC;SACpC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,WAAC,OAAA,MAAA,KAAK,CAAC,WAAW,0CAAE,KAAK,CAAA,EAAA,CAAC,CAAC,MAAM,CAAC;IAExD,MAAM,sBAAsB,GACxB,4BAA4B,GAAG,cAAc,CAAC,MAAM,CAAC;IAEzD,wEAAwE;IACxE,oEAAoE;IACpE,IAAI,sBAAsB,KAAK,CAAC,EAAE,CAAC;QAC/B,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC;YAC3B,OAAO,EACH,OAAO,CAAC,6BAA6B,CAAC,qBAAqB;SAClE,CAAC,CAAC;QACH,OAAO,gBAAgB,CAAC;IAC5B,CAAC;IAED,sFAAsF;IACtF,yEAAyE;IACzE,IAAI,sBAAsB,GAAG,GAAG,EAAE,CAAC;QAC/B,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC;YAC3B,OAAO,EACH,OAAO,CAAC,6BAA6B,CAAC,yBAAyB;SACtE,CAAC,CAAC;QACH,gBAAgB,CAAC,aAAa;YAC1B,cAAc,CAAC,2BAA2B,GAAG,CAAC,CAAC;QACnD,OAAO,gBAAgB,CAAC;IAC5B,CAAC;IAED,yFAAyF;IACzF,+BAA+B;IAC/B,gBAAgB,CAAC,aAAa,GAAG,CAAC,CAAC;IAEnC,OAAO,gBAAgB,CAAC;AAC5B,CAAC,CAAC;AAjFW,QAAA,oCAAoC,wCAiF/C"}
1
+ {"version":3,"file":"checkFeatureServiceFieldDescriptions.js","sourceRoot":"","sources":["../../../src/lib/featureServiceFieldDescriptions/checkFeatureServiceFieldDescriptions.ts"],"names":[],"mappings":";;;AACA,yFAAsF;AACtF,+DAA4D;AAC5D,yDAAyD;AACzD,mDAAgD;AAEhD;;;;;;;;;;;;;;;;;;GAkBG;AACI,MAAM,oCAAoC,GAAG,CAChD,IAAW,EACX,aAAiC,EACnB,EAAE;IAChB,MAAM,OAAO,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AC9C,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC;SACpC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,WAAC,OAAA,MAAA,KAAK,CAAC,WAAW,0CAAE,KAAK,CAAA,EAAA,CAAC,CAAC,MAAM,CAAC;IAExD,MAAM,sBAAsB,GACxB,4BAA4B,GAAG,cAAc,CAAC,MAAM,CAAC;IAEzD,wEAAwE;IACxE,oEAAoE;IACpE,IAAI,sBAAsB,KAAK,CAAC,EAAE,CAAC;QAC/B,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC;YAC3B,OAAO,EACH,OAAO,CAAC,6BAA6B,CAAC,qBAAqB;SAClE,CAAC,CAAC;QACH,OAAO,gBAAgB,CAAC;IAC5B,CAAC;IAED,sFAAsF;IACtF,yEAAyE;IACzE,IAAI,sBAAsB,GAAG,GAAG,EAAE,CAAC;QAC/B,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC;YAC3B,OAAO,EACH,OAAO,CAAC,6BAA6B,CAAC,yBAAyB;SACtE,CAAC,CAAC;QACH,gBAAgB,CAAC,aAAa;YAC1B,cAAc,CAAC,2BAA2B,GAAG,CAAC,CAAC;QACnD,OAAO,gBAAgB,CAAC;IAC5B,CAAC;IAED,yFAAyF;IACzF,+BAA+B;IAC/B,gBAAgB,CAAC,aAAa,GAAG,CAAC,CAAC;IAEnC,OAAO,gBAAgB,CAAC;AAC5B,CAAC,CAAC;AApFW,QAAA,oCAAoC,wCAoF/C"}
@@ -48,10 +48,10 @@ const checkFeatureServiceFieldValueTypes = (item, featureLayers) => {
48
48
  return validationResult;
49
49
  }
50
50
  const relevantFields = (0, getRelevantFeatureLayerFields_1.getRelevantFeatureLayerFields)(featureLayers || []);
51
- // should receive full score since there is no relevant field that needs to be checked
52
51
  if (relevantFields.length === 0) {
53
- validationResult.scoringFactor =
54
- scoringFactors.CONTAINS_FIELD_VALUE_TYPES;
52
+ validationResult.messages.push({
53
+ message: strings.featureLayerFieldDescriptions.NO_RELEVANT_FIELD,
54
+ });
55
55
  return validationResult;
56
56
  }
57
57
  // get the count of fields with descriptions provided
@@ -1 +1 @@
1
- {"version":3,"file":"checkFeatureServiceFieldValueTypes.js","sourceRoot":"","sources":["../../../src/lib/featureServiceFieldValueTypes/checkFeatureServiceFieldValueTypes.ts"],"names":[],"mappings":";;;AACA,yFAAsF;AACtF,+DAA4D;AAC5D,yDAAyD;AACzD,mDAAgD;AAEhD;;;;;;;;;;;;;;;GAeG;AACI,MAAM,kCAAkC,GAAG,CAC9C,IAAW,EACX,aAAiC,EACnB,EAAE;IAChB,MAAM,OAAO,GAAG,IAAA,gCAAgB,GAAE,CAAC;IAEnC,MAAM,cAAc,GAAG,6BAAa,CAAC,cAAc,CAAC,OAAO,CAAC;IAE5D,MAAM,gBAAgB,GAAmB;QACrC,gBAAgB,EAAE,mCAAmC;QACrD,KAAK,EAAE,OAAO,CAAC,sBAAsB,CAAC,KAAK;QAC3C,KAAK,EAAE,OAAO,CAAC,sBAAsB,CAAC,KAAK;QAC3C,QAAQ,EAAE,CAAC;QACX,KAAK,EAAE,CAAC;QACR,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAE,6BAAa,CAAC,MAAM;QAC5B,aAAa,EAAE,CAAC;QAChB,MAAM,EAAE,SAAS;QACjB,aAAa,EAAE,KAAK;KACvB,CAAC;IAEF,uGAAuG;IACvG,sCAAsC;IACtC,IAAI,CAAC,IAAA,mCAAgB,EAAC,IAAI,CAAC,EAAE,CAAC;QAC1B,uCACO,gBAAgB,KACnB,MAAM,EAAE,CAAC,IACX;IACN,CAAC;IAED,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC;QACzD,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC;YAC3B,OAAO,EAAE,OAAO,CAAC,sBAAsB,CAAC,gBAAgB;SAC3D,CAAC,CAAC;QACH,OAAO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C,CAAC;AA/EW,QAAA,kCAAkC,sCA+E7C"}
1
+ {"version":3,"file":"checkFeatureServiceFieldValueTypes.js","sourceRoot":"","sources":["../../../src/lib/featureServiceFieldValueTypes/checkFeatureServiceFieldValueTypes.ts"],"names":[],"mappings":";;;AACA,yFAAsF;AACtF,+DAA4D;AAC5D,yDAAyD;AACzD,mDAAgD;AAEhD;;;;;;;;;;;;;;;GAeG;AACI,MAAM,kCAAkC,GAAG,CAC9C,IAAW,EACX,aAAiC,EACnB,EAAE;IAChB,MAAM,OAAO,GAAG,IAAA,gCAAgB,GAAE,CAAC;IAEnC,MAAM,cAAc,GAAG,6BAAa,CAAC,cAAc,CAAC,OAAO,CAAC;IAE5D,MAAM,gBAAgB,GAAmB;QACrC,gBAAgB,EAAE,mCAAmC;QACrD,KAAK,EAAE,OAAO,CAAC,sBAAsB,CAAC,KAAK;QAC3C,KAAK,EAAE,OAAO,CAAC,sBAAsB,CAAC,KAAK;QAC3C,QAAQ,EAAE,CAAC;QACX,KAAK,EAAE,CAAC;QACR,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAE,6BAAa,CAAC,MAAM;QAC5B,aAAa,EAAE,CAAC;QAChB,MAAM,EAAE,SAAS;QACjB,aAAa,EAAE,KAAK;KACvB,CAAC;IAEF,uGAAuG;IACvG,sCAAsC;IACtC,IAAI,CAAC,IAAA,mCAAgB,EAAC,IAAI,CAAC,EAAE,CAAC;QAC1B,uCACO,gBAAgB,KACnB,MAAM,EAAE,CAAC,IACX;IACN,CAAC;IAED,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC;QACzD,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC;YAC3B,OAAO,EAAE,OAAO,CAAC,sBAAsB,CAAC,gBAAgB;SAC3D,CAAC,CAAC;QACH,OAAO,gBAAgB,CAAC;IAC5B,CAAC;IAED,MAAM,cAAc,GAAG,IAAA,6DAA6B,EA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C,sCA+E7C"}
@@ -178,7 +178,8 @@
178
178
  "TITLE": "Check Field Aliases",
179
179
  "ADD_FIELD_ALIAS": "Add field aliases to your feature layer",
180
180
  "IMPROVE_FIELD_ALIAS": "Improve field aliases in your feature layer",
181
- "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
181
+ "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table",
182
+ "NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
182
183
  },
183
184
  "featureLayerFieldTypes": {
184
185
  "GUIDANCE_DEFAULT": "Field types are the data types of the fields in your feature layer.",
@@ -187,7 +188,8 @@
187
188
  "TITLE": "Check Field Types",
188
189
  "ADD_FIELD_TYPE": "Add field types to your feature layer",
189
190
  "IMRPOVE_FIELD_TYPE": "Improve field types in your feature layer",
190
- "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
191
+ "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table",
192
+ "NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
191
193
  },
192
194
  "featureLayerFieldDescriptions": {
193
195
  "GUIDANCE_DEFAULT": "Field descriptions are the descriptions of the fields in your feature layer. ",
@@ -196,6 +198,7 @@
196
198
  "TITLE": "Check Field Descriptions",
197
199
  "ADD_FIELD_DESCRIPTION": "Add field descriptions to your feature layer",
198
200
  "IMRPOVE_FIELD_DESCRIPTION": "Improve field descriptions in your feature layer",
199
- "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
201
+ "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table",
202
+ "NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
200
203
  }
201
204
  }
@@ -178,7 +178,8 @@
178
178
  "TITLE": "Check Field Aliases",
179
179
  "ADD_FIELD_ALIAS": "Add field aliases to your feature layer",
180
180
  "IMPROVE_FIELD_ALIAS": "Improve field aliases in your feature layer",
181
- "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
181
+ "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table",
182
+ "NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
182
183
  },
183
184
  "featureLayerFieldTypes": {
184
185
  "GUIDANCE_DEFAULT": "Field types are the data types of the fields in your feature layer.",
@@ -187,7 +188,8 @@
187
188
  "TITLE": "Check Field Types",
188
189
  "ADD_FIELD_TYPE": "Add field types to your feature layer",
189
190
  "IMRPOVE_FIELD_TYPE": "Improve field types in your feature layer",
190
- "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
191
+ "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table",
192
+ "NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
191
193
  },
192
194
  "featureLayerFieldDescriptions": {
193
195
  "GUIDANCE_DEFAULT": "Field descriptions are the descriptions of the fields in your feature layer. ",
@@ -196,6 +198,7 @@
196
198
  "TITLE": "Check Field Descriptions",
197
199
  "ADD_FIELD_DESCRIPTION": "Add field descriptions to your feature layer",
198
200
  "IMRPOVE_FIELD_DESCRIPTION": "Improve field descriptions in your feature layer",
199
- "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
201
+ "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table",
202
+ "NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
200
203
  }
201
204
  }
@@ -178,7 +178,8 @@
178
178
  "TITLE": "Check Field Aliases",
179
179
  "ADD_FIELD_ALIAS": "Add field aliases to your feature layer",
180
180
  "IMPROVE_FIELD_ALIAS": "Improve field aliases in your feature layer",
181
- "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
181
+ "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table",
182
+ "NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
182
183
  },
183
184
  "featureLayerFieldTypes": {
184
185
  "GUIDANCE_DEFAULT": "Field types are the data types of the fields in your feature layer.",
@@ -187,7 +188,8 @@
187
188
  "TITLE": "Check Field Types",
188
189
  "ADD_FIELD_TYPE": "Add field types to your feature layer",
189
190
  "IMRPOVE_FIELD_TYPE": "Improve field types in your feature layer",
190
- "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
191
+ "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table",
192
+ "NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
191
193
  },
192
194
  "featureLayerFieldDescriptions": {
193
195
  "GUIDANCE_DEFAULT": "Field descriptions are the descriptions of the fields in your feature layer. ",
@@ -196,6 +198,7 @@
196
198
  "TITLE": "Check Field Descriptions",
197
199
  "ADD_FIELD_DESCRIPTION": "Add field descriptions to your feature layer",
198
200
  "IMRPOVE_FIELD_DESCRIPTION": "Improve field descriptions in your feature layer",
199
- "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
201
+ "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table",
202
+ "NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
200
203
  }
201
204
  }
@@ -178,7 +178,8 @@
178
178
  "TITLE": "Check Field Aliases",
179
179
  "ADD_FIELD_ALIAS": "Add field aliases to your feature layer",
180
180
  "IMPROVE_FIELD_ALIAS": "Improve field aliases in your feature layer",
181
- "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
181
+ "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table",
182
+ "NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
182
183
  },
183
184
  "featureLayerFieldTypes": {
184
185
  "GUIDANCE_DEFAULT": "Field types are the data types of the fields in your feature layer.",
@@ -187,7 +188,8 @@
187
188
  "TITLE": "Check Field Types",
188
189
  "ADD_FIELD_TYPE": "Add field types to your feature layer",
189
190
  "IMRPOVE_FIELD_TYPE": "Improve field types in your feature layer",
190
- "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
191
+ "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table",
192
+ "NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
191
193
  },
192
194
  "featureLayerFieldDescriptions": {
193
195
  "GUIDANCE_DEFAULT": "Field descriptions are the descriptions of the fields in your feature layer. ",
@@ -196,6 +198,7 @@
196
198
  "TITLE": "Check Field Descriptions",
197
199
  "ADD_FIELD_DESCRIPTION": "Add field descriptions to your feature layer",
198
200
  "IMRPOVE_FIELD_DESCRIPTION": "Improve field descriptions in your feature layer",
199
- "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
201
+ "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table",
202
+ "NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
200
203
  }
201
204
  }
@@ -178,7 +178,8 @@
178
178
  "TITLE": "Check Field Aliases",
179
179
  "ADD_FIELD_ALIAS": "Add field aliases to your feature layer",
180
180
  "IMPROVE_FIELD_ALIAS": "Improve field aliases in your feature layer",
181
- "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
181
+ "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table",
182
+ "NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
182
183
  },
183
184
  "featureLayerFieldTypes": {
184
185
  "GUIDANCE_DEFAULT": "Field types are the data types of the fields in your feature layer.",
@@ -187,7 +188,8 @@
187
188
  "TITLE": "Check Field Types",
188
189
  "ADD_FIELD_TYPE": "Add field types to your feature layer",
189
190
  "IMRPOVE_FIELD_TYPE": "Improve field types in your feature layer",
190
- "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
191
+ "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table",
192
+ "NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
191
193
  },
192
194
  "featureLayerFieldDescriptions": {
193
195
  "GUIDANCE_DEFAULT": "Field descriptions are the descriptions of the fields in your feature layer. ",
@@ -196,6 +198,7 @@
196
198
  "TITLE": "Check Field Descriptions",
197
199
  "ADD_FIELD_DESCRIPTION": "Add field descriptions to your feature layer",
198
200
  "IMRPOVE_FIELD_DESCRIPTION": "Improve field descriptions in your feature layer",
199
- "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
201
+ "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table",
202
+ "NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
200
203
  }
201
204
  }
@@ -178,7 +178,8 @@
178
178
  "TITLE": "Check Field Aliases",
179
179
  "ADD_FIELD_ALIAS": "Add field aliases to your feature layer",
180
180
  "IMPROVE_FIELD_ALIAS": "Improve field aliases in your feature layer",
181
- "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
181
+ "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table",
182
+ "NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
182
183
  },
183
184
  "featureLayerFieldTypes": {
184
185
  "GUIDANCE_DEFAULT": "Field types are the data types of the fields in your feature layer.",
@@ -187,7 +188,8 @@
187
188
  "TITLE": "Check Field Types",
188
189
  "ADD_FIELD_TYPE": "Add field types to your feature layer",
189
190
  "IMRPOVE_FIELD_TYPE": "Improve field types in your feature layer",
190
- "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
191
+ "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table",
192
+ "NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
191
193
  },
192
194
  "featureLayerFieldDescriptions": {
193
195
  "GUIDANCE_DEFAULT": "Field descriptions are the descriptions of the fields in your feature layer. ",
@@ -196,6 +198,7 @@
196
198
  "TITLE": "Check Field Descriptions",
197
199
  "ADD_FIELD_DESCRIPTION": "Add field descriptions to your feature layer",
198
200
  "IMRPOVE_FIELD_DESCRIPTION": "Improve field descriptions in your feature layer",
199
- "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
201
+ "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table",
202
+ "NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
200
203
  }
201
204
  }
@@ -1 +1 @@
1
- {"lastCompiledTime":1747775562296}
1
+ {"lastCompiledTime":1747936362779}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vannizhang/living-atlas-content-validator",
3
- "version": "1.5.19-beta.4",
3
+ "version": "1.5.19-beta.6",
4
4
  "description": "Validation and Scoring rules for curating content in the ArcGIS Living Atlas",
5
5
  "repository": {
6
6
  "type": "git",