{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/drupal-links-task/latest.json",
  "title": "JSON schema for Drupal task links file",
  "x-lintel": {
    "source": "https://www.schemastore.org/drupal-links-task.json",
    "sourceSha256": "59139507495b2c5549d857b4b2e4e34b31f93c68a04499074acfabea4e422238",
    "fileMatch": [
      "*.links.task.yml"
    ],
    "parsers": [
      "yaml"
    ]
  },
  "type": "object",
  "additionalProperties": {
    "type": "object",
    "properties": {
      "title": {
        "title": "The static title for the local task",
        "type": "string"
      },
      "title_context": {
        "title": "The translation context for the title value.",
        "type": "string"
      },
      "route_name": {
        "title": "The name of the route this task links to",
        "type": "string"
      },
      "route_parameters": {
        "title": "Parameters for route variables when generating a link",
        "type": "object"
      },
      "base_route": {
        "title": "The route name where the root tab appears",
        "type": "string"
      },
      "parent_id": {
        "title": "The plugin ID of the parent tab",
        "type": "string"
      },
      "weight": {
        "title": "The weight of the tab",
        "type": "integer"
      },
      "options": {
        "title": "Array of link options",
        "type": "object"
      },
      "class": {
        "title": "Class for task implementations",
        "type": "string"
      },
      "deriver": {
        "title": "Deriver class",
        "type": "string"
      },
      "cache_tags": {
        "title": "Cache tags",
        "type": "array",
        "items": {
          "type": "string"
        }
      }
    },
    "additionalProperties": false
  }
}
