{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-entra/json-schema/microsoft-entra-microsoft-graph-relying-party-detailed-summary-schema.json",
  "title": "microsoft.graph.relyingPartyDetailedSummary",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-entra-reports-reportroot-functions-api-openapi.yml#/components/schemas/microsoft.graph.relyingPartyDetailedSummary",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "relyingPartyDetailedSummary",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "failedSignInCount": {
          "type": "number",
          "description": "Number of failed sign ins on AD FS in the period specified. Supports $orderby, $filter (eq).",
          "format": "int64"
        },
        "migrationStatus": {
          "$ref": "#/$defs/microsoft.graph.migrationStatus"
        },
        "migrationValidationDetails": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.keyValuePair"
          },
          "description": "Specifies all the validations checks done on applications config details."
        },
        "relyingPartyId": {
          "type": "string",
          "description": "Identifies the relying party to this federation service. It's used when issuing claims to the relying party. Supports $orderby, $filter (eq)."
        },
        "relyingPartyName": {
          "type": "string",
          "description": "Name of the relying party's website or other entity on the Internet that uses an identity provider to authenticate a user who wants to log in. Supports $orderby, $filter (eq)."
        },
        "replyUrls": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Specifies where the relying party expects to receive the token."
        },
        "serviceId": {
          "type": "string",
          "description": "Uniquely identifies the Active Directory forest. Supports $orderby, $filter (eq)."
        },
        "signInSuccessRate": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "Calculated as Number of successful / (Number of successful + Number of failed sign ins) or successfulSignInCount / totalSignInCount on AD FS in the period specified. Supports $orderby, $filter (eq)."
        },
        "successfulSignInCount": {
          "type": "number",
          "description": "Number of successful sign ins on AD FS. Supports $orderby, $filter (eq).",
          "format": "int64"
        },
        "totalSignInCount": {
          "type": "number",
          "description": "Number of successful + failed sign ins on AD FS in the period specified. Supports $orderby, $filter (eq).",
          "format": "int64"
        },
        "uniqueUserCount": {
          "type": "number",
          "description": "Number of unique users that signed into the application. Supports $orderby, $filter (eq).",
          "format": "int64"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.relyingPartyDetailedSummary",
  "$defs": {
    "ReferenceNumeric": {
      "enum": [
        "-INF",
        "INF",
        "NaN",
        null
      ],
      "type": [
        "string",
        "null"
      ]
    },
    "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.keyValuePair": {
      "title": "keyValuePair",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Name for this key-value pair"
        },
        "value": {
          "type": [
            "string",
            "null"
          ],
          "description": "Value for this key-value pair"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.migrationStatus": {
      "title": "migrationStatus",
      "enum": [
        "ready",
        "needsReview",
        "additionalStepsRequired",
        "unknownFutureValue"
      ],
      "type": "string"
    }
  }
}