4.3.1.19. Pipeline (FV)

Note

Pipeline is identified as Fully Validated.

4.3.1.19.1. Example Pipeline

{
  "pdef_id": "729e09df-c221-4366-a497-ec153466da63",
  "pdef_type": "pipeline",
  "meta_data": {},
  "additional_data": {},
  "battery_limits": "This is a description of the battery limit for pipeline_2",
  "tag": "PR17",
  "name": "Production line 17",
  "installation_date_time": "2016-09-16T11:33:12.693514",
  "commissioning_date_time": "2018-02-16T11:33:12.693514",
  "hydrotest_date_time": "2017-01-16T11:33:12.693514",
  "installation_direction": null,
  "related_route": [
    "ae0df9c9-cf1a-4c51-99ae-ce8640fa4161"
  ],
  "related_vessel": [
    "a595920f-1646-40d6-8b8c-52dce05ca963"
  ],
  "related_pipeline_spec": [
    "b8eb8702-ff4f-4afd-ba95-caccde5a806c"
  ],
  "related_project": null,
  "related_assembly_single_pipe": [
    "76d573be-a195-4686-86c9-c34fb8e23fdd"
  ],
  "related_bare_pipe": null,
  "related_coated_pipe": null,
  "related_weld": [
    "548d72b3-ce66-4248-b297-abd314c7fd0b"
  ],
  "related_field_joint_coating": [
    "f"
  ]
}

4.3.1.19.2. Schema Pipeline

pdef.model.pipeline.Pipeline

Pipeline object stores data related to one pipeline.

Show JSON schema
{
   "title": "Pipeline",
   "description": "Pipeline object stores data related to one pipeline.",
   "type": "object",
   "properties": {
      "pdef_id": {
         "title": "PDEF id",
         "description": ":ref:`pdef_id` is the unique identifier for the object.",
         "example": "14474720-db23-453a-b9c0-6a9fc9b03ef3",
         "type": "string"
      },
      "pdef_type": {
         "title": "Pdef Type",
         "const": "pipeline",
         "type": "string"
      },
      "meta_data": {
         "title": "Metadata",
         "description": "Optional user free structured :ref:`Metadata` object.",
         "example": "{'created':'2021-09-03'}",
         "allOf": [
            {
               "$ref": "#/definitions/MetaData"
            }
         ]
      },
      "additional_data": {
         "title": "Additional Data",
         "description": "Optional user free structured :ref:`Additional Data` object.",
         "example": "{'color':'grey'}",
         "allOf": [
            {
               "$ref": "#/definitions/AdditionalData"
            }
         ]
      },
      "battery_limits": {
         "title": "Battery Limit",
         "description": "Description of the battery limits considered in the definition of the pipeline.",
         "maxLength": 1000,
         "example": "from PLET-18 to ILT-01",
         "type": "string"
      },
      "tag": {
         "title": "Tag",
         "description": "Component tag for the pipeline.",
         "maxLength": 256,
         "example": "PR16",
         "type": "string"
      },
      "name": {
         "title": "Name",
         "description": "The pipeline name ",
         "maxLength": 256,
         "example": "Production 16",
         "type": "string"
      },
      "installation_date_time": {
         "title": "End of Installation Date and Time",
         "description": "Date and time where the pipeline was installed.",
         "example": "2032-04-23T10:20:30.400+02:30",
         "type": "string",
         "format": "date-time"
      },
      "commissioning_date_time": {
         "title": "End of Commissioning Date and Time",
         "description": "Date and time where the pipeline commissioning was done.",
         "example": "2032-04-23T10:20:30.400+02:30",
         "type": "string",
         "format": "date-time"
      },
      "hydrotest_date_time": {
         "title": "Hydrotest Date and Time",
         "description": "Date and time where the hydrotest was done.",
         "example": "2032-04-23T10:20:30.400+02:30",
         "type": "string",
         "format": "date-time"
      },
      "installation_direction": {
         "title": "Installation direction",
         "description": "The direction of installation, provided as tuple of :ref:`Route` :ref:`pdef_id` and boolean. True when the pipeline is installed from kp 0 to kp end and Flase when pipeline is installed in opposite direction.",
         "example": [
            [
               "route_1",
               true
            ]
         ],
         "type": "array",
         "items": {
            "type": "array",
            "items": [
               {
                  "type": "string"
               },
               {
                  "type": "boolean"
               }
            ]
         }
      },
      "related_route": {
         "title": "Relations to Routes",
         "description": "Related instances of :ref:`Route`, provided as array of :ref:`pdef_id`.",
         "example": [
            "route_as_built",
            "route_design"
         ],
         "type": "array",
         "items": {
            "type": "string"
         }
      },
      "related_vessel": {
         "title": "Relations to Vessel",
         "description": "Related instances of :ref:`Vessel`, provided as array of :ref:`pdef_id`.",
         "example": [
            "vessel_1",
            "vessel_2"
         ],
         "type": "array",
         "items": {
            "type": "string"
         }
      },
      "related_pipeline_spec": {
         "title": "Relations to Pipeline Spec",
         "description": "Related instances of :ref:`PipelineSpec`, provided as array of :ref:`pdef_id`.",
         "example": [
            "pipeline_spec_1"
         ],
         "type": "array",
         "items": {
            "type": "string"
         }
      },
      "related_project": {
         "title": "Relations to Project",
         "description": "Related instances of :ref:`Project`, provided as array of :ref:`pdef_id`.",
         "example": [
            "project_1"
         ],
         "type": "array",
         "items": {
            "type": "string"
         }
      },
      "related_assembly_single_pipe": {
         "title": "Relations to Assembly Single Pipe",
         "description": "Related instances of :ref:`AssemblySinglePipe`, provided as array of :ref:`pdef_id`.The order of related instances is important and representative of the real order of the assembly pipe.",
         "example": [
            "QJ_1",
            "QJ_2",
            "QJ_3",
            "QJ_4"
         ],
         "type": "array",
         "items": {
            "type": "string"
         }
      },
      "related_bare_pipe": {
         "title": "Relations to Bare Pipe",
         "description": "Related instances of :ref:`BarePipe`, provided as array of :ref:`pdef_id`.The order of related instances is important and representative of the real order of the assembly pipe.",
         "example": [
            "bare_pipe_1",
            "bare_pipe_2"
         ],
         "type": "array",
         "items": {
            "type": "string"
         }
      },
      "related_coated_pipe": {
         "title": "Relations to Coated Pipe",
         "description": "Related instances of :ref:`CoatedPipe`, provided as array of :ref:`pdef_id`.The order of related instances is important and representative of the real order of the assembly pipe.",
         "example": [
            "coated_pipe_1",
            "coated_pipe_2"
         ],
         "type": "array",
         "items": {
            "type": "string"
         }
      },
      "related_weld": {
         "title": "Relations to Weld",
         "description": "Related instances of :ref:`Weld`, provided as array of :ref:`pdef_id`. The order of related instances is important and representative of the real order of weld along the assembly pipe. Not all welds contained in the pipeline need to be mentioned, but only those between the assembly pipe are related.",
         "example": [
            "weld_1",
            "weld_2"
         ],
         "type": "array",
         "items": {
            "type": "string"
         }
      },
      "related_field_joint_coating": {
         "title": "Relations to Field Joint Coating",
         "description": "Related instances of :ref:`FieldJointCoating`, provided as array of :ref:`pdef_id`. The order of related instances is important and representative of the real order of field joint coating along the assembly pipe. Not all field joint coating contained in the pipeline need to be mentioned, but only those between the assembly pipe are related..",
         "example": [
            "fjc_1",
            "fjc_2"
         ],
         "type": "array",
         "items": {
            "type": "string"
         }
      }
   },
   "additionalProperties": false,
   "definitions": {
      "MetaData": {
         "title": "MetaData",
         "description": "Optional base JSON-fragment used to report meta data. User free structure.",
         "type": "object",
         "properties": {}
      },
      "AdditionalData": {
         "title": "AdditionalData",
         "description": "Optional base JSON-fragment used to report additional user specific data. User free structure.",
         "type": "object",
         "properties": {}
      }
   }
}

Config
  • extra: str = forbid

battery_limits: Optional[str] = PydanticUndefined

Description of the battery limits considered in the definition of the pipeline.

Constraints and examples:
  • maxLength = 1000

  • example = from PLET-18 to ILT-01

commissioning_date_time: Optional[datetime.datetime] = PydanticUndefined

Date and time where the pipeline commissioning was done.

Constraints and examples:
  • example = 2032-04-23T10:20:30.400+02:30

hydrotest_date_time: Optional[datetime.datetime] = PydanticUndefined

Date and time where the hydrotest was done.

Constraints and examples:
  • example = 2032-04-23T10:20:30.400+02:30

installation_date_time: Optional[datetime.datetime] = PydanticUndefined

Date and time where the pipeline was installed.

Constraints and examples:
  • example = 2032-04-23T10:20:30.400+02:30

installation_direction: Optional[List[Tuple[str, bool]]] = PydanticUndefined

The direction of installation, provided as tuple of Route (FV) pdef_id and boolean. True when the pipeline is installed from kp 0 to kp end and Flase when pipeline is installed in opposite direction.

Constraints and examples:
  • example = [(‘route_1’, True)]

name: Optional[str] = PydanticUndefined

The pipeline name

Constraints and examples:
  • maxLength = 256

  • example = Production 16

pdef_type: str = 'pipeline'
Constraints and examples:
  • const = pipeline

related_assembly_single_pipe: Optional[List[str]] = PydanticUndefined

Related instances of AssemblySinglePipe (FV), provided as array of pdef_id.The order of related instances is important and representative of the real order of the assembly pipe.

Constraints and examples:
  • example = [‘QJ_1’, ‘QJ_2’, ‘QJ_3’, ‘QJ_4’]

related_bare_pipe: Optional[List[str]] = PydanticUndefined

Related instances of BarePipe (FV), provided as array of pdef_id.The order of related instances is important and representative of the real order of the assembly pipe.

Constraints and examples:
  • example = [‘bare_pipe_1’, ‘bare_pipe_2’]

related_coated_pipe: Optional[List[str]] = PydanticUndefined

Related instances of CoatedPipe (FV), provided as array of pdef_id.The order of related instances is important and representative of the real order of the assembly pipe.

Constraints and examples:
  • example = [‘coated_pipe_1’, ‘coated_pipe_2’]

related_field_joint_coating: Optional[List[str]] = PydanticUndefined

Related instances of FieldJointCoating (FV), provided as array of pdef_id. The order of related instances is important and representative of the real order of field joint coating along the assembly pipe. Not all field joint coating contained in the pipeline need to be mentioned, but only those between the assembly pipe are related..

Constraints and examples:
  • example = [‘fjc_1’, ‘fjc_2’]

related_pipeline_spec: Optional[List[str]] = PydanticUndefined

Related instances of PipelineSpec (PV), provided as array of pdef_id.

Constraints and examples:
  • example = [‘pipeline_spec_1’]

related_project: Optional[List[str]] = PydanticUndefined

Related instances of Project (FV), provided as array of pdef_id.

Constraints and examples:
  • example = [‘project_1’]

related_route: Optional[List[str]] = PydanticUndefined

Related instances of Route (FV), provided as array of pdef_id.

Constraints and examples:
  • example = [‘route_as_built’, ‘route_design’]

related_vessel: Optional[List[str]] = PydanticUndefined

Related instances of Vessel (FV), provided as array of pdef_id.

Constraints and examples:
  • example = [‘vessel_1’, ‘vessel_2’]

related_weld: Optional[List[str]] = PydanticUndefined

Related instances of Weld (FV), provided as array of pdef_id. The order of related instances is important and representative of the real order of weld along the assembly pipe. Not all welds contained in the pipeline need to be mentioned, but only those between the assembly pipe are related.

Constraints and examples:
  • example = [‘weld_1’, ‘weld_2’]

tag: Optional[str] = PydanticUndefined

Component tag for the pipeline.

Constraints and examples:
  • maxLength = 256

  • example = PR16

4.3.1.19.3. List Pipeline

Pipeline Variables

Variable

Type

Description

pdef_id

<class ‘str’>

pdef_id is the unique identifier for the object.

pdef_type

<class ‘str’>

meta_data

<class ‘pdef.model.metadata.MetaData’>

Optional user free structured MetaData object.

additional_data

<class ‘pdef.model.additional_data.AdditionalData’>

Optional user free structured Additional Data object.

battery_limits

<class ‘pdef.model.pipeline.ConstrainedStrValue’>

Description of the battery limits considered in the definition of the pipeline.

tag

<class ‘pdef.model.pipeline.ConstrainedStrValue’>

Component tag for the pipeline.

name

<class ‘pdef.model.pipeline.ConstrainedStrValue’>

The pipeline name

installation_date_time

<class ‘datetime.datetime’>

Date and time where the pipeline was installed.

commissioning_date_time

<class ‘datetime.datetime’>

Date and time where the pipeline commissioning was done.

hydrotest_date_time

<class ‘datetime.datetime’>

Date and time where the hydrotest was done.

installation_direction

typing.Tuple[str, bool]

The direction of installation, provided as tuple of Route (FV) pdef_id and boolean. True when the pipeline is installed from kp 0 to kp end and Flase when pipeline is installed in opposite direction.

related_route

<class ‘str’>

Related instances of Route (FV), provided as array of pdef_id.

related_vessel

<class ‘str’>

Related instances of Vessel (FV), provided as array of pdef_id.

related_pipeline_spec

<class ‘str’>

Related instances of PipelineSpec (PV), provided as array of pdef_id.

related_project

<class ‘str’>

Related instances of Project (FV), provided as array of pdef_id.

related_assembly_single_pipe

<class ‘str’>

Related instances of AssemblySinglePipe (FV), provided as array of pdef_id.The order of related instances is important and representative of the real order of the assembly pipe.

related_bare_pipe

<class ‘str’>

Related instances of BarePipe (FV), provided as array of pdef_id.The order of related instances is important and representative of the real order of the assembly pipe.

related_coated_pipe

<class ‘str’>

Related instances of CoatedPipe (FV), provided as array of pdef_id.The order of related instances is important and representative of the real order of the assembly pipe.

related_weld

<class ‘str’>

Related instances of Weld (FV), provided as array of pdef_id. The order of related instances is important and representative of the real order of weld along the assembly pipe. Not all welds contained in the pipeline need to be mentioned, but only those between the assembly pipe are related.

related_field_joint_coating

<class ‘str’>

Related instances of FieldJointCoating (FV), provided as array of pdef_id. The order of related instances is important and representative of the real order of field joint coating along the assembly pipe. Not all field joint coating contained in the pipeline need to be mentioned, but only those between the assembly pipe are related..