{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://json.schemastore.org/one-changelog-schema-0.1.json",
  "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"]
}
