{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/buf-work-yaml/latest.json",
  "title": "buf.work.yaml",
  "description": "buf.work.yaml is used to define a workspace, which is an advanced local development feature. Workspaces make it possible to consolidate one or more modules into a single buildable unit. They also allow users to run buf operations across multiple modules with a single execution (such as buf lint).",
  "x-lintel": {
    "source": "https://www.schemastore.org/buf.work.json",
    "sourceSha256": "7006213028247bb7c08238aafeba52d1b9adc7fe52378a5eaae66969846bd23b",
    "fileMatch": [
      "buf.work.yaml"
    ],
    "parsers": [
      "yaml"
    ]
  },
  "type": "object",
  "properties": {
    "version": {
      "description": "Required. Defines the current configuration version. The only accepted value is v1.",
      "type": "string",
      "const": "v1"
    },
    "directories": {
      "description": "Required. Lists the directories that define modules to be included in the workspace. The directory paths must be relative to the buf.work.yaml, and can't point to a location outside of the directory where your buf.work.yaml is.",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "$comment": "https://buf.build/docs/configuration/v1/buf-work-yaml",
  "required": [
    "version",
    "directories"
  ]
}
