# This is an automatically generated code sample.
# To make this code sample work in your Oracle Cloud tenancy,
# please replace the values for any parameters whose current values do not fit
# your use case (such as resource IDs, strings containing ‘EXAMPLE’ or ‘unique_id’, and
# boolean, number, and enum parameters with values not fitting your use case).

require 'oci'
require 'date'

# Create a default config using DEFAULT profile in default location
# Refer to https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm#SDK_and_CLI_Configuration_File for more info
config = OCI::ConfigFileLoader.load_config

# Initialize service client with default config file
data_integration_client =
  OCI::DataIntegration::DataIntegrationClient.new(config: config)

# Send the request to service, some parameters are not required, see API doc for more info
create_pipeline_validation_response =
  data_integration_client.create_pipeline_validation(
    'ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value',
    OCI::DataIntegration::Models::CreatePipelineValidationDetails.new(
      key: 'EXAMPLE-key-Value',
      model_version: 'EXAMPLE-modelVersion-Value',
      parent_ref:
        OCI::DataIntegration::Models::ParentReference.new(
          parent: 'EXAMPLE-parent-Value',
          root_doc_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
        ),
      name: 'EXAMPLE-name-Value',
      description: 'EXAMPLE-description-Value',
      model_type: 'EXAMPLE-modelType-Value',
      object_version: 803,
      object_status: 950,
      identifier: 'EXAMPLE-identifier-Value',
      nodes: [
        OCI::DataIntegration::Models::FlowNode.new(
          key: 'EXAMPLE-key-Value',
          model_type: 'EXAMPLE-modelType-Value',
          model_version: 'EXAMPLE-modelVersion-Value',
          parent_ref:
            OCI::DataIntegration::Models::ParentReference.new(
              parent: 'EXAMPLE-parent-Value',
              root_doc_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
            ),
          name: 'EXAMPLE-name-Value',
          description: 'EXAMPLE-description-Value',
          input_links: [
            OCI::DataIntegration::Models::InputLink.new(
              model_type: 'INPUT_LINK',
              key: 'EXAMPLE-key-Value',
              model_version: 'EXAMPLE-modelVersion-Value',
              parent_ref:
                OCI::DataIntegration::Models::ParentReference.new(
                  parent: 'EXAMPLE-parent-Value',
                  root_doc_id:
                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                ),
              object_status: 671,
              description: 'EXAMPLE-description-Value',
              port: 'EXAMPLE-port-Value',
              from_link: 'EXAMPLE-fromLink-Value',
              field_map:
                OCI::DataIntegration::Models::NamedEntityMap.new(
                  model_type: 'NAMED_ENTITY_MAP',
                  description: 'EXAMPLE-description-Value',
                  key: 'EXAMPLE-key-Value',
                  model_version: 'EXAMPLE-modelVersion-Value',
                  parent_ref:
                    OCI::DataIntegration::Models::ParentReference.new(
                      parent: 'EXAMPLE-parent-Value',
                      root_doc_id:
                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                    ),
                  config_values:
                    OCI::DataIntegration::Models::ConfigValues.new(
                      config_param_values: {
                        'EXAMPLE_KEY_ppQ2z' => {
                          'stringValue' => 'EXAMPLE-stringValue-Value',
                          'intValue' => 760,
                          'objectValue' => 'EXAMPLE-objectValue-Value',
                          'refValue' => 'EXAMPLE-refValue-Value',
                          'parameterValue' => 'EXAMPLE-parameterValue-Value',
                          'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                        }
                      },
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        )
                    ),
                  source_entity: 'EXAMPLE-sourceEntity-Value',
                  target_entity: 'EXAMPLE-targetEntity-Value',
                  object_status: 754
                )
            )
          ],
          output_links: [
            OCI::DataIntegration::Models::OutputLink.new(
              model_type: 'OUTPUT_LINK',
              key: 'EXAMPLE-key-Value',
              model_version: 'EXAMPLE-modelVersion-Value',
              parent_ref:
                OCI::DataIntegration::Models::ParentReference.new(
                  parent: 'EXAMPLE-parent-Value',
                  root_doc_id:
                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                ),
              object_status: 673,
              description: 'EXAMPLE-description-Value',
              port: 'EXAMPLE-port-Value',
              to_links: %w[EXAMPLE--Value]
            )
          ],
          operator:
            OCI::DataIntegration::Models::TaskOperator.new(
              model_type: 'TASK_OPERATOR',
              key: 'EXAMPLE-key-Value',
              model_version: 'EXAMPLE-modelVersion-Value',
              parent_ref:
                OCI::DataIntegration::Models::ParentReference.new(
                  parent: 'EXAMPLE-parent-Value',
                  root_doc_id:
                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                ),
              name: 'EXAMPLE-name-Value',
              description: 'EXAMPLE-description-Value',
              object_version: 58,
              input_ports: [
                OCI::DataIntegration::Models::InputPort.new(
                  model_type: 'INPUT_PORT',
                  key: 'EXAMPLE-key-Value',
                  model_version: 'EXAMPLE-modelVersion-Value',
                  parent_ref:
                    OCI::DataIntegration::Models::ParentReference.new(
                      parent: 'EXAMPLE-parent-Value',
                      root_doc_id:
                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                    ),
                  config_values:
                    OCI::DataIntegration::Models::ConfigValues.new(
                      config_param_values: {
                        'EXAMPLE_KEY_QyM2Z' => {
                          'stringValue' => 'EXAMPLE-stringValue-Value',
                          'intValue' => 18,
                          'objectValue' => 'EXAMPLE-objectValue-Value',
                          'refValue' => 'EXAMPLE-refValue-Value',
                          'parameterValue' => 'EXAMPLE-parameterValue-Value',
                          'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                        }
                      },
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        )
                    ),
                  object_status: 997,
                  name: 'EXAMPLE-name-Value',
                  description: 'EXAMPLE-description-Value',
                  port_type: 'MODEL',
                  fields: [
                    OCI::DataIntegration::Models::ShapeField.new(
                      model_type: 'SHAPE_FIELD',
                      key: 'EXAMPLE-key-Value',
                      model_version: 'EXAMPLE-modelVersion-Value',
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        ),
                      config_values:
                        OCI::DataIntegration::Models::ConfigValues.new(
                          config_param_values: {
                            'EXAMPLE_KEY_c5cDd' => {
                              'stringValue' => 'EXAMPLE-stringValue-Value',
                              'intValue' => 119,
                              'objectValue' => 'EXAMPLE-objectValue-Value',
                              'refValue' => 'EXAMPLE-refValue-Value',
                              'parameterValue' =>
                                'EXAMPLE-parameterValue-Value',
                              'rootObjectValue' =>
                                'EXAMPLE-rootObjectValue-Value'
                            }
                          },
                          parent_ref:
                            OCI::DataIntegration::Models::ParentReference.new(
                              parent: 'EXAMPLE-parent-Value',
                              root_doc_id:
                                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                            )
                        ),
                      object_status: 668,
                      name: 'EXAMPLE-name-Value',
                      description: 'EXAMPLE-description-Value',
                      type: 'EXAMPLE-type-Value',
                      labels: %w[EXAMPLE--Value],
                      native_shape_field:
                        OCI::DataIntegration::Models::NativeShapeField.new(
                          name: 'EXAMPLE-name-Value',
                          model_type: 'EXAMPLE-modelType-Value',
                          type: 'EXAMPLE-type-Value',
                          config_values:
                            OCI::DataIntegration::Models::ConfigValues.new(
                              config_param_values: {
                                'EXAMPLE_KEY_WhGk4' => {
                                  'stringValue' => 'EXAMPLE-stringValue-Value',
                                  'intValue' => 906,
                                  'objectValue' => 'EXAMPLE-objectValue-Value',
                                  'refValue' => 'EXAMPLE-refValue-Value',
                                  'parameterValue' =>
                                    'EXAMPLE-parameterValue-Value',
                                  'rootObjectValue' =>
                                    'EXAMPLE-rootObjectValue-Value'
                                }
                              },
                              parent_ref:
                                OCI::DataIntegration::Models::ParentReference
                                  .new(
                                  parent: 'EXAMPLE-parent-Value',
                                  root_doc_id:
                                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                                )
                            ),
                          position: 31,
                          default_value_string:
                            'EXAMPLE-defaultValueString-Value',
                          is_mandatory: true
                        )
                    )
                  ]
                )
              ],
              output_ports: [
                OCI::DataIntegration::Models::ConditionalOutputPort.new(
                  model_type: 'CONDITIONAL_OUTPUT_PORT',
                  key: 'EXAMPLE-key-Value',
                  model_version: 'EXAMPLE-modelVersion-Value',
                  parent_ref:
                    OCI::DataIntegration::Models::ParentReference.new(
                      parent: 'EXAMPLE-parent-Value',
                      root_doc_id:
                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                    ),
                  config_values:
                    OCI::DataIntegration::Models::ConfigValues.new(
                      config_param_values: {
                        'EXAMPLE_KEY_PV4uI' => {
                          'stringValue' => 'EXAMPLE-stringValue-Value',
                          'intValue' => 588,
                          'objectValue' => 'EXAMPLE-objectValue-Value',
                          'refValue' => 'EXAMPLE-refValue-Value',
                          'parameterValue' => 'EXAMPLE-parameterValue-Value',
                          'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                        }
                      },
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        )
                    ),
                  object_status: 231,
                  name: 'EXAMPLE-name-Value',
                  description: 'EXAMPLE-description-Value',
                  port_type: 'CONTROL',
                  split_condition:
                    OCI::DataIntegration::Models::Expression.new(
                      key: 'EXAMPLE-key-Value',
                      model_type: 'EXAMPLE-modelType-Value',
                      model_version: 'EXAMPLE-modelVersion-Value',
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        ),
                      expr_string: 'EXAMPLE-exprString-Value',
                      config_values:
                        OCI::DataIntegration::Models::ConfigValues.new(
                          config_param_values: {
                            'EXAMPLE_KEY_LsteS' => {
                              'stringValue' => 'EXAMPLE-stringValue-Value',
                              'intValue' => 26,
                              'objectValue' => 'EXAMPLE-objectValue-Value',
                              'refValue' => 'EXAMPLE-refValue-Value',
                              'parameterValue' =>
                                'EXAMPLE-parameterValue-Value',
                              'rootObjectValue' =>
                                'EXAMPLE-rootObjectValue-Value'
                            }
                          },
                          parent_ref:
                            OCI::DataIntegration::Models::ParentReference.new(
                              parent: 'EXAMPLE-parent-Value',
                              root_doc_id:
                                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                            )
                        ),
                      object_status: 964
                    )
                )
              ],
              object_status: 290,
              identifier: 'EXAMPLE-identifier-Value',
              parameters: [
                OCI::DataIntegration::Models::Parameter.new(
                  model_type: 'PARAMETER',
                  key: 'EXAMPLE-key-Value',
                  model_version: 'EXAMPLE-modelVersion-Value',
                  parent_ref:
                    OCI::DataIntegration::Models::ParentReference.new(
                      parent: 'EXAMPLE-parent-Value',
                      root_doc_id:
                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                    ),
                  config_values:
                    OCI::DataIntegration::Models::ConfigValues.new(
                      config_param_values: {
                        'EXAMPLE_KEY_lecGd' => {
                          'stringValue' => 'EXAMPLE-stringValue-Value',
                          'intValue' => 683,
                          'objectValue' => 'EXAMPLE-objectValue-Value',
                          'refValue' => 'EXAMPLE-refValue-Value',
                          'parameterValue' => 'EXAMPLE-parameterValue-Value',
                          'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                        }
                      },
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        )
                    ),
                  object_status: 949,
                  name: 'EXAMPLE-name-Value',
                  description: 'EXAMPLE-description-Value',
                  type: 'EXAMPLE-type-Value',
                  default_value: 'EXAMPLE-defaultValue-Value',
                  root_object_default_value:
                    'EXAMPLE-rootObjectDefaultValue-Value',
                  is_input: true,
                  is_output: false,
                  output_aggregation_type: 'MAX',
                  type_name: 'EXAMPLE-typeName-Value',
                  used_for: 'EXAMPLE-usedFor-Value'
                )
              ],
              op_config_values:
                OCI::DataIntegration::Models::ConfigValues.new(
                  config_param_values: {
                    'EXAMPLE_KEY_HqpI9' => {
                      'stringValue' => 'EXAMPLE-stringValue-Value',
                      'intValue' => 742,
                      'objectValue' => 'EXAMPLE-objectValue-Value',
                      'refValue' => 'EXAMPLE-refValue-Value',
                      'parameterValue' => 'EXAMPLE-parameterValue-Value',
                      'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                    }
                  },
                  parent_ref:
                    OCI::DataIntegration::Models::ParentReference.new(
                      parent: 'EXAMPLE-parent-Value',
                      root_doc_id:
                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                    )
                ),
              retry_attempts: 776,
              retry_delay_unit: 'MINUTES',
              retry_delay: 1400.205,
              expected_duration: 386.80136,
              expected_duration_unit: 'SECONDS',
              task_type: 'REST_TASK',
              task:
                OCI::DataIntegration::Models::TaskFromPipelineTaskDetails.new(
                  model_type: 'PIPELINE_TASK',
                  key: 'EXAMPLE-key-Value',
                  model_version: 'EXAMPLE-modelVersion-Value',
                  parent_ref:
                    OCI::DataIntegration::Models::ParentReference.new(
                      parent: 'EXAMPLE-parent-Value',
                      root_doc_id:
                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                    ),
                  name: 'EXAMPLE-name-Value',
                  description: 'EXAMPLE-description-Value',
                  object_version: 554,
                  object_status: 152,
                  identifier: 'EXAMPLE-identifier-Value',
                  input_ports: [
                    OCI::DataIntegration::Models::InputPort.new(
                      model_type: 'INPUT_PORT',
                      key: 'EXAMPLE-key-Value',
                      model_version: 'EXAMPLE-modelVersion-Value',
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        ),
                      config_values:
                        OCI::DataIntegration::Models::ConfigValues.new(
                          config_param_values: {
                            'EXAMPLE_KEY_DDib0' => {
                              'stringValue' => 'EXAMPLE-stringValue-Value',
                              'intValue' => 7,
                              'objectValue' => 'EXAMPLE-objectValue-Value',
                              'refValue' => 'EXAMPLE-refValue-Value',
                              'parameterValue' =>
                                'EXAMPLE-parameterValue-Value',
                              'rootObjectValue' =>
                                'EXAMPLE-rootObjectValue-Value'
                            }
                          },
                          parent_ref:
                            OCI::DataIntegration::Models::ParentReference.new(
                              parent: 'EXAMPLE-parent-Value',
                              root_doc_id:
                                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                            )
                        ),
                      object_status: 612,
                      name: 'EXAMPLE-name-Value',
                      description: 'EXAMPLE-description-Value',
                      port_type: 'CONTROL',
                      fields: [
                        OCI::DataIntegration::Models::OutputField.new(
                          model_type: 'OUTPUT_FIELD',
                          key: 'EXAMPLE-key-Value',
                          model_version: 'EXAMPLE-modelVersion-Value',
                          parent_ref:
                            OCI::DataIntegration::Models::ParentReference.new(
                              parent: 'EXAMPLE-parent-Value',
                              root_doc_id:
                                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                            ),
                          config_values:
                            OCI::DataIntegration::Models::ConfigValues.new(
                              config_param_values: {
                                'EXAMPLE_KEY_XmGuk' => {
                                  'stringValue' => 'EXAMPLE-stringValue-Value',
                                  'intValue' => 36,
                                  'objectValue' => 'EXAMPLE-objectValue-Value',
                                  'refValue' => 'EXAMPLE-refValue-Value',
                                  'parameterValue' =>
                                    'EXAMPLE-parameterValue-Value',
                                  'rootObjectValue' =>
                                    'EXAMPLE-rootObjectValue-Value'
                                }
                              },
                              parent_ref:
                                OCI::DataIntegration::Models::ParentReference
                                  .new(
                                  parent: 'EXAMPLE-parent-Value',
                                  root_doc_id:
                                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                                )
                            ),
                          object_status: 823,
                          name: 'EXAMPLE-name-Value',
                          description: 'EXAMPLE-description-Value',
                          type:
                            OCI::DataIntegration::Models::JavaType.new(
                              model_type: 'JAVA_TYPE',
                              key: 'EXAMPLE-key-Value',
                              model_version: 'EXAMPLE-modelVersion-Value',
                              parent_ref:
                                OCI::DataIntegration::Models::ParentReference
                                  .new(
                                  parent: 'EXAMPLE-parent-Value',
                                  root_doc_id:
                                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                                ),
                              name: 'EXAMPLE-name-Value',
                              object_status: 253,
                              description: 'EXAMPLE-description-Value',
                              java_type_name: 'EXAMPLE-javaTypeName-Value',
                              config_definition:
                                OCI::DataIntegration::Models::ConfigDefinition
                                  .new(
                                  key: 'EXAMPLE-key-Value',
                                  model_type: 'EXAMPLE-modelType-Value',
                                  model_version: 'EXAMPLE-modelVersion-Value',
                                  parent_ref:
                                    OCI::DataIntegration::Models::ParentReference
                                      .new(
                                      parent: 'EXAMPLE-parent-Value',
                                      root_doc_id:
                                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                                    ),
                                  name: 'EXAMPLE-name-Value',
                                  is_contained: false,
                                  object_status: 139,
                                  config_parameter_definitions: {
                                    'EXAMPLE_KEY_2jIW0' => {
                                      'parameterName' =>
                                        'EXAMPLE-parameterName-Value',
                                      'description' =>
                                        'EXAMPLE-description-Value',
                                      'defaultValue' =>
                                        'EXAMPLE-defaultValue-Value',
                                      'classFieldName' =>
                                        'EXAMPLE-classFieldName-Value',
                                      'isStatic' => False,
                                      'isClassFieldValue' => True
                                    }
                                  }
                                )
                            ),
                          labels: %w[EXAMPLE--Value]
                        )
                      ]
                    )
                  ],
                  output_ports: [
                    OCI::DataIntegration::Models::OutputPort.new(
                      model_type: 'OUTPUT_PORT',
                      key: 'EXAMPLE-key-Value',
                      model_version: 'EXAMPLE-modelVersion-Value',
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        ),
                      config_values:
                        OCI::DataIntegration::Models::ConfigValues.new(
                          config_param_values: {
                            'EXAMPLE_KEY_dDX2f' => {
                              'stringValue' => 'EXAMPLE-stringValue-Value',
                              'intValue' => 900,
                              'objectValue' => 'EXAMPLE-objectValue-Value',
                              'refValue' => 'EXAMPLE-refValue-Value',
                              'parameterValue' =>
                                'EXAMPLE-parameterValue-Value',
                              'rootObjectValue' =>
                                'EXAMPLE-rootObjectValue-Value'
                            }
                          },
                          parent_ref:
                            OCI::DataIntegration::Models::ParentReference.new(
                              parent: 'EXAMPLE-parent-Value',
                              root_doc_id:
                                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                            )
                        ),
                      object_status: 857,
                      name: 'EXAMPLE-name-Value',
                      description: 'EXAMPLE-description-Value',
                      port_type: 'DATA',
                      fields: [
                        OCI::DataIntegration::Models::ProxyField.new(
                          model_type: 'PROXY_FIELD',
                          key: 'EXAMPLE-key-Value',
                          model_version: 'EXAMPLE-modelVersion-Value',
                          parent_ref:
                            OCI::DataIntegration::Models::ParentReference.new(
                              parent: 'EXAMPLE-parent-Value',
                              root_doc_id:
                                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                            ),
                          config_values:
                            OCI::DataIntegration::Models::ConfigValues.new(
                              config_param_values: {
                                'EXAMPLE_KEY_wAzy7' => {
                                  'stringValue' => 'EXAMPLE-stringValue-Value',
                                  'intValue' => 212,
                                  'objectValue' => 'EXAMPLE-objectValue-Value',
                                  'refValue' => 'EXAMPLE-refValue-Value',
                                  'parameterValue' =>
                                    'EXAMPLE-parameterValue-Value',
                                  'rootObjectValue' =>
                                    'EXAMPLE-rootObjectValue-Value'
                                }
                              },
                              parent_ref:
                                OCI::DataIntegration::Models::ParentReference
                                  .new(
                                  parent: 'EXAMPLE-parent-Value',
                                  root_doc_id:
                                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                                )
                            ),
                          object_status: 511,
                          name: 'EXAMPLE-name-Value',
                          description: 'EXAMPLE-description-Value',
                          scope: 'EXAMPLE-scope-Value',
                          scope_reference:
                            OCI::DataIntegration::Models::ScopeReference.new(
                              reference_object: 'EXAMPLE-referenceObject-Value',
                              reference_type: 'BOUND_ENTITY_SHAPE',
                              ref_object_name: 'EXAMPLE-refObjectName-Value'
                            ),
                          type:
                            OCI::DataIntegration::Models::CompositeType.new(
                              model_type: 'COMPOSITE_TYPE',
                              key: 'EXAMPLE-key-Value',
                              model_version: 'EXAMPLE-modelVersion-Value',
                              parent_ref:
                                OCI::DataIntegration::Models::ParentReference
                                  .new(
                                  parent: 'EXAMPLE-parent-Value',
                                  root_doc_id:
                                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                                ),
                              name: 'EXAMPLE-name-Value',
                              object_status: 645,
                              description: 'EXAMPLE-description-Value',
                              config_definition:
                                OCI::DataIntegration::Models::ConfigDefinition
                                  .new(
                                  key: 'EXAMPLE-key-Value',
                                  model_type: 'EXAMPLE-modelType-Value',
                                  model_version: 'EXAMPLE-modelVersion-Value',
                                  parent_ref:
                                    OCI::DataIntegration::Models::ParentReference
                                      .new(
                                      parent: 'EXAMPLE-parent-Value',
                                      root_doc_id:
                                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                                    ),
                                  name: 'EXAMPLE-name-Value',
                                  is_contained: true,
                                  object_status: 62,
                                  config_parameter_definitions: {
                                    'EXAMPLE_KEY_o5ssx' => {
                                      'parameterName' =>
                                        'EXAMPLE-parameterName-Value',
                                      'description' =>
                                        'EXAMPLE-description-Value',
                                      'defaultValue' =>
                                        'EXAMPLE-defaultValue-Value',
                                      'classFieldName' =>
                                        'EXAMPLE-classFieldName-Value',
                                      'isStatic' => True,
                                      'isClassFieldValue' => True
                                    }
                                  }
                                )
                            ),
                          labels: %w[EXAMPLE--Value]
                        )
                      ]
                    )
                  ],
                  parameters: [
                    OCI::DataIntegration::Models::Parameter.new(
                      model_type: 'PARAMETER',
                      key: 'EXAMPLE-key-Value',
                      model_version: 'EXAMPLE-modelVersion-Value',
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        ),
                      config_values:
                        OCI::DataIntegration::Models::ConfigValues.new(
                          config_param_values: {
                            'EXAMPLE_KEY_76UzH' => {
                              'stringValue' => 'EXAMPLE-stringValue-Value',
                              'intValue' => 610,
                              'objectValue' => 'EXAMPLE-objectValue-Value',
                              'refValue' => 'EXAMPLE-refValue-Value',
                              'parameterValue' =>
                                'EXAMPLE-parameterValue-Value',
                              'rootObjectValue' =>
                                'EXAMPLE-rootObjectValue-Value'
                            }
                          },
                          parent_ref:
                            OCI::DataIntegration::Models::ParentReference.new(
                              parent: 'EXAMPLE-parent-Value',
                              root_doc_id:
                                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                            )
                        ),
                      object_status: 357,
                      name: 'EXAMPLE-name-Value',
                      description: 'EXAMPLE-description-Value',
                      type: 'EXAMPLE-type-Value',
                      default_value: 'EXAMPLE-defaultValue-Value',
                      root_object_default_value:
                        'EXAMPLE-rootObjectDefaultValue-Value',
                      is_input: true,
                      is_output: false,
                      output_aggregation_type: 'COUNT',
                      type_name: 'EXAMPLE-typeName-Value',
                      used_for: 'EXAMPLE-usedFor-Value'
                    )
                  ],
                  op_config_values:
                    OCI::DataIntegration::Models::ConfigValues.new(
                      config_param_values: {
                        'EXAMPLE_KEY_cVGc3' => {
                          'stringValue' => 'EXAMPLE-stringValue-Value',
                          'intValue' => 909,
                          'objectValue' => 'EXAMPLE-objectValue-Value',
                          'refValue' => 'EXAMPLE-refValue-Value',
                          'parameterValue' => 'EXAMPLE-parameterValue-Value',
                          'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                        }
                      },
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        )
                    ),
                  metadata:
                    OCI::DataIntegration::Models::ObjectMetadata.new(
                      created_by: 'EXAMPLE-createdBy-Value',
                      created_by_name: 'EXAMPLE-createdByName-Value',
                      updated_by: 'EXAMPLE-updatedBy-Value',
                      updated_by_name: 'EXAMPLE-updatedByName-Value',
                      time_created: DateTime.parse('2025-12-02T20:45:03.675Z'),
                      time_updated: DateTime.parse('2032-09-04T08:34:40.282Z'),
                      aggregator_key: 'EXAMPLE-aggregatorKey-Value',
                      aggregator:
                        OCI::DataIntegration::Models::AggregatorSummary.new(
                          type: 'EXAMPLE-type-Value',
                          key: 'EXAMPLE-key-Value',
                          name: 'EXAMPLE-name-Value',
                          identifier: 'EXAMPLE-identifier-Value',
                          description: 'EXAMPLE-description-Value'
                        ),
                      identifier_path: 'EXAMPLE-identifierPath-Value',
                      info_fields: {
                        'EXAMPLE_KEY_xyyEP' =>
                          'EXAMPLE_VALUE_sCsAFk65SPoEQmFZ8ZAt'
                      },
                      registry_version: 240,
                      labels: %w[EXAMPLE--Value],
                      is_favorite: true,
                      count_statistics:
                        OCI::DataIntegration::Models::CountStatistic.new(
                          object_type_count_list: [
                            OCI::DataIntegration::Models::CountStatisticSummary
                              .new(object_type: 'PROJECT', object_count: 35)
                          ]
                        )
                    ),
                  key_map: {
                    'EXAMPLE_KEY_C8Gh1' => 'EXAMPLE_VALUE_LRqZSB1qXmiDPU2neFEQ'
                  },
                  registry_metadata:
                    OCI::DataIntegration::Models::RegistryMetadata.new(
                      aggregator_key: 'EXAMPLE-aggregatorKey-Value',
                      labels: %w[EXAMPLE--Value],
                      registry_version: 961,
                      key: 'EXAMPLE-key-Value',
                      is_favorite: false
                    ),
                  pipeline:
                    OCI::DataIntegration::Models::Pipeline.new(
                      key: 'EXAMPLE-key-Value',
                      model_version: 'EXAMPLE-modelVersion-Value',
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        ),
                      name: 'EXAMPLE-name-Value',
                      description: 'EXAMPLE-description-Value',
                      model_type: 'EXAMPLE-modelType-Value',
                      object_version: 175,
                      object_status: 812,
                      identifier: 'EXAMPLE-identifier-Value',
                      parameters: [
                        OCI::DataIntegration::Models::Parameter.new(
                          model_type: 'PARAMETER',
                          key: 'EXAMPLE-key-Value',
                          model_version: 'EXAMPLE-modelVersion-Value',
                          parent_ref:
                            OCI::DataIntegration::Models::ParentReference.new(
                              parent: 'EXAMPLE-parent-Value',
                              root_doc_id:
                                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                            ),
                          config_values:
                            OCI::DataIntegration::Models::ConfigValues.new(
                              config_param_values: {
                                'EXAMPLE_KEY_dz13J' => {
                                  'stringValue' => 'EXAMPLE-stringValue-Value',
                                  'intValue' => 462,
                                  'objectValue' => 'EXAMPLE-objectValue-Value',
                                  'refValue' => 'EXAMPLE-refValue-Value',
                                  'parameterValue' =>
                                    'EXAMPLE-parameterValue-Value',
                                  'rootObjectValue' =>
                                    'EXAMPLE-rootObjectValue-Value'
                                }
                              },
                              parent_ref:
                                OCI::DataIntegration::Models::ParentReference
                                  .new(
                                  parent: 'EXAMPLE-parent-Value',
                                  root_doc_id:
                                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                                )
                            ),
                          object_status: 110,
                          name: 'EXAMPLE-name-Value',
                          description: 'EXAMPLE-description-Value',
                          type: 'EXAMPLE-type-Value',
                          default_value: 'EXAMPLE-defaultValue-Value',
                          root_object_default_value:
                            'EXAMPLE-rootObjectDefaultValue-Value',
                          is_input: true,
                          is_output: false,
                          output_aggregation_type: 'SUM',
                          type_name: 'EXAMPLE-typeName-Value',
                          used_for: 'EXAMPLE-usedFor-Value'
                        )
                      ],
                      flow_config_values:
                        OCI::DataIntegration::Models::ConfigValues.new(
                          config_param_values: {
                            'EXAMPLE_KEY_biYJN' => {
                              'stringValue' => 'EXAMPLE-stringValue-Value',
                              'intValue' => 402,
                              'objectValue' => 'EXAMPLE-objectValue-Value',
                              'refValue' => 'EXAMPLE-refValue-Value',
                              'parameterValue' =>
                                'EXAMPLE-parameterValue-Value',
                              'rootObjectValue' =>
                                'EXAMPLE-rootObjectValue-Value'
                            }
                          },
                          parent_ref:
                            OCI::DataIntegration::Models::ParentReference.new(
                              parent: 'EXAMPLE-parent-Value',
                              root_doc_id:
                                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                            )
                        ),
                      variables: [
                        OCI::DataIntegration::Models::Variable.new(
                          key: 'EXAMPLE-key-Value',
                          model_version: 'EXAMPLE-modelVersion-Value',
                          model_type: 'EXAMPLE-modelType-Value',
                          parent_ref:
                            OCI::DataIntegration::Models::ParentReference.new(
                              parent: 'EXAMPLE-parent-Value',
                              root_doc_id:
                                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                            ),
                          name: 'EXAMPLE-name-Value',
                          description: 'EXAMPLE-description-Value',
                          object_version: 814,
                          object_status: 829,
                          identifier: 'EXAMPLE-identifier-Value',
                          type:
                            OCI::DataIntegration::Models::DerivedType.new(
                              model_type: 'DERIVED_TYPE',
                              key: 'EXAMPLE-key-Value',
                              model_version: 'EXAMPLE-modelVersion-Value',
                              parent_ref:
                                OCI::DataIntegration::Models::ParentReference
                                  .new(
                                  parent: 'EXAMPLE-parent-Value',
                                  root_doc_id:
                                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                                ),
                              name: 'EXAMPLE-name-Value',
                              object_status: 72,
                              description: 'EXAMPLE-description-Value'
                            ),
                          config_values:
                            OCI::DataIntegration::Models::ConfigValues.new(
                              config_param_values: {
                                'EXAMPLE_KEY_8pSJi' => {
                                  'stringValue' => 'EXAMPLE-stringValue-Value',
                                  'intValue' => 664,
                                  'objectValue' => 'EXAMPLE-objectValue-Value',
                                  'refValue' => 'EXAMPLE-refValue-Value',
                                  'parameterValue' =>
                                    'EXAMPLE-parameterValue-Value',
                                  'rootObjectValue' =>
                                    'EXAMPLE-rootObjectValue-Value'
                                }
                              },
                              parent_ref:
                                OCI::DataIntegration::Models::ParentReference
                                  .new(
                                  parent: 'EXAMPLE-parent-Value',
                                  root_doc_id:
                                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                                )
                            ),
                          default_value: 'EXAMPLE-defaultValue-Value',
                          root_object_default_value:
                            OCI::DataIntegration::Models::RootObject.new(
                              key: 'EXAMPLE-key-Value',
                              model_type: 'EXAMPLE-modelType-Value',
                              model_version: 'EXAMPLE-modelVersion-Value',
                              parent_ref:
                                OCI::DataIntegration::Models::ParentReference
                                  .new(
                                  parent: 'EXAMPLE-parent-Value',
                                  root_doc_id:
                                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                                ),
                              object_status: 398
                            )
                        )
                      ],
                      metadata:
                        OCI::DataIntegration::Models::ObjectMetadata.new(
                          created_by: 'EXAMPLE-createdBy-Value',
                          created_by_name: 'EXAMPLE-createdByName-Value',
                          updated_by: 'EXAMPLE-updatedBy-Value',
                          updated_by_name: 'EXAMPLE-updatedByName-Value',
                          time_created:
                            DateTime.parse('2044-08-30T03:20:08.375Z'),
                          time_updated:
                            DateTime.parse('2049-05-13T18:51:55.468Z'),
                          aggregator_key: 'EXAMPLE-aggregatorKey-Value',
                          aggregator:
                            OCI::DataIntegration::Models::AggregatorSummary.new(
                              type: 'EXAMPLE-type-Value',
                              key: 'EXAMPLE-key-Value',
                              name: 'EXAMPLE-name-Value',
                              identifier: 'EXAMPLE-identifier-Value',
                              description: 'EXAMPLE-description-Value'
                            ),
                          identifier_path: 'EXAMPLE-identifierPath-Value',
                          info_fields: {
                            'EXAMPLE_KEY_OSB1O' =>
                              'EXAMPLE_VALUE_jR7qWtjq9IbMUl5EZmsv'
                          },
                          registry_version: 473,
                          labels: %w[EXAMPLE--Value],
                          is_favorite: false,
                          count_statistics:
                            OCI::DataIntegration::Models::CountStatistic.new(
                              object_type_count_list: [
                                OCI::DataIntegration::Models::CountStatisticSummary
                                  .new(
                                  object_type: 'PROJECT', object_count: 695
                                )
                              ]
                            )
                        )
                    )
                ),
              trigger_rule: 'ALL_COMPLETE'
            ),
          ui_properties:
            OCI::DataIntegration::Models::UIProperties.new(
              coordinate_x: 566.0129, coordinate_y: 5037.8247
            ),
          object_status: 43
        )
      ],
      parameters: [
        OCI::DataIntegration::Models::Parameter.new(
          model_type: 'PARAMETER',
          key: 'EXAMPLE-key-Value',
          model_version: 'EXAMPLE-modelVersion-Value',
          parent_ref:
            OCI::DataIntegration::Models::ParentReference.new(
              parent: 'EXAMPLE-parent-Value',
              root_doc_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
            ),
          config_values:
            OCI::DataIntegration::Models::ConfigValues.new(
              config_param_values: {
                'EXAMPLE_KEY_9piRa' => {
                  'stringValue' => 'EXAMPLE-stringValue-Value',
                  'intValue' => 214,
                  'objectValue' => 'EXAMPLE-objectValue-Value',
                  'refValue' => 'EXAMPLE-refValue-Value',
                  'parameterValue' => 'EXAMPLE-parameterValue-Value',
                  'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                }
              },
              parent_ref:
                OCI::DataIntegration::Models::ParentReference.new(
                  parent: 'EXAMPLE-parent-Value',
                  root_doc_id:
                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                )
            ),
          object_status: 680,
          name: 'EXAMPLE-name-Value',
          description: 'EXAMPLE-description-Value',
          type: 'EXAMPLE-type-Value',
          default_value: 'EXAMPLE-defaultValue-Value',
          root_object_default_value: 'EXAMPLE-rootObjectDefaultValue-Value',
          is_input: false,
          is_output: false,
          output_aggregation_type: 'MIN',
          type_name: 'EXAMPLE-typeName-Value',
          used_for: 'EXAMPLE-usedFor-Value'
        )
      ],
      flow_config_values:
        OCI::DataIntegration::Models::ConfigValues.new(
          config_param_values: {
            'EXAMPLE_KEY_eaEul' => {
              'stringValue' => 'EXAMPLE-stringValue-Value',
              'intValue' => 501,
              'objectValue' => 'EXAMPLE-objectValue-Value',
              'refValue' => 'EXAMPLE-refValue-Value',
              'parameterValue' => 'EXAMPLE-parameterValue-Value',
              'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
            }
          },
          parent_ref:
            OCI::DataIntegration::Models::ParentReference.new(
              parent: 'EXAMPLE-parent-Value',
              root_doc_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
            )
        ),
      variables: [
        OCI::DataIntegration::Models::Variable.new(
          key: 'EXAMPLE-key-Value',
          model_version: 'EXAMPLE-modelVersion-Value',
          model_type: 'EXAMPLE-modelType-Value',
          parent_ref:
            OCI::DataIntegration::Models::ParentReference.new(
              parent: 'EXAMPLE-parent-Value',
              root_doc_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
            ),
          name: 'EXAMPLE-name-Value',
          description: 'EXAMPLE-description-Value',
          object_version: 126,
          object_status: 474,
          identifier: 'EXAMPLE-identifier-Value',
          type:
            OCI::DataIntegration::Models::MaterializedCompositeType.new(
              model_type: 'MATERIALIZED_COMPOSITE_TYPE',
              key: 'EXAMPLE-key-Value',
              model_version: 'EXAMPLE-modelVersion-Value',
              parent_ref:
                OCI::DataIntegration::Models::ParentReference.new(
                  parent: 'EXAMPLE-parent-Value',
                  root_doc_id:
                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                ),
              name: 'EXAMPLE-name-Value',
              object_status: 358,
              description: 'EXAMPLE-description-Value',
              elements: %w[EXAMPLE--Value],
              path_names: %w[EXAMPLE--Value],
              config_definition:
                OCI::DataIntegration::Models::ConfigDefinition.new(
                  key: 'EXAMPLE-key-Value',
                  model_type: 'EXAMPLE-modelType-Value',
                  model_version: 'EXAMPLE-modelVersion-Value',
                  parent_ref:
                    OCI::DataIntegration::Models::ParentReference.new(
                      parent: 'EXAMPLE-parent-Value',
                      root_doc_id:
                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                    ),
                  name: 'EXAMPLE-name-Value',
                  is_contained: true,
                  object_status: 851,
                  config_parameter_definitions: {
                    'EXAMPLE_KEY_4f7uo' => {
                      'parameterName' => 'EXAMPLE-parameterName-Value',
                      'description' => 'EXAMPLE-description-Value',
                      'defaultValue' => 'EXAMPLE-defaultValue-Value',
                      'classFieldName' => 'EXAMPLE-classFieldName-Value',
                      'isStatic' => True,
                      'isClassFieldValue' => True
                    }
                  }
                )
            ),
          config_values:
            OCI::DataIntegration::Models::ConfigValues.new(
              config_param_values: {
                'EXAMPLE_KEY_dpPAK' => {
                  'stringValue' => 'EXAMPLE-stringValue-Value',
                  'intValue' => 294,
                  'objectValue' => 'EXAMPLE-objectValue-Value',
                  'refValue' => 'EXAMPLE-refValue-Value',
                  'parameterValue' => 'EXAMPLE-parameterValue-Value',
                  'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                }
              },
              parent_ref:
                OCI::DataIntegration::Models::ParentReference.new(
                  parent: 'EXAMPLE-parent-Value',
                  root_doc_id:
                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                )
            ),
          default_value: 'EXAMPLE-defaultValue-Value',
          root_object_default_value:
            OCI::DataIntegration::Models::RootObject.new(
              key: 'EXAMPLE-key-Value',
              model_type: 'EXAMPLE-modelType-Value',
              model_version: 'EXAMPLE-modelVersion-Value',
              parent_ref:
                OCI::DataIntegration::Models::ParentReference.new(
                  parent: 'EXAMPLE-parent-Value',
                  root_doc_id:
                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                ),
              object_status: 16
            )
        )
      ],
      metadata:
        OCI::DataIntegration::Models::ObjectMetadata.new(
          created_by: 'EXAMPLE-createdBy-Value',
          created_by_name: 'EXAMPLE-createdByName-Value',
          updated_by: 'EXAMPLE-updatedBy-Value',
          updated_by_name: 'EXAMPLE-updatedByName-Value',
          time_created: DateTime.parse('2032-03-12T10:06:25.169Z'),
          time_updated: DateTime.parse('2020-06-14T15:01:30.339Z'),
          aggregator_key: 'EXAMPLE-aggregatorKey-Value',
          aggregator:
            OCI::DataIntegration::Models::AggregatorSummary.new(
              type: 'EXAMPLE-type-Value',
              key: 'EXAMPLE-key-Value',
              name: 'EXAMPLE-name-Value',
              identifier: 'EXAMPLE-identifier-Value',
              description: 'EXAMPLE-description-Value'
            ),
          identifier_path: 'EXAMPLE-identifierPath-Value',
          info_fields: {
            'EXAMPLE_KEY_xI9Ow' => 'EXAMPLE_VALUE_CTlANAzEUjJyXFbjLgC7'
          },
          registry_version: 113,
          labels: %w[EXAMPLE--Value],
          is_favorite: false,
          count_statistics:
            OCI::DataIntegration::Models::CountStatistic.new(
              object_type_count_list: [
                OCI::DataIntegration::Models::CountStatisticSummary.new(
                  object_type: 'APPLICATION', object_count: 192
                )
              ]
            )
        )
    )
  )

# Get the data from response
puts "#{create_pipeline_validation_response.data}"