{"$schema":"http://json-schema.org/draft-06/schema#","title":"Unity Assembly Definition","type":"object","properties":{"name":{"type":"string","minLength":1},"rootNamespace":{"type":"string","minLength":1},"references":{"type":"array","items":{"type":"string","minLength":1},"uniqueItems":true},"includePlatforms":{"$ref":"#/definitions/platformValues"},"excludePlatforms":{"$ref":"#/definitions/platformValues"},"allowUnsafeCode":{"type":"boolean","default":false},"autoReferenced":{"type":"boolean","default":true},"noEngineReferences":{"type":"boolean","default":false},"overrideReferences":{"type":"boolean","default":"false"},"precompiledReferences":{"type":"array","uniqueItems":true},"defineConstraints":{"type":"array","uniqueItems":true},"optionalUnityReferences":{"type":"array","items":{"enum":["TestAssemblies"]},"uniqueItems":true},"versionDefines":{"type":"array","uniqueItems":true,"items":{"type":"object","properties":{"name":{"type":"string"},"expression":{"type":"string"},"define":{"type":"string"}},"required":["name","expression","define"]}}},"definitions":{"platformValues":{"type":"array","uniqueItems":true,"items":{"enum":["Android","Editor","iOS","LinuxStandalone32","LinuxStandalone64","LinuxStandaloneUniversal","Lumin","macOSStandalone","Nintendo3DS","PS4","PSVita","Stadia","Switch","tvOS","WSA","WebGL","WindowsStandalone32","WindowsStandalone64","XboxOne"]}}},"required":["name"],"anyOf":[{"properties":{"includePlatforms":{"minItems":1},"excludePlatforms":{"maxItems":0}}},{"properties":{"includePlatforms":{"maxItems":0},"excludePlatforms":{"minItems":1}}},{"properties":{"includePlatforms":{"maxItems":0},"excludePlatforms":{"maxItems":0}}}]}