Skip to content

Commit

Permalink
Merge pull request #552 from gridsingularity/dev-to-prod-2024-11-7
Browse files Browse the repository at this point in the history
Dev to prod 2024 11 7
  • Loading branch information
spyrostz authored Nov 6, 2024
2 parents 64112c0 + 3b3cf0e commit 37d699c
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions gsy_framework/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class ScenarioSchemas:
"properties": {
"type": {"enum": ["Area", "null"]},
"name": {"type": "string"},
"const_fee_rate": {"type": "number"},
"const_fee_rate": {"type": ["number", "null"]},
"address": {"type": ["string", "null"]},
"allow_external_connection": {"type": ["null", "boolean"]},
"feed_in_tariff": {"type": ["number", "null"]},
Expand All @@ -40,6 +40,8 @@ class ScenarioSchemas:
"assistance_monthly_fee": {"type": ["number", "null"]},
"market_maker_rate": {"type": ["number", "null"]},
"target_market_kpi": {"type": ["number", "null"]},
"forecast_stream_id": {"anyOf": [{"type": "string"}, {"type": "null"}]},
"forecast_stream_enabled": {"type": ["boolean", "null"]},
"grid_fee_constant": {"anyOf": [{"type": "number"}, {"type": "null"}]},
"grid_import_fee_const": {"anyOf": [{"type": "number"}, {"type": "null"}]},
"grid_export_fee_const": {"anyOf": [{"type": "number"}, {"type": "null"}]},
Expand Down Expand Up @@ -104,7 +106,8 @@ class ScenarioSchemas:
},
"capacity_kW": {"type": "number"},
"cloud_coverage": {"anyOf": [{"type": "number"}, {"type": "null"}]},
"forecast_stream_id": {"anyOf": [{"type": "number"}, {"type": "null"}]},
"forecast_stream_id": {"anyOf": [{"type": "string"}, {"type": "null"}]},
"forecast_stream_enabled": {"type": ["boolean", "null"]},
"power_profile": {
"anyOf": [
{"type": "object"},
Expand Down Expand Up @@ -197,7 +200,8 @@ class ScenarioSchemas:
"energy_rate_increase_per_update": {
"anyOf": [{"type": "number"}, {"type": "null"}]
},
"forecast_stream_id": {"anyOf": [{"type": "number"}, {"type": "null"}]},
"forecast_stream_id": {"anyOf": [{"type": "string"}, {"type": "null"}]},
"forecast_stream_enabled": {"type": ["boolean", "null"]},
"daily_load_profile_uuid": {"anyOf": [{"type": "string"}, {"type": "null"}]},
"use_market_maker_rate": {"type": ["boolean", "null"]},
"daily_load_profile": {
Expand Down Expand Up @@ -244,6 +248,7 @@ class ScenarioSchemas:
"libraryUUID": {"anyOf": [{"type": "string"}, {"type": "null"}]},
"address": {"type": ["string", "null"]},
"allow_external_connection": {"type": ["null", "boolean"]},
"forecast_stream_enabled": {"type": ["null", "boolean"]},
"geo_tag_location": {},
"energy_rate": {"anyOf": [{"type": "number"}, {"type": "null"}]},
"energy_buy_rate": {"anyOf": [{"type": "number"}, {"type": "null"}]},
Expand Down Expand Up @@ -340,7 +345,8 @@ class ScenarioSchemas:
"anyOf": [{"type": "number"}, {"type": "null"}]
},
"use_market_maker_rate": {"type": "boolean"},
"forecast_stream_id": {"anyOf": [{"type": "number"}, {"type": "null"}]},
"forecast_stream_id": {"anyOf": [{"type": "string"}, {"type": "null"}]},
"forecast_stream_enabled": {"type": ["boolean", "null"]},
"prosumption_kWh_profile_uuid": {
"anyOf": [{"type": "string"}, {"type": "null"}]
},
Expand Down

0 comments on commit 37d699c

Please sign in to comment.