{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/solarwinds/main/json-schema/solarwinds-incident-create-schema.json",
  "title": "IncidentCreate",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/solarwinds-incidents-api-openapi.yml#/components/schemas/IncidentCreate",
  "type": "object",
  "required": [
    "incident"
  ],
  "properties": {
    "incident": {
      "type": "object",
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string",
          "description": "Incident title"
        },
        "description": {
          "type": "string",
          "description": "Incident description"
        },
        "priority": {
          "type": "string",
          "description": "Priority level"
        },
        "assignee": {
          "$ref": "#/$defs/UserRef"
        },
        "category": {
          "$ref": "#/$defs/CategoryRef"
        }
      }
    }
  },
  "$defs": {
    "CategoryRef": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "UserRef": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "email": {
          "type": "string"
        }
      }
    }
  }
}