# ObjectTypesSuggestionWorkDefinitionType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Supertype: AbstractWorkDefinitionType
Work definition for "suggest object types for an object class" activity (smart integration).

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
resourceRef | reference ObjectReferenceType | [0,1] | Resource against which we want to execute the activity.
objectclass | property QName | [0,1] | Denotes the object class to be processed by the activity.
statisticsRef | reference ObjectReferenceType | [0,1] | If specified, the particular statistics file should be used for the operation.
permissions | property DataAccessPermissionType | [0,-1] | Data access permissions given to the suggest task.
regenerateMode | property string | [0,1] | Describes why the user is regenerating; absent for an initial suggestion run.
previousDelineation | container ResourceObjectTypeDefinitionType | [0,-1] | Previously suggested object type definitions (kind, intent, delineation) passed as context to the AI.

- ### Items

  - #### resourceRef

    Flags: RAM

    Multiplicity: [0,1]

    Display order:

    Resource against which we want to execute the activity.

  - #### objectclass

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Denotes the object class to be processed by the activity.

  - #### statisticsRef

    Flags: RAM

    Multiplicity: [0,1]

    Display order:

    If specified, the particular statistics file should be used for the operation.

  - #### permissions

    Flags: RAM,runtime,AVals:3

    Multiplicity: [0,-1]

    Display order:

    Data access permissions given to the suggest task.

  - #### regenerateMode

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Describes why the user is regenerating; absent for an initial suggestion run. One of: NEW_DATA_SPLIT, NEW_FILTER.

  - #### previousDelineation

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Display order:

    Previously suggested object type definitions (kind, intent, delineation) passed as context to the AI. For NEW_DATA_SPLIT and NEW_FILTER regeneration modes these are provided so the AI can avoid repeating the same mistakes or improve on existing groupings.