UNPKG

eslint-plugin-json-schema-validator

Version:
1 lines 8.49 kB
{"title":"JSON schema for .NET Core project.json files","$schema":"http://json-schema.org/draft-04/schema#","type":"object","definitions":{"compilationOptions":{"type":"object","properties":{"define":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"nowarn":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"warningsAsErrors":{"type":"boolean","default":false},"allowUnsafe":{"type":"boolean","default":false},"emitEntryPoint":{"type":"boolean","default":false},"optimize":{"type":"boolean","default":false},"platform":{"type":"string","enum":["anycpu","anycpu32bitpreferred","ARM","x86","x64","Itanium"]},"languageVersion":{"type":"string","enum":["csharp1","csharp2","csharp3","csharp4","csharp5","csharp6","experimental"]},"keyFile":{"type":"string"},"delaySign":{"type":"boolean","default":false},"publicSign":{"type":"boolean","default":false},"debugType":{"type":"string","enum":["portable","full","none"]},"preserveCompilationContext":{"type":"boolean"},"outputName":{"type":"string"}}},"buildOptions":{"type":"object","properties":{"define":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"nowarn":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"warningsAsErrors":{"type":"boolean","default":false},"allowUnsafe":{"type":"boolean","default":false},"emitEntryPoint":{"type":"boolean","default":false},"optimize":{"type":"boolean","default":false},"platform":{"type":"string","enum":["anycpu","anycpu32bitpreferred","ARM","x86","x64","Itanium"]},"languageVersion":{"type":"string","enum":["csharp1","csharp2","csharp3","csharp4","csharp5","csharp6","experimental"]},"keyFile":{"type":"string"},"delaySign":{"type":"boolean","default":false},"publicSign":{"type":"boolean","default":false},"debugType":{"type":"string","enum":["portable","full","none"]},"preserveCompilationContext":{"type":"boolean"},"outputName":{"type":"string"},"compilerName":{"type":"string","default":"csc"},"compile":{"type":["string","array","object"],"items":{"type":"string"},"properties":{"include":{"type":["string","array"],"items":{"type":"string"}},"exclude":{"type":["string","array"],"items":{"type":"string"}},"includeFiles":{"type":["string","array"],"items":{"type":"string"}},"excludeFiles":{"type":["string","array"],"items":{"type":"string"}},"builtIns":{"type":["string","array","object"],"items":{"type":"string"},"properties":{"include":{"type":["string","array"],"items":{"type":"string"}},"exclude":{"type":["string","array"],"items":{"type":"string"}}}},"mappings":{"type":"object"}}},"embed":{"allOf":[{"$ref":"#/definitions/buildOptions/properties/compile"},{}]},"copyToOutput":{"allOf":[{"$ref":"#/definitions/buildOptions/properties/compile"},{}]}}},"runtimeOptions":{"type":"object","properties":{"configProperties":{"type":"object","properties":{"System.GC.Server":{"type":"boolean","default":false},"System.GC.Concurrent":{"type":"boolean","default":false}}}}},"packOptions":{"type":"object","properties":{"summary":{"type":"string"},"tags":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"owners":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"releaseNotes":{"type":"string"},"iconUrl":{"type":"string"},"licenseUrl":{"type":"string"},"requireLicenseAcceptance":{"type":"boolean","default":false},"repository":{"type":"object","properties":{"type":{"type":"string","enum":["git"],"default":"git"},"url":{"type":"string","format":"uri"}},"additionalProperties":{"type":"string"}},"files":{"allOf":[{"$ref":"#/definitions/buildOptions/properties/compile"},{}]}}},"publishOptions":{"allOf":[{"$ref":"#/definitions/buildOptions/properties/compile"},{}]},"configType":{"type":"object","properties":{"dependencies":{"$ref":"#/definitions/dependencies"},"compilationOptions":{"$ref":"#/definitions/compilationOptions"},"buildOptions":{"$ref":"#/definitions/buildOptions"},"frameworkAssemblies":{"$ref":"#/definitions/dependencies"},"imports":{"type":["string","array"],"items":{"type":"string"}}}},"libraryIncludeFlag":{"type":"string","enum":["all","runtime","compile","build","contentFiles","native","analyzers","none"]},"libraryIncludeFlags":{"oneOf":[{"$ref":"#/definitions/libraryIncludeFlag"},{"type":"array","items":{"$ref":"#/definitions/libraryIncludeFlag"}}]},"dependencies":{"type":"object","additionalProperties":{"type":["string","object"],"properties":{"version":{"type":"string"},"type":{"type":"string","default":"default","enum":["default","build","platform"]},"target":{"type":"string","enum":["project","package"]},"include":{"$ref":"#/definitions/libraryIncludeFlags"},"exclude":{"$ref":"#/definitions/libraryIncludeFlags"},"suppressParent":{"$ref":"#/definitions/libraryIncludeFlags"}}}},"script":{"type":["string","array"],"items":{"type":"string"}}},"properties":{"authors":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"packInclude":{"type":"object"},"publishExclude":{"type":["string","array"],"items":{"type":"string"},"default":["obj/**/*.*","bin/**/*.*","**/.*/**"]},"compile":{"type":["string","array"],"items":{"type":"string"},"default":"**/*.cs"},"compileExclude":{"type":["string","array"],"items":{"type":"string"}},"compileFiles":{"type":["string","array"],"items":{"type":"string"}},"content":{"type":["string","array"],"items":{"type":"string"},"default":"**/*"},"contentExclude":{"type":["string","array"],"items":{"type":"string"}},"contentFiles":{"type":["string","array"],"items":{"type":"string"}},"preprocess":{"type":["string","array"],"items":{"type":"string"},"default":"compiler/preprocess/**/*.cs"},"preprocessExclude":{"type":["string","array"],"items":{"type":"string"}},"preprocessFiles":{"type":["string","array"],"items":{"type":"string"}},"resource":{"type":["string","array"],"items":{"type":"string"},"default":["compiler/resources/**/*","**/*.resx"]},"resourceExclude":{"type":["string","array"],"items":{"type":"string"}},"resourceFiles":{"type":["string","array"],"items":{"type":"string"}},"shared":{"type":["string","array"],"items":{"type":"string"},"default":"compiler/shared/**/*.cs"},"sharedExclude":{"type":["string","array"],"items":{"type":"string"}},"sharedFiles":{"type":["string","array"],"items":{"type":"string"}},"exclude":{"type":["string","array"],"items":{"type":"string"}},"excludeBuiltIn":{"type":["string","array"],"items":{"type":"string"},"default":["bin/**","obj/**","**/*.xproj"]},"testRunner":{"type":"string"},"commands":{"type":"object","additionalProperties":{"type":"string"}},"compilationOptions":{"$ref":"#/definitions/compilationOptions"},"buildOptions":{"$ref":"#/definitions/buildOptions"},"packOptions":{"$ref":"#/definitions/packOptions"},"runtimeOptions":{"$ref":"#/definitions/runtimeOptions"},"publishOptions":{"$ref":"#/definitions/publishOptions"},"configurations":{"type":"object","additionalProperties":{"type":"object","properties":{"compilationOptions":{"$ref":"#/definitions/compilationOptions"},"buildOptions":{"$ref":"#/definitions/buildOptions"}}}},"dependencies":{"$ref":"#/definitions/dependencies"},"copyright":{"type":"string"},"iconUrl":{"type":"string"},"licenseUrl":{"type":"string"},"requireLicenseAcceptance":{"type":"boolean","default":false},"owners":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"projectUrl":{"type":"string"},"summary":{"type":"string"},"tags":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"title":{"type":"string"},"releaseNotes":{"type":"string"},"language":{"type":"string"},"description":{"type":"string"},"frameworks":{"type":"object","additionalProperties":{"$ref":"#/definitions/configType"}},"namedResource":{"type":"object","additionalProperties":{"type":"string"}},"repository":{"type":"object","properties":{"type":{"type":"string","enum":["git"],"default":"git"},"url":{"type":"string","format":"uri"}},"additionalProperties":{"type":"string"}},"scripts":{"type":"object","properties":{"precompile":{"$ref":"#/definitions/script"},"postcompile":{"$ref":"#/definitions/script"},"prepack":{"$ref":"#/definitions/script"},"postpack":{"$ref":"#/definitions/script"},"prepublish":{"$ref":"#/definitions/script"},"postpublish":{"$ref":"#/definitions/script"},"prerestore":{"$ref":"#/definitions/script"},"postrestore":{"$ref":"#/definitions/script"},"prepare":{"$ref":"#/definitions/script"}}},"version":{"type":"string"},"tools":{"type":"object","additionalProperties":{"type":["string","object"],"properties":{"version":{"type":"string"}}}},"runtimes":{"type":"object"},"userSecretsId":{"type":"string"}}}