{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/drupal-links-contextual/latest.json",
  "title": "JSON schema for Drupal contextual links file",
  "x-lintel": {
    "source": "https://www.schemastore.org/drupal-links-contextual.json",
    "sourceSha256": "e897bd90a7fcdb35fd8e9d726f2b79fe917037741ca876f7ffbd4ae30955355d",
    "fileMatch": [
      "*.links.contextual.yml"
    ],
    "parsers": [
      "yaml"
    ]
  },
  "type": "object",
  "additionalProperties": {
    "type": "object",
    "properties": {
      "title": {
        "title": "The static title for the local action",
        "type": "string"
      },
      "title_context": {
        "title": "The translation context for the title value.",
        "type": "string"
      },
      "route_name": {
        "title": "The route name used to generate a link",
        "type": "string"
      },
      "route_parameters": {
        "title": "Route parameters for generating a link",
        "type": "object"
      },
      "group": {
        "title": "The contextual links group",
        "type": "string"
      },
      "weight": {
        "title": "The weight of the local action",
        "type": "integer"
      },
      "options": {
        "title": "Array of link options",
        "type": "object"
      },
      "class": {
        "title": "Class for local action implementations",
        "type": "string"
      },
      "deriver": {
        "title": "Deriver class",
        "type": "string"
      },
      "cache_tags": {
        "title": "Cache tags",
        "type": "array",
        "items": {
          "type": "string"
        }
      }
    },
    "additionalProperties": false
  }
}
