{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-defender/json-schema/microsoft-defender-microsoft-graph-payload-schema.json",
  "title": "microsoft.graph.payload",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-defender-security-attacksimulationroot-api-openapi.yml#/components/schemas/microsoft.graph.payload",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "payload",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "brand": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.payloadBrand"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The branch of a payload. The possible values are: unknown, other, americanExpress, capitalOne, dhl, docuSign, dropbox, facebook, firstAmerican, microsoft, netflix, scotiabank, sendGrid, stewartTitle, tesco, wellsFargo, syrinxCloud, adobe, teams, zoom, unknownFutureValue."
        },
        "complexity": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.payloadComplexity"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The complexity of a payload. The possible values are: unknown, low, medium, high, unknownFutureValue."
        },
        "createdBy": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.emailIdentity"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Identity of the user who created the attack simulation and training campaign payload."
        },
        "createdDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": [
            "string",
            "null"
          ],
          "description": "Date and time when the attack simulation and training campaign payload. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.",
          "format": "date-time"
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "Description of the attack simulation and training campaign payload."
        },
        "detail": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.payloadDetail"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Additional details about the payload."
        },
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Display name of the attack simulation and training campaign payload. Supports $filter and $orderby."
        },
        "industry": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.payloadIndustry"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Industry of a payload. The possible values are: unknown, other, banking, businessServices, consumerServices, education, energy, construction, consulting, financialServices, government, hospitality, insurance, legal, courierServices, IT, healthcare, manufacturing, retail, telecom, realEstate, unknownFutureValue."
        },
        "isAutomated": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether the attack simulation and training campaign payload was created from an automation flow. Supports $filter and $orderby."
        },
        "isControversial": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether the payload is controversial."
        },
        "isCurrentEvent": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether the payload is from any recent event."
        },
        "language": {
          "type": [
            "string",
            "null"
          ],
          "description": "Payload language."
        },
        "lastModifiedBy": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.emailIdentity"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Identity of the user who most recently modified the attack simulation and training campaign payload."
        },
        "lastModifiedDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": [
            "string",
            "null"
          ],
          "description": "Date and time when the attack simulation and training campaign payload was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.",
          "format": "date-time"
        },
        "payloadTags": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Free text tags for a payload."
        },
        "platform": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.payloadDeliveryPlatform"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The payload delivery platform for a simulation. The possible values are: unknown, sms, email, teams, unknownFutureValue."
        },
        "predictedCompromiseRate": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "Predicted probability for a payload to phish a targeted user."
        },
        "simulationAttackType": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.simulationAttackType"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Attack type of the attack simulation and training campaign. Supports $filter and $orderby. The possible values are: unknown, social, cloud, endpoint, unknownFutureValue."
        },
        "source": {
          "$ref": "#/$defs/microsoft.graph.simulationContentSource"
        },
        "status": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.simulationContentStatus"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Simulation content status. Supports $filter and $orderby. The possible values are: unknown, draft, ready, archive, delete, unknownFutureValue."
        },
        "technique": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.simulationAttackTechnique"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. The possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations."
        },
        "theme": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.payloadTheme"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The theme of a payload. The possible values are: unknown, other, accountActivation, accountVerification, billing, cleanUpMail, controversial, documentReceived, expense, fax, financeReport, incomingMessages, invoice, itemReceived, loginAlert, mailReceived, password, payment, payroll, personalizedOffer, quarantine, remoteWork, reviewMessage, securityUpdate, serviceSuspended, signatureRequired, upgradeMailboxStorage, verifyMailbox, voicemail, advertisement, employeeEngagement, unknownFutureValue."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.payload",
  "$defs": {
    "ReferenceNumeric": {
      "enum": [
        "-INF",
        "INF",
        "NaN",
        null
      ],
      "type": [
        "string",
        "null"
      ]
    },
    "microsoft.graph.coachmarkLocation": {
      "title": "coachmarkLocation",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "length": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "Length of coachmark.",
          "format": "int32"
        },
        "offset": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "Offset of coachmark.",
          "format": "int32"
        },
        "type": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.coachmarkLocationType"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Type of coachmark location. The possible values are: unknown, fromEmail, subject, externalTag, displayName, messageBody, unknownFutureValue."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.coachmarkLocationType": {
      "title": "coachmarkLocationType",
      "enum": [
        "unknown",
        "fromEmail",
        "subject",
        "externalTag",
        "displayName",
        "messageBody",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.emailIdentity": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.identity"
        },
        {
          "title": "emailIdentity",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "email": {
              "type": [
                "string",
                "null"
              ],
              "description": "Email address of the user."
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.emailIdentity"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.emailIdentity"
    },
    "microsoft.graph.entity": {
      "title": "entity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.identity": {
      "title": "identity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The display name of the identity.For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta."
        },
        "id": {
          "type": [
            "string",
            "null"
          ],
          "description": "Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.payloadBrand": {
      "title": "payloadBrand",
      "enum": [
        "unknown",
        "other",
        "americanExpress",
        "capitalOne",
        "dhl",
        "docuSign",
        "dropbox",
        "facebook",
        "firstAmerican",
        "microsoft",
        "netflix",
        "scotiabank",
        "sendGrid",
        "stewartTitle",
        "tesco",
        "wellsFargo",
        "syrinxCloud",
        "adobe",
        "teams",
        "zoom",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.payloadCoachmark": {
      "title": "payloadCoachmark",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "coachmarkLocation": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.coachmarkLocation"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The coachmark location."
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "The description about the coachmark."
        },
        "indicator": {
          "type": [
            "string",
            "null"
          ],
          "description": "The coachmark indicator."
        },
        "isValid": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether the coachmark is valid or not."
        },
        "language": {
          "type": [
            "string",
            "null"
          ],
          "description": "The coachmark language."
        },
        "order": {
          "type": [
            "string",
            "null"
          ],
          "description": "The coachmark order."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.payloadComplexity": {
      "title": "payloadComplexity",
      "enum": [
        "unknown",
        "low",
        "medium",
        "high",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.payloadDeliveryPlatform": {
      "title": "payloadDeliveryPlatform",
      "enum": [
        "unknown",
        "sms",
        "email",
        "teams",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.payloadDetail": {
      "title": "payloadDetail",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "coachmarks": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.payloadCoachmark"
          }
        },
        "content": {
          "type": [
            "string",
            "null"
          ],
          "description": "Payload content details."
        },
        "phishingUrl": {
          "type": [
            "string",
            "null"
          ],
          "description": "The phishing URL used to target a user."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.payloadIndustry": {
      "title": "payloadIndustry",
      "enum": [
        "unknown",
        "other",
        "banking",
        "businessServices",
        "consumerServices",
        "education",
        "energy",
        "construction",
        "consulting",
        "financialServices",
        "government",
        "hospitality",
        "insurance",
        "legal",
        "courierServices",
        "IT",
        "healthcare",
        "manufacturing",
        "retail",
        "telecom",
        "realEstate",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.payloadTheme": {
      "title": "payloadTheme",
      "enum": [
        "unknown",
        "other",
        "accountActivation",
        "accountVerification",
        "billing",
        "cleanUpMail",
        "controversial",
        "documentReceived",
        "expense",
        "fax",
        "financeReport",
        "incomingMessages",
        "invoice",
        "itemReceived",
        "loginAlert",
        "mailReceived",
        "password",
        "payment",
        "payroll",
        "personalizedOffer",
        "quarantine",
        "remoteWork",
        "reviewMessage",
        "securityUpdate",
        "serviceSuspended",
        "signatureRequired",
        "upgradeMailboxStorage",
        "verifyMailbox",
        "voicemail",
        "advertisement",
        "employeeEngagement",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.simulationAttackTechnique": {
      "title": "simulationAttackTechnique",
      "enum": [
        "unknown",
        "credentialHarvesting",
        "attachmentMalware",
        "driveByUrl",
        "linkInAttachment",
        "linkToMalwareFile",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.simulationAttackType": {
      "title": "simulationAttackType",
      "enum": [
        "unknown",
        "social",
        "cloud",
        "endpoint",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.simulationContentSource": {
      "title": "simulationContentSource",
      "enum": [
        "unknown",
        "global",
        "tenant",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.simulationContentStatus": {
      "title": "simulationContentStatus",
      "enum": [
        "unknown",
        "draft",
        "ready",
        "archive",
        "delete",
        "unknownFutureValue"
      ],
      "type": "string"
    }
  }
}