Distribution Substation#
- pydantic model gdm.distribution.components.DistributionSubstation#
Class interface for distribution feeder.
Show JSON schema
{ "title": "DistributionSubstation", "description": "Class interface for distribution feeder.", "type": "object", "properties": { "uuid": { "format": "uuid", "title": "Uuid", "type": "string" }, "name": { "title": "Name", "type": "string" }, "feeders": { "description": "List of feeders for this substation.", "items": { "$ref": "#/$defs/DistributionFeeder" }, "title": "Feeders", "type": "array" } }, "$defs": { "DistributionFeeder": { "additionalProperties": false, "description": "Class interface for distribution feeder.", "properties": { "uuid": { "format": "uuid", "title": "Uuid", "type": "string" }, "name": { "title": "Name", "type": "string" } }, "required": [ "name" ], "title": "DistributionFeeder", "type": "object" } }, "additionalProperties": false, "required": [ "name", "feeders" ] }
- Config:
str_strip_whitespace: bool = True
validate_assignment: bool = True
validate_default: bool = True
extra: str = forbid
use_enum_values: bool = False
arbitrary_types_allowed: bool = True
populate_by_name: bool = True
- Fields:
feeders (list[gdm.distribution.components.distribution_feeder.DistributionFeeder])
name (str)
uuid (uuid.UUID)
- field feeders: Annotated[list[DistributionFeeder], FieldInfo(annotation=NoneType, required=True, description='List of feeders for this substation.')] [Required]#
List of feeders for this substation.