eslint-plugin-json-schema-validator
Version:
ESLint plugin that validates data using JSON Schema Validator.
1 lines • 4.09 kB
JSON
{"title":"JSON schema for Google Apps Script manifest files","$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{"runtimeVersion":{"type":"string","enum":["STABLE","V8","DEPRECATED_ES5"],"default":"STABLE"},"timeZone":{"type":"string","default":"America/New_York"},"dependencies":{"type":"object","properties":{"enabledAdvancedServices":{"type":"array","items":{"type":"object","required":["userSymbol","serviceId","version"],"properties":{"userSymbol":{"type":"string","default":"Sheets"},"serviceId":{"type":"string","default":"sheets"},"version":{"type":"string","default":"v4"}}}},"libraries":{"type":"array","items":{"type":"object","required":["userSymbol","libraryId","version"],"properties":{"userSymbol":{"type":"string","default":"OAuth2"},"libraryId":{"type":"string","default":"1B7FSrk5Zi6L1rSxxTDgDEUsPzlukDsi4KGuTMorsTQHhGBzBkMun4iDF","maxLength":57,"minLength":57},"version":{"type":"string","default":32},"developmentMode":{"type":"boolean","default":true}}}}}},"webapp":{"type":"object","properties":{"access":{"type":"string","enum":["MYSELF","DOMAIN","ANYONE","ANYONE_ANONYMOUS"],"default":"MYSELF"},"executeAs":{"type":"string","enum":["USER_ACCESSING","USER_DEPLOYING"],"default":"USER_DEPLOYING"}}},"exceptionLogging":{"type":"string","enum":["NONE","STACKDRIVER"]},"oauthScopes":{"type":"array","items":{"type":"string","format":"hostname"}},"urlFetchWhitelist":{"type":"array","items":{"type":"string","format":"hostname"}},"executionApi":{"type":"object","properties":{"access":{"type":"string","enum":["MYSELF","DOMAIN","ANYONE","ANYONE_ANONYMOUS"]}}},"sheets":{"type":"object","properties":{"macros":{"type":"array","items":{"type":"object","properties":{"menuName":{"type":"string","default":"My Macro"},"functionName":{"type":"string","default":"myFunction"},"defaultShortcut":{"type":"string","default":"Ctrl+Alt+Shift+1"}},"required":["menuName","functionName","defaultShortcut"]}}}},"dataStudio":{"type":"object","properties":{"name":{"type":"string"},"logoUrl":{"type":"string","format":"hostname"},"company":{"type":"string"},"addonUrl":{"type":"string","format":"hostname"},"companyUrl":{"type":"string","format":"hostname"},"supportUrl":{"type":"string","format":"hostname"},"description":{"type":"string"},"sources":{"type":"array","items":{"type":"string"}},"templates":{"type":"object"},"shortDescription":{"type":"string"},"authType":{"type":"array","items":{"type":"string","enum":["NONE","KEY","USER_PASS","OAUTH2"]}},"privacyPolicyUrl":{"type":"string","format":"hostname"},"termsOfServiceUrl":{"type":"string","format":"hostname"}},"required":["name","logoUrl","company","supportUrl","description"]},"addOns":{"type":"object","properties":{"common":{"type":"object","properties":{"name":{"type":"string"},"logoUrl":{"type":"string","format":"hostname"},"layoutProperties":{"type":"object","properties":{"primaryColor":{"type":"string"},"secondaryColor":{"type":"string"}}},"homepageTrigger":{"type":"object","properties":{"enabled":{"type":"boolean"},"runFunctions":{"type":"string"}}},"universalActions":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"openLink":{"type":"string","format":"hostname"},"runFunction":{"type":"string"}}}},"openLinkUrlPrefixes":{"type":"array","items":{"type":"string"}},"useLocaleFromApp":{"type":"boolean"}},"required":["logoUrl","name"]},"gmail":{"type":"object","properties":{"contextualTriggers":{"type":"array","items":{"type":"object","properties":{"onTriggerFunction":{"type":"string"},"unconditional":{"type":"object"}}}},"homepageTrigger":{"type":"object","properties":{"enabled":{"type":"boolean"},"runFunction":{"type":"string"}}}}},"calendar":{"type":"object","properties":{"homepageTrigger":{"type":"object","properties":{"enabled":{"type":"boolean"},"runFunction":{"type":"string"}}},"eventOpenTrigger":{"type":"object","properties":{"runFunction":{"type":"string"}}},"eventUpdateTrigger":{"type":"object","properties":{"runFunction":{"type":"string"}}},"eventAccess":{"type":"string","enum":["METADATA","READ","WRITE","READ_WRITE"]}}}}}}}