Formatter Validator Minifier Escape / Unescape JSON ↔ String JSON ↔ YAML JSON → CSV NDJSON / JSON Lines JSON → Types JSON ↔ XML JSON Diff JSON Patch Canonicalize (RFC 8785) Schema Validator Schema Generator JSONPath Tester JWT Decoder JSON Errors Schemas More Tools
JSONTools / Schema registry / .asmdef
Schema registry

.asmdef

Unity 3D assembly definition file

*.asmdef

Check your file against this schema

Opens the validator with this schema already loaded. Paste your *.asmdef and it validates in your browser — nothing is uploaded.

Validate a *.asmdef → View raw schema

Fields

Generated directly from the schema, following local $refs, to two levels of nesting.

Field Type Description
namerequiredstringThe name of the assembly being defined
rootNamespacestringThe root namespace of the assembly. Requires Unity 2020.2
referencesarray<string>A list of assembly names or assembly asset GUIDs to reference
includePlatformsarray
excludePlatformsarray
allowUnsafeCodebooleanAllow unsafe code
default: false
autoReferencedbooleanWhen true, this assembly definition is automatically referenced by predefined assemblies (Assembly-CSharp, Assembly-CSharp-firstpass, etc.)
default: true
noEngineReferencesbooleanWhen true, no references to UnityEngine or UnityEditor will be added to this assembly project
default: false
overrideReferencesbooleanWhen true, any references to precompiled assembly assets are manually chosen. When false, all precompiled assembly assets are automatically referenced
default: "false"
precompiledReferencesarrayA list of precompiled assembly assets that will be referenced. Only valid when overrideReferences is true
defineConstraintsarrayA list of the C# compiler define symbols that must evaluate to true in order for the assembly to be compiled or referenced. Absence of a symbol can be checked with a bang symbol (!DEFINE)
optionalUnityReferencesarrayAdditional optional Unity features to reference
versionDefinesarray<object>A set of expressions that will define a symbol in the C# project if a package or module version matches the given expression

What we found in this schema

Specification sections for the keywords in this schema

Keyword Document Section
$idJSON Schema Core, draft 2020-12§8.2.1 — The "$id" Keyword
$refJSON Schema Core, draft 2020-12§8.2.3.1 — Direct References with "$ref"
$schemaJSON Schema Core, draft 2020-12§8.1.1 — "$schema"
anyOfJSON Schema Core, draft 2020-12§10.2.1.2 — "anyOf"
defaultJSON Schema Validation, draft 2020-12§9.2 — "default"
descriptionJSON Schema Validation, draft 2020-12§9.1 — "title" and "description"
enumJSON Schema Validation, draft 2020-12§6.1.2 — "enum"
itemsJSON Schema Core, draft 2020-12§10.3.1.2 — "items"
maxItemsJSON Schema Validation, draft 2020-12§6.4.1 — "maxItems"
minItemsJSON Schema Validation, draft 2020-12§6.4.2 — "minItems"
minLengthJSON Schema Validation, draft 2020-12§6.3.2 — "minLength"
propertiesJSON Schema Core, draft 2020-12§10.3.2.1 — "properties"
requiredJSON Schema Validation, draft 2020-12§6.5.3 — "required"
typeJSON Schema Validation, draft 2020-12§6.1.1 — "type"
uniqueItemsJSON Schema Validation, draft 2020-12§6.4.3 — "uniqueItems"

Documents

Attribution

This schema comes from SchemaStore, distributed under the Apache License 2.0. Copyright 2015–present Mads Kristensen and contributors. View the original file. The field table and audit on this page are generated by JSONTools.tools; the schema itself is unmodified.

← All schemas