type: object
properties:
  id:
    type: string
    description: The password policy Id.
    example: 2c91808e7d976f3b017d9f5ceae440c8
  description:
    type: string
    description: Description for current password policy.
    example: Information about the Password Policy
  name:
    type: string
    description: The name of the password policy.
    example: PasswordPolicy Example
  dateCrated:
    type: string
    format: 'date-time'
    description: Date the Password Policy was created.
    example: 1639056206564
  lastUpdated:
    type: string
    format: 'date-time'
    description: Date the Password Policy was updated.
    example: 1939056206564
  firstExpirationReminder:
    type: integer
    format: int64
    description: The number of days before expiration remaninder.
    example: 45
  accountIdMinWordLength:
    type: integer
    format: int64
    description: The minimun length of account Id. By default is equals to -1.
    example: 4
  accountNameMinWordLength:
    type: integer
    format: int64
    description: The minimun length of account name. By default is equals to -1.
    example: 6
  minAlpha:
    type: integer
    format: int64
    description: Maximum alpha. By default is equals to 0.
    example: 5
  minCharacterTypes:
    type: integer
    format: int64
    description: MinCharacterTypes. By default is equals to -1.
    example: 5
  maxLength:
    type: integer
    format: int64
    description: Maximum length of the password.
    example: 25
  minLength:
    type: integer
    format: int64
    description: Minimum length of the password. By default is equals to 0.
    example: 8
  maxRepeatedChars:
    type: integer
    format: int64
    description: Maximum repetition of the same character in the password. By default is equals to -1.
    example: 3
  minLower:
    type: integer
    format: int64
    description: Minimum amount of lower case character in the password. By default is equals to 0.
    example: 8
  minNumeric:
    type: integer
    format: int64
    description: Minimum amount of numeric characters in the password. By default is equals to 0.
    example: 8
  minSpecial:
    type: integer
    format: int64
    description: Minimum amount of special symbols in the password. By default is equals to 0.
    example: 8
  minUpper:
    type: integer
    format: int64
    description: Minimum amount of upper case symbols in the password. By default is equals to 0.
    example: 8
  passwordExpiration:
    type: integer
    format: int64
    description: Number of days before current password expires. By default is equals to 90.
    example: 8
  defaultPolicy:
    type: boolean
    description: Defines whether this policy is default or not. Default policy is created automatically when an org is setup. This field is false by default.
    example: true
  enablePasswdExpiration:
    type: boolean
    description: Defines whether this policy is enabled to expire or not. This field is false by default.
    example: true
  requireStrongAuthn:
    type: boolean
    description: Defines whether this policy require strong Auth or not. This field is false by default.
    example: true
  requireStrongAuthOffNetwork:
    type: boolean
    description: Defines whether this policy require strong Auth of network or not. This field is false by default.
    example: true
  requireStrongAuthUntrustedGeographies:
    type: boolean
    description: Defines whether this policy require strong Auth for untrusted geographies. This field is false by default.
    example: true
  useAccountAttributes:
    type: boolean
    description: Defines whether this policy uses account attributes or not. This field is false by default.
    example: false
  useDictionary:
    type: boolean
    description: Defines whether this policy uses dictionary or not. This field is false by default.
    example: false
  useIdentityAttributes:
    type: boolean
    description: Defines whether this policy uses identity attributes or not. This field is false by default.
    example: false
  validateAgainstAccountId:
    type: boolean
    description: Defines whether this policy validate against account id or not. This field is false by default.
    example: false
  validateAgainstAccountName:
    type: boolean
    description: Defines whether this policy validate against account name or not. This field is false by default.
    example: true
  sourceIds:
    type: array
    description: List of sources IDs managed by this password policy.
    items:
      type: string
    example: ["2c91808382ffee0b01830de154f14034", "2f98808382ffee0b01830de154f12134"]
