{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/spectro-cloud/main/json-schema/spectro-cloud-v1-system-password-policy-spec-schema.json",
  "title": "v1SystemPasswordPolicySpec",
  "description": "system password policy",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/spectro-cloud-system-api-openapi.yml#/components/schemas/v1SystemPasswordPolicySpec",
  "properties": {
    "creationTimestamp": {
      "$ref": "#/$defs/v1Time"
    },
    "expiryDurationInDays": {
      "type": "integer"
    },
    "firstReminderInDays": {
      "type": "integer"
    },
    "isRegex": {
      "type": "boolean"
    },
    "maxLength": {
      "type": "integer"
    },
    "minLength": {
      "type": "integer"
    },
    "minNumOfBlockLetters": {
      "type": "integer"
    },
    "minNumOfDigits": {
      "type": "integer"
    },
    "minNumOfSmallLetters": {
      "type": "integer"
    },
    "minNumOfSpecialCharacters": {
      "type": "integer"
    },
    "regex": {
      "type": "string"
    },
    "reminderFrequency": {
      "type": "integer"
    },
    "updateTimestamp": {
      "$ref": "#/$defs/v1Time"
    }
  },
  "type": "object",
  "$defs": {
    "v1Time": {
      "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON.  Wrappers are provided for many of the factory methods that the time package offers.",
      "format": "date-time",
      "type": "string"
    }
  }
}