4.3.1.7. SectionSinglePipeSpec (PV)

Warning

SectionSinglePipeSpec is identified as Partially Validated.

4.3.1.7.1. Example SectionSinglePipeSpec

{
  "pdef_id": "d9089a04-b901-4047-919d-26d1093ba3db",
  "pdef_type": "section_single_pipe_spec",
  "meta_data": {},
  "additional_data": {},
  "length": {
    "val": 48.8,
    "unit": "m"
  },
  "corrosion_allowance": {
    "val": 1.5,
    "unit": "mm"
  },
  "location_class_dnv": 1,
  "related_bare_pipe_spec": [
    "3ef64013-7472-46e2-8d32-d38a7861d286"
  ],
  "related_pipe_coating_spec": [
    "6cc2c47e-6519-4b0c-a777-5909b70b4c5c"
  ],
  "related_field_joint_coating_spec": [
    "0d998e30-1168-4af0-919f-e4768b43a6ad"
  ],
  "related_weld_spec": [
    "910dd480-7aeb-4bb4-8987-e6733c32e045"
  ]
}

4.3.1.7.2. Documentation SectionSinglePipeSpec

SectionSinglePipeSpec corresponds to the specification of a section of Pipeline (FV).

When a pipeline is designed, the pipeline is split in sections where the pipeline specified properties are identical.

4.3.1.7.3. Schema SectionSinglePipeSpec

pdef.model.section_single_pipe_spec.SectionSinglePipeSpec

SectionSinglePipeSpec stores data intended to gather the specified properties of a joint assembly of single pipe Pipeline (FV), with repetitive cross-sectional properties & pattern.

Show JSON schema
{
   "title": "SectionSinglePipeSpec",
   "description": "`SectionSinglePipeSpec` stores data intended to gather the specified properties of a joint assembly of single pipe :ref:`Pipeline`, with repetitive cross-sectional properties & pattern.",
   "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": "section_single_pipe_spec",
         "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"
            }
         ]
      },
      "length": {
         "title": "Length",
         "description": ":ref:`Length` of the section",
         "example": {
            "val": 1500,
            "unit": "m"
         },
         "allOf": [
            {
               "$ref": "#/definitions/Length"
            }
         ]
      },
      "corrosion_allowance": {
         "title": "Corrosion Allowance",
         "description": "The sacrificial design corrosion allowance for the :ref:`SectionSinglePipeSpec`",
         "example": {
            "val": 3.0,
            "unit": "mm"
         },
         "allOf": [
            {
               "$ref": "#/definitions/Length"
            }
         ]
      },
      "location_class_dnv": {
         "title": "Location Class (DNV)",
         "description": "Location class, as per DNV acronym.",
         "example": 1,
         "enum": [
            1,
            2
         ],
         "type": "integer"
      },
      "related_bare_pipe_spec": {
         "title": "Relation to bare pipe specification",
         "description": "Related instance of :ref:`BarePipeSpec`, provided as array of one :ref:`pdef_id`.",
         "example": [
            "42e682a2-e4e5-497a-b252-ea4b4ea54bc0"
         ],
         "maxItems": 1,
         "type": "array",
         "items": {
            "type": "string"
         }
      },
      "related_pipe_coating_spec": {
         "title": "Relation to pipe coating specification",
         "description": "Related instance of :ref:`PipeCoatingSpec`, provided as array of one :ref:`pdef_id`.",
         "example": [
            "77e682a2-e4e5-497a-b252-ea4b4ea54bc0"
         ],
         "maxItems": 1,
         "type": "array",
         "items": {
            "type": "string"
         }
      },
      "related_field_joint_coating_spec": {
         "title": "Relation to field joint coating specification",
         "description": "Related instance of :ref:`FieldJointCoatingSPec`, provided as array of one :ref:`pdef_id`.",
         "examples": [
            "39e682a2-e4e5-497a-b252-ea4b4ea54bc0"
         ],
         "maxItems": 1,
         "type": "array",
         "items": {
            "type": "string"
         }
      },
      "related_weld_spec": {
         "title": "WeldSpec relations",
         "description": "Related instance of :ref:`WeldSpec`, provided as array of one :ref:`pdef_id`.",
         "examples": [
            "37e682a2-e4e5-457a-b252-ea4b4ea54bc0"
         ],
         "maxItems": 1,
         "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": {}
      },
      "Length": {
         "title": "Length",
         "description": ":ref:`Measure` of a length, distance, thickness, diameter, etc",
         "type": "object",
         "properties": {
            "val": {
               "title": "Value",
               "description": "The value taken by the Measure.",
               "examples": [
                  1.0,
                  -25.1,
                  1000000.0
               ],
               "type": "number"
            },
            "unit": {
               "title": "unit of measure",
               "description": "Unit of measure.",
               "enum": [
                  "km",
                  "hm",
                  "dam",
                  "m",
                  "dm",
                  "cm",
                  "mm",
                  "microm",
                  "ft",
                  "in"
               ],
               "type": "string"
            }
         },
         "required": [
            "val",
            "unit"
         ],
         "additionalProperties": false
      }
   }
}

Config
  • extra: str = forbid

corrosion_allowance: Optional[pdef.model.measure.Length] = PydanticUndefined

The sacrificial design corrosion allowance for the SectionSinglePipeSpec (PV)

Constraints and examples:
  • example = {‘val’: 3.0, ‘unit’: ‘mm’}

length: Optional[pdef.model.measure.Length] = PydanticUndefined

Length of the section

Constraints and examples:
  • example = {‘val’: 1500, ‘unit’: ‘m’}

location_class_dnv: Optional[Literal[1, 2]] = PydanticUndefined

Location class, as per DNV acronym.

Constraints and examples:
  • example = 1

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

related_bare_pipe_spec: Optional[types.ConstrainedListValue[str]] = PydanticUndefined

Related instance of BarePipeSpec (PV), provided as array of one pdef_id.

Constraints and examples:
  • example = [‘42e682a2-e4e5-497a-b252-ea4b4ea54bc0’]

  • maxItems = 1

related_field_joint_coating_spec: Optional[types.ConstrainedListValue[str]] = PydanticUndefined

Related instance of FieldJointCoatingSpec (PV), provided as array of one pdef_id.

Constraints and examples:
  • examples = [‘39e682a2-e4e5-497a-b252-ea4b4ea54bc0’]

  • maxItems = 1

related_pipe_coating_spec: Optional[types.ConstrainedListValue[str]] = PydanticUndefined

Related instance of PipeCoatingSpec (PV), provided as array of one pdef_id.

Constraints and examples:
  • example = [‘77e682a2-e4e5-497a-b252-ea4b4ea54bc0’]

  • maxItems = 1

related_weld_spec: Optional[types.ConstrainedListValue[str]] = PydanticUndefined

Related instance of WeldSpec (PV), provided as array of one pdef_id.

Constraints and examples:
  • examples = [‘37e682a2-e4e5-457a-b252-ea4b4ea54bc0’]

  • maxItems = 1

4.3.1.7.4. List SectionSinglePipeSpec

SectionSinglePipeSpec 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.

length

<class ‘pdef.model.measure.Length’>

Length of the section

corrosion_allowance

<class ‘pdef.model.measure.Length’>

The sacrificial design corrosion allowance for the SectionSinglePipeSpec (PV)

location_class_dnv

typing.Literal[1, 2]

Location class, as per DNV acronym.

related_bare_pipe_spec

<class ‘str’>

Related instance of BarePipeSpec (PV), provided as array of one pdef_id.

related_pipe_coating_spec

<class ‘str’>

Related instance of PipeCoatingSpec (PV), provided as array of one pdef_id.

related_field_joint_coating_spec

<class ‘str’>

Related instance of FieldJointCoatingSpec (PV), provided as array of one pdef_id.

related_weld_spec

<class ‘str’>

Related instance of WeldSpec (PV), provided as array of one pdef_id.