envoy-schema 2.2.0__tar.gz → 2.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {envoy_schema-2.2.0/src/envoy_schema.egg-info → envoy_schema-2.3.1}/PKG-INFO +3 -1
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/pyproject.toml +2 -1
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/admin/schema/pricing.py +5 -2
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/admin/schema/site_control.py +4 -1
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/uri.py +10 -4
- {envoy_schema-2.2.0 → envoy_schema-2.3.1/src/envoy_schema.egg-info}/PKG-INFO +3 -1
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema.egg-info/requires.txt +3 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/LICENSE +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/README.md +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/setup.cfg +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/__init__.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/admin/__init__.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/admin/schema/__init__.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/admin/schema/aggregator.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/admin/schema/archive.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/admin/schema/base.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/admin/schema/certificate.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/admin/schema/config.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/admin/schema/log.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/admin/schema/site.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/admin/schema/site_group.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/admin/schema/site_reading.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/admin/schema/uri.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/py.typed +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/__init__.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/__init__.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/csip_aus/__init__.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/csip_aus/connection_point.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/__init__.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/base.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/der.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/der_control_types.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/device_capability.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/end_device.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/error.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/event.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/function_set_assignments.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/identification.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/log_events.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/metering.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/metering_mirror.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/pricing.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/primitive_types.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/pub_sub.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/response.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/time.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/types.py +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema.egg-info/SOURCES.txt +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema.egg-info/dependency_links.txt +0 -0
- {envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: envoy_schema
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.1
|
|
4
4
|
Summary: Envoy Schema - a collection of pydantic models compatible with the Envoy utility server
|
|
5
5
|
Author: Battery Storage and Grid Integration Program
|
|
6
6
|
License: The MIT License (MIT)
|
|
@@ -55,6 +55,8 @@ Requires-Dist: types-lxml; extra == "dev"
|
|
|
55
55
|
Provides-Extra: test
|
|
56
56
|
Requires-Dist: pytest; extra == "test"
|
|
57
57
|
Requires-Dist: assertical; extra == "test"
|
|
58
|
+
Provides-Extra: build
|
|
59
|
+
Requires-Dist: twine; extra == "build"
|
|
58
60
|
Dynamic: license-file
|
|
59
61
|
|
|
60
62
|
# envoy-schema
|
|
@@ -34,7 +34,7 @@ build-backend = "setuptools.build_meta"
|
|
|
34
34
|
|
|
35
35
|
[project]
|
|
36
36
|
name = "envoy_schema"
|
|
37
|
-
version = "2.
|
|
37
|
+
version = "2.3.1"
|
|
38
38
|
description = "Envoy Schema - a collection of pydantic models compatible with the Envoy utility server"
|
|
39
39
|
authors = [{ name = "Battery Storage and Grid Integration Program" }]
|
|
40
40
|
readme = "README.md"
|
|
@@ -71,6 +71,7 @@ Homepage = "https://github.com/bsgip/envoy-schema"
|
|
|
71
71
|
all = ["envoy_schema[dev, test]"]
|
|
72
72
|
dev = ["bandit", "ruff", "ty", "types-python-dateutil", "types-tzlocal", "types-lxml"]
|
|
73
73
|
test = ["pytest", "assertical"]
|
|
74
|
+
build = ["twine"]
|
|
74
75
|
|
|
75
76
|
[tool.setuptools.package-data]
|
|
76
77
|
"envoy_schema" = ["py.typed"]
|
|
@@ -25,6 +25,9 @@ class TariffRequest(BaseModel):
|
|
|
25
25
|
price_power_of_ten_multiplier: int
|
|
26
26
|
primacy: int
|
|
27
27
|
fsa_id: int = 1 # The function set assignment ID that this Tariff will be grouped under
|
|
28
|
+
required_site_group_id: Optional[int] = (
|
|
29
|
+
None # If set - only sites in this SiteGroup will "see" this Tariff. Globally visible otherwise
|
|
30
|
+
)
|
|
28
31
|
|
|
29
32
|
|
|
30
33
|
class TariffResponse(TariffRequest):
|
|
@@ -63,11 +66,11 @@ class TariffComponentResponse(TariffComponentRequest):
|
|
|
63
66
|
|
|
64
67
|
|
|
65
68
|
class TariffGeneratedRateRequest(BaseModel):
|
|
66
|
-
"""Time of use tariff pricing - represents a price for a specific site for a specific range of time as defined
|
|
69
|
+
"""Time of use tariff pricing - represents a price for a specific site group for a specific range of time as defined
|
|
67
70
|
by the parent TariffComponent."""
|
|
68
71
|
|
|
69
72
|
tariff_component_id: int # The TariffComponent ID that this price entry sits underneath
|
|
70
|
-
|
|
73
|
+
site_group_id: int # The SiteGroup id whose members will have this price available to them
|
|
71
74
|
calculation_log_id: Optional[int] # The ID of the CalculationLog that created this rate (or NULL if no link)
|
|
72
75
|
start_time: datetime
|
|
73
76
|
duration_seconds: int
|
|
@@ -9,7 +9,7 @@ class SiteControlRequest(BaseModel):
|
|
|
9
9
|
"""Used for encoding a "SiteControl" which can represent things like a Dynamic Operating Envelope, Setpoint or
|
|
10
10
|
other form of control"""
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
site_group_id: int # Corresponds to SiteGroup id - the members of this SiteGroup are targeted by this control
|
|
13
13
|
calculation_log_id: Optional[int] # The ID of the CalculationLog that created this control (or NULL if no link)
|
|
14
14
|
duration_seconds: int
|
|
15
15
|
start_time: datetime
|
|
@@ -70,6 +70,9 @@ class SiteControlGroupRequest(BaseModel):
|
|
|
70
70
|
display_id: Optional[int] = (
|
|
71
71
|
None # If set - seed the auto generated MRID with this value. equal display_id means equal mrid
|
|
72
72
|
)
|
|
73
|
+
required_site_group_id: Optional[int] = (
|
|
74
|
+
None # If set - only sites in this SiteGroup will "see" this SiteControlGroup. Globally visible otherwise
|
|
75
|
+
)
|
|
73
76
|
|
|
74
77
|
|
|
75
78
|
class SiteControlGroupResponse(SiteControlGroupRequest):
|
|
@@ -9,13 +9,19 @@ ConnectionPointUri = "/edev/{site_id}/cp"
|
|
|
9
9
|
# Sep2 URIs
|
|
10
10
|
AccountBalanceUri = "/ppy/{id1}/ab"
|
|
11
11
|
ActiveBillingPeriodListUri = "/bill/{id1}/ca/{id2}/actbp"
|
|
12
|
-
ActiveCreditRegisterListUri =
|
|
12
|
+
ActiveCreditRegisterListUri = (
|
|
13
|
+
"" # There is NO ActiveCreditRegisterList resource in Sep2 despite an ActiveCreditRegisterListLink being defined.
|
|
14
|
+
)
|
|
13
15
|
ActiveDERControlListUri = "/edev/{site_id}/derp/{der_program_id}/actderc"
|
|
14
16
|
ActiveEndDeviceControlListUri = "/dr/{id1}/actedc"
|
|
15
|
-
ActiveFlowReservationListUri =
|
|
16
|
-
|
|
17
|
+
ActiveFlowReservationListUri = (
|
|
18
|
+
"" # There is NO ActiveFlowReservationList resource in Sep2 despite an ActiveFlowReservationListLink being defined.
|
|
19
|
+
)
|
|
20
|
+
ActiveProjectionReadingListUri = "" # There is NO ActiveProjectionReadingList in resource Sep2
|
|
17
21
|
ActiveSupplyInterruptionOverrideListUri = "/ppy/{id1}/actsi"
|
|
18
|
-
ActiveTargetReadingListUri =
|
|
22
|
+
ActiveTargetReadingListUri = (
|
|
23
|
+
"" # There is NO ActiveTargetReadingList resource in Sep2 despite an ActiveTargetReadingListLink being defined.
|
|
24
|
+
)
|
|
19
25
|
ActiveTextMessageListUri = "/msg/{id1}/acttxt"
|
|
20
26
|
ActiveTimeTariffIntervalListUri = "/tp/{id1}/rc/{id2}/acttti"
|
|
21
27
|
AssociatedDERProgramListUri = "/edev/{site_id}/der/{der_id}/derp"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: envoy_schema
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.1
|
|
4
4
|
Summary: Envoy Schema - a collection of pydantic models compatible with the Envoy utility server
|
|
5
5
|
Author: Battery Storage and Grid Integration Program
|
|
6
6
|
License: The MIT License (MIT)
|
|
@@ -55,6 +55,8 @@ Requires-Dist: types-lxml; extra == "dev"
|
|
|
55
55
|
Provides-Extra: test
|
|
56
56
|
Requires-Dist: pytest; extra == "test"
|
|
57
57
|
Requires-Dist: assertical; extra == "test"
|
|
58
|
+
Provides-Extra: build
|
|
59
|
+
Requires-Dist: twine; extra == "build"
|
|
58
60
|
Dynamic: license-file
|
|
59
61
|
|
|
60
62
|
# envoy-schema
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/csip_aus/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/der_control_types.py
RENAMED
|
File without changes
|
{envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/device_capability.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/identification.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/metering_mirror.py
RENAMED
|
File without changes
|
|
File without changes
|
{envoy_schema-2.2.0 → envoy_schema-2.3.1}/src/envoy_schema/server/schema/sep2/primitive_types.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|