# Tooling

Smocker mocks are written using simple YAML files. To simplify the writing process, we provide a JSON Schema (opens new window) that you can integrate with your editor of choice to benefit from real time validation and completion.

# Visual Studio Code

To integrate with Visual Studio Code (opens new window), download the YAML extension (opens new window).

Then, in your project, create a .vscode/settings.json file containing the following configuration:

  "yaml.schemas": {
    "https://smocker.dev/smocker.schema.json": "/**/*mock*.yml"

Using this configuration, the schema will be applied on every YAML file containing the word mock in their name.