{
  "$defs": {
    "ArrayMassBasis": {
      "additionalProperties": false,
      "properties": {
        "active_area_m2": {
          "minimum": 0.0,
          "title": "Active Area M2",
          "type": "number"
        },
        "basis_id": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "Basis Id",
          "type": "string"
        },
        "component_id": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "Component Id",
          "type": "string"
        },
        "electrical_section_area_m2": {
          "anyOf": [
            {
              "exclusiveMinimum": 0.0,
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Electrical Section Area M2"
        },
        "gross_area_m2": {
          "exclusiveMinimum": 0.0,
          "title": "Gross Area M2",
          "type": "number"
        },
        "included_hardware": {
          "items": {
            "enum": [
              "substrate",
              "photovoltaics",
              "panel_wiring",
              "mounts",
              "mechanisms",
              "yoke"
            ],
            "type": "string"
          },
          "minItems": 1,
          "title": "Included Hardware",
          "type": "array"
        },
        "method": {
          "enum": [
            "catalog_assembly",
            "catalog_areal",
            "provisional"
          ],
          "title": "Method",
          "type": "string"
        },
        "packing_factor": {
          "exclusiveMinimum": 0.0,
          "maximum": 1.0,
          "title": "Packing Factor",
          "type": "number"
        },
        "panel_mass_kg": {
          "minimum": 0.0,
          "title": "Panel Mass Kg",
          "type": "number"
        },
        "physical_panel_ids": {
          "default": [],
          "items": {
            "maxLength": 128,
            "minLength": 1,
            "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
            "type": "string"
          },
          "title": "Physical Panel Ids",
          "type": "array"
        },
        "reference_packing_factor": {
          "default": 1.0,
          "exclusiveMinimum": 0.0,
          "maximum": 1.0,
          "title": "Reference Packing Factor",
          "type": "number"
        },
        "section_count": {
          "minimum": 1,
          "title": "Section Count",
          "type": "integer"
        },
        "source_ids": {
          "items": {
            "maxLength": 128,
            "minLength": 1,
            "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
            "type": "string"
          },
          "minItems": 1,
          "title": "Source Ids",
          "type": "array"
        }
      },
      "required": [
        "basis_id",
        "component_id",
        "source_ids",
        "method",
        "gross_area_m2",
        "active_area_m2",
        "packing_factor",
        "section_count",
        "panel_mass_kg",
        "included_hardware"
      ],
      "title": "ArrayMassBasis",
      "type": "object"
    },
    "AssessmentStatus": {
      "enum": [
        "pass",
        "warn",
        "fail",
        "not_assessed"
      ],
      "title": "AssessmentStatus",
      "type": "string"
    },
    "BatteryDegradationResult": {
      "additionalProperties": false,
      "properties": {
        "combined_retention": {
          "exclusiveMinimum": 0.0,
          "maximum": 1.0,
          "title": "Combined Retention",
          "type": "number"
        },
        "equivalent_full_cycles": {
          "minimum": 0.0,
          "title": "Equivalent Full Cycles",
          "type": "number"
        },
        "technology": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "Technology",
          "type": "string"
        },
        "terms": {
          "items": {
            "$ref": "#/$defs/EpsDegradationFactorTerm"
          },
          "minItems": 1,
          "title": "Terms",
          "type": "array"
        },
        "uncertainty_case": {
          "$ref": "#/$defs/EpsUncertaintyCase"
        }
      },
      "required": [
        "technology",
        "uncertainty_case",
        "equivalent_full_cycles",
        "terms",
        "combined_retention"
      ],
      "title": "BatteryDegradationResult",
      "type": "object"
    },
    "EpsCandidateRejection": {
      "additionalProperties": false,
      "properties": {
        "component_id": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "Component Id",
          "type": "string"
        },
        "reason_codes": {
          "items": {
            "maxLength": 128,
            "minLength": 1,
            "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
            "type": "string"
          },
          "minItems": 1,
          "title": "Reason Codes",
          "type": "array"
        },
        "role_id": {
          "enum": [
            "array",
            "battery",
            "pcdu"
          ],
          "title": "Role Id",
          "type": "string"
        }
      },
      "required": [
        "role_id",
        "component_id",
        "reason_codes"
      ],
      "title": "EpsCandidateRejection",
      "type": "object"
    },
    "EpsControllingMargin": {
      "additionalProperties": false,
      "properties": {
        "assessment_status": {
          "$ref": "#/$defs/AssessmentStatus"
        },
        "controlling_component_id": {
          "anyOf": [
            {
              "maxLength": 128,
              "minLength": 1,
              "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Controlling Component Id"
        },
        "controlling_segment_id": {
          "anyOf": [
            {
              "maxLength": 128,
              "minLength": 1,
              "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Controlling Segment Id"
        },
        "margin": {
          "title": "Margin",
          "type": "number"
        },
        "metric_id": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "Metric Id",
          "type": "string"
        },
        "unit": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "Unit",
          "type": "string"
        }
      },
      "required": [
        "metric_id",
        "margin",
        "unit",
        "assessment_status"
      ],
      "title": "EpsControllingMargin",
      "type": "object"
    },
    "EpsDegradationFactorTerm": {
      "additionalProperties": false,
      "properties": {
        "defaulted": {
          "default": false,
          "title": "Defaulted",
          "type": "boolean"
        },
        "driver": {
          "enum": [
            "time",
            "radiation",
            "calendar",
            "throughput",
            "depth_of_discharge",
            "temperature"
          ],
          "title": "Driver",
          "type": "string"
        },
        "factor": {
          "exclusiveMinimum": 0.0,
          "maximum": 1.0,
          "title": "Factor",
          "type": "number"
        },
        "factor_id": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "Factor Id",
          "type": "string"
        },
        "source_identity": {
          "maxLength": 512,
          "minLength": 1,
          "title": "Source Identity",
          "type": "string"
        }
      },
      "required": [
        "factor_id",
        "driver",
        "factor",
        "source_identity"
      ],
      "title": "EpsDegradationFactorTerm",
      "type": "object"
    },
    "EpsEnergySizingResult": {
      "additionalProperties": false,
      "properties": {
        "assessment_status": {
          "$ref": "#/$defs/AssessmentStatus"
        },
        "controlling_segment_id": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "Controlling Segment Id",
          "type": "string"
        },
        "net_cycle_energy_wh": {
          "title": "Net Cycle Energy Wh",
          "type": "number"
        },
        "recharge_margin_wh": {
          "title": "Recharge Margin Wh",
          "type": "number"
        },
        "required_usable_energy_wh": {
          "minimum": 0.0,
          "title": "Required Usable Energy Wh",
          "type": "number"
        }
      },
      "required": [
        "required_usable_energy_wh",
        "net_cycle_energy_wh",
        "recharge_margin_wh",
        "controlling_segment_id",
        "assessment_status"
      ],
      "title": "EpsEnergySizingResult",
      "type": "object"
    },
    "EpsEnvironmentState": {
      "enum": [
        "sunlight",
        "eclipse"
      ],
      "title": "EpsEnvironmentState",
      "type": "string"
    },
    "EpsGenerationLedgerResult": {
      "additionalProperties": false,
      "properties": {
        "array_conversion_efficiency": {
          "exclusiveMinimum": 0.0,
          "maximum": 1.0,
          "title": "Array Conversion Efficiency",
          "type": "number"
        },
        "array_wiring_efficiency": {
          "exclusiveMinimum": 0.0,
          "maximum": 1.0,
          "title": "Array Wiring Efficiency",
          "type": "number"
        },
        "bol_power_density_w_per_m2": {
          "exclusiveMinimum": 0.0,
          "title": "Bol Power Density W Per M2",
          "type": "number"
        },
        "delivered_power_density_w_per_m2": {
          "minimum": 0.0,
          "title": "Delivered Power Density W Per M2",
          "type": "number"
        },
        "incidence_factor": {
          "maximum": 1.0,
          "minimum": 0.0,
          "title": "Incidence Factor",
          "type": "number"
        },
        "irradiance_factor": {
          "exclusiveMinimum": 0.0,
          "title": "Irradiance Factor",
          "type": "number"
        },
        "mode_id": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "Mode Id",
          "type": "string"
        },
        "panel_retention": {
          "exclusiveMinimum": 0.0,
          "maximum": 1.0,
          "title": "Panel Retention",
          "type": "number"
        },
        "source_identity": {
          "maxLength": 512,
          "minLength": 1,
          "title": "Source Identity",
          "type": "string"
        },
        "sun_access_factor": {
          "maximum": 1.0,
          "minimum": 0.0,
          "title": "Sun Access Factor",
          "type": "number"
        }
      },
      "required": [
        "mode_id",
        "bol_power_density_w_per_m2",
        "irradiance_factor",
        "panel_retention",
        "incidence_factor",
        "sun_access_factor",
        "array_conversion_efficiency",
        "array_wiring_efficiency",
        "delivered_power_density_w_per_m2",
        "source_identity"
      ],
      "title": "EpsGenerationLedgerResult",
      "type": "object"
    },
    "EpsLoadLedgerTerm": {
      "additionalProperties": false,
      "properties": {
        "bus_load_w": {
          "minimum": 0.0,
          "title": "Bus Load W",
          "type": "number"
        },
        "component_id": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "Component Id",
          "type": "string"
        },
        "dissipated_fraction_override": {
          "anyOf": [
            {
              "maximum": 1.0,
              "minimum": 0.0,
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Dissipated Fraction Override"
        },
        "load_regulator_efficiency": {
          "exclusiveMinimum": 0.0,
          "maximum": 1.0,
          "title": "Load Regulator Efficiency",
          "type": "number"
        },
        "load_wiring_efficiency": {
          "exclusiveMinimum": 0.0,
          "maximum": 1.0,
          "title": "Load Wiring Efficiency",
          "type": "number"
        },
        "reserve_factor": {
          "default": 1.0,
          "minimum": 1.0,
          "title": "Reserve Factor",
          "type": "number"
        },
        "source_identity": {
          "maxLength": 512,
          "minLength": 1,
          "title": "Source Identity",
          "type": "string"
        },
        "source_power_w": {
          "minimum": 0.0,
          "title": "Source Power W",
          "type": "number"
        },
        "state_id": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "State Id",
          "type": "string"
        },
        "subsystem_id": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "Subsystem Id",
          "type": "string"
        },
        "term_id": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "Term Id",
          "type": "string"
        }
      },
      "required": [
        "term_id",
        "component_id",
        "subsystem_id",
        "state_id",
        "source_power_w",
        "load_regulator_efficiency",
        "load_wiring_efficiency",
        "bus_load_w",
        "source_identity"
      ],
      "title": "EpsLoadLedgerTerm",
      "type": "object"
    },
    "EpsModeLoadResult": {
      "additionalProperties": false,
      "properties": {
        "bus_load_w": {
          "minimum": 0.0,
          "title": "Bus Load W",
          "type": "number"
        },
        "conversion_loss_w": {
          "minimum": 0.0,
          "title": "Conversion Loss W",
          "type": "number"
        },
        "mode_id": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "Mode Id",
          "type": "string"
        },
        "source_load_w": {
          "minimum": 0.0,
          "title": "Source Load W",
          "type": "number"
        },
        "terms": {
          "items": {
            "$ref": "#/$defs/EpsLoadLedgerTerm"
          },
          "title": "Terms",
          "type": "array"
        }
      },
      "required": [
        "mode_id",
        "terms",
        "source_load_w",
        "bus_load_w",
        "conversion_loss_w"
      ],
      "title": "EpsModeLoadResult",
      "type": "object"
    },
    "EpsSegmentEnergyResult": {
      "additionalProperties": false,
      "properties": {
        "available_generation_w": {
          "minimum": 0.0,
          "title": "Available Generation W",
          "type": "number"
        },
        "battery_bus_power_w": {
          "title": "Battery Bus Power W",
          "type": "number"
        },
        "battery_charge_efficiency": {
          "exclusiveMinimum": 0.0,
          "maximum": 1.0,
          "title": "Battery Charge Efficiency",
          "type": "number"
        },
        "battery_discharge_efficiency": {
          "exclusiveMinimum": 0.0,
          "maximum": 1.0,
          "title": "Battery Discharge Efficiency",
          "type": "number"
        },
        "battery_energy_delta_wh": {
          "title": "Battery Energy Delta Wh",
          "type": "number"
        },
        "battery_terminal_power_w": {
          "title": "Battery Terminal Power W",
          "type": "number"
        },
        "bus_load_w": {
          "minimum": 0.0,
          "title": "Bus Load W",
          "type": "number"
        },
        "curtailed_generation_w": {
          "minimum": 0.0,
          "title": "Curtailed Generation W",
          "type": "number"
        },
        "delivered_generation_w": {
          "minimum": 0.0,
          "title": "Delivered Generation W",
          "type": "number"
        },
        "duration_s": {
          "exclusiveMinimum": 0.0,
          "title": "Duration S",
          "type": "number"
        },
        "environment_state": {
          "$ref": "#/$defs/EpsEnvironmentState"
        },
        "mode_id": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "Mode Id",
          "type": "string"
        },
        "segment_id": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "Segment Id",
          "type": "string"
        },
        "state_of_energy_end_wh": {
          "minimum": 0.0,
          "title": "State Of Energy End Wh",
          "type": "number"
        },
        "state_of_energy_start_wh": {
          "minimum": 0.0,
          "title": "State Of Energy Start Wh",
          "type": "number"
        },
        "unserved_load_w": {
          "minimum": 0.0,
          "title": "Unserved Load W",
          "type": "number"
        }
      },
      "required": [
        "segment_id",
        "mode_id",
        "environment_state",
        "duration_s",
        "bus_load_w",
        "available_generation_w",
        "delivered_generation_w",
        "curtailed_generation_w",
        "battery_bus_power_w",
        "battery_terminal_power_w",
        "battery_charge_efficiency",
        "battery_discharge_efficiency",
        "battery_energy_delta_wh",
        "unserved_load_w",
        "state_of_energy_start_wh",
        "state_of_energy_end_wh"
      ],
      "title": "EpsSegmentEnergyResult",
      "type": "object"
    },
    "EpsUncertaintyCase": {
      "enum": [
        "low",
        "nominal",
        "high"
      ],
      "title": "EpsUncertaintyCase",
      "type": "string"
    },
    "IssueRecord": {
      "additionalProperties": false,
      "properties": {
        "action_hint": {
          "anyOf": [
            {
              "maxLength": 1000,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Action Hint"
        },
        "code": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "Code",
          "type": "string"
        },
        "issue_id": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "Issue Id",
          "type": "string"
        },
        "message": {
          "maxLength": 2000,
          "minLength": 1,
          "title": "Message",
          "type": "string"
        },
        "severity": {
          "$ref": "#/$defs/IssueSeverity"
        },
        "source_path": {
          "anyOf": [
            {
              "maxLength": 512,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Source Path"
        },
        "statement_ids": {
          "default": [],
          "items": {
            "maxLength": 128,
            "minLength": 1,
            "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
            "type": "string"
          },
          "title": "Statement Ids",
          "type": "array"
        }
      },
      "required": [
        "issue_id",
        "code",
        "severity",
        "message"
      ],
      "title": "IssueRecord",
      "type": "object"
    },
    "IssueSeverity": {
      "enum": [
        "info",
        "warning",
        "error"
      ],
      "title": "IssueSeverity",
      "type": "string"
    },
    "ModelApplicabilityAssessment": {
      "additionalProperties": false,
      "properties": {
        "active_limitation_ids": {
          "default": [],
          "items": {
            "maxLength": 128,
            "minLength": 1,
            "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
            "type": "string"
          },
          "title": "Active Limitation Ids",
          "type": "array"
        },
        "applicability_id": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "Applicability Id",
          "type": "string"
        },
        "applied_default_policy_ids": {
          "default": [],
          "items": {
            "maxLength": 128,
            "minLength": 1,
            "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
            "type": "string"
          },
          "title": "Applied Default Policy Ids",
          "type": "array"
        },
        "authority_id": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "Authority Id",
          "type": "string"
        },
        "status": {
          "$ref": "#/$defs/ModelApplicabilityStatus"
        }
      },
      "required": [
        "authority_id",
        "applicability_id",
        "status"
      ],
      "title": "ModelApplicabilityAssessment",
      "type": "object"
    },
    "ModelApplicabilityStatus": {
      "enum": [
        "applicable",
        "degraded",
        "unsupported"
      ],
      "title": "ModelApplicabilityStatus",
      "type": "string"
    },
    "PanelDegradationResult": {
      "additionalProperties": false,
      "properties": {
        "combined_retention": {
          "exclusiveMinimum": 0.0,
          "maximum": 1.0,
          "title": "Combined Retention",
          "type": "number"
        },
        "technology": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "Technology",
          "type": "string"
        },
        "terms": {
          "items": {
            "$ref": "#/$defs/EpsDegradationFactorTerm"
          },
          "minItems": 1,
          "title": "Terms",
          "type": "array"
        },
        "uncertainty_case": {
          "$ref": "#/$defs/EpsUncertaintyCase"
        }
      },
      "required": [
        "technology",
        "uncertainty_case",
        "terms",
        "combined_retention"
      ],
      "title": "PanelDegradationResult",
      "type": "object"
    },
    "ResolvedArraySection": {
      "additionalProperties": false,
      "properties": {
        "bol_power_density_w_per_m2": {
          "exclusiveMinimum": 0.0,
          "title": "Bol Power Density W Per M2",
          "type": "number"
        },
        "component_id": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "Component Id",
          "type": "string"
        },
        "continuous_current_a": {
          "exclusiveMinimum": 0.0,
          "title": "Continuous Current A",
          "type": "number"
        },
        "eol_power_density_w_per_m2": {
          "exclusiveMinimum": 0.0,
          "title": "Eol Power Density W Per M2",
          "type": "number"
        },
        "installed_area_m2": {
          "exclusiveMinimum": 0.0,
          "title": "Installed Area M2",
          "type": "number"
        },
        "mass_basis": {
          "anyOf": [
            {
              "$ref": "#/$defs/ArrayMassBasis"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "mass_kg": {
          "exclusiveMinimum": 0.0,
          "title": "Mass Kg",
          "type": "number"
        },
        "realized_area_m2": {
          "minimum": 0.0,
          "title": "Realized Area M2",
          "type": "number"
        },
        "section_count": {
          "minimum": 1,
          "title": "Section Count",
          "type": "integer"
        },
        "voltage_max_v": {
          "exclusiveMinimum": 0.0,
          "title": "Voltage Max V",
          "type": "number"
        },
        "voltage_min_v": {
          "exclusiveMinimum": 0.0,
          "title": "Voltage Min V",
          "type": "number"
        }
      },
      "required": [
        "component_id",
        "section_count",
        "installed_area_m2",
        "realized_area_m2",
        "bol_power_density_w_per_m2",
        "eol_power_density_w_per_m2",
        "voltage_min_v",
        "voltage_max_v",
        "continuous_current_a",
        "mass_kg"
      ],
      "title": "ResolvedArraySection",
      "type": "object"
    },
    "ResolvedBatteryPack": {
      "additionalProperties": false,
      "properties": {
        "component_id": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "Component Id",
          "type": "string"
        },
        "continuous_charge_current_a": {
          "exclusiveMinimum": 0.0,
          "title": "Continuous Charge Current A",
          "type": "number"
        },
        "continuous_discharge_current_a": {
          "exclusiveMinimum": 0.0,
          "title": "Continuous Discharge Current A",
          "type": "number"
        },
        "installed_bol_energy_wh": {
          "exclusiveMinimum": 0.0,
          "title": "Installed Bol Energy Wh",
          "type": "number"
        },
        "mass_kg": {
          "exclusiveMinimum": 0.0,
          "title": "Mass Kg",
          "type": "number"
        },
        "nominal_voltage_v": {
          "exclusiveMinimum": 0.0,
          "title": "Nominal Voltage V",
          "type": "number"
        },
        "pack_count": {
          "minimum": 1,
          "title": "Pack Count",
          "type": "integer"
        },
        "peak_discharge_current_a": {
          "exclusiveMinimum": 0.0,
          "title": "Peak Discharge Current A",
          "type": "number"
        },
        "usable_eol_energy_wh": {
          "exclusiveMinimum": 0.0,
          "title": "Usable Eol Energy Wh",
          "type": "number"
        },
        "voltage_max_v": {
          "exclusiveMinimum": 0.0,
          "title": "Voltage Max V",
          "type": "number"
        },
        "voltage_min_v": {
          "exclusiveMinimum": 0.0,
          "title": "Voltage Min V",
          "type": "number"
        }
      },
      "required": [
        "component_id",
        "pack_count",
        "installed_bol_energy_wh",
        "usable_eol_energy_wh",
        "nominal_voltage_v",
        "voltage_min_v",
        "voltage_max_v",
        "continuous_charge_current_a",
        "continuous_discharge_current_a",
        "peak_discharge_current_a",
        "mass_kg"
      ],
      "title": "ResolvedBatteryPack",
      "type": "object"
    },
    "ResolvedEpsArchitecture": {
      "additionalProperties": false,
      "properties": {
        "array": {
          "$ref": "#/$defs/ResolvedArraySection"
        },
        "battery": {
          "$ref": "#/$defs/ResolvedBatteryPack"
        },
        "bus_voltage_v": {
          "exclusiveMinimum": 0.0,
          "title": "Bus Voltage V",
          "type": "number"
        },
        "candidate_rejections": {
          "default": [],
          "items": {
            "$ref": "#/$defs/EpsCandidateRejection"
          },
          "title": "Candidate Rejections",
          "type": "array"
        },
        "pcdu": {
          "$ref": "#/$defs/ResolvedPcdu"
        },
        "total_hardware_mass_kg": {
          "exclusiveMinimum": 0.0,
          "title": "Total Hardware Mass Kg",
          "type": "number"
        }
      },
      "required": [
        "bus_voltage_v",
        "array",
        "battery",
        "pcdu",
        "total_hardware_mass_kg"
      ],
      "title": "ResolvedEpsArchitecture",
      "type": "object"
    },
    "ResolvedPcdu": {
      "additionalProperties": false,
      "properties": {
        "bus_voltage_v": {
          "exclusiveMinimum": 0.0,
          "title": "Bus Voltage V",
          "type": "number"
        },
        "component_id": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
          "title": "Component Id",
          "type": "string"
        },
        "continuous_current_a": {
          "exclusiveMinimum": 0.0,
          "title": "Continuous Current A",
          "type": "number"
        },
        "continuous_power_w": {
          "exclusiveMinimum": 0.0,
          "title": "Continuous Power W",
          "type": "number"
        },
        "mass_kg": {
          "exclusiveMinimum": 0.0,
          "title": "Mass Kg",
          "type": "number"
        },
        "peak_current_a": {
          "exclusiveMinimum": 0.0,
          "title": "Peak Current A",
          "type": "number"
        },
        "peak_power_w": {
          "exclusiveMinimum": 0.0,
          "title": "Peak Power W",
          "type": "number"
        }
      },
      "required": [
        "component_id",
        "bus_voltage_v",
        "continuous_power_w",
        "peak_power_w",
        "continuous_current_a",
        "peak_current_a",
        "mass_kg"
      ],
      "title": "ResolvedPcdu",
      "type": "object"
    }
  },
  "$id": "urn:sindri:contracts:1.0.0:power-result-v2",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "applicability": {
      "$ref": "#/$defs/ModelApplicabilityAssessment"
    },
    "architecture": {
      "anyOf": [
        {
          "$ref": "#/$defs/ResolvedEpsArchitecture"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "assessment_status": {
      "$ref": "#/$defs/AssessmentStatus"
    },
    "battery_degradation": {
      "$ref": "#/$defs/BatteryDegradationResult"
    },
    "candidate_rejections": {
      "default": [],
      "items": {
        "$ref": "#/$defs/EpsCandidateRejection"
      },
      "title": "Candidate Rejections",
      "type": "array"
    },
    "energy_sizing": {
      "$ref": "#/$defs/EpsEnergySizingResult"
    },
    "generation_cases": {
      "items": {
        "$ref": "#/$defs/EpsGenerationLedgerResult"
      },
      "minItems": 1,
      "title": "Generation Cases",
      "type": "array"
    },
    "issues": {
      "default": [],
      "items": {
        "$ref": "#/$defs/IssueRecord"
      },
      "title": "Issues",
      "type": "array"
    },
    "margins": {
      "items": {
        "$ref": "#/$defs/EpsControllingMargin"
      },
      "minItems": 1,
      "title": "Margins",
      "type": "array"
    },
    "method_id": {
      "maxLength": 128,
      "minLength": 1,
      "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
      "title": "Method Id",
      "type": "string"
    },
    "minimum_state_of_energy_wh": {
      "minimum": 0.0,
      "title": "Minimum State Of Energy Wh",
      "type": "number"
    },
    "mission_id": {
      "maxLength": 128,
      "minLength": 1,
      "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
      "title": "Mission Id",
      "type": "string"
    },
    "mode_loads": {
      "items": {
        "$ref": "#/$defs/EpsModeLoadResult"
      },
      "minItems": 1,
      "title": "Mode Loads",
      "type": "array"
    },
    "panel_degradation": {
      "$ref": "#/$defs/PanelDegradationResult"
    },
    "payload_kind": {
      "const": "power",
      "default": "power",
      "title": "Payload Kind",
      "type": "string"
    },
    "payload_version": {
      "const": "2.0.0",
      "default": "2.0.0",
      "title": "Payload Version",
      "type": "string"
    },
    "phase": {
      "enum": [
        "pre",
        "post",
        "post_thermal"
      ],
      "title": "Phase",
      "type": "string"
    },
    "realized_solar_array_area_m2": {
      "minimum": 0.0,
      "title": "Realized Solar Array Area M2",
      "type": "number"
    },
    "required_solar_array_area_m2": {
      "minimum": 0.0,
      "title": "Required Solar Array Area M2",
      "type": "number"
    },
    "segments": {
      "items": {
        "$ref": "#/$defs/EpsSegmentEnergyResult"
      },
      "maxItems": 64,
      "minItems": 1,
      "title": "Segments",
      "type": "array"
    },
    "spacecraft_id": {
      "maxLength": 128,
      "minLength": 1,
      "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$",
      "title": "Spacecraft Id",
      "type": "string"
    }
  },
  "required": [
    "mission_id",
    "spacecraft_id",
    "phase",
    "method_id",
    "assessment_status",
    "applicability",
    "mode_loads",
    "generation_cases",
    "segments",
    "energy_sizing",
    "margins",
    "panel_degradation",
    "battery_degradation",
    "required_solar_array_area_m2",
    "realized_solar_array_area_m2",
    "minimum_state_of_energy_wh"
  ],
  "title": "PowerResultPayloadV2",
  "type": "object",
  "x-sindri-contract-suite": "sindri.contracts",
  "x-sindri-contract-version": "1.0.0"
}
