{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/committed-toml/latest.json",
  "title": "Config",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/crate-ci/committed/master/config.schema.json",
    "sourceSha256": "4eaa573f86e8ac950b909e5d9a9e464fe49262747ddac06abb75f698e8a7eb7f",
    "fileMatch": [
      "committed.toml"
    ],
    "parsers": [
      "toml"
    ]
  },
  "type": "object",
  "properties": {
    "ignore_author_re": {
      "type": [
        "string",
        "null"
      ],
      "format": "regex"
    },
    "subject_length": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint",
      "minimum": 0
    },
    "subject_capitalized": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "subject_not_punctuated": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "imperative_subject": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "no_fixup": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "no_wip": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "hard_line_length": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint",
      "minimum": 0
    },
    "line_length": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint",
      "minimum": 0
    },
    "style": {
      "anyOf": [
        {
          "$ref": "#/$defs/Style"
        },
        {
          "type": "null"
        }
      ]
    },
    "allowed_types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "allowed_scopes": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "merge_commit": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "allowed_author_re": {
      "type": [
        "string",
        "null"
      ],
      "format": "regex"
    }
  },
  "$defs": {
    "Style": {
      "type": "string",
      "enum": [
        "conventional",
        "none"
      ]
    }
  }
}
