{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateExportUsersRequestContent",
  "title": "CreateExportUsersRequestContent",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "connection_id": {
      "type": "string",
      "description": "connection_id of the connection from which users will be exported.",
      "default": "con_0000000000000001",
      "pattern": "^con_[A-Za-z0-9]{16}$"
    },
    "format": {
      "$ref": "#/components/schemas/JobFileFormatEnum"
    },
    "limit": {
      "type": "integer",
      "description": "Limit the number of records.",
      "default": 5,
      "minimum": 1
    },
    "fields": {
      "type": "array",
      "description": "List of fields to be included in the CSV. Defaults to a predefined set of fields.",
      "items": {
        "$ref": "#/components/schemas/CreateExportUsersFields"
      }
    }
  }
}