This defines the schema for .NET Core's runtimeconfig.json file.
Using Visual Studio, you can get auto-completion if you import the schema in your .JSON file like this:
{
"$schema": "https://gist.githubusercontent.com/natemcmaster/0bdee16450f8ec1823f2c11af880ceeb/raw/runtimeconfig.template.schema.json"
}Use these links based on your file type:
<myapp>.runtimeconfig.json: https://gist.githubusercontent.com/natemcmaster/0bdee16450f8ec1823f2c11af880ceeb/raw/runtimeconfig.schema.jsonruntimeconfig.template.json(same as the other, but without the top-levelruntimeOptionsproperty: https://gist.githubusercontent.com/natemcmaster/0bdee16450f8ec1823f2c11af880ceeb/raw/runtimeconfig.template.schema.json
Hey - due to
additionalProperties: false, the$schemaproperty is technically disallowed (as reported by JetBrains IDEs)!See this issue for a long debate about that. 😂
Please could you add
$schemaas an optional property?