{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/dynamic-bash-aliases-aliases/latest.json",
  "title": "alias",
  "description": "An alias of the current directory\n<https://github.com/sebglazebrook/aliases#usage>",
  "x-lintel": {
    "source": "https://www.schemastore.org/aliases.json",
    "sourceSha256": "a1d9b390a17fcc60c741876df6b720d01947ae6df57f718fd4d51ebb78771f2d",
    "fileMatch": [
      ".aliases"
    ]
  },
  "type": "object",
  "additionalProperties": false,
  "patternProperties": {
    "^[^ ]+$": {
      "title": "alias",
      "description": "An alias of the current directory\n<https://github.com/sebglazebrook/aliases#usage>",
      "type": "object",
      "required": [
        "command"
      ],
      "properties": {
        "command": {
          "title": "command",
          "description": "A command of the current alias\n<https://github.com/sebglazebrook/aliases#usage>",
          "type": "string",
          "minLength": 1,
          "examples": [
            "ls"
          ]
        },
        "confirm": {
          "title": "confirm",
          "description": "Whether to confirm a command execution of the current alias\n<https://github.com/sebglazebrook/aliases#usage>",
          "type": "boolean",
          "default": false
        },
        "confirmation_message": {
          "title": "confirmation message",
          "description": "A confirmation message of the current alias\n<https://github.com/sebglazebrook/aliases#usage>",
          "type": "string",
          "minLength": 1,
          "examples": [
            "Do you want to execute this command?"
          ]
        },
        "conditional": {
          "title": "conditional",
          "description": "A conditional of the current alias\n<https://github.com/sebglazebrook/aliases#usage>",
          "type": "string",
          "minLength": 1,
          "examples": [
            "/bin/true"
          ]
        },
        "backout_seconds": {
          "title": "backout seconds",
          "description": "A backout of the current alias\n<https://github.com/sebglazebrook/aliases#usage>",
          "type": "integer",
          "minimum": 0
        },
        "unit_test": {
          "title": "conditional",
          "description": "A unit test of the current alias\n<https://github.com/sebglazebrook/aliases#usage>",
          "type": "string",
          "minLength": 1,
          "examples": [
            "[ true = true ]"
          ]
        },
        "quiet": {
          "title": "quiet",
          "description": "Whether to display a command before execution of the current alias\n<https://github.com/sebglazebrook/aliases#usage>",
          "type": "boolean",
          "default": false
        }
      },
      "additionalProperties": false
    }
  }
}
