4.3.1.8. AssemblySinglePipeSpec (PV)

Warning

AssemblySinglePipeSpec is identified as Partially Validated.

4.3.1.8.1. Example AssemblySinglePipeSpec

{
  "pdef_id": "151309f9-cd7b-4a63-afc1-8c286ca36f7e",
  "pdef_type": "section_single_pipe_spec",
  "meta_data": {},
  "additional_data": {},
  "length": {
    "val": 36.6,
    "unit": "m"
  },
  "related_bare_pipe_spec": [
    "3ef64013-7472-46e2-8d32-d38a7861d286",
    "379a2c74-c61a-4052-bea9-2b8cb5b3e6e0"
  ],
  "related_pipe_coating_spec": null,
  "related_field_joint_coating_spec": [
    "0d998e30-1168-4af0-919f-e4768b43a6ad"
  ],
  "related_weld_spec": [
    "910dd480-7aeb-4bb4-8987-e6733c32e045"
  ]
}

4.3.1.8.2. Documentation AssemblySinglePipeSpec

AssemblySinglePipeSpec corresponds to the specification of a non-homogeneous section of Pipeline (FV).

When a pipeline is designed, the pipeline is split in relevant section (triple joint, quad joint or stalk, etc..). Such section could be unhomogeneous with thicker joint for example.

Note

For homogeneous section of pipeline where properties are identical, SectionSinglePipeSpec has to be considered instead of AssemblySinglePipeSpec.

4.3.1.8.3. Schema AssemblySinglePipeSpec

pdef.model.assembly_single_pipe_spec.AssemblySinglePipeSpec

AssemblySinglePipeSpec stores data

Show JSON schema
{
   "title": "AssemblySinglePipeSpec",
   "description": "`AssemblySinglePipeSpec` stores data ",
   "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"
            }
         ]
      },
      "related_bare_pipe_spec": {
         "title": "Relation to bare pipe specification",
         "description": "Related instance of :ref:`BarePipeSpec`, provided as value of :ref:`pdef_id`.",
         "example": "42e682a2-e4e5-497a-b252-ea4b4ea54bc0",
         "type": "array",
         "items": {
            "type": "string"
         }
      },
      "related_pipe_coating_spec": {
         "title": "Relation to pipe coating specification",
         "description": "Related instance of :ref:`PipeCoatingSpec`, provided as value of :ref:`pdef_id`.",
         "example": "77e682a2-e4e5-497a-b252-ea4b4ea54bc0",
         "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 value of :ref:`pdef_id`.",
         "examples": "39e682a2-e4e5-497a-b252-ea4b4ea54bc0",
         "type": "array",
         "items": {
            "type": "string"
         }
      },
      "related_weld_spec": {
         "title": "WeldSpec relations",
         "description": "Related instance of :ref:`WeldSpec`, provided as value of :ref:`pdef_id`.",
         "examples": "37e682a2-e4e5-457a-b252-ea4b4ea54bc0",
         "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

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

Length of the section

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

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

related_bare_pipe_spec: Optional[List[str]] = PydanticUndefined

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

Constraints and examples:
  • example = 42e682a2-e4e5-497a-b252-ea4b4ea54bc0

related_field_joint_coating_spec: Optional[List[str]] = PydanticUndefined

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

Constraints and examples:
  • examples = 39e682a2-e4e5-497a-b252-ea4b4ea54bc0

related_pipe_coating_spec: Optional[List[str]] = PydanticUndefined

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

Constraints and examples:
  • example = 77e682a2-e4e5-497a-b252-ea4b4ea54bc0

related_weld_spec: Optional[List[str]] = PydanticUndefined

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

Constraints and examples:
  • examples = 37e682a2-e4e5-457a-b252-ea4b4ea54bc0

4.3.1.8.4. List AssemblySinglePipeSpec

AssemblySinglePipeSpec 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

related_bare_pipe_spec

<class ‘str’>

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

related_pipe_coating_spec

<class ‘str’>

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

related_field_joint_coating_spec

<class ‘str’>

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

related_weld_spec

<class ‘str’>

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