Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions src/SMAPI.Web/wwwroot/schemas/content-patcher-include.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://smapi.io/schemas/content-patcher-include.json",
"title": "Content Patcher include file",
"description": "A secondary Content Patcher file loaded by an Include patch.",
"@documentationUrl": "https://github.com/Pathoschild/StardewMods/blob/develop/ContentPatcher/docs/author-guide/action-include.md",

"allowComments": true,
"allowTrailingCommas": true,

"type": "object",
"properties": {
"$schema": {
"title": "Schema",
"description": "A reference to this JSON schema. Not part of the actual format, but useful for validation tools.",
"type": "string"
},
"Changes": {
"$ref": "content-patcher.json#/properties/Changes"
}
},

"required": ["Changes"],

"additionalProperties": false,
"@errorMessages": {
"additionalProperties": "Invalid field. An included file can only contain a Changes field."
}
}