{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "PasswordCredential",
  "type": "object",
  "description": "Represents a password credential (client secret) associated with an application or service principal",
  "properties": {
    "keyId": {
      "type": "string",
      "description": "Unique identifier for the password"
    },
    "displayName": {
      "type": "['string', 'null']",
      "description": "Friendly name for the password credential"
    },
    "hint": {
      "type": "string",
      "description": "Contains the first three characters of the password (returned on read operations)"
    },
    "secretText": {
      "type": "string",
      "description": "The generated password value. Only returned at creation time and cannot be retrieved later."
    },
    "startDateTime": {
      "type": "string",
      "description": "The date and time at which the password becomes valid"
    },
    "endDateTime": {
      "type": "string",
      "description": "The date and time at which the password expires. Maximum lifetime varies by policy."
    }
  }
}