{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/one-s-changelog-entry/latest.json",
  "x-lintel": {
    "source": "https://www.schemastore.org/one-changelog-schema-0.1.json",
    "sourceSha256": "a530cb6d334a5bc152736143d497afb05fee4f7514c4d5964cfcdd6a258ae539",
    "fileMatch": [
      "**/changelogs/*.yml"
    ],
    "parsers": [
      "yaml"
    ]
  },
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Short description of change",
      "default": "Short description of change"
    },
    "jira": {
      "type": "string",
      "description": "Jira issue key",
      "pattern": "[A-Z][A-Z0-9]+-[0-9]+",
      "default": "UNITYONE-000"
    },
    "tag": {
      "type": "string",
      "enum": [
        "PATCH",
        "MINOR",
        "MAJOR"
      ]
    },
    "apiChange": {
      "type": "boolean",
      "description": "Indicates changes in front (app) apis",
      "default": false
    },
    "integrationApiChange": {
      "type": "boolean",
      "description": "Indicates changes in integration apis",
      "default": false
    },
    "description": {
      "type": "string",
      "description": "Detailed description of change",
      "default": "Detailed description of change. (optional). Can be multiline."
    }
  },
  "required": [
    "name",
    "tag"
  ]
}
