{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the view."
    },
    "layout": {
      "type": "string",
      "description": "The layout of the view.",
      "enum": [
        "table",
        "board",
        "roadmap"
      ]
    },
    "filter": {
      "type": "string",
      "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information."
    },
    "visible_fields": {
      "type": "array",
      "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.",
      "items": {
        "type": "integer"
      }
    }
  },
  "required": [
    "name",
    "layout"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2019-09/schema"
}