{
  "$id": "http://pddl-schema.org/planviz.json",
  "type": "object",
  "definitions": { },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "excludeActions": {
      "$id": "/properties/excludeActions",
      "type": "array",
      "items": {
        "$id": "/properties/excludeActions/items",
        "type": "string",
        "title": "Names or regex patterns to match actions to be hidden from the plan visualization.",
        "default": "",
        "examples": [
          "action-name",
          "^_",
          "^prefix_"
        ]
      }
    },
    "ignoreActionParameters": {
      "$id": "/properties/ignoreActionParameters",
      "type": "array",
      "items": {
        "$id": "/properties/ignoreActionParameters/items",
        "type": "object",
        "title": "Action parameters that shall be ignored by the per object swim lanes plan visualization.",
        "required": [
          "action",
          "parameterPattern"
        ],
        "properties": {
          "action": {
            "$id": "#/properties/ignoreActionParameters/items/properties/action",
            "type": "string",
            "title": "Action name or regex pattern",
            "default": "action_name",
            "examples": [
              ".+",
              "^prefix",
              "suffix$"
            ],
            "pattern": "^(.*)$"
          },
          "parameterPattern": {
            "$id": "#/properties/ignoreActionParameters/items/properties/parameterPattern",
            "type": "string",
            "title": "Parameter name or regex pattern",
            "default": "p",
            "examples": [
              "^hidden_param$",
              "^(to|from)$"
            ],
            "pattern": "^(.*)$"
          }
        }
      }
    },
    "customVisualization": {
      "$id": "/properties/customVisualization",
      "type": "string",
      "title": "Path to a javascript file, which declares function visualize(plan, width, height) returning HTML code to be inserted.",
      "default": "",
      "examples": [
        "domainPlanVisualizer.js"
      ]
    }
  }
}