{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/main/json-schema/palo-alto-networks-jira-integration-request-schema.json",
  "title": "JiraIntegrationRequest",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/palo-alto-networks-integrations-api-openapi.yml#/components/schemas/JiraIntegrationRequest",
  "type": "object",
  "required": [
    "name",
    "jira_url",
    "project_key",
    "api_token",
    "email"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Display name for this integration."
    },
    "jira_url": {
      "type": "string",
      "format": "uri",
      "description": "Base URL of the Jira server or cloud instance."
    },
    "project_key": {
      "type": "string",
      "description": "Jira project key where tickets will be created."
    },
    "issue_type": {
      "type": "string",
      "description": "Jira issue type (e.g., Bug, Task, Story).",
      "default": "Bug"
    },
    "api_token": {
      "type": "string",
      "description": "Jira API token for authentication.",
      "writeOnly": true
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "Email address associated with the Jira API token."
    },
    "severity_mapping": {
      "type": "object",
      "description": "Mapping from SSPM severity levels to Jira priorities.",
      "additionalProperties": {
        "type": "string"
      }
    }
  }
}