{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/vscode-code-snippets/latest.json",
  "description": "Snippet configuration.",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/Yash-Singh1/vscode-snippets-json-schema/main/schema.json",
    "sourceSha256": "1dfa66c8351dfa6e717c5ad08d15102fe210a5fdef65e6f3227aa64dfefcb2b3",
    "fileMatch": [
      "*.code-snippets"
    ]
  },
  "type": "object",
  "additionalProperties": {
    "description": "A snippet definition.",
    "type": "object",
    "default": {},
    "properties": {
      "prefix": {
        "description": "The prefix to use when selecting the snippet in intellisense",
        "oneOf": [
          {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          {
            "type": "string"
          }
        ],
        "default": []
      },
      "body": {
        "description": "The snippet content. Use $1, ${1:defaultText} to define cursor positions, use $0 for the final cursor position. Insert variable values with ${varName} and ${varName:defaultText}, e.g. This is file: $TM_FILENAME.",
        "oneOf": [
          {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          {
            "type": "string"
          }
        ],
        "default": []
      },
      "description": {
        "description": "The snippet description.",
        "type": "string",
        "default": ""
      },
      "scope": {
        "description": "A list of language names to which this snippet applies, separated by a comma. E.g. \"javascript,typescript\".",
        "type": "string",
        "default": ""
      }
    },
    "required": [
      "body"
    ],
    "additionalProperties": false
  }
}
