4.3.1.15. WeldFlaw (FV)¶
Note
WeldFlaw is identified as Fully Validated.
4.3.1.15.1. Example WeldFlaw¶
{
"pdef_id": "d83de7e8-042d-4dd7-90b1-caea3486d542",
"pdef_type": "weld_flaw",
"meta_data": {},
"additional_data": {},
"acceptable": false,
"flaw_type": "lack of fusion",
"flaw_length": {
"val": 4.5,
"unit": "mm"
},
"flaw_depth": {
"val": 2.5,
"unit": "mm"
},
"flaw_height": {
"val": 1.5,
"unit": "mm"
},
"start_pos": {
"val": 15.8,
"unit": "mm"
},
"related_weld_ndt": [
"c8d3377b-9ebf-4b98-b782-61584a0d5903"
]
}
4.3.1.15.2. Documentation WeldFlaw¶
WeldFlaw (FV) describes the flaws to be reported about one Weld (FV).
The various WeldFlaw (FV) relevant for one weld are reported as a Reference Relations into Weld (FV).
4.3.1.15.3. Schema WeldFlaw¶
-
pdef.model.weld_flaw.
WeldFlaw
WeldFlaw describes the various flaws observed in a Weld (FV).
Show JSON schema
{ "title": "WeldFlaw", "description": "WeldFlaw describes the various flaws observed in a :ref:`Weld`.", "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": "weld_flaw", "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" } ] }, "acceptable": { "title": "Acceptability", "description": "True for acceptable weld flaw, False otherwise.", "type": "boolean" }, "flaw_type": { "title": "Type of Flaw", "description": "Type of detected flaw.", "type": "string" }, "flaw_length": { "title": "Flaw Length", "description": ":ref:`Length` of the detected flaw.", "example": [ { "val": 3.2, "unit": "mm" } ], "allOf": [ { "$ref": "#/definitions/Length" } ] }, "flaw_depth": { "title": "Flaw Depth", "description": "Depth of bottom point of the detected flaw.", "example": [ { "val": 3.2, "unit": "mm" } ], "allOf": [ { "$ref": "#/definitions/Length" } ] }, "flaw_height": { "title": "Flaw Height", "description": "Height of the detected flaw.", "example": [ { "val": 3.2, "unit": "mm" } ], "allOf": [ { "$ref": "#/definitions/Length" } ] }, "start_pos": { "title": "Flaw Start Position", "description": "Circonferential position of start point of the detected flaw.", "example": [ { "val": 32.8, "unit": "mm" } ], "allOf": [ { "$ref": "#/definitions/Length" } ] }, "related_weld_ndt": { "title": "Relation to :ref:`WeldNDT`", "description": "Related instance of :ref:`WeldNDT` that led to the indentification of the :ref:`WeldFlaw`. Provided as array of one :ref:`pdef_id`.", "example": [ "37e682a2-e4e5-497a-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
-
acceptable
: Optional[bool] = PydanticUndefined True for acceptable weld flaw, False otherwise.
-
flaw_depth
: Optional[pdef.model.measure.Length] = PydanticUndefined Depth of bottom point of the detected flaw.
- Constraints and examples:
example = [{‘val’: 3.2, ‘unit’: ‘mm’}]
-
flaw_height
: Optional[pdef.model.measure.Length] = PydanticUndefined Height of the detected flaw.
- Constraints and examples:
example = [{‘val’: 3.2, ‘unit’: ‘mm’}]
-
flaw_length
: Optional[pdef.model.measure.Length] = PydanticUndefined Length of the detected flaw.
- Constraints and examples:
example = [{‘val’: 3.2, ‘unit’: ‘mm’}]
-
flaw_type
: Optional[str] = PydanticUndefined Type of detected flaw.
-
pdef_type
: str = 'weld_flaw' - Constraints and examples:
const = weld_flaw
-
related_weld_ndt
: Optional[types.ConstrainedListValue[str]] = PydanticUndefined Related instance of WeldNDT (FV) that led to the indentification of the WeldFlaw (FV). Provided as array of one pdef_id.
- Constraints and examples:
example = [‘37e682a2-e4e5-497a-b252-ea4b4ea54bc0’]
maxItems = 1
-
start_pos
: Optional[pdef.model.measure.Length] = PydanticUndefined Circonferential position of start point of the detected flaw.
- Constraints and examples:
example = [{‘val’: 32.8, ‘unit’: ‘mm’}]
4.3.1.15.4. List WeldFlaw¶
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. |
acceptable |
<class ‘bool’> |
True for acceptable weld flaw, False otherwise. |
flaw_type |
<class ‘str’> |
Type of detected flaw. |
flaw_length |
<class ‘pdef.model.measure.Length’> |
Length of the detected flaw. |
flaw_depth |
<class ‘pdef.model.measure.Length’> |
Depth of bottom point of the detected flaw. |
flaw_height |
<class ‘pdef.model.measure.Length’> |
Height of the detected flaw. |
start_pos |
<class ‘pdef.model.measure.Length’> |
Circonferential position of start point of the detected flaw. |
related_weld_ndt |
<class ‘str’> |
Related instance of WeldNDT (FV) that led to the indentification of the WeldFlaw (FV). Provided as array of one pdef_id. |