ConfigSourceSubTypeSponsoremail:
  properties:
    activation_domain:
      default: ~
      description: Set this value if you want to change the hostname in the validation
        link. Changing this requires to restart haproxy to be fully effective.
      type: string
    administration_rules:
      default: ~
      description: Administration rules
      items:
        description: Rule - New (  )
        properties:
          actions:
            default: ~
            description: Actions
            items:
              description: Action
              properties:
                type:
                  default: ~
                  description: Type
                  type: string
                value:
                  default: ~
                  description: Value
                  type: string
              type: object
            type: array
          conditions:
            default: ~
            description: Conditions
            items:
              description: Condition
              properties:
                attribute:
                  default: ~
                  description: Attribute
                  type: string
                operator:
                  default: ~
                  description: Operator
                  type: string
                type:
                  default: ~
                  description: Type
                  type: string
                value:
                  default: ~
                  description: Value
                  type: string
              type: object
            type: array
          description:
            default: ~
            description: Description
            type: string
          id:
            default: ~
            description: Name
            type: string
          match:
            default: ~
            description: Matches
            type: string
          status:
            default: ~
            description: Enable rule
            type: string
        type: object
      type: array
    allow_localdomain:
      default: yes
      description: Accept self-registration with email address from the local domain
      type: string
    allowed_domains:
      default: ~
      description: A comma-separated list of domains that are allowed for email registration.
        Wildcards are accepted (*pfdemo.org). Allowed domains are checked after banned
        domains.
      type: string
    authentication_rules:
      default: ~
      description: Authentication rules
      items:
        description: Rule - New (  )
        properties:
          actions:
            default: ~
            description: Actions
            items:
              description: Action
              properties:
                type:
                  default: ~
                  description: Type
                  type: string
                value:
                  default: ~
                  description: Value
                  type: string
              type: object
            type: array
          conditions:
            default: ~
            description: Conditions
            items:
              description: Condition
              properties:
                attribute:
                  default: ~
                  description: Attribute
                  type: string
                operator:
                  default: ~
                  description: Operator
                  type: string
                type:
                  default: ~
                  description: Type
                  type: string
                value:
                  default: ~
                  description: Value
                  type: string
              type: object
            type: array
          description:
            default: ~
            description: Description
            type: string
          id:
            default: ~
            description: Name
            type: string
          match:
            default: ~
            description: Matches
            type: string
          status:
            default: ~
            description: Enable rule
            type: string
        type: object
      type: array
    banned_domains:
      default: ~
      description: A comma-separated list of domains that are banned for email registration.
        Wildcards are accepted (*pfdemo.org). Banned domains are checked before allowed
        domains.
      type: string
    create_local_account:
      default: no
      description: Create a local account on the PacketFence system based on the username
        provided.
      type: string
    description:
      default: ''
      description: Description
      type: string
    email_activation_timeout:
      default:
        interval: '30'
        unit: m
      description: Delay given to a sponsor to click the activation link.
      properties:
        interval:
          default: '30'
          description: Interval
          type: integer
        unit:
          default: m
          description: Unit
          type: string
      type: object
    hash_passwords:
      default: bcrypt
      description: The algorithm used to hash the passwords in the database.This will
        only affect newly created or reset passwords.
      type: string
    id:
      default: ~
      description: Id
      type: string
    lang:
      default: en_US
      description: Language for sponsor email.
      type: string
    local_account_expiration:
      default:
        interval: '0'
        unit: s
      description: Local account expiration
      properties:
        interval:
          default: '0'
          description: Interval
          type: integer
        unit:
          default: s
          description: Unit
          type: string
      type: object
    local_account_logins:
      default: '0'
      description: The amount of times, the local account can be used after its created.
        0 means infinite.
      type: integer
    password_length:
      default: 8
      description: The length of the password to generate.
      type: integer
    register_on_activation:
      default: disabled
      description: Register on activation
      type: string
    sources:
      default: []
      description: Sources that will be associated with this source (For the Sponsor)
      items:
        description: Sources that will be associated with this source (For the Sponsor)
        type: string
      type: array
    sponsorship_bcc:
      default: ~
      description: Sponsors requesting access and access confirmation emails are BCC'ed
        to this address. Multiple destinations can be comma separated.
      type: string
    type:
      default: SponsorEmail
      description: Discriminator `SponsorEmail`
      type: string
      value: SponsorEmail
    validate_sponsor:
      default: yes
      description: Force sponsor to authenticate when validating a guest request.
      type: string
  required:
  - id
  - description
  - hash_passwords
  - password_length
  - email_activation_timeout
  type: object
