{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/templatsources-json/latest.json",
  "title": "JSON schema for SideWaffle template sources",
  "x-lintel": {
    "source": "https://www.schemastore.org/templatesources.json",
    "sourceSha256": "4870e5af98a16835c029ff0703bfe2b336fe3d0b600442b4dc66b2c6f964f98f",
    "fileMatch": [
      "templatesources.json"
    ],
    "parsers": [
      "json"
    ]
  },
  "type": "object",
  "properties": {
    "sources": {
      "description": "Includes information regarding all sources that have been added to SideWaffle.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "Name": {
            "description": "The name of the source.",
            "type": "string"
          },
          "Enabled": {
            "description": "Indicates whether the source template(s) should be added to Visual Studio.",
            "type": "boolean"
          },
          "Location": {
            "description": "The location of the source to be added. This can be on a git repository or local file share.",
            "type": "string",
            "format": "uri"
          },
          "Branch": {
            "description": "The branch of the source repository containing the template.",
            "type": "string"
          }
        }
      }
    },
    "updateInterval": {
      "description": "Used by SideWaffle to determine how often Visual Studio will download and install the templates from its source.",
      "type": "string",
      "enum": [
        "Always",
        "OnceADay",
        "OnceAWeek",
        "OnceAMonth",
        "Never"
      ]
    }
  },
  "id": "https://json.schemastore.org/templatesources.json"
}
