{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/delinea/main/json-schema/delinea-password-requirement-create-args-schema.json",
  "title": "PasswordRequirementCreateArgs",
  "description": "Password Requirement Create Args",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/delinea-passwordrequirements-api-openapi.yml#/components/schemas/PasswordRequirementCreateArgs",
  "properties": {
    "data": {
      "$ref": "#/$defs/PasswordRequirementCreateModel"
    }
  },
  "type": "object",
  "$defs": {
    "PasswordRequirementCreateModel": {
      "description": "Password Requirement Create Model",
      "properties": {
        "allowedCharacterSetId": {
          "description": "Allowed Character Set",
          "type": "integer",
          "format": "int32"
        },
        "allowMinimumCharacterSets": {
          "description": "Allow Minimum Character Sets",
          "type": "boolean"
        },
        "description": {
          "description": "Description",
          "type": "string"
        },
        "isDefault": {
          "description": "Is Default",
          "type": [
            "boolean",
            "null"
          ]
        },
        "maxPasswordLength": {
          "description": "Maximum Password Length",
          "type": "integer",
          "format": "int32"
        },
        "minimumRequiredCharacterSets": {
          "description": "Minimum Required Character Sets",
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "minPasswordLength": {
          "description": "Minimum Password Length",
          "type": "integer",
          "format": "int32"
        },
        "name": {
          "description": "Name",
          "type": "string"
        },
        "passwordRequirementRules": {
          "description": "Password Requirement Rule Create Models",
          "items": {
            "$ref": "#/$defs/PasswordRequirementRuleCreateModel"
          },
          "type": "array"
        },
        "preventDictionaryWords": {
          "description": "Prevent Dictionary Words",
          "type": [
            "boolean",
            "null"
          ]
        },
        "preventSequentialPattern": {
          "description": "Prevent Sequential Pattern",
          "type": [
            "boolean",
            "null"
          ]
        },
        "preventSpatialPattern": {
          "description": "Prevent Spacial Pattern",
          "type": [
            "boolean",
            "null"
          ]
        },
        "preventUsername": {
          "description": "Prevent Username",
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "PasswordRequirementRuleCreateModel": {
      "description": "Password Requirement Rule Create Models",
      "properties": {
        "characterSetId": {
          "description": "Character Set",
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "minCharactersRequired": {
          "description": "Minimum Characters Required",
          "type": "integer",
          "format": "int32"
        },
        "passwordRequirementType": {
          "$ref": "#/$defs/PasswordRequirementType"
        }
      },
      "type": "object"
    },
    "PasswordRequirementType": {
      "description": "Password Requirement Type",
      "properties": {},
      "type": "string",
      "enum": [
        "MinimumOf",
        "StartsWith",
        "EndsWith",
        "MaxConsecutive",
        "Repeating",
        "RepeatingConsecutive"
      ]
    }
  }
}