sessionBuilder:
    kind: panel.form
    name: sessionBuilder
    label: "Session Builder"
    method: POST
    contentType: json
    url: /xapi/siteConfig
    contents:
        receivedFileUser:
            kind: panel.input.text
            label: Received File User
            validation: id-strict max-length:40 onblur
            placeholder: User account for performing import and archiving operations
            description: >
                This should be the login name of an enabled and valid user. The specified user must be a site
                administrator.
        reloadPrearcDatabaseOnStartup:
            kind: panel.input.switchbox
            label: "Reload Prearchive Database<br>On Start-up?"
            onText: Enabled
            offText: Disabled
            description: >
                This controls whether the prearchive database is rebuilt when your XNAT server restarts. This can help
                keep your system in sync with the data in prearchive, but can add to system load at start-up, especially
                on systems that handle a lot of incoming data.
        sessionXmlRebuilderRepeat:
            kind: panel.input.number
            label: Session Idle Check Interval
            validation: integer onblur
            placeholder: Interval in milliseconds
            afterElement: <span class="after">milliseconds</span>
            description: >
                This controls how often the system checks to see if any incoming DICOM sessions in the prearchive have
                been idle for longer than the configured session idle time. This value should be specified in
                milliseconds and defaults to 60,000 ms or one minute.
        sessionXmlRebuilderInterval:
            kind: panel.input.number
            label: Session Idle Time
            validation: integer onblur
            placeholder: Time in minutes
            afterElement: <span class="after">minutes</span>
            description: >
                This tells the system how long a DICOM session should sit idle&mdash;that is, with no new data added to the
                session&mdash;before attempting to build a session document from the DICOM data. This value is specified in
                minutes and defaults to 5 minutes.

