{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/version/latest.json",
  "title": "version",
  "description": "Schema for storing project versions. Managed by\n<https://github.com/ljonesfl/bump>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/ljonesfl/bump/refs/heads/master/version-schema.json",
    "sourceSha256": "89c69f8b02b9fdb38ae40b255642e93f78c7f0a70c085d3d3b6d143c4959f4f8",
    "fileMatch": [
      ".version.json"
    ],
    "parsers": [
      "json"
    ]
  },
  "type": "object",
  "properties": {
    "strategy": {
      "type": "string",
      "enum": [
        "date",
        "semver"
      ],
      "description": "The strategy to use for versioning. Accepted values are 'date' or 'semver'."
    },
    "major": {
      "type": "integer",
      "description": "Major version number",
      "minimum": 0
    },
    "minor": {
      "type": "integer",
      "description": "Minor version number",
      "minimum": 0
    },
    "patch": {
      "type": "integer",
      "description": "Patch version number",
      "minimum": 0
    },
    "build": {
      "type": "integer",
      "description": "Build version number",
      "minimum": 0
    }
  },
  "required": [
    "major",
    "minor",
    "patch",
    "build"
  ],
  "additionalProperties": false
}
