{"openapi":"3.1.1","info":{"title":"Gateway API (Aggregated)","version":"1.0.0"},"paths":{"/ajax/whoami":{"get":{"tags":["Ajax.Public.Api"],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/ajax/riskpro/assessments/user/{id}":{"get":{"tags":["RiskPro"],"operationId":"GetAssessmentsForUser","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ajax-public-api_GetAssessmentsResponse"}}}},"404":{"description":"Not Found"}},"x-workflow":"assessment","x-workflow-step":1,"x-prerequisites":[],"x-related":["GetAssessment"]}},"/ajax/riskpro/assessments/user/{id}/count":{"get":{"tags":["RiskPro"],"operationId":"GetAssessmentCountForUser","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ajax-public-api_GetAssessmentCountForUserResponse"}}}}}}},"/ajax/riskpro/assessments/{id}/user/{userId}":{"get":{"tags":["RiskPro"],"operationId":"GetAssessment","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ajax-public-api_GetAssessmentResponse"}}}},"404":{"description":"Not Found"}},"x-workflow":"assessment","x-workflow-step":2,"x-prerequisites":["GetAssessmentsForUser"],"x-related":["GetAssessmentsForUser"]}},"/ajax/riskpro/assessments/{id}/completed/user/{userId}":{"get":{"tags":["RiskPro"],"operationId":"GetCompletedAssessment","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ajax-public-api_GetCompletedAssessmentResponse"}}}},"404":{"description":"Not Found"}}}},"/ajax/riskpro/assessments/{id}/results/user/{userId}":{"get":{"tags":["RiskPro"],"operationId":"GetAssessmentResults","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ajax-public-api_GetAssessmentResultsResponse"}}}},"404":{"description":"Not Found"}}}},"/ajax/riskpro/assessments/responses":{"post":{"tags":["RiskPro"],"operationId":"UpdateRecipientResponses","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ajax-public-api_UpdateRecipientResponsesRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ajax-public-api_UpdateResponsesResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ajax-public-api_UpdateResponsesResponse"}}}}}}},"/companies/webhooks/hubspot":{"post":{"tags":["Companies.Api.PublicApi"],"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies":{"get":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"name","in":"query","schema":{"type":"string"}},{"name":"companyNumber","in":"query","schema":{"type":"string"}},{"name":"status","in":"query","schema":{"type":"string"}},{"name":"companyType","in":"query","schema":{"type":"string"}},{"name":"country","in":"query","schema":{"type":"string"}},{"name":"partnerId","in":"query","schema":{"type":"string","format":"uuid"}},{"name":"page","in":"query","schema":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}},{"name":"pageSize","in":"query","schema":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}}],"responses":{"200":{"description":"OK"}}},"post":{"tags":["Companies.Api.PublicApi"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/companies-public-api_CompanyCreateRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}":{"get":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}},"put":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/companies-public-api_CompanyUpdateRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}},"patch":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/companies-public-api_CompanyPatchRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/archive":{"post":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/restore":{"post":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/metadata":{"get":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}},"put":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/companies-public-api_CompanyMetadataDto"}}}},"required":true},"responses":{"200":{"description":"OK"}}},"patch":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/companies-public-api_CompanyMetadataUpsertRequest"}}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/metadata/{key}":{"delete":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/tags":{"get":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}},"put":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/companies-public-api_CompanyTagDto"}}}},"required":true},"responses":{"200":{"description":"OK"}}},"patch":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/companies-public-api_CompanyTagUpsertRequest"}}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/tags/{key}/{value}":{"delete":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"key","in":"path","required":true,"schema":{"type":"string"}},{"name":"value","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/users":{"get":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}},"post":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/companies-public-api_CompanyUserCreateRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/users/{objectId}":{"delete":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"objectId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/partners":{"get":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}},"post":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/companies-public-api_CompanyPartnerCreateRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/partners/{partnerId}":{"patch":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"partnerId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/companies-public-api_CompanyPartnerUpdateRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}},"delete":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"partnerId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/subscriptions":{"get":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}},"post":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/companies-public-api_CompanySubscriptionCreateRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/subscriptions/{subscriptionId}":{"put":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"subscriptionId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/companies-public-api_CompanySubscriptionUpdateRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/discounts":{"get":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}},"post":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/companies-public-api_CompanyDiscountCreateRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/discounts/{discountId}":{"put":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"discountId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/companies-public-api_CompanyDiscountUpdateRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}},"delete":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"discountId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/documents":{"get":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}},"post":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/companies-public-api_CompanyDocumentCreateRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/loas":{"get":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}},"post":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/companies-public-api_CompanyLoaCreateRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/loa-validity":{"get":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/loa-validity":{"post":{"tags":["Companies.Api.PublicApi"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/companies-public-api_CheckLoaValidityRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/companies/v1/me/company-tags":{"get":{"tags":["Companies.Api.PublicApi"],"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/authority":{"get":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}},"post":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/companies-public-api_CreateAuthorityGrantRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/authority/{grantId}":{"delete":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"grantId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/authority/check":{"get":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"action","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/attestations/{actionType}":{"get":{"tags":["Companies.Api.PublicApi"],"operationId":"GetCompanyAttestation","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"actionType","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/companies-public-api_AttestationResponseDto"}}}}}}},"/companies/v1/companies/{companyId}/lifecycle":{"get":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}},"post":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/companies-public-api_AddLifecycleStageRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/lifecycle/{stage}":{"delete":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"stage","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/lifecycle/history":{"get":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/value-trackers":{"get":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"search","in":"query","schema":{"type":"string"}},{"name":"page","in":"query","schema":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}},{"name":"pageSize","in":"query","schema":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}},{"name":"orderBy","in":"query","schema":{"$ref":"#/components/schemas/companies-public-api_ValueTrackerReportOrderBy"}},{"name":"ascending","in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK"}}},"post":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/companies-public-api_ValueTrackerCreateRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/value-trackers/summary":{"get":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Statuses","in":"query","schema":{"type":"array","items":{"$ref":"#/components/schemas/companies-public-api_ValueTrackerStatus"}}}],"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/value-trackers/series":{"post":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/companies-public-api_ValueTrackerCreateSeriesRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/companies/v1/companies/{companyId}/value-trackers/{id}":{"put":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/companies-public-api_ValueTrackerUpdateRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}},"delete":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}}},"/companies/v1/value-trackers/summary":{"get":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"Statuses","in":"query","schema":{"type":"array","items":{"$ref":"#/components/schemas/companies-public-api_ValueTrackerStatus"}}},{"name":"includeGhosts","in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK"}}}},"/companies/v1/emails/send":{"post":{"tags":["Companies.Api.PublicApi"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/companies-public-api_SendEmailApiRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/companies/v1/emails/{id}/status":{"get":{"tags":["Companies.Api.PublicApi"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}}},"/portfolio/v1/portfolio/overview/{companyId}":{"get":{"tags":["Portfolio"],"summary":"Get portfolio overview for a company","description":"Returns a high-level portfolio overview for the specified company,\naggregating key metrics across all sites and meters. The overview\nprovides a snapshot of the company\u0027s energy portfolio without\nconsumption time-series data. The company must exist; otherwise the\nservice returns default/empty values. Returns 200 with a\nPortfolioOverviewDto payload.","operationId":"GetPortfolioOverview","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_PortfolioOverviewDto"}}}}}}},"/portfolio/v1/portfolio/consumption/{companyId}":{"get":{"tags":["Portfolio"],"summary":"Get consumption chart data for a company","description":"Returns aggregated consumption chart data across all meters for a\ncompany, filtered by the required query parameters: fuelType\n(ConsumptionFuelType), timePeriod (ConsumptionTimePeriod),\ngranularity (ConsumptionGranularity), and chartType\n(ConsumptionChartType). Optional customStart and customEnd\nparameters are required when timePeriod is Custom. Returns 400 if\ndate range or parameter validation fails, 404 if the company does\nnot exist.","operationId":"GetPortfolioConsumption","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"fuelType","in":"query","required":true,"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionFuelType"}},{"name":"timePeriod","in":"query","required":true,"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionTimePeriod"}},{"name":"granularity","in":"query","required":true,"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionGranularity"}},{"name":"chartType","in":"query","required":true,"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionChartType"}},{"name":"customStart","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"customEnd","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"selectDay","in":"query","schema":{"$ref":"#/components/schemas/portfoliov2-public-api_SelectDay"}},{"name":"comparePeriod","in":"query","schema":{"$ref":"#/components/schemas/portfoliov2-public-api_ComparePeriod"}},{"name":"specificDay","in":"query","schema":{"type":"string"}},{"name":"channels","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_PortfolioConsumptionDto"}}}},"404":{"description":"Not Found"}}}},"/portfolio/v1/portfolio/my-companies":{"get":{"tags":["Portfolio"],"summary":"List companies the signed-in user is an active member of","description":"Returns the companies the calling user is an active member of, derived from the\nauthenticated principal (no companyId required) \u2014 the inverse of the membership\ncheck used by CompanyMembershipFilter. Returns 401 if the user identity claim is\nmissing, and an empty collection if the user is not a member of any company.","operationId":"GetMyCompanies","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasCollectionResponseOfUserCompanyMembership"}}}},"401":{"description":"Unauthorized"}}}},"/portfolio/v1/portfolio":{"get":{"tags":["Portfolio"],"summary":"Get portfolio landing data for a company","description":"Returns the company-level portfolio payload used to navigate back to the\ncompany page in the admin experience. Accepts the companyId query\nparameter and returns the same company summary data exposed by the\nportfolio company summary endpoint, with links for the portfolio landing\npage, company summary, site list, and overview. Returns 400 when\ncompanyId is missing or empty and 404 when the company does not exist.","operationId":"GetPortfolioForCompany","parameters":[{"name":"companyId","in":"query","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasResponseOfCompanySummaryDto"}}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}}},"/portfolio/v1/portfolio/companies/{companyId}":{"get":{"tags":["Portfolio"],"summary":"Get portfolio summary for a company","description":"Returns the portfolio summary for a single company identified by\ncompanyId. Includes HATEOAS links to the company\u0027s sites list and\nthe portfolio overview. Returns 404 if the company does not exist.","operationId":"GetPortfolioCompanySummary","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasResponseOfCompanySummaryDto"}}}},"404":{"description":"Not Found"}}}},"/portfolio/v1/portfolio/companies/{companyId}/detail":{"get":{"tags":["Portfolio"],"summary":"Get full company details","description":"Returns company details including address, status, country, and tags.","operationId":"GetPortfolioCompanyDetail","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasResponseOfCompanyDetailDto"}}}},"404":{"description":"Not Found"}}}},"/portfolio/v1/portfolio/companies/{companyId}/max-demand-summary":{"get":{"tags":["Portfolio"],"summary":"Get max demand report for a company","description":"Returns a maximum demand report for a company including peak demand,\nmonthly chart data, and per-site breakdown with capacity utilisation.\nOnly meters with CapacityKva set are evaluated. Window defaults to\nLastMonth; also accepts Last3Months and Last12Months. Returns 404 if\nthe company does not exist.","operationId":"GetCompanyMaxDemandSummary","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"window","in":"query","schema":{"$ref":"#/components/schemas/portfoliov2-public-api_MaxDemandWindow"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_CompanyMaxDemandSummaryDto"}}}},"404":{"description":"Not Found"}}}},"/portfolio/v1/portfolio/sites/{siteId}/max-demand-meters":{"get":{"tags":["Portfolio"],"summary":"Get per-meter max demand rollup for a site","description":"Returns each HH meter at the site with its peak demand (kVA),\nagreed capacity, utilisation percent, and breach count across\nthe requested window. Window defaults to Last12Months; also\naccepts LastMonth and Last3Months. Returns 404 if the site\ndoes not exist.","operationId":"GetSiteMaxDemandMeters","parameters":[{"name":"siteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"window","in":"query","schema":{"$ref":"#/components/schemas/portfoliov2-public-api_MaxDemandWindow"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_SiteMaxDemandMetersDto"}}}},"404":{"description":"Not Found"}}}},"/portfolio/v1/portfolio/companies/{companyId}/meters":{"get":{"tags":["Portfolio"],"summary":"List all meters for a company","description":"Returns all meters belonging to the specified company with site details and Eac.","operationId":"GetPortfolioCompanyMeters","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasCollectionResponseOfCompanyMeterDto"}}}}}}},"/portfolio/v1/portfolio/companies/{companyId}/sites":{"get":{"tags":["Portfolio"],"summary":"List sites for a company","description":"Returns all sites belonging to the specified company as a\ncollection of SiteSummaryDto records. The response includes a count\nand HATEOAS links back to this collection and to the parent company\nresource. Always returns 200, with an empty collection if the\ncompany has no sites.","operationId":"GetPortfolioCompanySites","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasCollectionResponseOfSiteSummaryDto"}}}}}}},"/portfolio/v1/portfolio/sites/{siteId}":{"get":{"tags":["Portfolio"],"summary":"Get site overview including meter summary","description":"Returns a detailed overview for a single site, including its meter\nsummary and aggregated consumption data. Accepts optional query\nparameters: timePeriod (ConsumptionTimePeriod, defaults to\nLast12Months), granularity (ConsumptionGranularity, defaults to\nMonth), customStart and customEnd (DateTime, required when\ntimePeriod is Custom). Returns 400 if custom date range validation\nfails, 404 if the site does not exist. The response includes\nHATEOAS links to the site\u0027s meters, reports, and parent company.","operationId":"GetPortfolioSiteOverview","parameters":[{"name":"siteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"timePeriod","in":"query","schema":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionTimePeriod"}},{"name":"granularity","in":"query","schema":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionGranularity"}},{"name":"customStart","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"customEnd","in":"query","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasResponseOfSiteOverviewDto"}}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}}},"/portfolio/v1/portfolio/sites/{siteId}/meters":{"get":{"tags":["Portfolio"],"summary":"List meters for a site","description":"Returns all meters associated with the specified site as a\ncollection of SiteMeterSummary records. The response includes a\ncount and HATEOAS links to this collection and the parent site.\nAlways returns 200, with an empty collection if the site has no\nmeters.","operationId":"GetPortfolioSiteMeters","parameters":[{"name":"siteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasCollectionResponseOfSiteMeterSummary"}}}}}}},"/portfolio/v1/portfolio/sites/{siteId}/data-completeness":{"get":{"tags":["Portfolio"],"summary":"Get data completeness heatmap for a site","description":"Returns data completeness heatmap data for a single site, showing\ngaps in interval data across its meters. Accepts an optional\ntimePeriod query parameter (DataCompletenessTimePeriod, defaults to\nLast12Months). Returns 400 if the custom range is inverted,\n404 if the site does not exist.","operationId":"GetSiteDataCompleteness","parameters":[{"name":"siteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"timePeriod","in":"query","schema":{"$ref":"#/components/schemas/portfoliov2-public-api_DataCompletenessTimePeriod"}},{"name":"from","in":"query","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_SiteDataCompleteness"}}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}}},"/portfolio/v1/portfolio/sites/{siteId}/reports":{"get":{"tags":["Portfolio"],"summary":"Get reports for a site","description":"Placeholder endpoint that returns an empty reports array for the\nspecified site. This endpoint is reserved for future report\ngeneration functionality. Always returns 200 with an empty list.","operationId":"GetPortfolioSiteReports","parameters":[{"name":"siteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}}},"/portfolio/v1/portfolio/sites/{siteId}/consumption":{"get":{"tags":["Portfolio"],"summary":"Get filtered consumption chart data for a site","description":"Returns consumption chart data for a site, aggregated across all\nhalf-hourly meters. Requires chartType (ConsumptionChartType),\ntimePeriod (ConsumptionTimePeriod), and granularity\n(ConsumptionGranularity) as query parameters. Optional parameters\ninclude customStart and customEnd (required when timePeriod is\nCustom), selectDay (SelectDay), comparePeriod (ComparePeriod), and\nspecificDay (DateTime). Returns 400 if parameter validation fails,\n404 if the site does not exist.","operationId":"GetSiteConsumptionChart","parameters":[{"name":"siteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"chartType","in":"query","required":true,"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionChartType"}},{"name":"timePeriod","in":"query","required":true,"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionTimePeriod"}},{"name":"granularity","in":"query","required":true,"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionGranularity"}},{"name":"customStart","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"customEnd","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"selectDay","in":"query","schema":{"$ref":"#/components/schemas/portfoliov2-public-api_SelectDay"}},{"name":"comparePeriod","in":"query","schema":{"$ref":"#/components/schemas/portfoliov2-public-api_ComparePeriod"}},{"name":"specificDay","in":"query","schema":{"type":"string"}},{"name":"channels","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_MeterConsumptionChartResponse"}}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}}},"/portfolio/v1/portfolio/meters/{meterId}":{"get":{"tags":["Portfolio"],"summary":"Get meter detail including consumption data","description":"Returns detailed information for a single meter, including its\nconfiguration and associated consumption data. The response includes\nHATEOAS links to the parent site and to the meter\u0027s interval data\nendpoint. Returns 404 if the meter does not exist.","operationId":"GetPortfolioMeterDetail","parameters":[{"name":"meterId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasResponseOfMeterDetailDto"}}}},"404":{"description":"Not Found"}}}},"/portfolio/v1/portfolio/meters/{meterId}/consumption":{"get":{"tags":["Portfolio"],"summary":"Get filtered consumption chart data for a meter","description":"Returns consumption chart data for a specific meter, filtered by\nthe required query parameters: chartType (ConsumptionChartType),\ntimePeriod (ConsumptionTimePeriod), and granularity\n(ConsumptionGranularity). Optional parameters include customStart\nand customEnd (required when timePeriod is Custom), selectDay\n(SelectDay), comparePeriod (ComparePeriod), and specificDay\n(DateTime). Returns 400 if date range or parameter validation\nfails, 404 if the meter does not exist.","operationId":"GetMeterConsumptionChart","parameters":[{"name":"meterId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"chartType","in":"query","required":true,"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionChartType"}},{"name":"timePeriod","in":"query","required":true,"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionTimePeriod"}},{"name":"granularity","in":"query","required":true,"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionGranularity"}},{"name":"customStart","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"customEnd","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"selectDay","in":"query","schema":{"$ref":"#/components/schemas/portfoliov2-public-api_SelectDay"}},{"name":"comparePeriod","in":"query","schema":{"$ref":"#/components/schemas/portfoliov2-public-api_ComparePeriod"}},{"name":"specificDay","in":"query","schema":{"type":"string"}},{"name":"channels","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_MeterConsumptionChartResponse"}}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}}},"/portfolio/v1/portfolio/meters/{meterId}/max-demand":{"get":{"tags":["Portfolio"],"summary":"Get filtered max demand chart data for a half-hourly electricity meter","description":"Returns maximum demand chart data for a half-hourly electricity\nmeter (ElectricityHh, Electricity, or HH types). Requires\ntimePeriod (ConsumptionTimePeriod) as a query parameter, with\noptional customStart and customEnd for custom date ranges. Returns\n404 with an explanatory error if the meter is not found or is not\na supported electricity meter type. Returns 400 if date range\nvalidation fails.","operationId":"GetMeterMaxDemandChart","parameters":[{"name":"meterId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"timePeriod","in":"query","schema":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionTimePeriod"}},{"name":"customStart","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"customEnd","in":"query","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_MeterMaxDemandChartResponse"}}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}}},"/portfolio/v1/portfolio/meters/{meterId}/energy-banding":{"get":{"tags":["Portfolio"],"summary":"Get filtered energy banding chart data for a meter","description":"Returns energy banding chart data for a specific meter, categorising\nconsumption into time-of-use bands (e.g. peak, off-peak). Requires\ntimePeriod (ConsumptionTimePeriod) as a query parameter, with\noptional customStart and customEnd for custom date ranges. Returns\n400 if date range validation fails, 404 if the meter does not\nexist.","operationId":"GetMeterEnergyBandingChart","parameters":[{"name":"meterId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"timePeriod","in":"query","required":true,"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionTimePeriod"}},{"name":"customStart","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"customEnd","in":"query","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_MeterEnergyBandingChartResponse"}}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}}},"/portfolio/v1/portfolio/meters/{meterId}/data-completeness":{"get":{"tags":["Portfolio"],"summary":"Get data completeness calendar for a single meter","description":"Returns a data completeness heatmap for a specific meter, showing\ndaily status (Ok, Estimated, Missing, Pending, NotApplicable) over\nthe requested time period. Only applicable to half-hourly electricity\nmeters. Returns 404 if the meter does not exist.","operationId":"GetMeterDataCompleteness","parameters":[{"name":"meterId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"timePeriod","in":"query","required":true,"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_DataCompletenessTimePeriod"}},{"name":"from","in":"query","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_SiteDataCompleteness"}}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}}},"/portfolio/v1/portfolio/data-completeness/{companyId}":{"get":{"tags":["Portfolio"],"summary":"Get data completeness report for a company","description":"Returns a data completeness report for all meters belonging to the\nspecified company, showing heatmap data that highlights gaps in\ninterval data collection. Requires the timePeriod query parameter\n(DataCompletenessTimePeriod) to control the reporting window.\nReturns 200 with a DataCompletenessDto payload; 400 if the custom\nrange is inverted.","operationId":"GetPortfolioDataCompleteness","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"timePeriod","in":"query","required":true,"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_DataCompletenessTimePeriod"}},{"name":"from","in":"query","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_DataCompletenessDto"}}}},"400":{"description":"Bad Request"}}}},"/portfolio/v1/portfolio/savings/{companyId}":{"get":{"tags":["Portfolio"],"summary":"Get savings initiatives for a company","description":"Placeholder endpoint that returns an empty savings initiatives list\nfor the specified company. This endpoint is reserved for future\nsavings tracking functionality. Always returns 200 with an empty\nInitiatives array.","operationId":"GetPortfolioSavings","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_PortfolioSavingsDto"}}}}}}},"/portfolio/v1/companies/{companyId}/overview":{"get":{"tags":["Portfolio"],"summary":"Get aggregated company overview","description":"Returns an aggregated overview of a company\u0027s live portfolio including\nsite and meter counts, meter type breakdown, estimated annual consumption,\ndata health metrics (meters with data, stale meters), and consumption\nstatus groups. Excludes deleted and COT\u0027d (Change of Tenancy) meters\nand sites. Supports ETag-based conditional requests \u2014 send\nIf-None-Match to receive 304 Not Modified when data hasn\u0027t changed.","operationId":"GetCompanyOverview","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_CompanyOverviewDto"}}}},"304":{"description":"Not Modified"}}}},"/portfolio/v1/sites/{siteId}/tags":{"get":{"tags":["Sites","Tags"],"summary":"List all tags for a site","description":"Returns all tags assigned to the specified site. Site tags are\nname-value pairs used to categorise sites within a company.","operationId":"ListSiteTags","parameters":[{"name":"siteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasCollectionResponseOfSiteTagDto"}}}}}},"post":{"tags":["Sites","Tags"],"summary":"Assign a tag to a site","description":"Two request shapes supported:\n1) { CompanyTagId } \u2014 applies an existing Site-scoped CompanyTag to this\n   site. Name and Value are copied server-side.\n2) { CompanyId, Name, Value? } \u2014 creates a flat site tag without a\n   CompanyTag reference. Legacy shape, preserved for callers that used\n   it before SVC-542.\nReturns 400 if neither shape is valid or if the referenced CompanyTag\nis not Site-scoped. Returns 404 if the referenced CompanyTag does not\nexist.","operationId":"CreateSiteTag","parameters":[{"name":"siteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_CreateSiteTagRequest"}}},"required":true},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasResponseOfSiteTagDto"}}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}}},"/portfolio/v1/sites/{siteId}/tags/{tagId}":{"delete":{"tags":["Sites","Tags"],"summary":"Remove a tag from a site","description":"Permanently removes a tag from the specified site. Returns 404 if\nthe tag does not exist or does not belong to the specified site.","operationId":"DeleteSiteTag","parameters":[{"name":"siteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"tagId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}}}},"/portfolio/v1/companies/{companyId}/tags":{"get":{"tags":["Management","Tags"],"summary":"List all tags for a company (scope-filterable)","description":"Returns tags associated with a company. Filters by scope: Site (default,\nuser-managed), Feature (internal flags), or All. Site tags populate\nthe V3 site-tag picker; Feature tags are admin-only.","operationId":"ListCompanyTags","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"scope","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasCollectionResponseOfCompanyTagDto"}}}},"400":{"description":"Bad Request"}}},"post":{"tags":["Management","Tags"],"summary":"Create a tag for a company","description":"Creates a new key-value tag on the specified company. Both key and\nvalue are required. Returns the created tag with HATEOAS links.","operationId":"CreateCompanyTag","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_CreateCompanyTagRequest"}}},"required":true},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasResponseOfCompanyTagDto"}}}},"400":{"description":"Bad Request"}}}},"/portfolio/v1/companies/{companyId}/tags/{tagId}":{"put":{"tags":["Management","Tags"],"summary":"Update a company tag","description":"Updates the key and/or value of an existing company tag. Returns 404\nif the tag does not exist or does not belong to the specified company.","operationId":"UpdateCompanyTag","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"tagId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_UpdateCompanyTagRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasResponseOfCompanyTagDto"}}}},"404":{"description":"Not Found"}}},"delete":{"tags":["Management","Tags"],"summary":"Delete a company tag","description":"Permanently removes a tag from the specified company. Returns 404 if\nthe tag does not exist or does not belong to the specified company.\nReturns 409 if the tag is currently applied to any sites.","operationId":"DeleteCompanyTag","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"tagId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"},"409":{"description":"Conflict"}}}},"/portfolio/v1/consumption/meters/{meterId}/intervals":{"get":{"tags":["Consumption","Intervals"],"summary":"Get interval data for a meter","description":"Returns interval readings (half-hourly or daily) for a specific\nmeter, ordered by period ascending. Accepts optional from and to\nquery parameters (DateTime) to filter the date range. The response\nincludes a count and HATEOAS links to this collection and to the\nparent meter resource. Always returns 200, with an empty collection\nif no intervals match the filter criteria.","operationId":"GetPortfolioUnifiedIntervals","parameters":[{"name":"meterId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"from","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"to","in":"query","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasCollectionResponseOfIntervalDto"}}}}},"x-workflow":"consumption-data","x-workflow-step":2,"x-prerequisites":["ManagementCreateMeter"],"x-related":["UploadCustomIntervals","GetMeterConsumptionChart"]},"post":{"tags":["Consumption","Intervals"],"summary":"Upload custom interval data for a meter without automatic data collection","description":"Uploads custom interval readings for a meter that does not have\nautomatic meter reading (AMR) enabled. The request body must contain\nbetween 1 and 50,000 interval items, each specifying a period,\ninterval type, value, and estimated flag. All uploaded intervals are\ntagged with IntervalSource.Manual. Returns 404 if the meter does\nnot exist, 400 if the meter has AMR enabled, if the intervals list\nis empty, or if the count exceeds 50,000.","operationId":"UploadCustomIntervals","parameters":[{"name":"meterId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_UploadIntervalsRequest"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"x-workflow":"consumption-data","x-workflow-step":1,"x-prerequisites":["ManagementCreateMeter"],"x-related":["GetPortfolioUnifiedIntervals"]}},"/portfolio/v1/companies/{companyId}/consumption/daily-aggregates":{"get":{"tags":["Consumption","DailyAggregates"],"summary":"List daily consumption aggregates for a company within a date range","description":"Returns pre-aggregated daily consumption totals (from the\nMeterDailyAggregates view) for every meter belonging to the\ncompany, within the inclusive [from, to] date range. Pass the\noptional intervalType query parameter (integer enum value, e.g.\n1 = AI) to filter to a single interval type. Results are paged\n(page, pageSize \u2014 default 25, max 200) and ordered by meter,\ndate, then interval type. from and to are required DateTime\nquery parameters; the time component is ignored and the value\nis compared by date. Always returns 200, with an empty\ncollection if no aggregates match.","operationId":"GetCompanyDailyAggregates","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"from","in":"query","required":true,"schema":{"type":"string","format":"date-time"}},{"name":"to","in":"query","required":true,"schema":{"type":"string","format":"date-time"}},{"name":"intervalType","in":"query","schema":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}},{"name":"page","in":"query","schema":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}},{"name":"pageSize","in":"query","schema":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasCollectionResponseOfDailyAggregateDto"}}}}}}},"/portfolio/v1/portfolio/schemes/{companyId}":{"get":{"tags":["Portfolio","Schemes"],"summary":"List available schemes for a company\u0027s country","description":"Customer-facing read-only endpoint that lists all active, non-deleted\nschemes available in the company\u0027s country whose effective date range\ncovers the current time. The company must exist or 404 is returned.\nIf the company has no country set, returns an empty collection. Each\nscheme includes its input definitions so the caller knows what data\nis required for enrollment. Returns a HATEOAS collection with links\nto the company and its current enrollments.","operationId":"GetAvailableSchemes","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasCollectionResponseOfCustomerSchemeDto"}}}}}}},"/portfolio/v1/portfolio/schemes/{companyId}/detail/{schemeId}":{"get":{"tags":["Portfolio","Schemes"],"summary":"Get scheme detail with input requirements for customer enrollment","description":"Customer-facing read-only endpoint that retrieves a single scheme\u0027s\ndetail including its input definitions. The scheme must be active,\nnon-deleted, and belong to the same country as the company. Returns\n404 if the company does not exist, the scheme does not exist, the\nscheme is inactive or deleted, or the country does not match. Includes\nHATEOAS links to the available schemes listing.","operationId":"GetSchemeDetailForCustomer","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"schemeId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasResponseOfCustomerSchemeDto"}}}}}}},"/portfolio/v1/portfolio/schemes/{companyId}/enrolled":{"get":{"tags":["Portfolio","Schemes"],"summary":"List all active scheme enrollments for a company across all levels","description":"Customer-facing read-only endpoint that aggregates all scheme enrollments\nacross the full hierarchy: organisation-level (company), site-level (all\nsites belonging to the company), and meter-level (all meters belonging to\nthe company). Deleted schemes are excluded. Each enrollment includes the\nscheme metadata, the enrollment level, the enrolled entity\u0027s ID and name,\ninput values, effective dates, and whether the scheme has expired. The\ncompany must exist or 404 is returned. Returns a summary DTO with the\ntotal count and HATEOAS links.","operationId":"GetCustomerEnrollments","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasResponseOfCustomerEnrollmentSummaryDto"}}}}}}},"/portfolio/v1/companies/{companyId}/site-ids":{"get":{"tags":["Management","Sites"],"summary":"List every site id V2 knows about for a company (including archived)","description":"Returns the ids of every non-soft-deleted site for the company,\nincluding archived ones (those with a tenancy end date in the\npast). Intended for BFF callers that need the full \u0022known to V2\u0022\nset to distinguish not-yet-synced sites from archived sites.","operationId":"ManagementGetSiteIds","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasCollectionResponseOfGuid"}}}}}}},"/portfolio/v1/portfolio/meters/{meterId}/gas-reads":{"get":{"tags":["Gas Readings"],"summary":"List gas meter reads with optional date range, pagination, and consumption deltas","description":"Public-facing endpoint that returns paginated gas meter readings for a specific\nmeter. Shares the same handler as the management endpoint but is exposed under\nthe /portfolio path for read-only consumer access.\n\nSupports the same query parameters: from/to date range, page, and pageSize.\nReadings are ordered by date descending with computed consumption deltas\nbetween consecutive reads. See the management variant for full parameter and\nresponse details.","operationId":"GetPublicGasReadings","parameters":[{"name":"meterId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"from","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"to","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"page","in":"query","schema":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32","default":1}},{"name":"pageSize","in":"query","schema":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32","default":50}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_GasReadingsPageDto"}}}}}}},"/portfolio/v1/portfolio/export/consumption":{"post":{"tags":["Export"],"operationId":"PublicEnqueueConsumptionExport","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionExportRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/portfolio/v1/portfolio/export/portfolio":{"post":{"tags":["Export"],"operationId":"PublicGeneratePortfolioExport","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_PortfolioExportRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/portfolio/v1/portfolio/export/udi":{"post":{"tags":["Export"],"operationId":"PublicGenerateUdiExport","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_UdiExportRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/portfolio/v1/portfolio/export/jobs/{id}":{"get":{"tags":["Export"],"operationId":"PublicGetExportJob","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}}},"/portfolio/v1/portfolio/export/jobs":{"get":{"tags":["Export"],"operationId":"PublicListExportJobs","parameters":[{"name":"companyId","in":"query","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}}},"/portfolio/v1/portfolio/export/download/{id}":{"get":{"tags":["Export"],"operationId":"PublicDownloadExport","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}}},"/portfolio/v1/portfolio/export/jobs/{id}/retry":{"post":{"tags":["Export"],"operationId":"PublicRetryExportJob","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"}}}},"/portfolio/v1/companies/{companyId}/sites":{"get":{"tags":["Management","Sites"],"summary":"List all sites for a company with pagination, search, and sorting","description":"Lists sites for a company with server-side pagination, search, and sorting.\nSearch filters on site name, address, reference, postcode, and town, and\nalso matches sites whose meters carry the search term as an MPAN, MPRN,\nSPID, or serial number.\nSoft-deleted sites are excluded by default \u2014 set includeDeleted=true to\ninclude them. Archived sites (those with a tenancy end date) are excluded\nby default \u2014 set includeArchived=true to include them. Returns HATEOAS\npagination metadata with meter counts per site.","operationId":"ManagementGetSites","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"page","in":"query","schema":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}},{"name":"pageSize","in":"query","schema":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}},{"name":"searchTerm","in":"query","schema":{"type":"string"}},{"name":"sortLabel","in":"query","schema":{"type":"string"}},{"name":"sortDirection","in":"query","schema":{"type":"string"}},{"name":"includeDeleted","in":"query","schema":{"type":"boolean"}},{"name":"includeArchived","in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasCollectionResponseOfSiteDto"}}}}}},"post":{"tags":["Management","Sites"],"summary":"Create a new site for a company","description":"Creates a new site under the specified company. Requires Name, Address, and\nPostcode. The Country must be an active country code (see GetCountries).\nReturns 400 if required fields are missing or the country is invalid/inactive.\nReturns the created site with HATEOAS links to update, view, and add meters.","operationId":"ManagementCreateSite","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_CreateSiteRequest"}}},"required":true},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasResponseOfSiteDto"}}}},"400":{"description":"Bad Request"}},"x-workflow":"site-onboarding","x-workflow-step":1,"x-prerequisites":[],"x-related":["ManagementGetSites","ManagementCreateMeter"]}},"/portfolio/v1/sites/{siteId}":{"get":{"tags":["Management","Sites"],"summary":"Get a site by ID","description":"Retrieves a single site by its ID, including meter count. Returns HATEOAS\nlinks to update, delete, and list meters for this site.","operationId":"ManagementGetSiteById","parameters":[{"name":"siteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasResponseOfSiteDto"}}}},"404":{"description":"Not Found"}}},"put":{"tags":["Management","Sites"],"summary":"Update a site","description":"Updates a site\u0027s mutable properties (name, address, postcode, etc.). Does not\nsupport changing the company or country. Returns the updated site.","operationId":"ManagementUpdateSite","parameters":[{"name":"siteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_UpdateSiteRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasResponseOfSiteDto"}}}},"404":{"description":"Not Found"}}},"delete":{"tags":["Management","Sites"],"summary":"Delete a site","description":"Soft-deletes a site. The site can still be retrieved with includeDeleted=true\non the list endpoint. Returns 204 No Content on success.","operationId":"ManagementDeleteSite","parameters":[{"name":"siteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"No Content"}}}},"/portfolio/v1/sites/{siteId}/meters":{"get":{"tags":["Management","Meters"],"summary":"List meters for a site with pagination","description":"Lists active meters for a site with server-side pagination. Returns 404 if the\nsite does not exist. Each meter includes site name, address context, and\nconsumption poll status. Returns HATEOAS pagination metadata and links to\ncreate a new meter and navigate to the parent site.","operationId":"ManagementGetMetersForSite","parameters":[{"name":"siteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"page","in":"query","schema":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}},{"name":"pageSize","in":"query","schema":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}},{"name":"includeArchived","in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasCollectionResponseOfMeterDto"}}}},"404":{"description":"Not Found"}}},"post":{"tags":["Management","Meters"],"summary":"Create a new meter for a site","description":"Creates a new meter under a site. The meter inherits the site\u0027s country.\nMeterType must be one of: Electricity, ElectricityHh, ElectricityNhh, Gas, Water. MPAN/MPRN\nmust be unique within the company \u2014 returns 409 Conflict if a duplicate exists.\nReturns the created meter with HATEOAS link to its detail endpoint.","operationId":"ManagementCreateMeter","parameters":[{"name":"siteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_CreateMeterRequest"}}},"required":true},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasResponseOfMeterDto"}}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"422":{"description":"Unprocessable Entity"}},"x-workflow":"site-onboarding","x-workflow-step":2,"x-prerequisites":["ManagementCreateSite"],"x-related":["ManagementGetMetersForSite","UpdateAmrConfig"]}},"/portfolio/v1/meters/{meterId}":{"get":{"tags":["Management","Meters"],"summary":"Get a meter by ID","description":"Retrieves a meter by ID, including a summary of any open update proposals\n(pending and auto-approved counts, latest pending proposal details with changed\nfield names). Returns HATEOAS links to update, view versions, and AMR configuration.","operationId":"ManagementGetMeterById","parameters":[{"name":"meterId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasResponseOfMeterDto"}}}},"404":{"description":"Not Found"}}},"put":{"tags":["Management","Meters"],"summary":"Update meter properties and record version history","description":"Updates meter properties through the versioned update proposal system. Computes a\ndiff of changed fields, creates an update proposal, and applies it. If no fields\nchanged, returns the current meter as a no-op. Records the authenticated user as\nthe applier. Returns HATEOAS links to the proposal detail and version history.","operationId":"ManagementUpdateMeter","parameters":[{"name":"meterId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_UpdateMeterRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasResponseOfMeterDto"}}}},"404":{"description":"Not Found"}},"x-workflow":"meter-lifecycle","x-workflow-step":2,"x-prerequisites":["ManagementCreateMeter"],"x-related":["ManagementGetMeterVersions","ManagementGetMeterById"]},"delete":{"tags":["Management","Meters"],"summary":"Delete a meter","description":"Soft-deletes a meter. Returns 204 No Content on success.","operationId":"ManagementDeleteMeter","parameters":[{"name":"meterId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"No Content"}}}},"/portfolio/v1/meters/{meterId}/versions":{"get":{"tags":["Management","Meters"],"summary":"Get version history for a meter","description":"Returns the version history for a meter \u2014 a chronological list of all recorded\nproperty changes. Each version entry shows which field changed, the old and new\nvalues, and when the change was applied.","operationId":"ManagementGetMeterVersions","parameters":[{"name":"meterId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasCollectionResponseOfMeterVersionDto"}}}}},"x-workflow":"meter-lifecycle","x-workflow-step":3,"x-prerequisites":["ManagementCreateMeter"],"x-related":["ManagementGetMeterAtVersion","RestoreMeter"]}},"/portfolio/v1/meters/{meterId}/versions/{versionNumber}":{"get":{"tags":["Management","Meters"],"description":"Reconstructs the meter\u0027s state at a specific version number by replaying changes\nup to that point. Returns 404 if the version number does not exist.","operationId":"ManagementGetMeterAtVersion","parameters":[{"name":"meterId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"versionNumber","in":"path","required":true,"schema":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasResponseOfMeterDto"}}}},"404":{"description":"Not Found"}}}},"/portfolio/v1/meters/{meterId}/versions/at":{"get":{"tags":["Management","Meters"],"description":"Reconstructs the meter\u0027s state as it was at a specific point in time. The timestamp\nparameter should be ISO 8601 format and is converted to UTC. Returns the latest\nversion at or before the given timestamp, or 404 if no version exists.","operationId":"ManagementGetMeterAtTime","parameters":[{"name":"meterId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"timestamp","in":"query","required":true,"schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasResponseOfMeterDto"}}}},"404":{"description":"Not Found"}}}},"/portfolio/v1/meters/{meterId}/history/{propertyName}":{"get":{"tags":["Management","Meters"],"description":"Returns the change history for a specific property on a meter. Use the property\nname as it appears in the meter model (e.g. MpanCore, TenancyEndDate). Returns\na list of changes with old/new values and timestamps.","operationId":"ManagementGetMeterPropertyHistory","parameters":[{"name":"meterId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"propertyName","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasCollectionResponseOfPropertyChangeDto"}}}}}}},"/portfolio/v1/meters/{meterId}/deletion-request":{"post":{"tags":["Meters"],"summary":"Request deletion of a meter added by mistake","description":"Initiates a two-stage meter deletion process. Returns a unique confirmation token\nthat must be submitted to the confirm-deletion endpoint within 30 minutes. The meter\nand all associated consumption data will be permanently wiped once confirmed. A reason\nis required for audit purposes.","operationId":"RequestMeterDeletion","parameters":[{"name":"meterId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_MeterDeletionRequestInput"}}},"required":true},"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"},"409":{"description":"Conflict"}}}},"/portfolio/v1/meters/{meterId}/confirm-deletion":{"post":{"tags":["Meters"],"summary":"Confirm deletion of a meter by providing the confirmation token","description":"Confirms a pending meter deletion request by validating the confirmation token.\nThe token must match exactly and the request must not have expired (30-minute window).\nOnce confirmed, a message is published for background processing to permanently\ndelete the meter and all associated consumption data.","operationId":"ConfirmMeterDeletion","parameters":[{"name":"meterId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_MeterDeletionConfirmInput"}}},"required":true},"responses":{"202":{"description":"Accepted"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"},"422":{"description":"Unprocessable Entity"}}}},"/portfolio/v1/metersearch/postcode/{postcode}":{"get":{"tags":["Meter Search"],"summary":"Search for addresses with registered meters by postcode (UK only)","description":"Searches the national energy registry for property addresses that\nhave registered electricity and/or gas meters matching the given UK\npostcode. The postcode is trimmed but must not be empty; returns 400\nif blank. Each result indicates whether electricity and gas meters\nwere matched at that address. Use the returned addressId with the\nSearchByAddress endpoint to retrieve full meter details.","operationId":"SearchMetersByPostcode","parameters":[{"name":"postcode","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasCollectionResponseOfMeterSearchAddressDto"}}}},"400":{"description":"Bad Request"}}}},"/portfolio/v1/metersearch/address/{addressId}":{"get":{"tags":["Meter Search"],"summary":"Retrieve all meters registered at a property address","description":"Retrieves all electricity and gas meters registered at the property\nidentified by addressId (obtained from the postcode search\nendpoint). The energy registry lookup may be asynchronous; if the\nresult is not immediately available, a response with Status \u0022Queued\u0022\nand a ticketId is returned for polling. When available, returns\ndetailed electricity meter data (MPAN, profile class, supplier,\ndata aggregator, etc.) and gas meter data (MPRN, capacity, last\nread details). Electricity meters with profile class \u002200\u0022 are\nclassified as ElectricityHh.","operationId":"SearchMetersByAddress","parameters":[{"name":"addressId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasResponseOfPropertyMetersResultDto"}}}}}}},"/portfolio/v1/metersearch/identifier/{identifier}":{"get":{"tags":["Meter Search"],"summary":"Look up a single meter by MPAN (electricity) or MPRN (gas)","description":"Looks up a single meter in the national energy registry by its\nidentifier. The fuel type is inferred from identifier length:\n12 characters or fewer tries gas (MPRN) first then electricity\n(MPAN); longer identifiers try electricity first then gas. If\nthe primary lookup fails the fallback fuel type is attempted\nautomatically. The identifier is trimmed but must not be empty;\nreturns 400 if blank. Gas lookups may be asynchronous, returning\na \u0022Queued\u0022 status with a ticketId for polling. When an optional\ncompanyId query parameter is provided, the endpoint also checks\nwhether a meter with this identifier already exists in the\ncompany\u0027s portfolio, setting ExistingMeter and ExistingMeterId\non the response. Returns 404 with a list of lookups attempted\nand a message advising manual meter creation if neither lookup\nmatches.","operationId":"LookupMeterByIdentifier","parameters":[{"name":"identifier","in":"path","required":true,"schema":{"type":"string"}},{"name":"companyId","in":"query","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasResponseOfMeterSearchResultDto"}}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}}},"/portfolio/v1/companies/{companyId}/entitlements":{"get":{"tags":["Companies","Entitlements"],"summary":"Get the per-company portfolio rollout entitlement (SOR state)","description":"Returns the company\u0027s PortfolioSor value (\u0022V1\u0022 or \u0022V2\u0022). A missing\nCompanySystemOfRecord row collapses to \u0022V1\u0022 \u2014 companies unknown to\nPortfolioV2 are not on V2 by definition. Endpoint is authenticated\nbut does not enforce per-company membership; callers (BFFs) decide\nwhich company-ids to query based on their own user\u2192company mapping.","operationId":"GetCompanyEntitlements","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfoliov2-public-api_CompanyEntitlementsDto"}}}}}}},"/trading/api/trading/volume/VolumeRequirements":{"post":{"tags":["Trading"],"operationId":"TradingApiApiVolumeCreateVolumeRequirementsEndpoint","requestBody":{"x-name":"CreateFlexTradeProfilePeriodVolumeRequirementsRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiApiVolumeCreateFlexTradeProfilePeriodVolumeRequirementsRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfBoolean"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/trading/volume/fullflexProfileVolumeRequirements":{"post":{"tags":["Trading"],"operationId":"TradingApiApiVolumeGetFullVolumeRequirementsForFlexProfileEndpoint","requestBody":{"x-name":"GetFlexTradeProfilePeriodVolumeRequirementsRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_GetFlexTradeProfilePeriodVolumeRequirementsRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfGetFlexTradeProfilePeriodVolumeRequirementsResponse"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/trading/volume/flexProfileVolumeRequirements":{"get":{"tags":["Trading"],"operationId":"TradingApiApiVolumeGetVolumeRequirementsForFlexProfileEndpoint","parameters":[{"name":"flexibleProfileId","in":"query","required":true,"schema":{"type":"string","format":"guid"}},{"name":"commodityTypeId","in":"query","required":true,"schema":{"type":"string","format":"guid"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfGetVolumeRequirementsForFlexProfileResponse"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/trading/alerts/company-name-cache/refresh/{companyId}":{"post":{"tags":["Trading"],"operationId":"TradingApiApiTradingAlertsv2CompanyNameCacheRefreshEndpoint","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfBoolean"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/trading/alerts/v2":{"post":{"tags":["Trading"],"operationId":"TradingApiApiTradingAlertsv2CreateTradingAlertEndpoint","requestBody":{"x-name":"CreateTradingAlertRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiApiTradingAlertsv2CreateTradingAlertRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfBoolean"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]},"get":{"tags":["Trading"],"operationId":"TradingApiApiTradingAlertsv2GetTradingAlertsEndpoint","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfTradingAlertsResponse"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/trading/alerts/v2/{id}/delete":{"put":{"tags":["Trading"],"operationId":"TradingApiApiTradingAlertsv2DeleteTradingAlertEndpoint","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfBoolean"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/trading/alerts/v2/bands":{"get":{"tags":["Trading"],"operationId":"TradingApiApiTradingAlertsv2GetTradingAlertBandsEndpoint","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfTradingAlertBandsResponse"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]},"put":{"tags":["Trading"],"operationId":"TradingApiApiTradingAlertsv2UpdateTradingAlertBandsEndpoint","requestBody":{"x-name":"UpdateTradingAlertBandsRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiApiTradingAlertsv2UpdateTradingAlertBandsRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfBoolean"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/trading/alerts/company-name-cache/populate":{"post":{"tags":["Trading"],"operationId":"TradingApiApiTradingAlertsv2PopulateCompanyNameCacheEndpoint","requestBody":{"x-name":"PopulateCompanyNameCacheRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiApiTradingAlertsv2PopulateCompanyNameCacheRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfCompanyNameCachePopulationResult"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/trading/alerts/v2/flex-periods":{"post":{"tags":["Trading"],"operationId":"TradingApiApiTradingAlertsv2PostFlexProfileForFlexPeriodsWithPricesEndpoint","requestBody":{"x-name":"PostFlexProfileForFlexPeriodsWithPricesRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiApiTradingAlertsv2PostFlexProfileForFlexPeriodsWithPricesRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfFlexPeriodWithPriceDto"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/trading/alerts/v2/purgeduplicates":{"put":{"tags":["Trading"],"operationId":"TradingApiApiTradingAlertsv2PurgeDuplicateTradingAlertsEndpoint","requestBody":{"x-name":"PurgeAlertsRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiApiTradingAlertsv2PurgeAlertsRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfBoolean"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/trading/GetFlexProfileIdsIncludedInPeriod":{"post":{"tags":["Trading"],"operationId":"TradingApiApiTradingAlertsLegacyCreateGetFlexProfileIdsIncludedInPeriodEndpoint","requestBody":{"x-name":"GetFlexProfileIdsIncludedInPeriodRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiApiTradingAlertsLegacyCreateGetFlexProfileIdsIncludedInPeriodRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfTradeFlexProfileDto"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/trading/GetFlexProfileIdsIncludedInPeriodWithMonths":{"post":{"tags":["Trading"],"operationId":"TradingApiApiTradingAlertsLegacyCreateGetVolumeInfoForFlexPeriodsWithMonthsTrueEndpoint","requestBody":{"x-name":"GetFlexProfileIdsIncludedInPeriodRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiApiTradingAlertsLegacyCreateGetFlexProfileIdsIncludedInPeriodRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfTradeFlexProfileDto"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/trading/singletrades/flexPeriodVolumeInfoTrue":{"get":{"tags":["Trading"],"operationId":"TradingApiApiTradingAlertsLegacyCreateGetVolumeInfoForFlexPeriodTrueEndpoint","parameters":[{"name":"flexProfileId","in":"query","required":true,"schema":{"type":"string","format":"guid"}},{"name":"flexProfileStartDate","in":"query","required":true,"schema":{"type":"string","format":"date-time"}},{"name":"flexPeriodId","in":"query","required":true,"schema":{"type":"string","format":"guid"}},{"name":"commodityTypeId","in":"query","required":true,"schema":{"type":"string","format":"guid"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfFlexPeriodVolumeInfoDto"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/trading/singletrades/true":{"post":{"tags":["Trading"],"operationId":"TradingApiApiSingleTradesCreateTradeTrueEndpoint","requestBody":{"x-name":"CreateSingleTradesRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosTradesCreateSingleTradesRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfBoolean"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/trading/singletrades/setdelete":{"put":{"tags":["Trading"],"operationId":"TradingApiApiSingleTradesDeleteTradeEndpoint","requestBody":{"x-name":"TradeDeleteRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiApiSingleTradesTradeDeleteRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfBoolean"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/trading/singletrades/flexperiodsforflexprofiletrue/{FlexibleProfileId}":{"post":{"tags":["Trading"],"operationId":"TradingApiApiSingleTradesGetFlexPeriodsForFlexProfileTrueEndpoint","parameters":[{"name":"flexibleProfileId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"x-name":"GetFlexPeriodsForFlexProfileRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiApiSingleTradesGetFlexPeriodsForFlexProfileTrueEndpoint_GetFlexPeriodsForFlexProfileRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfFlexPeriodDto"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/trading/singletrades/tradesforflexprofiletrue/{flexibleProfileId}/{commodityTypeId}":{"get":{"tags":["Trading"],"operationId":"TradingApiApiSingleTradesGetTradesForFlexProfileTrueEndpoint","parameters":[{"name":"flexibleProfileId","in":"path","required":true,"schema":{"type":"string","format":"guid"}},{"name":"commodityTypeId","in":"path","required":true,"schema":{"type":"string","format":"guid"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfSingleTradeDto"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/trading/flex/flexperiodvolume":{"put":{"tags":["Trading"],"operationId":"TradingApiApiSingleTradesUpdateRequiredVolumeEndpoint","requestBody":{"x-name":"UpdateRequiredVolumeRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiApiSingleTradesUpdateRequiredVolumeRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfBoolean"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/marketprices/contractualdata":{"post":{"tags":["Marketprices"],"operationId":"TradingApiApiMarketPricesGetContractualUnitPricesForFlexMeters","requestBody":{"x-name":"GetContractualUnitPricesForMetersRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiApiMarketPricesGetContractualUnitPricesForMetersRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfGetContractualUnitPricesForFlexMetersResponse"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/marketprices/forwardcurve":{"get":{"tags":["Marketprices"],"operationId":"TradingApiApiMarketPricesGetForwardCurveDataEndpoint","parameters":[{"name":"country","in":"query","schema":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/trading-api_TrueEnumerationsGlobalizationSupportedCountry"}]}},{"name":"futureDate","in":"query","schema":{"type":"string","format":"date-time","nullable":true}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfMarketPricesResponse"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/marketprices/{commodityTypeId}/latest":{"get":{"tags":["Marketprices"],"operationId":"TradingApiApiMarketPricesGetMarketPricesLatestEndpoint","parameters":[{"name":"commodityTypeId","in":"path","required":true,"schema":{"type":"string","format":"guid"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfObject"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/marketprices/{commodityTypeId}/monthly/latest":{"get":{"tags":["Marketprices"],"operationId":"TradingApiApiMarketPricesGetMonthlyMarketPriceForTypeEndpoint","parameters":[{"name":"commodityTypeId","in":"path","required":true,"schema":{"type":"string","format":"guid"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfMarketPriceDto"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/marketprices/all":{"get":{"tags":["Marketprices"],"operationId":"TradingApiApiMarketPricesGetPricesForCommoditiesAndDateEndpoint","parameters":[{"name":"country","in":"query","required":true,"schema":{"allOf":[{"$ref":"#/components/schemas/trading-api_TrueEnumerationsGlobalizationSupportedCountry"}]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfMarketPricesResponse"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/marketprices/netzero/project-prices":{"post":{"tags":["Marketprices"],"operationId":"TradingApiApiMarketPricesGetProjectPricesForNetZeroEndpoint","requestBody":{"x-name":"GetProjectPricesForNetZeroRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiApiMarketPricesGetProjectPricesForNetZeroRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfGetProjectPricesForNetZeroResponse"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/trading/marketnews":{"post":{"tags":["Trading"],"operationId":"TradingApiApiMarketNewsV2CreateMarketNewsEndpoint","requestBody":{"x-name":"MarketNewsReportDto","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosMarketNewsMarketNewsReportDto"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfMarketNewsReportDto"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]},"get":{"tags":["Trading"],"operationId":"TradingApiApiMarketNewsV2GetMarketNewsEndpoint","parameters":[{"name":"index","in":"query","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"count","in":"query","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfGetMarketNewsResponse"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]},"put":{"tags":["Trading"],"operationId":"TradingApiApiMarketNewsV2UpdateMarketNewsEndpoint","requestBody":{"x-name":"MarketNewsReportDto","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosMarketNewsMarketNewsReportDto"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfMarketNewsReportDto"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/trading/marketnews/{id}":{"delete":{"tags":["Trading"],"operationId":"TradingApiApiMarketNewsV2DeleteMarketNewsEndpoint","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"guid"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfMarketNewsReportDto"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/healthcheck":{"get":{"tags":["Healthcheck"],"operationId":"TradingApiApiHealthHealthEndpoint","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfObject"}}}}}}},"/trading/api/trading/tradeperiods/descendantMonths/{parentPeriodId}":{"get":{"tags":["Trading"],"operationId":"TradingApiApiFlexGetDescendantMonthsForPeriodEndpoint","parameters":[{"name":"parentPeriodId","in":"path","required":true,"schema":{"type":"string","format":"guid"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfFlexPeriodDto"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/trading/flex/getflexperiodvolumeinfo":{"get":{"tags":["Trading"],"operationId":"TradingApiApiFlexGetFlexPeriodVolumeInfoEndpoint","parameters":[{"name":"flexibleProfileId","in":"query","required":true,"schema":{"type":"string","format":"guid"}},{"name":"commodityTypeId","in":"query","required":true,"schema":{"type":"string","format":"guid"}},{"name":"flexibleProfileStartDate","in":"query","required":true,"schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfFlexTradeProfilePeriodVolumeRequirementGroupModel"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/trading/tradeperiods/seasons":{"get":{"tags":["Trading"],"operationId":"TradingApiApiFlexGetSeasonPeriodsEndpoint","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfFlexPeriodDto"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/developer/authenticationcheck":{"get":{"tags":["Developer"],"operationId":"TradingApiApiDeveloperAuthenticationCheckEndpoint","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfBoolean"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/missing-rollingaverage-chartdata":{"get":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesFindMissingRollingAverageChartDataEndpoint","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfIceCommodityRollingAverageChartDataDto"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/types/all":{"get":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesGetAllCommodityTypesEndpoint","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfUnifiedCommodityTypeDto"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/types":{"get":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesGetCommodityTypesEndpoint","parameters":[{"name":"country","in":"query","schema":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/trading-api_TrueEnumerationsGlobalizationSupportedCountry"}]}},{"name":"includeDeleted","in":"query","required":true,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfGetCommodityTypesResponse"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/import-omip-commodities-monthly-prices":{"post":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesImportOmipCommoditiesMonthlyPricesEndpoint","requestBody":{"x-name":"UpdateOmipCommodityAndMonthlyPricesRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiApiCommoditiesImportOmipCommoditiesMonthlyPricesEndpoint_UpdateOmipCommodityAndMonthlyPricesRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfImportOmipCommoditiesMonthlyPricesResponse"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/import-and-update-monthly-prices":{"post":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesUpdateCommodityAndMonthlyPricesEndpoint","requestBody":{"x-name":"UpdateCommodityAndMonthlyPricesRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiApiCommoditiesUpdateCommodityAndMonthlyPricesRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfUpdateCommodityAndMonthlyPricesResponse"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/update-rollingaverage-chartdata":{"post":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesUpdateMissingRollingAverageChartDataEndpoint","requestBody":{"x-name":"UpdateMissingRollingAverageChartDataRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiApiCommoditiesUpdateMissingRollingAverageChartDataRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfBoolean"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/catalogue/{source}/search":{"get":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesSourceCatalogueCatalogueSearchEndpoint","parameters":[{"name":"source","in":"path","required":true,"schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfCatalogueEntry"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/catalogue/{source}/detail":{"get":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesSourceCatalogueCatalogueDetailEndpoint","parameters":[{"name":"source","in":"path","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfCatalogueDetail"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/catalogue":{"get":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesSourceCatalogueSourceCommoditiesCatalogueEndpoint","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfSourceCommodityDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/catalogue/areas":{"get":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesSourceCatalogueSourceAreasCatalogueEndpoint","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfSourceAreaDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/catalogue/refresh":{"post":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesSourceCatalogueCatalogueRefreshEndpoint","requestBody":{"x-name":"CatalogueRefreshRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiApiCommoditiesSourceCatalogueCatalogueRefreshRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfCatalogueRefreshResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/areas":{"get":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesManagementListAreasEndpoint","parameters":[{"name":"includeDeleted","in":"query","required":true,"schema":{"type":"boolean"}},{"name":"search","in":"query","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfMarketAreaDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"JWTBearerAuth":[]}]},"post":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesManagementCreateAreaEndpoint","requestBody":{"x-name":"SaveAreaRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiServicesCommoditiesManagementSaveAreaRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfMarketAreaDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/areas/{id}":{"put":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesManagementEditAreaEndpoint","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"x-name":"EditAreaRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiApiCommoditiesManagementEditAreaRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfMarketAreaDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"JWTBearerAuth":[]}]},"delete":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesManagementRetireAreaEndpoint","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfMarketAreaDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/areas/{id}/dependents":{"get":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesManagementAreaDependentsEndpoint","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfDependentsDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/groups":{"get":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesManagementListGroupsEndpoint","parameters":[{"name":"includeDeleted","in":"query","required":true,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfCommodityGroupDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/backfill-runs":{"get":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesManagementListBackfillRunsEndpoint","parameters":[{"name":"page","in":"query","schema":{"type":"integer","format":"int32","nullable":true}},{"name":"pageSize","in":"query","schema":{"type":"integer","format":"int32","nullable":true}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfBackfillRunListRow"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/backfill-runs/{id}":{"get":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesManagementBackfillRunDetailEndpoint","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"guid"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfBackfillRunDetailDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/backfill-runs/{id}/re-run":{"post":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesManagementReRunBackfillGapsEndpoint","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"guid"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfBackfillReRunResultDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities":{"get":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesManagementListCommoditiesEndpoint","parameters":[{"name":"source","in":"query","schema":{"type":"string","nullable":true}},{"name":"area","in":"query","schema":{"type":"string","nullable":true}},{"name":"group","in":"query","schema":{"type":"string","nullable":true}},{"name":"includeDeleted","in":"query","required":true,"schema":{"type":"boolean"}},{"name":"search","in":"query","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfCommodityDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"JWTBearerAuth":[]}]},"post":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesManagementCreateCommodityEndpoint","requestBody":{"x-name":"SaveCommodityRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiServicesCommoditiesManagementSaveCommodityRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfCommodityDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/ice":{"post":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesManagementCreateIceCommodityEndpoint","requestBody":{"x-name":"IceCreateCommodityRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiServicesCommoditiesManagementIceCreateCommodityRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfIceCommodityDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/{id}":{"put":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesManagementEditCommodityEndpoint","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"guid"}}],"requestBody":{"x-name":"EditCommodityRequest","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiApiCommoditiesManagementEditCommodityRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfCommodityEditResult"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"JWTBearerAuth":[]}]},"delete":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesManagementSoftDeleteCommodityEndpoint","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"guid"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfCommodityDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/{id}/dependents":{"get":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesManagementCommodityDependentsEndpoint","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"guid"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfDependentsDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/activity":{"get":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesManagementCommodityActivityEndpoint","parameters":[{"name":"search","in":"query","schema":{"type":"string","nullable":true}},{"name":"entityType","in":"query","schema":{"type":"string","nullable":true}},{"name":"from","in":"query","schema":{"type":"string","format":"date-time","nullable":true}},{"name":"to","in":"query","schema":{"type":"string","format":"date-time","nullable":true}},{"name":"commodityId","in":"query","schema":{"type":"string","format":"guid","nullable":true}},{"name":"source","in":"query","schema":{"type":"string","nullable":true}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfAuditEntryDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/coverage":{"get":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesCoverageCommodityCoverageEndpoint","parameters":[{"name":"status","in":"query","schema":{"type":"string","nullable":true}},{"name":"source","in":"query","schema":{"type":"string","nullable":true}},{"name":"commodityTypeId","in":"query","schema":{"type":"string","format":"guid","nullable":true}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfCommodityCoverageDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/commodities/coverage/{commodityTypeId}/depth":{"get":{"tags":["Commodities"],"operationId":"TradingApiApiCommoditiesCoverageCommodityCoverageDepthEndpoint","parameters":[{"name":"commodityTypeId","in":"path","required":true,"schema":{"type":"string","format":"guid"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfCommodityCoverageDepthDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/api/bulktrades/true":{"post":{"tags":["Bulktrades"],"operationId":"TradingApiApiBulkTradesCreateBulkTradeTrueEndpoint","requestBody":{"x-name":"BulkTradeDto","description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosTradesBulkTradeDto"}}},"required":true,"x-position":1},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfBulkTradeDto"}}}},"401":{"description":"Unauthorized"}},"security":[{"JWTBearerAuth":[]}]}},"/trading/v2/trade-alerts":{"get":{"tags":["Trade Alerts (Unified)"],"operationId":"GetUnifiedTradeAlerts","parameters":[{"name":"CompanyId","in":"query","schema":{"type":"string","format":"guid","nullable":true},"x-position":1},{"name":"Country","in":"query","schema":{"type":"string","nullable":true},"x-position":2}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfUnifiedTradeAlertDto"}}}}},"security":[{"JWTBearerAuth":[]}]},"post":{"tags":["Trade Alerts (Unified)"],"operationId":"CreateUnifiedTradeAlert","requestBody":{"x-name":"req","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiModulesTradeAlertsCreateUnifiedTradeAlertRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfString"}}}}},"security":[{"JWTBearerAuth":[]}]}},"/trading/v2/trade-alerts/opt-in":{"get":{"tags":["Trade Alerts (Unified)"],"operationId":"GetCompanyOptInStatuses","responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfCompanyOptInStatusDto"}}}}},"security":[{"JWTBearerAuth":[]}]}},"/trading/v2/trade-alerts/{alertType}/{id}":{"put":{"tags":["Trade Alerts (Unified)"],"operationId":"UpdateUnifiedTradeAlert","parameters":[{"name":"alertType","in":"path","required":true,"schema":{"$ref":"#/components/schemas/trading-api_TradingApiModulesTradeAlertsAlertType"},"x-position":1},{"name":"id","in":"path","required":true,"schema":{"type":"string"},"x-position":2}],"requestBody":{"x-name":"req","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiModulesTradeAlertsUpdateUnifiedTradeAlertRequest"}}},"required":true,"x-position":3},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfBoolean"}}}}},"security":[{"JWTBearerAuth":[]}]}},"/trading/v2/trade-alerts/{alertType}/{id}/delete":{"post":{"tags":["Trade Alerts (Unified)"],"operationId":"DeleteUnifiedTradeAlert","parameters":[{"name":"alertType","in":"path","required":true,"schema":{"$ref":"#/components/schemas/trading-api_TradingApiModulesTradeAlertsAlertType"},"x-position":1},{"name":"id","in":"path","required":true,"schema":{"type":"string"},"x-position":2}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfBoolean"}}}}},"security":[{"JWTBearerAuth":[]}]}},"/trading/v2/trade-alerts/opt-in/{companyId}":{"post":{"tags":["Trade Alerts (Unified)"],"operationId":"OptInCompanyToDynamicAlerts","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"guid"},"x-position":1}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfDynamicAlertsOptInPhase"}}}}},"security":[{"JWTBearerAuth":[]}]}},"/trading/v2/trade-alerts/migrate/{companyId}":{"post":{"tags":["Trade Alerts (Unified)"],"operationId":"MigrateCompanyToDynamicAlerts","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"guid"},"x-position":1}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfMigrationResult"}}}}},"security":[{"JWTBearerAuth":[]}]}},"/trading/v2/trade-alerts/migrate/{companyId}/commit":{"post":{"tags":["Trade Alerts (Unified)"],"operationId":"CommitCompanyDynamicAlertsMigration","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"guid"},"x-position":1}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfMigrationResult"}}}}},"security":[{"JWTBearerAuth":[]}]}},"/trading/v2/trade-alerts/migrate/{companyId}/rollback":{"post":{"tags":["Trade Alerts (Unified)"],"operationId":"RollbackCompanyDynamicAlertsMigration","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"guid"},"x-position":1}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfMigrationResult"}}}}},"security":[{"JWTBearerAuth":[]}]}},"/trading/v2/dynamic-trade-alerts":{"get":{"tags":["Dynamic Trade Alerts"],"operationId":"GetDynamicTradeAlerts","parameters":[{"name":"CompanyId","in":"query","schema":{"type":"string","format":"guid","nullable":true},"x-position":1},{"name":"FlexProfileId","in":"query","schema":{"type":"string","format":"guid","nullable":true},"x-position":2}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfDynamicAlertDto"}}}}},"security":[{"JWTBearerAuth":[]}]}},"/trading/v2/dynamic-trade-alerts/{configId}/history":{"get":{"tags":["Dynamic Trade Alerts"],"operationId":"GetDynamicTradeAlertHistory","parameters":[{"name":"configId","in":"path","required":true,"schema":{"type":"string","format":"guid"},"x-position":1}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfListOfDynamicAlertDto"}}}}},"security":[{"JWTBearerAuth":[]}]}},"/trading/v2/dynamic-trade-alerts/config":{"post":{"tags":["Dynamic Trade Alerts"],"operationId":"CreateDynamicTradeAlertConfig","requestBody":{"x-name":"req","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiModulesDynamicTradeAlertsCreateDynamicAlertConfigRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfGuid"}}}}},"security":[{"JWTBearerAuth":[]}]}},"/trading/v2/dynamic-trade-alerts/config/{configId}":{"put":{"tags":["Dynamic Trade Alerts"],"operationId":"UpdateDynamicTradeAlertConfig","parameters":[{"name":"configId","in":"path","required":true,"schema":{"type":"string","format":"guid"},"x-position":1}],"requestBody":{"x-name":"req","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiModulesDynamicTradeAlertsUpdateDynamicAlertConfigRequest"}}},"required":true,"x-position":2},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfBoolean"}}}}},"security":[{"JWTBearerAuth":[]}]},"delete":{"tags":["Dynamic Trade Alerts"],"operationId":"DeleteDynamicTradeAlertConfig","parameters":[{"name":"configId","in":"path","required":true,"schema":{"type":"string","format":"guid"},"x-position":1}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfBoolean"}}}}},"security":[{"JWTBearerAuth":[]}]}},"/trading/v2/dynamic-trade-alerts/config/{configId}/test":{"post":{"tags":["Dynamic Trade Alerts"],"operationId":"SendDynamicTradeAlertTest","parameters":[{"name":"configId","in":"path","required":true,"schema":{"type":"string","format":"guid"},"x-position":1}],"requestBody":{"x-name":"req","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiModulesDynamicTradeAlertsSendTestAlertRequest"}}},"x-position":2},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiDtosApiResponseOfBoolean"}}}}},"security":[{"JWTBearerAuth":[]}]}},"/trading/customer/marketnews":{"get":{"operationId":"GetCustomerMarketnews","responses":{"200":{"description":""}},"security":[{"JWTBearerAuth":[]}]}},"/trading/customer/marketnews/search":{"get":{"operationId":"GetCustomerMarketnewsSearch","parameters":[{"name":"SearchTerm","in":"query","schema":{"type":"string","nullable":true},"x-position":1},{"name":"Type","in":"query","required":true,"schema":{"type":"string"},"x-position":2},{"name":"Page","in":"query","required":true,"schema":{"type":"integer","format":"int32"},"x-position":3},{"name":"PageSize","in":"query","required":true,"schema":{"type":"integer","format":"int32"},"x-position":4},{"name":"SortLabel","in":"query","required":true,"schema":{"type":"string"},"x-position":5},{"name":"SortDirection","in":"query","required":true,"schema":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsSortDirection"},"x-position":6}],"responses":{"200":{"description":""}},"security":[{"JWTBearerAuth":[]}]}},"/trading/customer/marketnews/{id}":{"get":{"operationId":"GetCustomerMarketnews2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"guid"},"x-position":1}],"responses":{"200":{"description":""}},"security":[{"JWTBearerAuth":[]}]}},"/trading/admin/tools/backfill-eex-di":{"post":{"operationId":"PostAdminToolsBackfillEexDi","requestBody":{"x-name":"request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiModulesAdminToolsEexDiBackfillRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":""}},"security":[{"JWTBearerAuth":[]}]}},"/trading/admin/tools/backfill-ice-di":{"post":{"operationId":"PostAdminToolsBackfillIceDi","requestBody":{"x-name":"request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiModulesAdminToolsIceDiBackfillRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":""}},"security":[{"JWTBearerAuth":[]}]}},"/trading/admin/tools/omip-rerun":{"post":{"operationId":"PostAdminToolsOmipRerun","requestBody":{"x-name":"request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiModulesAdminToolsOmipRerunRequestDto"}}},"required":true,"x-position":1},"responses":{"200":{"description":""}},"security":[{"JWTBearerAuth":[]}]}},"/trading/admin/marketnews":{"post":{"operationId":"PostAdminMarketnews","requestBody":{"x-name":"req","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiModulesAdminMarketNewsCreateMarketNewsCreateRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":""}},"security":[{"JWTBearerAuth":[]}]},"put":{"operationId":"PutAdminMarketnews","requestBody":{"x-name":"req","content":{"application/json":{"schema":{"$ref":"#/components/schemas/trading-api_TradingApiModulesAdminMarketNewsUpdateMarketNewsUpdateRequest"}}},"required":true,"x-position":1},"responses":{"200":{"description":""}},"security":[{"JWTBearerAuth":[]}]},"get":{"operationId":"GetAdminMarketnews","responses":{"200":{"description":""}},"security":[{"JWTBearerAuth":[]}]}},"/trading/admin/marketnews/search":{"get":{"operationId":"GetAdminMarketnewsSearch","parameters":[{"name":"SearchTerm","in":"query","schema":{"type":"string","nullable":true},"x-position":1},{"name":"Type","in":"query","required":true,"schema":{"type":"string"},"x-position":2},{"name":"Page","in":"query","required":true,"schema":{"type":"integer","format":"int32"},"x-position":3},{"name":"PageSize","in":"query","required":true,"schema":{"type":"integer","format":"int32"},"x-position":4},{"name":"SortLabel","in":"query","required":true,"schema":{"type":"string"},"x-position":5},{"name":"SortDirection","in":"query","required":true,"schema":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsSortDirection"},"x-position":6}],"responses":{"200":{"description":""}},"security":[{"JWTBearerAuth":[]}]}},"/trading/admin/marketnews/{id}":{"get":{"operationId":"GetAdminMarketnews2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"guid"},"x-position":1}],"responses":{"200":{"description":""}},"security":[{"JWTBearerAuth":[]}]},"delete":{"operationId":"DeleteAdminMarketnews","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"guid"},"x-position":1}],"responses":{"200":{"description":""}},"security":[{"JWTBearerAuth":[]}]}},"/trading/admin/marketnews/upload":{"post":{"operationId":"PostAdminMarketnewsUpload","requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"pdfFile":{"type":"string","format":"binary","nullable":true}}}}}},"responses":{"200":{"description":""}},"security":[{"JWTBearerAuth":[]}]}},"/reporting/v1/reports/hh-consumption/meta":{"get":{"tags":["Reports"],"summary":"Filter values \u002B freshness (latest HH date, last refresh, years, regions, sites).","operationId":"GetHhConsumptionMeta","parameters":[{"name":"companyId","in":"query","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/true-reporting_MetaResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}}}},"/reporting/v1/reports/hh-consumption/overview":{"get":{"tags":["Reports"],"summary":"Overview page: estate KPIs, monthly series by year, per-site rows.","operationId":"GetHhConsumptionOverview","parameters":[{"name":"companyId","in":"query","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"from","in":"query","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/true-reporting_OverviewResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}}}},"/reporting/v1/reports/hh-consumption/breakdown":{"get":{"tags":["Reports"],"summary":"Breakdown page: year matrix, region rows, per-site rows (incl. kWh/holiday-week).","operationId":"GetHhConsumptionBreakdown","parameters":[{"name":"companyId","in":"query","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"from","in":"query","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/true-reporting_BreakdownResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}}}},"/reporting/v1/reports/hh-consumption/estimates":{"get":{"tags":["Reports"],"summary":"Estimates page: per site \u00D7 meter(MPAN) \u00D7 year/quarter/month estimate counts \u002B %.","operationId":"GetHhConsumptionEstimates","parameters":[{"name":"companyId","in":"query","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"from","in":"query","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/true-reporting_EstimatesResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}}}},"/reporting/v1/companies/{companyId}/holiday-weeks":{"post":{"tags":["HolidayWeeks"],"summary":"Upload a new holiday-weeks version (multipart \u0027file\u0027). Returns version, status, validationReport.","operationId":"UploadHolidayWeeks","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/true-reporting_HolidayWeeksUploadResultDto"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"string"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}}},"get":{"tags":["HolidayWeeks"],"summary":"List uploaded holiday-weeks versions.","operationId":"ListHolidayWeeksVersions","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/true-reporting_HolidayWeeksVersionSummaryDto"}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}}}},"/reporting/v1/companies/{companyId}/holiday-weeks/{version}":{"get":{"tags":["HolidayWeeks"],"summary":"Version detail \u002B full validation report.","operationId":"GetHolidayWeeksVersion","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"version","in":"path","required":true,"schema":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/true-reporting_HolidayWeeksVersionDetailDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/reporting/v1/companies/{companyId}/holiday-weeks/{version}/activate":{"post":{"tags":["HolidayWeeks"],"summary":"Activate a validated version (supersedes current Active, rebuilds ref_holiday_weeks).","operationId":"ActivateHolidayWeeksVersion","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"version","in":"path","required":true,"schema":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/true-reporting_HolidayWeeksActivateResultDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"409":{"description":"Conflict","content":{"application/problem\u002Bjson":{"schema":{"$ref":"#/components/schemas/true-reporting_ProblemDetails"}}}}}}},"/reporting/v1/companies/{companyId}/holiday-weeks/{version}/download":{"get":{"tags":["HolidayWeeks"],"summary":"Download the original uploaded .xlsx bytes.","operationId":"DownloadHolidayWeeksVersion","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"version","in":"path","required":true,"schema":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}}},"components":{"schemas":{"ajax-public-api_AggregateScoreDto":{"required":["averageScore","responseCount","riskCategory"],"type":"object","properties":{"averageScore":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"responseCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"riskCategory":{"type":["null","string"]}}},"ajax-public-api_AssessmentQuestionDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"title":{"type":"string"},"description":{"type":"string"},"type":{"$ref":"#/components/schemas/ajax-public-api_QuestionType"},"category":{"$ref":"#/components/schemas/ajax-public-api_QuestionCategory"},"order":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"required":{"type":"boolean"},"options":{"type":"array","items":{"$ref":"#/components/schemas/ajax-public-api_QuestionOptionDto"}}}},"ajax-public-api_AssessmentResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"assessmentType":{"$ref":"#/components/schemas/ajax-public-api_AssessmentType"},"commodityType":{"$ref":"#/components/schemas/ajax-public-api_CommodityType"},"status":{"$ref":"#/components/schemas/ajax-public-api_RecipientStatus"},"created":{"type":"string","format":"date-time"},"startDate":{"type":"string","format":"date-time"},"duration":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}}},"ajax-public-api_AssessmentType":{"type":"integer"},"ajax-public-api_CommodityCostDto":{"required":["commodityType","month","price","priceUnit","volume","volumeUnit"],"type":"object","properties":{"commodityType":{"$ref":"#/components/schemas/ajax-public-api_CommodityType"},"month":{"type":"string","format":"date-time"},"price":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"priceUnit":{"type":["null","string"]},"volume":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"volumeUnit":{"type":["null","string"]}}},"ajax-public-api_CommodityType":{"type":"integer"},"ajax-public-api_GetAssessmentCountForUserResponse":{"type":"object","properties":{"count":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}}},"ajax-public-api_GetAssessmentResponse":{"required":["currency"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"companyId":{"type":"string","format":"uuid"},"companyName":{"type":"string"},"assessmentType":{"$ref":"#/components/schemas/ajax-public-api_AssessmentType"},"commodityType":{"$ref":"#/components/schemas/ajax-public-api_CommodityType"},"duration":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"commodityCosts":{"type":"array","items":{"$ref":"#/components/schemas/ajax-public-api_CommodityCostDto"}},"assessmentQuestions":{"type":"array","items":{"$ref":"#/components/schemas/ajax-public-api_AssessmentQuestionDto"}},"currency":{"$ref":"#/components/schemas/ajax-public-api_SupportedCurrencyDto"}}},"ajax-public-api_GetAssessmentResultsResponse":{"required":["currency","aggregate"],"type":"object","properties":{"assessmentId":{"type":"string","format":"uuid"},"baseline":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"currency":{"$ref":"#/components/schemas/ajax-public-api_ResultsCurrencyDto"},"aggregate":{"$ref":"#/components/schemas/ajax-public-api_AggregateScoreDto"},"respondents":{"type":"array","items":{"$ref":"#/components/schemas/ajax-public-api_RespondentScoreDto"}}}},"ajax-public-api_GetAssessmentsResponse":{"type":"object","properties":{"assessments":{"type":"array","items":{"$ref":"#/components/schemas/ajax-public-api_AssessmentResponse"}}}},"ajax-public-api_GetCompletedAssessmentResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"companyId":{"type":"string","format":"uuid"},"companyName":{"type":["null","string"]},"assessmentType":{"$ref":"#/components/schemas/ajax-public-api_AssessmentType"},"commodityType":{"$ref":"#/components/schemas/ajax-public-api_CommodityType"},"duration":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"commodityCosts":{"type":"array","items":{"$ref":"#/components/schemas/ajax-public-api_CommodityCostDto"}},"recipientResponses":{"type":"array","items":{"$ref":"#/components/schemas/ajax-public-api_RecipientResponseDto"}},"currency":{"$ref":"#/components/schemas/ajax-public-api_SupportedCurrencyDto"}}},"ajax-public-api_QuestionCategory":{"type":"integer"},"ajax-public-api_QuestionOptionDto":{"required":["text"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"text":{"type":"string"},"value":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}}},"ajax-public-api_QuestionType":{"type":"integer"},"ajax-public-api_RankedOptionDto":{"required":["optionText"],"type":"object","properties":{"order":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"optionText":{"type":"string"}}},"ajax-public-api_RecipientResponseDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"recipientId":{"type":"string","format":"uuid"},"questionText":{"type":"string"},"selectedOption":{"type":["null","string"]},"questionType":{"$ref":"#/components/schemas/ajax-public-api_QuestionType"},"value":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"rankedOptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/ajax-public-api_RankedOptionDto"}},"rawResponse":{"type":"string"}}},"ajax-public-api_RecipientStatus":{"type":"integer"},"ajax-public-api_RespondentScoreDto":{"required":["name"],"type":"object","properties":{"recipientId":{"type":"string","format":"uuid"},"name":{"type":"string"},"status":{"$ref":"#/components/schemas/ajax-public-api_RecipientStatus"},"isCompleted":{"type":"boolean"},"score":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"riskCategory":{"type":["null","string"]},"capitalAtRisk":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"costAtCaR":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"}}},"ajax-public-api_ResultsCurrencyDto":{"required":["id","name","code","symbol","subUnit"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"code":{"type":"string"},"symbol":{"type":"string"},"subUnit":{"type":["null","string"]}}},"ajax-public-api_SupportedCurrencyDto":{"required":["id","name","code","symbol","subUnit"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"code":{"type":"string"},"symbol":{"type":"string"},"subUnit":{"type":["null","string"]}}},"ajax-public-api_UpdateRecipientResponsesRequest":{"required":["recipientResponses"],"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"assessmentId":{"type":"string","format":"uuid"},"recipientResponses":{"type":"array","items":{"$ref":"#/components/schemas/ajax-public-api_RecipientResponseDto"}}}},"ajax-public-api_UpdateResponsesResponse":{"required":["success"],"type":"object","properties":{"success":{"type":"boolean"}}},"companies-public-api_AddLifecycleStageRequest":{"required":["stage"],"type":"object","properties":{"stage":{"type":"string"},"metadata":{"type":["null","string"]}}},"companies-public-api_AttestationEvidenceDto":{"required":["grantId","fromCompanyId","authorityType","validFrom","validTo","evidenceRef"],"type":"object","properties":{"grantId":{"type":"string","format":"uuid"},"fromCompanyId":{"type":"string","format":"uuid"},"authorityType":{"type":"string"},"validFrom":{"type":"string","format":"date-time"},"validTo":{"type":["null","string"],"format":"date-time"},"evidenceRef":{"type":"string"}}},"companies-public-api_AttestationResponseDto":{"required":["allowed","reasonCode","validUntil","grantedAt","routing","evidence"],"type":"object","properties":{"allowed":{"type":"boolean"},"reasonCode":{"type":"string"},"validUntil":{"type":["null","string"],"format":"date-time"},"grantedAt":{"type":["null","string"],"format":"date-time"},"routing":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/companies-public-api_AttestationRoutingDto"}]},"evidence":{"type":"array","items":{"$ref":"#/components/schemas/companies-public-api_AttestationEvidenceDto"}}}},"companies-public-api_AttestationRoutingDto":{"required":["routeTo"],"type":"object","properties":{"routeTo":{"type":"string"}}},"companies-public-api_CheckLoaValidityRequest":{"required":["companyIds"],"type":"object","properties":{"companyIds":{"type":"array","items":{"type":"string","format":"uuid"}}}},"companies-public-api_CompanyCreateRequest":{"required":["name","address","postCode","companyNumber","companyType","country","isMultinational","stripeCustomerId","stripeSubscriptionId","hubSpotCompanyId"],"type":"object","properties":{"name":{"type":"string"},"address":{"type":"string"},"postCode":{"type":"string"},"companyNumber":{"type":"string"},"companyType":{"type":"string"},"country":{"type":"string"},"isMultinational":{"type":"boolean"},"stripeCustomerId":{"type":["null","string"]},"stripeSubscriptionId":{"type":["null","string"]},"hubSpotCompanyId":{"type":["null","string"]}}},"companies-public-api_CompanyDiscountCreateRequest":{"required":["type","rate","value","startDate","endDate"],"type":"object","properties":{"type":{"type":"string"},"rate":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"value":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"startDate":{"type":["null","string"],"format":"date-time"},"endDate":{"type":["null","string"],"format":"date-time"}}},"companies-public-api_CompanyDiscountUpdateRequest":{"required":["type","rate","value","startDate","endDate"],"type":"object","properties":{"type":{"type":["null","string"]},"rate":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"value":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"startDate":{"type":["null","string"],"format":"date-time"},"endDate":{"type":["null","string"],"format":"date-time"}}},"companies-public-api_CompanyDocumentCreateRequest":{"required":["type","filePath","status"],"type":"object","properties":{"type":{"type":"string"},"filePath":{"type":"string"},"status":{"type":["null","string"]}}},"companies-public-api_CompanyLoaCreateRequest":{"required":["status","docusignEnvelopeId"],"type":"object","properties":{"status":{"type":"string"},"docusignEnvelopeId":{"type":["null","string"]}}},"companies-public-api_CompanyMetadataDto":{"required":["key","value","filePath"],"type":"object","properties":{"key":{"type":"string"},"value":{"type":["null","string"]},"filePath":{"type":["null","string"]}}},"companies-public-api_CompanyMetadataUpsertRequest":{"required":["key","value","filePath"],"type":"object","properties":{"key":{"type":"string"},"value":{"type":["null","string"]},"filePath":{"type":["null","string"]}}},"companies-public-api_CompanyPartnerCreateRequest":{"required":["partnerId","shareData"],"type":"object","properties":{"partnerId":{"type":"string","format":"uuid"},"shareData":{"type":"boolean"}}},"companies-public-api_CompanyPartnerUpdateRequest":{"required":["shareData"],"type":"object","properties":{"shareData":{"type":"boolean"}}},"companies-public-api_CompanyPatchRequest":{"type":"object","properties":{"name":{"type":["null","string"]},"address":{"type":["null","string"]},"postCode":{"type":["null","string"]},"companyNumber":{"type":["null","string"]},"companyType":{"type":["null","string"]},"country":{"type":["null","string"]},"isMultinational":{"type":["null","boolean"]},"stripeCustomerId":{"type":["null","string"]},"stripeSubscriptionId":{"type":["null","string"]},"hubSpotCompanyId":{"type":["null","string"]}}},"companies-public-api_CompanySubscriptionCreateRequest":{"required":["plan","status","externalId"],"type":"object","properties":{"plan":{"type":"string"},"status":{"type":["null","string"]},"externalId":{"type":["null","string"]}}},"companies-public-api_CompanySubscriptionUpdateRequest":{"required":["plan","status","externalId"],"type":"object","properties":{"plan":{"type":["null","string"]},"status":{"type":["null","string"]},"externalId":{"type":["null","string"]}}},"companies-public-api_CompanyTagDto":{"required":["key","value"],"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}}},"companies-public-api_CompanyTagUpsertRequest":{"required":["key","value"],"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}}},"companies-public-api_CompanyUpdateRequest":{"required":["name","address","postCode","companyNumber","companyType","country","isMultinational","stripeCustomerId","stripeSubscriptionId","hubSpotCompanyId"],"type":"object","properties":{"name":{"type":"string"},"address":{"type":"string"},"postCode":{"type":"string"},"companyNumber":{"type":"string"},"companyType":{"type":"string"},"country":{"type":"string"},"isMultinational":{"type":"boolean"},"stripeCustomerId":{"type":["null","string"]},"stripeSubscriptionId":{"type":["null","string"]},"hubSpotCompanyId":{"type":["null","string"]}}},"companies-public-api_CompanyUserCreateRequest":{"required":["objectId","username","firstName","lastName","email","telephone","jobTitle","role"],"type":"object","properties":{"objectId":{"type":"string"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"telephone":{"type":["null","string"]},"jobTitle":{"type":["null","string"]},"role":{"type":["null","string"]}}},"companies-public-api_CreateAuthorityGrantRequest":{"required":["authorityType","validFrom","validTo","evidenceRef","grantedBy"],"type":"object","properties":{"authorityType":{"type":"string"},"validFrom":{"type":"string","format":"date-time"},"validTo":{"type":["null","string"],"format":"date-time"},"evidenceRef":{"type":"string"},"grantedBy":{"type":"string"}}},"companies-public-api_EndCondition":{"type":"integer"},"companies-public-api_SendEmailApiRequest":{"required":["actionKey","companyId","recipientEmail"],"type":"object","properties":{"actionKey":{"type":"string"},"companyId":{"type":"string","format":"uuid"},"recipientEmail":{"type":"string"},"properties":{"type":["null","object"],"additionalProperties":{"type":"string"}}}},"companies-public-api_ValueTrackerCategory":{"type":"integer"},"companies-public-api_ValueTrackerCreateRequest":{"type":"object","properties":{"savingDate":{"type":"string","format":"date-time"},"description":{"type":"string"},"category":{"$ref":"#/components/schemas/companies-public-api_ValueTrackerCategory"},"status":{"$ref":"#/components/schemas/companies-public-api_ValueTrackerStatus"},"amount":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"frequency":{"$ref":"#/components/schemas/companies-public-api_ValueTrackerFrequency"},"companyId":{"type":"string","format":"uuid"}}},"companies-public-api_ValueTrackerCreateSeriesRequest":{"type":"object","properties":{"frequency":{"$ref":"#/components/schemas/companies-public-api_ValueTrackerFrequency"},"description":{"type":"string"},"category":{"$ref":"#/components/schemas/companies-public-api_ValueTrackerCategory"},"amount":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"savingDate":{"type":"string","format":"date-time"},"status":{"$ref":"#/components/schemas/companies-public-api_ValueTrackerStatus"},"companyId":{"type":"string","format":"uuid"},"endCondition":{"$ref":"#/components/schemas/companies-public-api_EndCondition"},"endDate":{"type":["null","string"],"format":"date-time"}}},"companies-public-api_ValueTrackerFrequency":{"type":"integer"},"companies-public-api_ValueTrackerReportOrderBy":{"type":"integer"},"companies-public-api_ValueTrackerStatus":{"type":"integer"},"companies-public-api_ValueTrackerUpdateRequest":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"companyId":{"type":"string","format":"uuid"},"savingDate":{"type":"string","format":"date-time"},"description":{"type":"string"},"category":{"$ref":"#/components/schemas/companies-public-api_ValueTrackerCategory"},"status":{"$ref":"#/components/schemas/companies-public-api_ValueTrackerStatus"},"amount":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"}}},"portfoliov2-public-api_ChangeOfTenancyReason":{"enum":["ChangeOfTenancy","ClosingTheSite","Other","ChangeOfOccupancy",null]},"portfoliov2-public-api_ChannelConsumptionData":{"type":"object","properties":{"channel":{"type":"string"},"last12MonthsValue":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"thisMonthValue":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"lastReadingValue":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"lastReadingDate":{"type":["null","string"],"format":"date-time"},"chart":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionChart"}]},"unit":{"type":"string"}}},"portfoliov2-public-api_ChannelConsumptionStatusDto":{"type":"object","properties":{"lastPoll":{"type":["null","string"],"format":"date-time"},"status":{"type":"string"}}},"portfoliov2-public-api_CompanyDetailDto":{"type":"object","properties":{"companyId":{"type":"string","format":"uuid"},"name":{"type":"string"},"address":{"type":["null","string"]},"postcode":{"type":["null","string"]},"companyNumber":{"type":["null","string"]},"status":{"type":["null","string"]},"country":{"type":["null","string"]},"isTestCompany":{"type":"boolean"},"isPortalCompany":{"type":"boolean"},"isMultinational":{"type":"boolean"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_CompanyTagSummary"}}}},"portfoliov2-public-api_CompanyEntitlementsDto":{"required":["companyId","portfolioSor"],"type":"object","properties":{"companyId":{"type":"string","format":"uuid"},"portfolioSor":{"type":"string"}}},"portfoliov2-public-api_CompanyMaxDemandSummaryDto":{"type":"object","properties":{"totalSites":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"sitesWithBreaches":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"totalBreaches":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"peakDemandKw":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"peakDemandKva":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"dataRangeLabel":{"type":"string"},"monthlyPeaks":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_MonthlyPeakDemand"}},"sites":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_SiteMaxDemandBreachSummary"}}}},"portfoliov2-public-api_CompanyMeterDto":{"type":"object","properties":{"meterId":{"type":"string","format":"uuid"},"name":{"type":"string"},"mpanOrMprn":{"type":"string"},"meterType":{"type":"string"},"siteId":{"type":"string","format":"uuid"},"siteName":{"type":"string"},"siteAddress":{"type":"string"},"postcode":{"type":"string"},"annualConsumption":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"eac":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"capacityKva":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"profileClass":{"type":["null","string"]},"mtc":{"type":["null","string"]},"llf":{"type":["null","string"]},"ssc":{"type":["null","string"]},"country":{"type":["null","string"]},"isArchived":{"type":"boolean"},"tenancyEndDate":{"type":["null","string"],"format":"date-time"},"changeOfTenancyReason":{"type":["null","string"]},"lastConsumptionPoll":{"type":["null","string"],"format":"date-time"},"consumptionStatus":{"type":["null","string"]}}},"portfoliov2-public-api_CompanyOverviewDto":{"type":"object","properties":{"siteCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"meterCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"meterCountsByType":{"$ref":"#/components/schemas/portfoliov2-public-api_MeterCountsByTypeDto"},"estimatedAnnualConsumptionKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"metersWithData":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"staleMeters":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"consumptionStatusGroups":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionStatusGroupDto"}}}},"portfoliov2-public-api_CompanySummaryDto":{"type":"object","properties":{"companyId":{"type":"string","format":"uuid"},"name":{"type":"string"},"siteCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"meterCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}}},"portfoliov2-public-api_CompanyTagDto":{"required":["id","companyId","key","value","scope","created","modified"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"companyId":{"type":"string","format":"uuid"},"key":{"type":"string"},"value":{"type":"string"},"scope":{"type":"string"},"created":{"type":"string","format":"date-time"},"modified":{"type":["null","string"],"format":"date-time"}}},"portfoliov2-public-api_CompanyTagSummary":{"required":["key","value"],"type":"object","properties":{"key":{"type":"string"},"value":{"type":["null","string"]}}},"portfoliov2-public-api_ComparePeriod":{"enum":["Yesterday","SameDayLastWeek","SameDayLastMonth","SameDayLastYear",null]},"portfoliov2-public-api_ConsumptionChart":{"type":"object","properties":{"labels":{"type":"array","items":{"type":"string"}},"datasets":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionChartDataset"}}}},"portfoliov2-public-api_ConsumptionChartDataset":{"type":"object","properties":{"label":{"type":"string"},"data":{"type":"array","items":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"}},"backgroundColor":{"type":"string"},"unit":{"type":"string"},"tooltipLabels":{"type":["null","array"],"items":{"type":"string"}}}},"portfoliov2-public-api_ConsumptionChartType":{"enum":["CompareOff","CompareByDateRange","TimeOfDay","DayOfWeekComparison"]},"portfoliov2-public-api_ConsumptionExportRequest":{"type":"object","properties":{"companyId":{"type":"string","format":"uuid"},"meterId":{"type":["null","string"],"format":"uuid"},"siteId":{"type":["null","string"],"format":"uuid"},"format":{"$ref":"#/components/schemas/portfoliov2-public-api_ExportFormat"},"timezone":{"type":["null","string"]},"startDate":{"type":["null","string"],"format":"date-time"},"endDate":{"type":["null","string"],"format":"date-time"},"channels":{"type":["null","array"],"items":{"type":"string"}}}},"portfoliov2-public-api_ConsumptionFuelType":{"enum":["Power","Gas"]},"portfoliov2-public-api_ConsumptionGranularity":{"enum":["Day","Week","Month","Season","Year"]},"portfoliov2-public-api_ConsumptionMeterType":{"enum":["ElectricityHh","ElectricityNhh","Gas","Water"]},"portfoliov2-public-api_ConsumptionMetrics":{"type":"object","properties":{"last12MonthsKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"lastMonthKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"lastReadingKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"lastReadingDate":{"type":["null","string"],"format":"date-time"},"annualEnergySpend":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"}}},"portfoliov2-public-api_ConsumptionSiteSummary":{"type":"object","properties":{"siteId":{"type":"string","format":"uuid"},"name":{"type":"string"},"address":{"type":"string"},"meterCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"consumptionKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"hhMeterCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"nhhMeterCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"gasMeterCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"waterMeterCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"tags":{"type":"array","items":{"type":"string"}},"contractEndDate":{"type":["null","string"],"format":"date-time"},"contractType":{"type":["null","string"]},"isArchived":{"type":"boolean"},"hasBreachedMeter":{"type":"boolean"},"hasUnderFiftyPercentUtilisationMeter":{"type":"boolean"}}},"portfoliov2-public-api_ConsumptionStatusGroupDto":{"type":"object","properties":{"status":{"type":"string"},"count":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}}},"portfoliov2-public-api_ConsumptionTimePeriod":{"enum":["ThisMonth","Last3Months","YearToDate","Last12Months","CustomRange"]},"portfoliov2-public-api_CreateCompanyTagRequest":{"required":["key","value","scope"],"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"},"scope":{"type":["null","string"]}}},"portfoliov2-public-api_CreateMeterRequest":{"type":"object","properties":{"siteId":{"type":"string","format":"uuid"},"meterName":{"type":["null","string"]},"serialNumber":{"type":["null","string"]},"meterType":{"type":"string"},"mpanCore":{"type":["null","string"]},"malo":{"type":["null","string"]},"gridOperatorCode":{"type":["null","string"]},"mprn":{"type":["null","string"]},"spid":{"type":["null","string"]},"spidWaste":{"type":["null","string"]},"spidSWHD":{"type":["null","string"]},"waterMeterNumber":{"type":["null","string"]},"waterUnitRate":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"waterAnnualStandingCharge":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"hasTradeEffluentAgreement":{"type":["null","boolean"]},"eac":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"capacityKva":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"tenancyStartDate":{"type":["null","string"],"format":"date-time"},"installDate":{"type":["null","string"],"format":"date-time"},"serialNumbers":{"type":["null","array"],"items":{"type":"string"}},"supplierId":{"type":["null","string"],"format":"uuid"},"supplierName":{"type":["null","string"]}}},"portfoliov2-public-api_CreateSiteRequest":{"type":"object","properties":{"companyId":{"type":"string","format":"uuid"},"name":{"type":"string"},"reference":{"type":["null","string"]},"address":{"type":"string"},"buildingNameOrNumber":{"type":["null","string"]},"town":{"type":["null","string"]},"postcode":{"maxLength":20,"type":"string"},"region":{"maxLength":255,"type":["null","string"]},"parkCode":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"country":{"type":"string"},"tenancyStartDate":{"type":["null","string"],"format":"date-time"}}},"portfoliov2-public-api_CreateSiteTagRequest":{"required":["companyId","name","value","companyTagId"],"type":"object","properties":{"companyId":{"type":["null","string"],"format":"uuid"},"name":{"type":["null","string"]},"value":{"type":["null","string"]},"companyTagId":{"type":["null","string"],"format":"uuid"}}},"portfoliov2-public-api_CustomerEnrollmentDto":{"type":"object","properties":{"schemeId":{"type":"string","format":"uuid"},"schemeName":{"type":"string"},"schemeType":{"type":"string"},"applicationLevel":{"type":"string"},"enrollmentLevel":{"type":"string"},"entityId":{"type":"string","format":"uuid"},"entityName":{"type":["null","string"]},"inputValues":{"type":["null","string"]},"enrolledAt":{"type":"string","format":"date-time"},"effectiveFrom":{"type":"string","format":"date-time"},"effectiveTo":{"type":["null","string"],"format":"date-time"},"isExpired":{"type":"boolean"}}},"portfoliov2-public-api_CustomerEnrollmentSummaryDto":{"type":"object","properties":{"companyId":{"type":"string","format":"uuid"},"enrollments":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_CustomerEnrollmentDto"}},"totalCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}}},"portfoliov2-public-api_CustomerSchemeDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"countryCode":{"type":"string"},"schemeType":{"type":"string"},"applicationLevel":{"type":"string"},"description":{"type":["null","string"]},"effectiveFrom":{"type":"string","format":"date-time"},"effectiveTo":{"type":["null","string"],"format":"date-time"},"inputDefinitions":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_CustomerSchemeInputDto"}}}},"portfoliov2-public-api_CustomerSchemeInputDto":{"type":"object","properties":{"fieldName":{"type":"string"},"label":{"type":"string"},"inputType":{"type":"string"},"isRequired":{"type":"boolean"},"validationPattern":{"type":["null","string"]},"minValue":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"maxValue":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"sortOrder":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}}},"portfoliov2-public-api_DailyAggregateDto":{"required":["meterId","siteId","companyId","date","intervalType","meterType"],"type":"object","properties":{"meterId":{"type":"string","format":"uuid"},"siteId":{"type":"string","format":"uuid"},"companyId":{"type":"string","format":"uuid"},"date":{"type":"string","format":"date"},"intervalType":{"$ref":"#/components/schemas/portfoliov2-public-api_IntervalTypes"},"meterType":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionMeterType"},"value":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"hasEstimates":{"type":"boolean"},"isComplete":{"type":"boolean"}}},"portfoliov2-public-api_DataCompletenessCalendarMonth":{"type":"object","properties":{"monthLabel":{"type":"string"},"days":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_DayStatus"}}}},"portfoliov2-public-api_DataCompletenessDto":{"type":"object","properties":{"sitesWithIssues":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"totalSites":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"worstSiteQualityPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"overallDataQualityPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"sites":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_SiteDataQuality"}},"dataRangeLabel":{"type":"string"},"missingOnlyCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"estimatedOnlyCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"goodDataPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"estimatedDataPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"missingDataPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"estimatedPeriodsCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"missingPeriodsCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"calendar":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_DataCompletenessCalendarMonth"}}}},"portfoliov2-public-api_DataCompletenessTimePeriod":{"enum":["Last12Months","Last6Months","Last3Months","AllTime",null]},"portfoliov2-public-api_DayStatus":{"enum":["Ok","Estimated","Missing","Pending","NotApplicable"]},"portfoliov2-public-api_EnergyBand":{"type":"object","properties":{"name":{"type":"string"},"percentage":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"kwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"color":{"type":"string"}}},"portfoliov2-public-api_ExportFormat":{"enum":["Csv","Excel"]},"portfoliov2-public-api_GasReadingDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"meterId":{"type":"string","format":"uuid"},"readDate":{"type":"string","format":"date-time"},"readValue":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"readType":{"type":"string"},"source":{"type":"string"},"capturedAt":{"type":"string","format":"date-time"},"validationStatus":{"type":"string"},"validationFlags":{"type":["null","string"]},"consumptionDelta":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"created":{"type":"string","format":"date-time"}}},"portfoliov2-public-api_GasReadingsPageDto":{"type":"object","properties":{"total":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"page":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"pageSize":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"items":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_GasReadingDto"}}}},"portfoliov2-public-api_HateoasCollectionResponseOfCompanyMeterDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_CompanyMeterDto"}},"count":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}},"pagination":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_PaginationMetadata"}]}}},"portfoliov2-public-api_HateoasCollectionResponseOfCompanyTagDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_CompanyTagDto"}},"count":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}},"pagination":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_PaginationMetadata"}]}}},"portfoliov2-public-api_HateoasCollectionResponseOfCustomerSchemeDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_CustomerSchemeDto"}},"count":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}},"pagination":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_PaginationMetadata"}]}}},"portfoliov2-public-api_HateoasCollectionResponseOfDailyAggregateDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_DailyAggregateDto"}},"count":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}},"pagination":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_PaginationMetadata"}]}}},"portfoliov2-public-api_HateoasCollectionResponseOfGuid":{"type":"object","properties":{"data":{"type":"array","items":{"type":"string","format":"uuid"}},"count":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}},"pagination":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_PaginationMetadata"}]}}},"portfoliov2-public-api_HateoasCollectionResponseOfIntervalDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_IntervalDto"}},"count":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}},"pagination":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_PaginationMetadata"}]}}},"portfoliov2-public-api_HateoasCollectionResponseOfMeterDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_MeterDto"}},"count":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}},"pagination":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_PaginationMetadata"}]}}},"portfoliov2-public-api_HateoasCollectionResponseOfMeterSearchAddressDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_MeterSearchAddressDto"}},"count":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}},"pagination":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_PaginationMetadata"}]}}},"portfoliov2-public-api_HateoasCollectionResponseOfMeterVersionDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_MeterVersionDto"}},"count":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}},"pagination":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_PaginationMetadata"}]}}},"portfoliov2-public-api_HateoasCollectionResponseOfPropertyChangeDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_PropertyChangeDto"}},"count":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}},"pagination":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_PaginationMetadata"}]}}},"portfoliov2-public-api_HateoasCollectionResponseOfSiteDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_SiteDto"}},"count":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}},"pagination":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_PaginationMetadata"}]}}},"portfoliov2-public-api_HateoasCollectionResponseOfSiteMeterSummary":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_SiteMeterSummary"}},"count":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}},"pagination":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_PaginationMetadata"}]}}},"portfoliov2-public-api_HateoasCollectionResponseOfSiteSummaryDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_SiteSummaryDto"}},"count":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}},"pagination":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_PaginationMetadata"}]}}},"portfoliov2-public-api_HateoasCollectionResponseOfSiteTagDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_SiteTagDto"}},"count":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}},"pagination":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_PaginationMetadata"}]}}},"portfoliov2-public-api_HateoasCollectionResponseOfUserCompanyMembership":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_UserCompanyMembership"}},"count":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}},"pagination":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_PaginationMetadata"}]}}},"portfoliov2-public-api_HateoasLink":{"type":"object","properties":{"href":{"type":"string"},"rel":{"type":"string"},"method":{"type":"string"},"type":{"type":["null","string"]}}},"portfoliov2-public-api_HateoasResponseOfCompanyDetailDto":{"type":"object","properties":{"data":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_CompanyDetailDto"}]},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}}}},"portfoliov2-public-api_HateoasResponseOfCompanySummaryDto":{"type":"object","properties":{"data":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_CompanySummaryDto"}]},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}}}},"portfoliov2-public-api_HateoasResponseOfCompanyTagDto":{"type":"object","properties":{"data":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_CompanyTagDto"}]},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}}}},"portfoliov2-public-api_HateoasResponseOfCustomerEnrollmentSummaryDto":{"type":"object","properties":{"data":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_CustomerEnrollmentSummaryDto"}]},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}}}},"portfoliov2-public-api_HateoasResponseOfCustomerSchemeDto":{"type":"object","properties":{"data":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_CustomerSchemeDto"}]},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}}}},"portfoliov2-public-api_HateoasResponseOfMeterDetailDto":{"type":"object","properties":{"data":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_MeterDetailDto"}]},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}}}},"portfoliov2-public-api_HateoasResponseOfMeterDto":{"type":"object","properties":{"data":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_MeterDto"}]},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}}}},"portfoliov2-public-api_HateoasResponseOfMeterSearchResultDto":{"type":"object","properties":{"data":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_MeterSearchResultDto"}]},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}}}},"portfoliov2-public-api_HateoasResponseOfPropertyMetersResultDto":{"type":"object","properties":{"data":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_PropertyMetersResultDto"}]},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}}}},"portfoliov2-public-api_HateoasResponseOfSiteDto":{"type":"object","properties":{"data":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_SiteDto"}]},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}}}},"portfoliov2-public-api_HateoasResponseOfSiteOverviewDto":{"type":"object","properties":{"data":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_SiteOverviewDto"}]},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}}}},"portfoliov2-public-api_HateoasResponseOfSiteTagDto":{"type":"object","properties":{"data":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_SiteTagDto"}]},"links":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_HateoasLink"}}}},"portfoliov2-public-api_IntervalDto":{"required":["meterId","period","isEstimated","intervalType"],"type":"object","properties":{"meterId":{"type":"string","format":"uuid"},"period":{"type":"string","format":"date-time"},"value":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"isEstimated":{"type":"boolean"},"intervalType":{"$ref":"#/components/schemas/portfoliov2-public-api_IntervalTypes"},"source":{"$ref":"#/components/schemas/portfoliov2-public-api_IntervalSource"},"amrSupplierId":{"type":["null","string"]},"amrFormatName":{"type":["null","string"]}}},"portfoliov2-public-api_IntervalSource":{"enum":["Unknown","ElectraLink","Engie","HandHeld","Manual","Legacy","EnergyLookup","Amr"]},"portfoliov2-public-api_IntervalTypes":{"enum":["AE","AI","RE","RI","WI","GI"]},"portfoliov2-public-api_MaxDemandBreach":{"type":"object","properties":{"meterId":{"type":"string","format":"uuid"},"meterName":{"type":"string"},"mpan":{"type":"string"},"highestDemandKw":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"highestDemandKva":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"agreedLimitKva":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"agreedLimitKw":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"exceededByPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"peakDate":{"type":"string","format":"date-time"},"severity":{"$ref":"#/components/schemas/portfoliov2-public-api_MaxDemandSeverity"},"hasReactivePowerData":{"type":"boolean"}}},"portfoliov2-public-api_MaxDemandSeverity":{"enum":["High","Medium","Low"]},"portfoliov2-public-api_MaxDemandWindow":{"enum":["LastMonth","Last3Months","Last12Months",null]},"portfoliov2-public-api_MeterConsumptionChartResponse":{"type":"object","properties":{"dataRangeLabel":{"type":"string"},"estimatedDataPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"affectedPeriods":{"type":"array","items":{"type":"string"}},"chart":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionChart"},"last12MonthsKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"thisMonthKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"lastReadingKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"lastReadingDate":{"type":["null","string"],"format":"date-time"},"vsPreviousPeriodPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"vsPreviousPeriodKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"highestPeriodLabel":{"type":["null","string"]},"highestPeriodKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"compareCurrentPeriodKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"comparePreviousPeriodKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"totalUsageTodayKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"peakDemandKw":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"peakDemandTime":{"type":["null","string"]},"vsComparePercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"vsCompareKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"busiestDay":{"type":["null","string"]},"busiestDayAvgKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"quietestDay":{"type":["null","string"]},"quietestDayAvgKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"weeklySwingPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"channels":{"type":["null","object"],"additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_ChannelConsumptionData"}},"availableChannels":{"type":["null","array"],"items":{"type":"string"}},"channelDefinitions":{"type":"object","additionalProperties":{"type":"string"}}}},"portfoliov2-public-api_MeterCountByTypeDto":{"required":["meterType","count"],"type":"object","properties":{"meterType":{"type":"string"},"count":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}}},"portfoliov2-public-api_MeterCountsByTypeDto":{"type":"object","properties":{"hh":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"nhh":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"gas":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"water":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}}},"portfoliov2-public-api_MeterDeletionConfirmInput":{"required":["confirmationToken"],"type":"object","properties":{"confirmationToken":{"type":"string"}}},"portfoliov2-public-api_MeterDeletionRequestInput":{"required":["reason"],"type":"object","properties":{"reason":{"type":"string"}}},"portfoliov2-public-api_MeterDetailDto":{"type":"object","properties":{"meterId":{"type":"string","format":"uuid"},"meterName":{"type":"string"},"mpanOrMprn":{"type":"string"},"meterType":{"type":"string"},"serial":{"type":"string"},"capacityKva":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"eac":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"siteName":{"type":"string"},"siteId":{"type":"string","format":"uuid"},"companyId":{"type":"string","format":"uuid"},"companyName":{"type":"string"},"address":{"type":"string"},"last12MonthsKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"thisMonthKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"lastReadingKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"lastReadingDate":{"type":["null","string"],"format":"date-time"},"dataRangeLabel":{"type":"string"},"estimatedDataPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"affectedPeriods":{"type":"array","items":{"type":"string"}},"consumptionChart":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionChart"}]},"maxDemand":{"$ref":"#/components/schemas/portfoliov2-public-api_SiteMaxDemand"},"energyBanding":{"$ref":"#/components/schemas/portfoliov2-public-api_SiteEnergyBanding"},"dataCompleteness":{"$ref":"#/components/schemas/portfoliov2-public-api_SiteDataCompleteness"},"contracts":{"type":"array"},"supplier":{"type":["null","string"]},"contractEndDate":{"type":["null","string"],"format":"date-time"},"installDate":{"type":["null","string"],"format":"date-time"},"contractType":{"type":["null","string"]},"profileClass":{"type":["null","string"]},"mtc":{"type":["null","string"]},"llf":{"type":["null","string"]},"ssc":{"type":["null","string"]},"spid":{"type":["null","string"]},"spidWaste":{"type":["null","string"]},"spidSWHD":{"type":["null","string"]},"gsp":{"type":["null","string"]},"gspNumber":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"topLineReference":{"type":["null","string"]},"bottomLineReference":{"type":["null","string"]},"channels":{"type":["null","object"],"additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_ChannelConsumptionData"}},"availableChannels":{"type":["null","array"],"items":{"type":"string"}},"channelDefinitions":{"type":"object","additionalProperties":{"type":"string"}}}},"portfoliov2-public-api_MeterDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"siteId":{"type":"string","format":"uuid"},"companyId":{"type":"string","format":"uuid"},"meterName":{"type":["null","string"]},"serialNumber":{"type":["null","string"]},"meterType":{"type":"string"},"mpanCore":{"type":["null","string"]},"malo":{"type":["null","string"]},"gridOperatorCode":{"type":["null","string"]},"capacityKva":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"profileClass":{"type":["null","string"]},"mtc":{"type":["null","string"]},"llf":{"type":["null","string"]},"ssc":{"type":["null","string"]},"gsp":{"type":["null","string"]},"gspNumber":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"dno":{"type":["null","string"]},"smso":{"type":["null","string"]},"es":{"type":["null","string"]},"esDate":{"type":["null","string"]},"currentSupplier":{"type":["null","string"]},"supplierMpid":{"type":["null","string"]},"supplierEfs":{"type":["null","string"]},"dataAggregator":{"type":["null","string"]},"dataAggregatorMpid":{"type":["null","string"]},"dataAggregatorEfd":{"type":["null","string"]},"dataCollector":{"type":["null","string"]},"dataCollectorMpid":{"type":["null","string"]},"dataCollectorEfd":{"type":["null","string"]},"meterOperator":{"type":["null","string"]},"meterOperatorMpid":{"type":["null","string"]},"meterOperatorEfd":{"type":["null","string"]},"fullAddress":{"type":["null","string"]},"mprn":{"type":["null","string"]},"soq":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"mpaq":{"type":["null","string"]},"gasMeterCapacity":{"type":["null","string"]},"meterMechanismCode":{"type":["null","string"]},"gasAmrIndicator":{"type":["null","string"]},"formulaYearSupplyMeterPointAq":{"type":["null","string"]},"meterNumberOfDials":{"type":["null","string"]},"meterImperialIndicator":{"type":["null","string"]},"gasCurrentSupplierName":{"type":["null","string"]},"gasCurrentSupplierId":{"type":["null","string"]},"gasCurrentSupplierRegEffectiveDate":{"type":["null","string"]},"gasPendingSupplierRegEffectiveDate":{"type":["null","string"]},"gasIncomingSupplier":{"type":["null","string"]},"gasPreviousSupplierName":{"type":["null","string"]},"lastMeterReadDate":{"type":["null","string"]},"lastMeterReadType":{"type":["null","string"]},"lastMeterReadValue":{"type":["null","string"]},"gasSmpStatus":{"type":["null","string"]},"gasMeterDeviceStatus":{"type":["null","string"]},"gasMeterInstallationDate":{"type":["null","string"]},"gasMeterLocation":{"type":["null","string"]},"gasPostcode":{"type":["null","string"]},"gasFullAddress":{"type":["null","string"]},"ldz":{"type":["null","string"]},"ldzSource":{"type":["null","string"]},"spid":{"type":["null","string"]},"spidWaste":{"type":["null","string"]},"spidSWHD":{"type":["null","string"]},"swHD":{"type":["null","string"]},"swHdBasis":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"waterMeterNumber":{"type":["null","string"]},"waterUnitRate":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"waterAnnualStandingCharge":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"hasTradeEffluentAgreement":{"type":["null","boolean"]},"rtsUnitRate":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"rtsConsumption":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"rtsAnnualStandingCharge":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"rtsContractEndDate":{"type":["null","string"],"format":"date-time"},"eac":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"premisesId":{"type":["null","string"]},"tenancyStartDate":{"type":["null","string"],"format":"date-time"},"tenancyEndDate":{"type":["null","string"],"format":"date-time"},"changeOfTenancyReason":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_ChangeOfTenancyReason"}]},"changeOfTenancyNotes":{"type":["null","string"]},"customerResponsibilityStart":{"type":["null","string"],"format":"date"},"addedByUserId":{"type":["null","string"],"format":"uuid"},"addedByUserName":{"type":["null","string"]},"country":{"type":"string"},"isDeleted":{"type":"boolean"},"created":{"type":"string","format":"date-time"},"modified":{"type":["null","string"],"format":"date-time"},"version":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int64"},"supplierName":{"type":["null","string"]},"siteName":{"type":["null","string"]},"siteAddress":{"type":["null","string"]},"installDate":{"type":["null","string"],"format":"date-time"},"supplierId":{"type":["null","string"],"format":"uuid"},"hasPendingProposals":{"type":"boolean"},"proposals":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_MeterProposalSummaryDto"}]},"lastConsumptionPoll":{"type":["null","string"],"format":"date-time"},"consumptionStatus":{"type":["null","string"]},"channelConsumptionStatus":{"type":["null","object"],"additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_ChannelConsumptionStatusDto"}},"last12MonthsKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"}}},"portfoliov2-public-api_MeterEnergyBandingChartResponse":{"type":"object","properties":{"potentialBandReduction":{"type":["null","string"]},"headroomToLowerBandKw":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"downgradeReadiness":{"type":["null","string"]},"downgradeReadinessNote":{"type":["null","string"]},"dataRangeLabel":{"type":"string"},"bands":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_EnergyBand"}},"chart":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionChart"},"totalPotentialSavingsGbp":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"energyBandsUsed":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"totalEnergyBands":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"avoidableAnnualCostGbp":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"usingDefaultRates":{"type":"boolean"}}},"portfoliov2-public-api_MeterLatestPendingDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"source":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"changedFields":{"type":"array","items":{"type":"string"}}}},"portfoliov2-public-api_MeterMaxDemandChartResponse":{"type":"object","properties":{"peakDemandKw":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"peakDemandKva":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"peakDate":{"type":["null","string"],"format":"date-time"},"averageDemandKw":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"percentile95DemandKw":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"dataRangeLabel":{"type":"string"},"chart":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionChart"},"breaches":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_MaxDemandBreach"}},"totalPotentialSavingsGbp":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"daysOverCapacity":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"breachesLabel":{"type":"string"},"avoidableAnnualCostGbp":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"usingDefaultValues":{"type":"boolean"},"usingDefaultRates":{"type":"boolean"},"hasReactivePowerData":{"type":"boolean"},"estimatedDataPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"missingDataDays":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"totalDaysInPeriod":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"agreedCapacityKva":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"capacityUtilisationPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"}}},"portfoliov2-public-api_MeterMaxDemandRowDto":{"type":"object","properties":{"meterId":{"type":"string","format":"uuid"},"mpanOrMprn":{"type":"string"},"peakDemandKva":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"capacityKva":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"capacityUtilisationPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"breachCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"hasReactivePowerData":{"type":"boolean"}}},"portfoliov2-public-api_MeterProposalSummaryDto":{"type":"object","properties":{"pendingCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"autoApprovedCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"latestPending":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_MeterLatestPendingDto"}]}}},"portfoliov2-public-api_MeterSearchAddressDto":{"type":"object","properties":{"addressId":{"type":"string"},"fullAddress":{"type":"string"},"postcode":{"type":"string"},"matchedElectricity":{"type":"boolean"},"matchedGas":{"type":"boolean"}}},"portfoliov2-public-api_MeterSearchResultDto":{"type":"object","properties":{"identifier":{"type":"string"},"fuelType":{"type":"string"},"meterType":{"type":"string"},"status":{"type":"string"},"message":{"type":["null","string"]},"ticketId":{"type":["null","string"]},"lookupsAttempted":{"type":"array","items":{"type":"string"}},"existingMeter":{"type":"boolean"},"existingMeterId":{"type":["null","string"],"format":"uuid"},"mpanCore":{"type":["null","string"]},"profileClass":{"type":["null","string"]},"mtc":{"type":["null","string"]},"llf":{"type":["null","string"]},"ssc":{"type":["null","string"]},"es":{"type":["null","string"]},"esDate":{"type":["null","string"]},"currentSupplier":{"type":["null","string"]},"supplierMpid":{"type":["null","string"]},"dataAggregator":{"type":["null","string"]},"dataAggregatorMpid":{"type":["null","string"]},"dataCollector":{"type":["null","string"]},"dataCollectorMpid":{"type":["null","string"]},"meterOperator":{"type":["null","string"]},"meterOperatorMpid":{"type":["null","string"]},"fullAddress":{"type":["null","string"]},"serialNumber":{"type":["null","string"]},"mprn":{"type":["null","string"]},"meterCapacity":{"type":["null","string"]},"mpaq":{"type":["null","string"]},"amrIndicator":{"type":["null","string"]},"lastMeterReadDate":{"type":["null","string"]},"lastMeterReadValue":{"type":["null","string"]},"lastMeterReadType":{"type":["null","string"]}}},"portfoliov2-public-api_MeterTypeSummary":{"type":"object","properties":{"hhMeterCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"nhhMeterCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"gasMeterCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"waterMeterCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"hasHhIntervals":{"type":"boolean"},"hasGasIntervals":{"type":"boolean"}}},"portfoliov2-public-api_MeterVersionDto":{"type":"object","properties":{"id":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int64"},"meterId":{"type":"string","format":"uuid"},"versionNumber":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int64"},"propertyName":{"type":"string"},"oldValue":{"type":["null","string"]},"newValue":{"type":["null","string"]},"changedAt":{"type":"string","format":"date-time"},"changedBy":{"type":["null","string"]},"changeReason":{"type":["null","string"]}}},"portfoliov2-public-api_MonthlyPeakDemand":{"type":"object","properties":{"label":{"type":"string"},"peakKw":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"peakKva":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"}}},"portfoliov2-public-api_PaginationMetadata":{"type":"object","properties":{"page":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"pageSize":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"totalCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"totalPages":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"hasPrevious":{"type":"boolean"},"hasNext":{"type":"boolean"}}},"portfoliov2-public-api_PortfolioConsumptionDto":{"type":"object","properties":{"metrics":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionMetrics"},"chart":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionChart"},"sites":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionSiteSummary"}},"dataRangeLabel":{"type":"string"},"vsPreviousPeriodPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"vsPreviousPeriodKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"highestPeriodLabel":{"type":["null","string"]},"highestPeriodKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"compareCurrentPeriodKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"comparePreviousPeriodKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"totalUsageTodayKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"peakDemandKw":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"peakDemandTime":{"type":["null","string"]},"vsComparePercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"vsCompareKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"busiestDay":{"type":["null","string"]},"busiestDayAvgKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"quietestDay":{"type":["null","string"]},"quietestDayAvgKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"weeklySwingPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"channels":{"type":["null","object"],"additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_ChannelConsumptionData"}},"availableChannels":{"type":["null","array"],"items":{"type":"string"}},"channelDefinitions":{"type":"object","additionalProperties":{"type":"string"}}}},"portfoliov2-public-api_PortfolioExplorerSummary":{"type":"object","properties":{"siteCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"meterCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"emissionsTonnesCo2":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"activeProjectCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}}},"portfoliov2-public-api_PortfolioExportRequest":{"type":"object","properties":{"companyId":{"type":"string","format":"uuid"}}},"portfoliov2-public-api_PortfolioOverviewDto":{"type":"object","properties":{"meterSummary":{"$ref":"#/components/schemas/portfoliov2-public-api_MeterTypeSummary"},"annualEnergySpend":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"explorer":{"$ref":"#/components/schemas/portfoliov2-public-api_PortfolioExplorerSummary"},"loaExpiryDate":{"type":["null","string"],"format":"date-time"}}},"portfoliov2-public-api_PortfolioSavingsDto":{"required":["companyId","initiatives"],"type":"object","properties":{"companyId":{"type":"string","format":"uuid"},"initiatives":{"type":"array"}}},"portfoliov2-public-api_PropertyChangeDto":{"type":"object","properties":{"propertyName":{"type":"string"},"oldValue":{"type":["null","string"]},"newValue":{"type":["null","string"]},"changedAt":{"type":"string","format":"date-time"},"changedBy":{"type":["null","string"]},"reason":{"type":["null","string"]}}},"portfoliov2-public-api_PropertyElectricityMeterDto":{"type":"object","properties":{"mpan":{"type":"string"},"profileClass":{"type":["null","string"]},"meterType":{"type":"string"},"mtc":{"type":["null","string"]},"llf":{"type":["null","string"]},"ssc":{"type":["null","string"]},"energisationStatus":{"type":["null","string"]},"energisationStatusDate":{"type":["null","string"]},"currentSupplier":{"type":["null","string"]},"supplierMpid":{"type":["null","string"]},"dataAggregator":{"type":["null","string"]},"dataAggregatorMpid":{"type":["null","string"]},"dataCollector":{"type":["null","string"]},"dataCollectorMpid":{"type":["null","string"]},"meterOperator":{"type":["null","string"]},"meterOperatorMpid":{"type":["null","string"]},"fullAddress":{"type":["null","string"]},"serialNumber":{"type":["null","string"]},"installDate":{"type":["null","string"]}}},"portfoliov2-public-api_PropertyGasMeterDto":{"type":"object","properties":{"mprn":{"type":"string"},"mpaq":{"type":["null","string"]},"meterCapacity":{"type":["null","string"]},"serialNumber":{"type":["null","string"]},"amrIndicator":{"type":["null","string"]},"meterMechanismCode":{"type":["null","string"]},"currentSupplier":{"type":["null","string"]},"lastMeterReadDate":{"type":["null","string"]},"lastMeterReadValue":{"type":["null","string"]},"lastMeterReadType":{"type":["null","string"]}}},"portfoliov2-public-api_PropertyMetersResultDto":{"type":"object","properties":{"status":{"type":"string"},"ticketId":{"type":["null","string"]},"electricityMeters":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_PropertyElectricityMeterDto"}},"gasMeters":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_PropertyGasMeterDto"}}}},"portfoliov2-public-api_SelectDay":{"enum":["Today","Yesterday","SpecificDay",null]},"portfoliov2-public-api_SiteConsumptionSummary":{"type":"object","properties":{"last12MonthsKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"thisMonthKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"lastReadingKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"lastReadingDate":{"type":["null","string"],"format":"date-time"},"dataRangeLabel":{"type":"string"},"chart":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionChart"},"channels":{"type":["null","object"],"additionalProperties":{"$ref":"#/components/schemas/portfoliov2-public-api_ChannelConsumptionData"}},"availableChannels":{"type":["null","array"],"items":{"type":"string"}},"channelDefinitions":{"type":"object","additionalProperties":{"type":"string"}}}},"portfoliov2-public-api_SiteDataCompleteness":{"type":"object","properties":{"goodDataPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"estimatedDataPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"missingDataPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"alertMessage":{"type":"string"},"affectedPeriods":{"type":"array","items":{"type":"string"}},"estimatedPeriodsCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"missingPeriodsCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"calendar":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_DataCompletenessCalendarMonth"}}}},"portfoliov2-public-api_SiteDataQuality":{"type":"object","properties":{"siteId":{"type":"string","format":"uuid"},"name":{"type":"string"},"address":{"type":"string"},"goodDataPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"estimatedDataPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"missingDataPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"dateRange":{"type":"string"},"hhMeterCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}}},"portfoliov2-public-api_SiteDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"companyId":{"type":"string","format":"uuid"},"name":{"type":"string"},"reference":{"type":["null","string"]},"address":{"type":"string"},"buildingNameOrNumber":{"type":["null","string"]},"town":{"type":["null","string"]},"postcode":{"type":"string"},"region":{"type":["null","string"]},"parkCode":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"country":{"type":"string"},"tenancyStartDate":{"type":["null","string"],"format":"date-time"},"tenancyEndDate":{"type":["null","string"],"format":"date-time"},"changeOfTenancyReason":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_ChangeOfTenancyReason"}]},"changeOfTenancyNotes":{"type":["null","string"]},"isDeleted":{"type":"boolean"},"created":{"type":"string","format":"date-time"},"modified":{"type":["null","string"],"format":"date-time"},"meterCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"meterCounts":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_MeterCountByTypeDto"}},"maxMetersPerSite":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}}},"portfoliov2-public-api_SiteEnergyBanding":{"type":"object","properties":{"bands":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_EnergyBand"}},"chart":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionChart"},"totalPotentialSavingsGbp":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"energyBandsUsed":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"totalEnergyBands":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"avoidableAnnualCostGbp":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"}}},"portfoliov2-public-api_SiteMaxDemand":{"type":"object","properties":{"peakDemandKw":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"peakDemandKva":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"peakDate":{"type":["null","string"],"format":"date-time"},"averageDemandKw":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"percentile95DemandKw":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"chart":{"$ref":"#/components/schemas/portfoliov2-public-api_ConsumptionChart"},"dataRangeLabel":{"type":"string"},"breaches":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_MaxDemandBreach"}},"meters":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_SiteMaxDemandMeterSummary"}},"totalPotentialSavingsGbp":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"daysOverCapacity":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"breachesLabel":{"type":"string"},"avoidableAnnualCostGbp":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"estimatedDataPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"missingDataDays":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"totalDaysInPeriod":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"agreedCapacityKva":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"capacityUtilisationPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"usingDefaultValues":{"type":"boolean"},"hasReactivePowerData":{"type":"boolean"},"usingDefaultCapacityRate":{"type":"boolean"}}},"portfoliov2-public-api_SiteMaxDemandBreachSummary":{"type":"object","properties":{"siteId":{"type":"string","format":"uuid"},"siteName":{"type":"string"},"address":{"type":"string"},"peakDemandKw":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"peakDemandKva":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"capacityKva":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"capacityUtilisationPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"hasReactivePowerData":{"type":"boolean"},"breaches":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_MaxDemandBreach"}}}},"portfoliov2-public-api_SiteMaxDemandMetersDto":{"type":"object","properties":{"siteId":{"type":"string","format":"uuid"},"siteName":{"type":"string"},"dataRangeLabel":{"type":"string"},"meters":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_MeterMaxDemandRowDto"}}}},"portfoliov2-public-api_SiteMaxDemandMeterSummary":{"type":"object","properties":{"meterId":{"type":"string","format":"uuid"},"meterName":{"type":"string"},"mpan":{"type":"string"},"highestDemandKw":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"highestDemandKva":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["number","string"],"format":"double"},"peakDate":{"type":["null","string"],"format":"date-time"},"agreedLimitKva":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"capacityUtilisationPercent":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"hasBreach":{"type":"boolean"},"hasReactivePowerData":{"type":"boolean"}}},"portfoliov2-public-api_SiteMeterSummary":{"type":"object","properties":{"meterId":{"type":"string","format":"uuid"},"name":{"type":"string"},"mpanOrMprn":{"type":"string"},"meterType":{"type":"string"},"usageKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"usageKwhYtd":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"isArchived":{"type":"boolean"},"supplier":{"type":["null","string"]},"contractEndDate":{"type":["null","string"],"format":"date-time"},"contractEndDates":{"type":"array","items":{"type":"string","format":"date-time"}},"contractType":{"type":["null","string"]},"installDate":{"type":["null","string"],"format":"date-time"},"profileClass":{"type":["null","string"]},"mtc":{"type":["null","string"]},"llf":{"type":["null","string"]},"ssc":{"type":["null","string"]},"gsp":{"type":["null","string"]},"gspNumber":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"topLineReference":{"type":["null","string"]},"bottomLineReference":{"type":["null","string"]},"spid":{"type":["null","string"]}}},"portfoliov2-public-api_SiteOverviewDto":{"type":"object","properties":{"siteId":{"type":"string","format":"uuid"},"companyId":{"type":"string","format":"uuid"},"name":{"type":"string"},"siteName":{"type":"string"},"address":{"type":"string"},"postcode":{"type":"string"},"companyName":{"type":"string"},"loaExpiryDate":{"type":["null","string"],"format":"date-time"},"consumption":{"$ref":"#/components/schemas/portfoliov2-public-api_SiteConsumptionSummary"},"maxDemand":{"$ref":"#/components/schemas/portfoliov2-public-api_SiteMaxDemand"},"energyBanding":{"$ref":"#/components/schemas/portfoliov2-public-api_SiteEnergyBanding"},"dataCompleteness":{"$ref":"#/components/schemas/portfoliov2-public-api_SiteDataCompleteness"},"meters":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_SiteMeterSummary"}}}},"portfoliov2-public-api_SiteSummaryDto":{"type":"object","properties":{"siteId":{"type":"string","format":"uuid"},"name":{"type":"string"},"address":{"type":"string"},"postcode":{"type":"string"},"meterCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"hasBreachedMeter":{"type":"boolean"},"hasUnderFiftyPercentUtilisationMeter":{"type":"boolean"}}},"portfoliov2-public-api_SiteTagDto":{"required":["id","siteId","companyId","name","value","companyTagId","created","modified"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"siteId":{"type":"string","format":"uuid"},"companyId":{"type":"string","format":"uuid"},"name":{"type":"string"},"value":{"type":["null","string"]},"companyTagId":{"type":["null","string"],"format":"uuid"},"created":{"type":"string","format":"date-time"},"modified":{"type":["null","string"],"format":"date-time"}}},"portfoliov2-public-api_UdiExportRequest":{"type":"object","properties":{"companyId":{"type":"string","format":"uuid"}}},"portfoliov2-public-api_UpdateCompanyTagRequest":{"required":["key","value"],"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}}},"portfoliov2-public-api_UpdateMeterRequest":{"type":"object","properties":{"meterName":{"type":["null","string"]},"serialNumber":{"type":["null","string"]},"mpanCore":{"type":["null","string"]},"malo":{"type":["null","string"]},"gridOperatorCode":{"type":["null","string"]},"mprn":{"type":["null","string"]},"spid":{"type":["null","string"]},"spidWaste":{"type":["null","string"]},"spidSWHD":{"type":["null","string"]},"waterMeterNumber":{"type":["null","string"]},"waterUnitRate":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"waterAnnualStandingCharge":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"hasTradeEffluentAgreement":{"type":["null","boolean"]},"eac":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"capacityKva":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"tenancyStartDate":{"type":["null","string"],"format":"date-time"},"tenancyEndDate":{"type":["null","string"],"format":"date-time"},"changeOfTenancyReason":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_ChangeOfTenancyReason"}]},"changeOfTenancyNotes":{"type":["null","string"]},"installDate":{"type":["null","string"],"format":"date-time"},"changeReason":{"type":["null","string"]},"customerResponsibilityStart":{"type":["null","string"],"format":"date"}}},"portfoliov2-public-api_UpdateSiteRequest":{"type":"object","properties":{"name":{"type":["null","string"]},"reference":{"type":["null","string"]},"address":{"type":["null","string"]},"buildingNameOrNumber":{"type":["null","string"]},"town":{"type":["null","string"]},"postcode":{"maxLength":20,"type":["null","string"]},"region":{"maxLength":255,"type":["null","string"]},"parkCode":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"tenancyStartDate":{"type":["null","string"],"format":"date-time"},"tenancyEndDate":{"type":["null","string"],"format":"date-time"},"changeOfTenancyReason":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/portfoliov2-public-api_ChangeOfTenancyReason"}]},"changeOfTenancyNotes":{"type":["null","string"]}}},"portfoliov2-public-api_UploadIntervalItem":{"type":"object","properties":{"period":{"type":"string","format":"date-time"},"intervalType":{"$ref":"#/components/schemas/portfoliov2-public-api_IntervalTypes"},"value":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?$","type":["null","number","string"],"format":"double"},"isEstimated":{"type":"boolean"}}},"portfoliov2-public-api_UploadIntervalsRequest":{"type":"object","properties":{"intervals":{"type":"array","items":{"$ref":"#/components/schemas/portfoliov2-public-api_UploadIntervalItem"}}}},"portfoliov2-public-api_UserCompanyMembership":{"required":["companyId","companyName"],"type":"object","properties":{"companyId":{"type":"string","format":"uuid"},"companyName":{"type":"string"}}},"trading-api_TradingApiDtosApiResponseOfBoolean":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"type":"boolean"}}},"trading-api_TradingApiApiVolumeCreateFlexTradeProfilePeriodVolumeRequirementsRequest":{"type":"object","additionalProperties":false,"properties":{"volumeRequirements":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiApiVolumeCreateFlexTradeProfilePeriodVolumeRequirementDto"}},"commodityTypeId":{"type":"string","format":"guid"},"contractId":{"type":"string","format":"guid"},"userName":{"type":"string"},"flexibleProfileId":{"type":"string","format":"guid"}}},"trading-api_TradingApiApiVolumeCreateFlexTradeProfilePeriodVolumeRequirementDto":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"flexibleProfileId":{"type":"string","format":"guid"},"flexPeriodId":{"type":"string","format":"guid"},"requiredVolume":{"type":"number","format":"decimal"},"baseloadVolume":{"type":"number","format":"decimal"},"deletedToken":{"type":"string","format":"guid"},"createdDateTime":{"type":"string","format":"date-time"},"createdByUserName":{"type":"string"},"flexPeriodStartDate":{"type":"string","format":"date-time"},"daysInMonth":{"type":"integer","format":"int32"}}},"trading-api_TradingApiDtosApiResponseOfGetFlexTradeProfilePeriodVolumeRequirementsResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GetFlexTradeProfilePeriodVolumeRequirementsResponse"}]}}},"trading-api_GetFlexTradeProfilePeriodVolumeRequirementsResponse":{"type":"object","additionalProperties":false,"properties":{"volumeRequirements":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosFlexFlexTradeProfilePeriodVolumeRequirementDto"}}}},"trading-api_TradingApiDtosFlexFlexTradeProfilePeriodVolumeRequirementDto":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"period":{"$ref":"#/components/schemas/trading-api_TradingApiDtosFlexFlexPeriodDto"},"parentPeriod":{"$ref":"#/components/schemas/trading-api_TradingApiDtosFlexFlexPeriodDto"},"topLevelPeriod":{"$ref":"#/components/schemas/trading-api_TradingApiDtosFlexFlexPeriodDto"},"requiredVolume":{"type":"number","format":"decimal"},"baseloadVolume":{"type":"number","format":"decimal"},"commodityTypeId":{"type":"string","format":"guid"},"flexTradeProfilePeriodVolumeAllocations":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexTradeProfilePeriodVolumeAllocation"}},"totalBoughtVolume":{"type":"number","format":"decimal"},"totalSoldVolume":{"type":"number","format":"decimal"},"lockedRequiredVolume":{"type":"number","format":"decimal"},"openRequiredVolume":{"type":"number","format":"decimal"},"openRequiredVolumeInTradeUnit":{"type":"number","format":"decimal"}}},"trading-api_TradingApiDtosFlexFlexPeriodDto":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"flexPeriodTypeId":{"type":"integer","format":"int32"},"year":{"type":"integer","format":"int32"},"periodStartDate":{"type":"string","format":"date-time"},"periodEndDate":{"type":"string","format":"date-time"},"daysInPeriod":{"type":"integer","format":"int32"},"flexPeriodCommodities":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexPeriodCommodity"}},"flexPeriodType":{"$ref":"#/components/schemas/trading-api_TradingApiDtosFlexFlexPeriodTypeDto"},"name":{"type":"string"}}},"trading-api_GlobalDomainEntityFlexPeriodCommodity":{"type":"object","additionalProperties":false,"properties":{"flexPeriodId":{"type":"string","format":"guid"},"commodityTypeId":{"type":"string","format":"guid"},"tradingEarlyCloseDate":{"type":"string","format":"date-time","nullable":true},"currentMarketPrice":{"type":"number","format":"decimal","nullable":true},"previousMarketPrice":{"type":"number","format":"decimal","nullable":true},"currentMarketPriceDate":{"type":"string","format":"date-time","nullable":true},"commodityType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCommodityType"}]},"flexPeriod":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexPeriod"}]}}},"trading-api_GlobalDomainEntityCommodityType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"commodity":{"type":"string","nullable":true},"unit":{"type":"string","nullable":true},"isDeleted":{"type":"boolean"},"code":{"type":"string","nullable":true},"commodityChartData":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCommodityChartData"}]},"commodityChartCommodities":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCommodityChartCommodities"}},"flexPeriodCommodities":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexPeriodCommodity"}},"meterTypes":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityMeterType"}},"periodCommodities":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFundPeriodCommodity"}},"trades":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFundTrade"}}}},"trading-api_GlobalDomainEntityCommodityChartData":{"type":"object","additionalProperties":false,"properties":{"commodityTypeId":{"type":"string","format":"guid"},"chartData":{"type":"string","nullable":true},"createdDateTime":{"type":"string","format":"date-time"},"commodityType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCommodityType"}]}}},"trading-api_GlobalDomainEntityCommodityChartCommodities":{"type":"object","additionalProperties":false,"properties":{"commodityChartTypeId":{"type":"string","format":"guid"},"commodityTypeId":{"type":"string","format":"guid"},"commodityChartType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCommodityChartType"}]},"commodityType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCommodityType"}]}}},"trading-api_GlobalDomainEntityCommodityChartType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"commodityChart":{"type":"string","nullable":true},"commodityChartCommodities":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCommodityChartCommodities"}}}},"trading-api_GlobalDomainEntityMeterType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"commodityTypeId":{"type":"string","format":"guid","nullable":true},"commodityType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCommodityType"}]},"billValidations":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityBillValidation"}}}},"trading-api_GlobalDomainEntityBillValidation":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"meterNumber":{"type":"string","nullable":true},"utility":{"type":"integer","format":"int32"},"invoiceStartDate":{"type":"string","format":"date-time"},"invoiceEndDate":{"type":"string","format":"date-time"},"invoiceTaxPointDate":{"type":"string","format":"date-time"},"invoiceTypeId":{"type":"integer","format":"int32"},"invoiceStatusId":{"type":"integer","format":"int32"},"supplierName":{"type":"string","nullable":true},"totalExVATInvoice":{"type":"number","format":"decimal"},"totalExVATSimulation":{"type":"number","format":"decimal"},"totalIncVATInvoice":{"type":"number","format":"decimal"},"totalIncVATSimulation":{"type":"number","format":"decimal"},"comment":{"type":"string","nullable":true},"createdDateTime":{"type":"string","format":"date-time"},"customerCompanyId":{"type":"string","format":"guid"},"siteId":{"type":"string","format":"guid"},"invoiceSource":{"type":"string","nullable":true},"accountNumber":{"type":"string","nullable":true},"consumption":{"type":"integer","format":"int32","nullable":true},"customerCompany":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomerCompany"}]},"invoiceStatus":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityInvoiceStatus"}]},"invoiceType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityInvoiceType"}]},"site":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntitySite"}]},"utilityNavigation":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityMeterType"}]}}},"trading-api_GlobalDomainEntityCustomerCompany":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string","nullable":true},"registeredAddress":{"type":"string","nullable":true},"postcode":{"type":"string","nullable":true},"profile":{"type":"string","nullable":true},"logoImageFileId":{"type":"string","format":"guid","nullable":true},"director":{"type":"string","nullable":true},"contactPhone":{"type":"string","nullable":true},"contactEmail":{"type":"string","nullable":true},"companyRegistrationNumber":{"type":"string","nullable":true},"siteToInvoice":{"type":"string","format":"guid","nullable":true},"letterOfAuthorityFileId":{"type":"string","format":"guid","nullable":true},"companyProfileWasDone":{"type":"boolean","nullable":true},"deleted":{"type":"boolean"},"preferredSupplierPayment":{"type":"integer","format":"int32","nullable":true},"invoiceHeadOffice":{"type":"boolean","nullable":true},"isGovernedByOJEU":{"type":"boolean"},"clientTypeId":{"type":"integer","format":"int32"},"isBasket":{"type":"boolean"},"fundCommission":{"type":"number","format":"double"},"hhBufferPercentage":{"type":"number","format":"double"},"nhhBufferPercentage":{"type":"number","format":"double"},"gasBufferPercentage":{"type":"number","format":"double"},"isBillValidationEnabled":{"type":"boolean"},"loaExpiresDate":{"type":"string","format":"date-time","nullable":true},"billValidationStartDate":{"type":"string","format":"date-time","nullable":true},"billValidationResultsFrequency":{"type":"integer","format":"int32","nullable":true},"queryResolutionApproach":{"type":"integer","format":"int32","nullable":true},"billValidationReportSentTo":{"type":"string","nullable":true},"financialYearStart":{"type":"integer","format":"int32","nullable":true},"isSecrEnabled":{"type":"boolean"},"companiesHouseStatus":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEnumsCompaniesHouseStatus"}]},"companyTypeId":{"type":"integer","format":"int32","nullable":true},"companyStatusId":{"type":"integer","format":"int32","nullable":true},"companyStatusReason":{"type":"string","nullable":true},"electronicLetterOfAuthorityFileId":{"type":"string","format":"guid","nullable":true},"letterOfAuthorityType":{"$ref":"#/components/schemas/trading-api_GlobalDomaincommonEnumsDocuSignDocuSignDocumentType"},"discountRate":{"type":"number","format":"decimal"},"clientOrganisation":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientOrganisation"}]},"clientType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientType"}]},"alerts":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityTradingAlert"}},"billValidations":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityBillValidation"}},"companyAssignedManagerRoles":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCompanyAssignedManagerRoles"}},"customerDocuments":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomerDocument"}},"data":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityRegulationData"}},"meters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityMeter"}},"notes":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityNote"}},"sicCodes":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntitySicCode"}},"co2OnsiteGenerations":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCo2OnsiteGeneration"}},"greenEnergyContracts":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityGreenEnergyContract"}},"exemptionComplianceSchemes":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityExemptionComplianceScheme"}},"sites":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntitySite"}},"terminationReminders":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityTerminationReminder"}}}},"trading-api_GlobalDomainEnumsCompaniesHouseStatus":{"type":"integer","description":"","x-enumNames":["None","Active","Dissolved","Liquidation","Receivership","Administration","VoluntaryArrangement","ConvertedClosed","InsolvencyProceedings","Open","Closed","ClosedOn"],"enum":[0,1,2,3,4,5,6,7,8,9,10,11]},"trading-api_GlobalDomaincommonEnumsDocuSignDocuSignDocumentType":{"type":"integer","description":"","x-enumNames":["LetterOfAuthority","LetterOfAuthorityWithoutTerminationClause"],"enum":[1,2]},"trading-api_GlobalDomainEntityClientOrganisation":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"clientTypeId":{"type":"integer","format":"int32"},"clientType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientType"}]},"clientOrganisationNotifyees":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientOrganisationNotifyee"}},"customerCompany1s":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomerCompany"}},"customers":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomer"}},"supplierCompanies":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntitySupplierCompany"}},"supplierWaters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntitySupplierWater"}}}},"trading-api_GlobalDomainEntityClientType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"clientOrganisations":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientOrganisation"}},"clientPeople":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientPerson"}},"customerCompany1s":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomerCompany"}},"customers":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomer"}},"supplierCompanies":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntitySupplierCompany"}},"supplierWaters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntitySupplierWater"}},"suppliers":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntitySupplier"}}}},"trading-api_GlobalDomainEntityClientPerson":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"clientTypeId":{"type":"integer","format":"int32"},"clientType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientType"}]},"clientOrganisationNotifyeeDelegates":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientOrganisationNotifyeeDelegate"}},"clientOrganisationNotifyees":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientOrganisationNotifyee"}},"customers":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomer"}},"suppliers":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntitySupplier"}}}},"trading-api_GlobalDomainEntityClientOrganisationNotifyeeDelegate":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"clientOrganisationNotifyeeId":{"type":"string","format":"guid"},"clientPersonId":{"type":"string","format":"guid","nullable":true},"toDate":{"type":"string","format":"date-time","nullable":true},"clientOrganisationNotifyee":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientOrganisationNotifyee"}]},"clientPerson":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientPerson"}]}}},"trading-api_GlobalDomainEntityClientOrganisationNotifyee":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"clientOrganisationNotifyeeTypeId":{"type":"integer","format":"int32"},"clientOrganisationId":{"type":"string","format":"guid"},"clientPersonId":{"type":"string","format":"guid"},"alwaysNotifyDespiteDelegates":{"type":"boolean"},"clientOrganisation":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientOrganisation"}]},"clientOrganisationNotifyeeType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientOrganisationNotifyeeType"}]},"clientPerson":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientPerson"}]},"clientOrganisationNotifyeeDelegates":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientOrganisationNotifyeeDelegate"}}}},"trading-api_GlobalDomainEntityClientOrganisationNotifyeeType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"clientOrganisationNotifyees":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientOrganisationNotifyee"}}}},"trading-api_GlobalDomainEntityCustomer":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"firstName":{"type":"string","nullable":true},"lastName":{"type":"string","nullable":true},"activeCustomerCompanyId":{"type":"string","format":"guid"},"email":{"type":"string","nullable":true},"legalEntityType":{"type":"integer","format":"int32"},"parentCustomerCompanyId":{"type":"string","format":"guid","nullable":true},"dontShowTutorial":{"type":"boolean","nullable":true},"deleted":{"type":"boolean"},"clientTypeId":{"type":"integer","format":"int32"},"telephone":{"type":"string","nullable":true},"jobTitle":{"type":"string","nullable":true},"clientOrganisation":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientOrganisation"}]},"clientPerson":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientPerson"}]},"clientType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientType"}]},"parentCustomerCompany":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityParentCustomerCompany"}]},"flexProfileGovernanceMainSignatoryCustomers":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexProfileGovernance"}},"flexProfileGovernanceSecondarySignatoryCustomers":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexProfileGovernance"}},"terminationReminders":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityTerminationReminder"}}}},"trading-api_GlobalDomainEntityParentCustomerCompany":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string","nullable":true},"registeredAddress":{"type":"string","nullable":true},"logoImageFileId":{"type":"string","format":"guid","nullable":true},"letterOfAuthorityFileId":{"type":"string","format":"guid","nullable":true},"loaExpiresDate":{"type":"string","format":"date-time","nullable":true},"customers":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomer"}}}},"trading-api_GlobalDomainEntityFlexProfileGovernance":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"flexibleProfileId":{"type":"string","format":"guid"},"mainSignatoryCustomerId":{"type":"string","format":"guid","nullable":true},"secondarySignatoryCustomerId":{"type":"string","format":"guid","nullable":true},"accountManagerUserId":{"type":"string","format":"guid","nullable":true},"traderUserId":{"type":"string","format":"guid","nullable":true},"flexTradingMandateTypeId":{"type":"integer","format":"int32","nullable":true},"requestedByUserName":{"type":"string","nullable":true},"requestedDateTime":{"type":"string","format":"date-time"},"reviewedByUserName":{"type":"string","nullable":true},"reviewedDateTime":{"type":"string","format":"date-time","nullable":true},"reviewedFlexProfileGovernanceId":{"type":"string","format":"guid","nullable":true},"reviewStatusTypeId":{"type":"integer","format":"int32","nullable":true},"modifiedByUserName":{"type":"string","nullable":true},"modifiedDateTime":{"type":"string","format":"date-time","nullable":true},"isDeleted":{"type":"boolean"},"accountManagerUser":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityInternalUser"}]},"flexTradingMandateType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexTradingMandateType"}]},"flexibleProfile":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexibleProfile"}]},"mainSignatoryCustomer":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomer"}]},"reviewStatusType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityReviewStatusType"}]},"reviewedFlexProfileGovernance":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexProfileGovernance"}]},"secondarySignatoryCustomer":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomer"}]},"traderUser":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityInternalUser"}]},"inverseReviewedFlexProfileGovernance":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexProfileGovernance"}}}},"trading-api_GlobalDomainEntityInternalUser":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"firstName":{"type":"string","nullable":true},"lastName":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"telephone":{"type":"string","nullable":true},"isDeleted":{"type":"boolean"},"companyAssignedManagerRoles":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCompanyAssignedManagerRoles"}},"flexProfileGovernanceAccountManagerUsers":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexProfileGovernance"}},"flexProfileGovernanceTraderUsers":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexProfileGovernance"}}}},"trading-api_GlobalDomainEntityCompanyAssignedManagerRoles":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"internalUserId":{"type":"string","format":"guid"},"customerCompanyId":{"type":"string","format":"guid"},"roleId":{"type":"integer","format":"int32"},"customerCompany":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomerCompany"}]},"internalUser":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityInternalUser"}]},"role":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntitywebpages_Role"}]}}},"trading-api_GlobalDomainEntitywebpages_Role":{"type":"object","additionalProperties":false,"properties":{"roleId":{"type":"integer","format":"int32"},"roleName":{"type":"string","nullable":true},"companyAssignedManagerRoles":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCompanyAssignedManagerRoles"}}}},"trading-api_GlobalDomainEntityFlexTradingMandateType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"value":{"type":"string","nullable":true},"flexProfileGovernances":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexProfileGovernance"}}}},"trading-api_GlobalDomainEntityFlexibleProfile":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"customerCompanyId":{"type":"string","format":"guid"},"contractYear":{"type":"integer","format":"int32"},"profileStartDate":{"type":"string","format":"date-time"},"meterType":{"type":"integer","format":"int32"},"hasSetupProfile":{"type":"boolean"},"hasReviewedQuotes":{"type":"boolean"},"hasSetBudgets":{"type":"boolean"},"foundationId":{"type":"string","format":"guid"},"flexSupplyCategory":{"type":"integer","format":"int32"},"hasRequestedQuote":{"type":"boolean"},"duration":{"type":"number","format":"decimal"},"deleted":{"type":"boolean"},"procurementType":{"$ref":"#/components/schemas/trading-api_GlobalDomainEnumsProcurementType"},"tradeGroupId":{"type":"integer","format":"int32","nullable":true},"alerts":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityTradingAlert"}},"flexProfileGovernances":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexProfileGovernance"}},"flexPurchasingRequirements":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexPurchasingRequirement"}},"flexRollingCovers":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexRollingCover"}},"flexTradeProfilePeriodVolumeAllocations":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexTradeProfilePeriodVolumeAllocation"}},"flexTradeProfilePeriodVolumeRequirements":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexTradeProfilePeriodVolumeRequirement"}},"flexTrades":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexTrade"}}}},"trading-api_GlobalDomainEnumsProcurementType":{"type":"integer","description":"","x-enumNames":["FixedEnergyProcurement","FlexEnergyProcurement","CombinedFlexEnergyProcurement","FixedPassThrough","Fund","OjeuFixed","OjeuFlex","Empty"],"enum":[0,1,2,3,4,5,6,-1]},"trading-api_GlobalDomainEntityTradingAlert":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"customerCompanyId":{"type":"string","format":"guid"},"flexProfileId":{"type":"string","format":"guid","nullable":true},"flexPeriodId":{"type":"string","format":"guid"},"commodityType":{"type":"integer","format":"int32"},"triggerValue":{"type":"number","format":"decimal","nullable":true},"polarity":{"type":"integer","format":"int32"},"tradeType":{"type":"integer","format":"int32"},"volume":{"type":"number","format":"decimal","nullable":true},"action":{"type":"integer","format":"int32"},"createdBy":{"type":"string","format":"guid"},"createdDate":{"type":"string","format":"date-time"},"isDeleted":{"type":"boolean"},"breachDateTime":{"type":"string","format":"date-time","nullable":true},"breachMarketPrice":{"type":"number","format":"decimal","nullable":true},"notes":{"type":"string","nullable":true},"flexPeriodStartDate":{"type":"string","format":"date-time"},"createdByNavigation":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityUserProfile"}]},"customerCompany":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomerCompany"}]},"flexPeriod":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexPeriod"}]},"flexProfile":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexibleProfile"}]}}},"trading-api_GlobalDomainEntityUserProfile":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"guidId":{"type":"string","format":"guid"},"suspended":{"type":"boolean","nullable":true},"deletedDateTime":{"type":"string","format":"date-time","nullable":true},"isDeleted":{"type":"boolean"},"hasGetStartedEmail":{"type":"boolean"},"newPlatformId":{"type":"string","format":"guid","nullable":true}}},"trading-api_GlobalDomainEntityFlexPeriod":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"flexPeriodTypeId":{"type":"integer","format":"int32"},"year":{"type":"integer","format":"int32"},"alerts":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityTradingAlert"}},"flexPeriodType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexPeriodType"}]},"flexPeriodCommodities":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexPeriodCommodity"}},"flexProfileTripwires":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexProfileTripwire"}},"flexRollingCovers":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexRollingCover"}},"flexTradeProfilePeriodVolumeAllocations":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexTradeProfilePeriodVolumeAllocation"}},"flexTradeProfilePeriodVolumeRequirements":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexTradeProfilePeriodVolumeRequirement"}},"flexTrades":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexTrade"}}}},"trading-api_GlobalDomainEntityFlexPeriodType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"month":{"type":"integer","format":"int32","nullable":true},"parentPeriodTypeId":{"type":"integer","format":"int32","nullable":true},"isDeleted":{"type":"boolean"},"sortOrder":{"type":"integer","format":"int32"},"parentPeriodType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexPeriodType"}]},"flexPeriods":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexPeriod"}},"childPeriodTypes":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexPeriodType"}}}},"trading-api_GlobalDomainEntityFlexProfileTripwire":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"flexibleProfileBudgetSettingId":{"type":"string","format":"guid"},"flexPeriodId":{"type":"string","format":"guid","nullable":true},"name":{"type":"string","nullable":true},"flexProfileTripwireTypeId":{"type":"integer","format":"int32"},"flexProfileTripwireBudgetTypeId":{"type":"integer","format":"int32"},"flexProfileTripwirePolarityId":{"type":"integer","format":"int32"},"value":{"type":"number","format":"double"},"createdByUserName":{"type":"string","nullable":true},"createdDateTime":{"type":"string","format":"date-time"},"modifiedByUserName":{"type":"string","nullable":true},"modifiedDateTime":{"type":"string","format":"date-time","nullable":true},"isActive":{"type":"boolean","nullable":true},"forecastCost":{"type":"number","format":"double"},"isDeleted":{"type":"boolean"},"tripwireValueTypeId":{"type":"integer","format":"int32"},"marketPrice":{"type":"number","format":"decimal","nullable":true},"flexPeriod":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexPeriod"}]},"flexProfileTripwireBudgetType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexProfileTripwireBudgetType"}]},"flexProfileTripwirePolarity":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexProfileTripwirePolarity"}]},"flexProfileTripwireType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexProfileTripwireType"}]},"flexibleProfileBudgetSetting":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexibleProfileBudgetSetting"}]},"tripwireValueType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityTripwireValueType"}]},"flexProfileTripwireNotificationLogs":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexProfileTripwireNotificationLog"}}}},"trading-api_GlobalDomainEntityFlexProfileTripwireBudgetType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"flexProfileTripwires":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexProfileTripwire"}}}},"trading-api_GlobalDomainEntityFlexProfileTripwirePolarity":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"flexProfileTripwires":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexProfileTripwire"}}}},"trading-api_GlobalDomainEntityFlexProfileTripwireType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"flexProfileTripwires":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexProfileTripwire"}}}},"trading-api_GlobalDomainEntityFlexibleProfileBudgetSetting":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"flexibleProfileId":{"type":"string","format":"guid"},"profileYearIndex":{"type":"integer","format":"int32"},"canPriceAlertsBeUpdated":{"type":"boolean","nullable":true},"flexProfileTripwires":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexProfileTripwire"}}}},"trading-api_GlobalDomainEntityTripwireValueType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"flexProfileTripwires":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexProfileTripwire"}}}},"trading-api_GlobalDomainEntityFlexProfileTripwireNotificationLog":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"flexProfileTripwireId":{"type":"string","format":"guid","nullable":true},"sentDateTime":{"type":"string","format":"date-time"},"flexProfileTripwire":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexProfileTripwire"}]}}},"trading-api_GlobalDomainEntityFlexRollingCover":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"flexibleProfileId":{"type":"string","format":"guid"},"flexPeriodId":{"type":"string","format":"guid"},"coverPercentFrom":{"type":"integer","format":"int32"},"coverPercentTo":{"type":"integer","format":"int32"},"coverByDate":{"type":"string","format":"date-time"},"requestedByUserName":{"type":"string","nullable":true},"requestedDateTime":{"type":"string","format":"date-time"},"reviewedByUserName":{"type":"string","nullable":true},"reviewedDateTime":{"type":"string","format":"date-time","nullable":true},"reviewedFlexRollingCoverId":{"type":"string","format":"guid","nullable":true},"reviewStatusTypeId":{"type":"integer","format":"int32","nullable":true},"modifiedByUserName":{"type":"string","nullable":true},"modifiedDateTime":{"type":"string","format":"date-time","nullable":true},"isDeleted":{"type":"boolean"},"flexPeriod":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexPeriod"}]},"flexibleProfile":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexibleProfile"}]},"reviewStatusType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityReviewStatusType"}]},"reviewedFlexRollingCover":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexRollingCover"}]},"inverseReviewedFlexRollingCover":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexRollingCover"}}}},"trading-api_GlobalDomainEntityReviewStatusType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"flexProfileGovernances":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexProfileGovernance"}},"flexPurchasingRequirements":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexPurchasingRequirement"}},"flexRollingCovers":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexRollingCover"}}}},"trading-api_GlobalDomainEntityFlexPurchasingRequirement":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"flexibleProfileId":{"type":"string","format":"guid"},"flexPurchasingStrategyTypeId":{"type":"integer","format":"int32"},"flexProductTypeId":{"type":"integer","format":"int32"},"flexToleranceTypeId":{"type":"integer","format":"int32"},"sellBack":{"type":"boolean"},"sleeving":{"type":"boolean"},"floatPercent":{"type":"integer","format":"int32"},"renewablePercent":{"type":"integer","format":"int32"},"requestedByUserName":{"type":"string","nullable":true},"requestedDateTime":{"type":"string","format":"date-time"},"reviewedByUserName":{"type":"string","nullable":true},"reviewedDateTime":{"type":"string","format":"date-time","nullable":true},"reviewedFlexPurchasingRequirementId":{"type":"string","format":"guid","nullable":true},"reviewStatusTypeId":{"type":"integer","format":"int32","nullable":true},"modifiedByUserName":{"type":"string","nullable":true},"modifiedDateTime":{"type":"string","format":"date-time","nullable":true},"isDeleted":{"type":"boolean"},"flexProductType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexProductType"}]},"flexPurchasingStrategyType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexPurchasingStrategyType"}]},"flexToleranceType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexToleranceType"}]},"flexibleProfile":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexibleProfile"}]},"reviewStatusType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityReviewStatusType"}]},"reviewedFlexPurchasingRequirement":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexPurchasingRequirement"}]},"inverseReviewedFlexPurchasingRequirement":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexPurchasingRequirement"}}}},"trading-api_GlobalDomainEntityFlexProductType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"flexPurchasingRequirements":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexPurchasingRequirement"}}}},"trading-api_GlobalDomainEntityFlexPurchasingStrategyType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"flexPurchasingRequirements":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexPurchasingRequirement"}}}},"trading-api_GlobalDomainEntityFlexToleranceType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"value":{"type":"integer","format":"int32"},"flexPurchasingRequirements":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexPurchasingRequirement"}}}},"trading-api_GlobalDomainEntityFlexTradeProfilePeriodVolumeAllocation":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"flexibleProfileId":{"type":"string","format":"guid"},"flexPeriodId":{"type":"string","format":"guid"},"flexTradeId":{"type":"string","format":"guid"},"allocatedVolume":{"type":"number","format":"decimal"},"flexPeriod":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexPeriod"}]},"flexTrade":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexTrade"}]},"flexibleProfile":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexibleProfile"}]}}},"trading-api_GlobalDomainEntityFlexTrade":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"flexTradeTypeId":{"type":"integer","format":"int32"},"flexibleProfileId":{"type":"string","format":"guid"},"flexPeriodId":{"type":"string","format":"guid"},"unitPrice":{"type":"number","format":"decimal"},"volume":{"type":"integer","format":"int64"},"tradeDateTime":{"type":"string","format":"date-time"},"createdByUserName":{"type":"string","nullable":true},"createdDateTime":{"type":"string","format":"date-time"},"modifiedByUserName":{"type":"string","nullable":true},"modifiedDateTime":{"type":"string","format":"date-time","nullable":true},"isDeleted":{"type":"boolean"},"flexPeriod":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexPeriod"}]},"flexTradeType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexTradeType"}]},"flexibleProfile":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexibleProfile"}]},"flexTradeProfilePeriodVolumeAllocations":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexTradeProfilePeriodVolumeAllocation"}}}},"trading-api_GlobalDomainEntityFlexTradeType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"flexTrades":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexTrade"}}}},"trading-api_GlobalDomainEntityFlexTradeProfilePeriodVolumeRequirement":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"flexibleProfileId":{"type":"string","format":"guid"},"flexPeriodId":{"type":"string","format":"guid"},"requiredVolume":{"type":"integer","format":"int64"},"deletedToken":{"type":"string","format":"guid"},"createdDateTime":{"type":"string","format":"date-time"},"createdByUserName":{"type":"string","nullable":true},"flexPeriod":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexPeriod"}]},"flexibleProfile":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFlexibleProfile"}]}}},"trading-api_GlobalDomainEntityTerminationReminder":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"customerId":{"type":"string","format":"guid"},"customer":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomer"}]},"customerCompanyId":{"type":"string","format":"guid"},"customerCompany":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomerCompany"}]},"contractHistories":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityTerminationReminderContractHistory"}},"created":{"type":"string","format":"date-time"},"sent":{"type":"string","format":"date-time","nullable":true}}},"trading-api_GlobalDomainEntityTerminationReminderContractHistory":{"type":"object","additionalProperties":false,"properties":{"terminationReminderId":{"type":"integer","format":"int32"},"terminationReminder":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityTerminationReminder"}]},"contractHistoryId":{"type":"string","format":"guid"}}},"trading-api_GlobalDomainEntitySupplier":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"firstName":{"type":"string","nullable":true},"lastName":{"type":"string","nullable":true},"supplierCompanyId":{"type":"string","format":"guid"},"email":{"type":"string","nullable":true},"clientTypeId":{"type":"integer","format":"int32"},"isDeleted":{"type":"boolean"},"telephone":{"type":"string","nullable":true},"clientPerson":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientPerson"}]},"clientType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientType"}]},"supplierQuotes":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntitySupplierQuote"}}}},"trading-api_GlobalDomainEntitySupplierQuote":{"type":"object","additionalProperties":false,"properties":{"quoteId":{"type":"string","format":"guid"},"supplierId":{"type":"string","format":"guid"},"notInterested":{"type":"boolean"},"quote":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityQuote"}]},"supplier":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntitySupplier"}]}}},"trading-api_GlobalDomainEntityQuote":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"quoteId":{"type":"string","nullable":true},"customerCompanyId":{"type":"string","format":"guid","nullable":true},"supplierCompanyId":{"type":"string","format":"guid","nullable":true},"customerId":{"type":"string","format":"guid","nullable":true},"supplierId":{"type":"string","format":"guid","nullable":true},"quoteRequestId":{"type":"string","format":"guid","nullable":true},"tolerance":{"type":"integer","format":"int32","nullable":true},"green":{"type":"boolean","nullable":true},"contractExpiryTime":{"type":"string","format":"date-time","nullable":true},"fixOrPassThrough":{"type":"boolean","nullable":true},"fixedRenewableObligation":{"type":"boolean","nullable":true},"settlement":{"type":"boolean","nullable":true},"daDc":{"type":"boolean","nullable":true},"climateChangeLevy":{"type":"boolean","nullable":true},"mop":{"type":"boolean","nullable":true},"reactivePower":{"type":"boolean","nullable":true},"feedInTarrifs":{"type":"boolean","nullable":true},"durationAccepted_ToDelete":{"type":"string","nullable":true},"supplierUploadedContractId":{"type":"string","format":"guid","nullable":true},"customerSignedContractId":{"type":"string","format":"guid","nullable":true},"supplierCountersignedContractId":{"type":"string","format":"guid","nullable":true},"comment":{"type":"string","nullable":true},"priceLocked":{"type":"boolean"},"datePosted":{"type":"string","format":"date-time","nullable":true},"accepted":{"type":"boolean","nullable":true},"reopenedFromQuoteId":{"type":"string","format":"guid","nullable":true},"overridenWithQuoteId":{"type":"string","format":"guid","nullable":true},"decisionDate":{"type":"string","format":"date-time","nullable":true},"posted":{"type":"boolean"},"transportationChargets3State":{"type":"integer","format":"int32"},"meteringChargets3State":{"type":"integer","format":"int32"},"dcDaCharge":{"type":"integer","format":"int32","nullable":true},"productName":{"type":"string","nullable":true},"supplierProductId":{"type":"string","format":"guid","nullable":true},"duration_ToDelete":{"type":"string","nullable":true},"contractLengthsId":{"type":"string","format":"guid","nullable":true},"active":{"type":"boolean","nullable":true},"dateOpened":{"type":"string","format":"date-time","nullable":true},"feedInTarrifs3State":{"type":"integer","format":"int32"},"fixedRenewableObligation3State":{"type":"integer","format":"int32"},"climateChangeLevy3State":{"type":"integer","format":"int32"},"duosTuos3State":{"type":"integer","format":"int32"},"contractStartDate_ToDelete":{"type":"string","format":"date-time","nullable":true},"priceLockedDate":{"type":"string","format":"date-time","nullable":true},"initialQuoteContractFileId":{"type":"string","format":"guid","nullable":true},"dUoSState":{"type":"integer","format":"int32"},"tUoSState":{"type":"integer","format":"int32"},"bsUoSState":{"type":"integer","format":"int32"},"elxeonState":{"type":"integer","format":"int32"},"aahedcState":{"type":"integer","format":"int32"},"managementFeeState":{"type":"integer","format":"int32"},"unidentifiedGasChargeState":{"type":"integer","format":"int32"},"renewableDiscount":{"type":"number","format":"double"},"paymentTermsState":{"type":"integer","format":"int32"},"billingSetupState":{"type":"integer","format":"int32"},"passedCreditState":{"type":"integer","format":"int32"},"cfD3State":{"type":"integer","format":"int32"},"creditStatus":{"type":"integer","format":"int32"},"isLatestQuote":{"type":"boolean"},"offerStatusId":{"type":"string","format":"guid","nullable":true},"carbonIntensityScore":{"type":"string","nullable":true},"carbonIntensity":{"type":"integer","format":"int32"},"contributionToGoodCauses":{"type":"number","format":"double","nullable":true},"pricesPulled":{"type":"boolean","nullable":true},"pricesPulledOn":{"type":"string","format":"date-time","nullable":true},"deleted":{"type":"boolean","nullable":true},"quoteRanks":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityQuoteRank"}},"supplierQuotes":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntitySupplierQuote"}},"supplierProduct":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntitySupplierProduct"}]},"meterQuoteExcludeds":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityMeterQuoteExcluded"}},"contractLengths":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityContractLengths"}]},"contractHistories":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityContractHistory"}}}},"trading-api_GlobalDomainEntityQuoteRank":{"type":"object","additionalProperties":false,"properties":{"quoteRankEventId":{"type":"string","format":"guid"},"quoteId":{"type":"string","format":"guid"},"rank":{"type":"integer","format":"int32"},"quote":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityQuote"}]},"quoteRankEvent":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityQuoteRankEvent"}]}}},"trading-api_GlobalDomainEntityQuoteRankEvent":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"quoteRequestId":{"type":"string","format":"guid"},"duration_ToDelete":{"type":"integer","format":"int32","nullable":true},"contractLengthsId":{"type":"string","format":"guid","nullable":true},"eventDateTime":{"type":"string","format":"date-time"},"isDeleted":{"type":"boolean"},"quoteRequest":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityQuoteRequest"}]},"quoteRanks":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityQuoteRank"}},"contractLengths":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityContractLengths"}]}}},"trading-api_GlobalDomainEntityQuoteRequest":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"archived":{"type":"boolean","nullable":true},"quoteId":{"type":"string","nullable":true},"customerCompanyId":{"type":"string","format":"guid","nullable":true},"customerId":{"type":"string","format":"guid","nullable":true},"contractDurationInMonths_ToDelete":{"type":"integer","format":"int32","nullable":true},"endDate_ToDelete":{"type":"string","format":"date-time","nullable":true},"contractDurationInMonths2_ToDelete":{"type":"integer","format":"int32","nullable":true},"endDate2_ToDelete":{"type":"string","format":"date-time","nullable":true},"utility":{"type":"integer","format":"int32","nullable":true},"datePosted":{"type":"string","format":"date-time"},"tenderDate":{"type":"string","format":"date-time","nullable":true},"greenEnergy":{"type":"boolean","nullable":true},"unitRateMargin":{"type":"number","format":"double"},"fixedFee":{"type":"number","format":"double"},"feeTransparent":{"type":"boolean"},"directFeeFromClient":{"type":"boolean"},"closeReason":{"type":"integer","format":"int32"},"closeDate":{"type":"string","format":"date-time","nullable":true},"comments":{"type":"string","nullable":true},"commission":{"type":"number","format":"double","nullable":true},"tenderTypeId":{"type":"integer","format":"int32"},"subQuoteTypeId":{"type":"integer","format":"int32","nullable":true},"pricingDeadline":{"type":"string","format":"duration","nullable":true},"procurementTypeId":{"type":"integer","format":"int32"},"tenderType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityTenderType"}]},"quoteRankEvents":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityQuoteRankEvent"}},"quoteRequestHistories":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityQuoteRequestHistory"}},"quoteRequestMeters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityQuoteRequestMeter"}},"supplierQuoteRequests":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntitySupplierQuoteRequest"}},"tenderForecastConsumptions":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityTenderForecastConsumption"}},"meterQuoteExcludeds":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityMeterQuoteExcluded"}}}},"trading-api_GlobalDomainEntityTenderType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"quoteRequests":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityQuoteRequest"}}}},"trading-api_GlobalDomainEntityQuoteRequestHistory":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"quoteRequestId":{"type":"string","format":"guid"},"quoteRequestDetail":{"type":"string","nullable":true},"createdDateTime":{"type":"string","format":"date-time"},"supplierInformed":{"type":"boolean","nullable":true},"quoteRequest":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityQuoteRequest"}]}}},"trading-api_GlobalDomainEntityQuoteRequestMeter":{"type":"object","additionalProperties":false,"properties":{"quoteRequestId":{"type":"string","format":"guid"},"meterId":{"type":"string","format":"guid"},"contractStartDate":{"type":"string","format":"date-time","nullable":true},"quoteRequest":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityQuoteRequest"}]}}},"trading-api_GlobalDomainEntitySupplierQuoteRequest":{"type":"object","additionalProperties":false,"properties":{"quoteRequestId":{"type":"string","format":"guid"},"supplierCompanyId":{"type":"string","format":"guid"},"read":{"type":"boolean","nullable":true},"accepted":{"type":"boolean","nullable":true},"submitted":{"type":"boolean"},"verifiedByAdmin":{"type":"boolean","nullable":true},"contactEmails":{"type":"string","nullable":true},"isInvited":{"type":"boolean","nullable":true},"isMatrix":{"type":"boolean","nullable":true},"quoteRequest":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityQuoteRequest"}]}}},"trading-api_GlobalDomainEntityTenderForecastConsumption":{"type":"object","additionalProperties":false,"properties":{"quoteRequestId":{"type":"string","format":"guid"},"duration":{"type":"integer","format":"int32"},"meterId":{"type":"string","format":"guid"},"dayConsumption":{"type":"integer","format":"int32","nullable":true},"nightConsumption":{"type":"integer","format":"int32","nullable":true},"gasConsumption":{"type":"integer","format":"int32","nullable":true},"capacity":{"type":"integer","format":"int32","nullable":true},"waterConsumption":{"type":"integer","format":"int32","nullable":true},"contractLengthsId":{"type":"string","format":"guid","nullable":true},"meter":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityMeter"}]},"quoteRequest":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityQuoteRequest"}]},"contractLengths":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityContractLengths"}]}}},"trading-api_GlobalDomainEntityMeter":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"meterType":{"type":"integer","format":"int32"},"siteId":{"type":"string","format":"guid","nullable":true},"name":{"type":"string","nullable":true},"number":{"type":"string","nullable":true},"expectedConsumption":{"type":"integer","format":"int32","nullable":true},"supplyContractEndDate":{"type":"string","format":"date-time","nullable":true},"capacity":{"type":"integer","format":"int32","nullable":true},"currentSupplierId":{"type":"string","format":"guid","nullable":true},"currentAnnualSpend":{"type":"number","format":"double","nullable":true},"hasTerminationBeenServed":{"type":"boolean","nullable":true},"gasEmergencyContactPhone":{"type":"string","nullable":true},"gasEmergencyContactFax":{"type":"string","nullable":true},"gasEmergencyContactEmail":{"type":"string","nullable":true},"currentRate":{"type":"number","format":"double","nullable":true},"desireToSwitch":{"type":"integer","format":"int32","nullable":true},"profileClass":{"type":"string","nullable":true},"active":{"type":"boolean","nullable":true},"currentContractStartDate":{"type":"string","format":"date-time","nullable":true},"currentContractTenderDate":{"type":"string","format":"date-time","nullable":true},"_TO_DELETE_ProcurementType":{"type":"integer","format":"int32"},"meterTimeSwitchCode":{"type":"string","nullable":true},"lineLossFactor":{"type":"string","nullable":true},"isCCLInclusive":{"type":"boolean","nullable":true},"waterUnitRate":{"type":"number","format":"double","nullable":true},"waterAnnualStandingCharge":{"type":"number","format":"double","nullable":true},"waterRTSUnitRate":{"type":"number","format":"double","nullable":true},"waterRTSConsumption":{"type":"integer","format":"int32","nullable":true},"waterCurrentIncomingSupplierId":{"type":"string","format":"guid","nullable":true},"waterCurrentSewerageSupplierId":{"type":"string","format":"guid","nullable":true},"hasTradeEffluentAgreement":{"type":"boolean","nullable":true},"waterRTSAnnualStandingCharge":{"type":"number","format":"double","nullable":true},"waterRTSContractEndDate":{"type":"string","format":"date-time","nullable":true},"basketCustomerCompanyId":{"type":"string","format":"guid","nullable":true},"waterMeterNumber":{"type":"string","nullable":true},"spidWaste":{"type":"string","nullable":true},"spidSWHD":{"type":"string","nullable":true},"swHD":{"type":"string","nullable":true},"swHdBasis":{"type":"integer","format":"int32","nullable":true},"deleteReason":{"type":"integer","format":"int32","nullable":true},"deleteNote":{"type":"string","nullable":true},"deleteDate":{"type":"string","format":"date-time","nullable":true},"copTypeId":{"type":"string","format":"guid","nullable":true},"meterPhaseId":{"type":"string","format":"guid","nullable":true},"metered":{"type":"boolean","nullable":true},"isInDataImport":{"type":"boolean","nullable":true},"basketCustomerCompany":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomerCompany"}]},"copType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCopType"}]},"meterPhase":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityMeterPhase"}]},"histories":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCclHistory"}},"meterAgents":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityMeterAgent"}},"meterDetails":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFundMeterDetail"}},"tenderForecastConsumptions":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityTenderForecastConsumption"}},"contractHistories":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityContractHistory"}},"site":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntitySite"}]},"meterQuoteExcludeds":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityMeterQuoteExcluded"}}}},"trading-api_GlobalDomainEntityCopType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string","nullable":true},"sortOrder":{"type":"integer","format":"int32","nullable":true},"meters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityMeter"}}}},"trading-api_GlobalDomainEntityMeterPhase":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string","nullable":true},"sortOrder":{"type":"integer","format":"int32","nullable":true},"meters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityMeter"}}}},"trading-api_GlobalDomainEntityCclHistory":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"meterId":{"type":"string","format":"guid"},"cclId":{"type":"string","format":"guid"},"reasonId":{"type":"integer","format":"int32"},"cclDiscountPercentage":{"type":"number","format":"decimal"},"taxableYearStart":{"type":"string","format":"date-time"},"taxableYearEnd":{"type":"string","format":"date-time"},"documentRefId":{"type":"integer","format":"int32","nullable":true},"isDeleted":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time"},"ccl":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCclCcl"}]},"meter":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityMeter"}]},"reason":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCclReason"}]},"notifications":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCclNotification"}}}},"trading-api_GlobalDomainEntityCclCcl":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"taxableYearStart":{"type":"string","format":"date-time"},"taxableYearEnd":{"type":"string","format":"date-time"},"electricity":{"type":"number","format":"decimal"},"gas":{"type":"number","format":"decimal"},"lpg":{"type":"number","format":"decimal"},"other":{"type":"number","format":"decimal"},"isDeleted":{"type":"boolean"},"histories":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCclHistory"}}}},"trading-api_GlobalDomainEntityCclReason":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"reasonText":{"type":"string","nullable":true},"histories":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCclHistory"}}}},"trading-api_GlobalDomainEntityCclNotification":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"cclHistoryId":{"type":"string","format":"guid"},"dateSent":{"type":"string","format":"date-time"},"cclHistory":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCclHistory"}]}}},"trading-api_GlobalDomainEntityMeterAgent":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"meterId":{"type":"string","format":"guid"},"agentTypeId":{"type":"integer","format":"int32"},"agentId":{"type":"string","format":"guid"},"appointedById":{"type":"integer","format":"int32","nullable":true},"appointedDate":{"type":"string","format":"date-time","nullable":true},"endDate":{"type":"string","format":"date-time","nullable":true},"agentContractTypeId":{"type":"integer","format":"int32","nullable":true},"annualSpend":{"type":"number","format":"decimal","nullable":true},"agent":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityAgent"}]},"agentContractType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityAgentContractType"}]},"agentType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityAgentType"}]},"meter":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityMeter"}]}}},"trading-api_GlobalDomainEntityAgent":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string","nullable":true},"agentAgentTypes":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityAgentAgentType"}},"meterAgents":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityMeterAgent"}}}},"trading-api_GlobalDomainEntityAgentAgentType":{"type":"object","additionalProperties":false,"properties":{"agentId":{"type":"string","format":"guid"},"agentTypeId":{"type":"integer","format":"int32"},"agent":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityAgent"}]},"agentType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityAgentType"}]}}},"trading-api_GlobalDomainEntityAgentType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"agentAgentTypes":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityAgentAgentType"}},"meterAgents":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityMeterAgent"}}}},"trading-api_GlobalDomainEntityAgentContractType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"meterAgents":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityMeterAgent"}}}},"trading-api_GlobalDomainEntityFundMeterDetail":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"meterId":{"type":"string","format":"guid"},"joinDateTime":{"type":"string","format":"date-time"},"startDate":{"type":"string","format":"date-time"},"endDate":{"type":"string","format":"date-time"},"leaveDateTime":{"type":"string","format":"date-time"},"deletedToken":{"type":"string","format":"guid"},"meter":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityMeter"}]},"periodMeterDetails":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFundPeriodMeterDetail"}}}},"trading-api_GlobalDomainEntityFundPeriodMeterDetail":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"periodId":{"type":"string","format":"guid"},"meterDetailId":{"type":"string","format":"guid"},"forecastVolume":{"type":"integer","format":"int32"},"baseloadVolume":{"type":"number","format":"decimal","nullable":true},"stopLossPercentage":{"type":"number","format":"decimal","nullable":true},"meterDetail":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFundMeterDetail"}]},"period":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFundPeriod"}]},"periodMeterDetailTrades":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFundPeriodMeterDetailTrade"}}}},"trading-api_GlobalDomainEntityFundPeriod":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"periodTypeId":{"type":"integer","format":"int32"},"year":{"type":"integer","format":"int32"},"isHiddenFromCustomerPerformance":{"type":"boolean"},"periodType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFundPeriodType"}]},"periodCommodities":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFundPeriodCommodity"}},"periodMeterDetails":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFundPeriodMeterDetail"}},"trades":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFundTrade"}}}},"trading-api_GlobalDomainEntityFundPeriodType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"month":{"type":"integer","format":"int32","nullable":true},"parentPeriodTypeId":{"type":"integer","format":"int32","nullable":true},"isDeleted":{"type":"boolean"},"sortOrder":{"type":"integer","format":"int32"},"parentPeriodType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFundPeriodType"}]},"childPeriodTypes":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFundPeriodType"}},"periods":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFundPeriod"}}}},"trading-api_GlobalDomainEntityFundPeriodCommodity":{"type":"object","additionalProperties":false,"properties":{"periodId":{"type":"string","format":"guid"},"commodityTypeId":{"type":"string","format":"guid"},"isConsumptionLevelPeriod":{"type":"boolean"},"tradingEarlyCloseDate":{"type":"string","format":"date-time","nullable":true},"commodityType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCommodityType"}]},"period":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFundPeriod"}]}}},"trading-api_GlobalDomainEntityFundTrade":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"tradeTypeId":{"type":"integer","format":"int32"},"commodityTypeId":{"type":"string","format":"guid"},"periodId":{"type":"string","format":"guid"},"unitPrice":{"type":"number","format":"decimal"},"baseloadVolume":{"type":"integer","format":"int32"},"residualVolume":{"type":"integer","format":"int32"},"tradeDateTime":{"type":"string","format":"date-time"},"createdByUserName":{"type":"string","nullable":true},"createdDateTime":{"type":"string","format":"date-time"},"isDeleted":{"type":"boolean"},"isDemo":{"type":"boolean"},"commodityType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCommodityType"}]},"period":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFundPeriod"}]},"tradeType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFundTradeType"}]},"periodMeterDetailTrades":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFundPeriodMeterDetailTrade"}}}},"trading-api_GlobalDomainEntityFundTradeType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"trades":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFundTrade"}}}},"trading-api_GlobalDomainEntityFundPeriodMeterDetailTrade":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"periodMeterDetailId":{"type":"string","format":"guid"},"tradeId":{"type":"string","format":"guid"},"allocatedBaseloadVolume":{"type":"number","format":"decimal"},"allocatedResidualVolume":{"type":"number","format":"decimal"},"periodMeterDetail":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFundPeriodMeterDetail"}]},"trade":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityFundTrade"}]}}},"trading-api_GlobalDomainEntityContractHistory":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"meterId":{"type":"string","format":"guid"},"dateTraded":{"type":"string","format":"date-time"},"contractStartDate":{"type":"string","format":"date-time"},"contractEndDate":{"type":"string","format":"date-time"},"supplierId":{"type":"string","format":"guid"},"originalProduct":{"type":"string","nullable":true},"dayRate":{"type":"number","format":"double","nullable":true},"nightRate":{"type":"number","format":"double","nullable":true},"standingCharge":{"type":"number","format":"double"},"capacityCharge":{"type":"number","format":"double","nullable":true},"contractedConsumption":{"type":"number","format":"double"},"contractedAnnualSpend":{"type":"number","format":"double"},"unitCharge":{"type":"number","format":"double","nullable":true},"waterRTSUnitCharge":{"type":"number","format":"double","nullable":true},"waterRTSContractedConsumption":{"type":"number","format":"double","nullable":true},"waterSupplierIncomingId":{"type":"string","format":"guid","nullable":true},"waterSupplierIncomingProduct":{"type":"string","nullable":true},"waterSupplierSewerageId":{"type":"string","format":"guid","nullable":true},"waterSupplierSewerageProduct":{"type":"string","nullable":true},"waterRTSStandingCharge":{"type":"number","format":"double","nullable":true},"rtsDateTraded":{"type":"string","format":"date-time","nullable":true},"rtsStartDate":{"type":"string","format":"date-time","nullable":true},"rtsEndDate":{"type":"string","format":"date-time","nullable":true},"supplierProductId":{"type":"string","format":"guid","nullable":true},"swHD":{"type":"string","nullable":true},"swHdBasis":{"type":"integer","format":"int32","nullable":true},"capacityChargePenceKvaPerDay":{"type":"number","format":"double","nullable":true},"capacityChargePoundsPerKvaPerMonth":{"type":"number","format":"double","nullable":true},"standingChargePoundsPerMonth":{"type":"number","format":"double","nullable":true},"standingChargePencePerDay":{"type":"number","format":"double","nullable":true},"customerTerminationReminderSent":{"type":"string","format":"date-time","nullable":true},"meter":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityMeter"}]},"quoteId":{"type":"string","format":"guid","nullable":true},"quote":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityQuote"}]},"contractHistoryNonCommodities":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityContractHistoryNonCommodity"}}}},"trading-api_GlobalDomainEntityContractHistoryNonCommodity":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"contractHistoryId":{"type":"string","format":"guid"},"startDate":{"type":"string","format":"date-time"},"consumption":{"type":"integer","format":"int32","nullable":true},"capacity":{"type":"integer","format":"int32","nullable":true},"standingChargeUnitRate":{"type":"number","format":"double","nullable":true},"capacityUnitRate":{"type":"number","format":"double","nullable":true},"description1":{"type":"string","nullable":true},"consumption1":{"type":"integer","format":"int32","nullable":true},"unitRate1":{"type":"number","format":"double","nullable":true},"description2":{"type":"string","nullable":true},"consumption2":{"type":"integer","format":"int32","nullable":true},"unitRate2":{"type":"number","format":"double","nullable":true},"description3":{"type":"string","nullable":true},"consumption3":{"type":"integer","format":"int32","nullable":true},"unitRate3":{"type":"number","format":"double","nullable":true},"description4":{"type":"string","nullable":true},"consumption4":{"type":"integer","format":"int32","nullable":true},"unitRate4":{"type":"number","format":"double","nullable":true},"description5":{"type":"string","nullable":true},"consumption5":{"type":"integer","format":"int32","nullable":true},"unitRate5":{"type":"number","format":"double","nullable":true},"description6":{"type":"string","nullable":true},"consumption6":{"type":"integer","format":"int32","nullable":true},"unitRate6":{"type":"number","format":"double","nullable":true},"isDeleted":{"type":"boolean"}}},"trading-api_GlobalDomainEntitySite":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"customerCompanyId":{"type":"string","format":"guid","nullable":true},"name":{"type":"string","nullable":true},"contactName":{"type":"string","nullable":true},"phoneNo":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"address1":{"type":"string","nullable":true},"address2":{"type":"string","nullable":true},"address3":{"type":"string","nullable":true},"address4":{"type":"string","nullable":true},"postcode":{"type":"string","nullable":true},"sitePictureId":{"type":"string","format":"guid","nullable":true},"budgetAimingFor":{"type":"number","format":"double","nullable":true},"headOffice":{"type":"boolean"},"active":{"type":"boolean","nullable":true},"siteId":{"type":"string","nullable":true},"siteArea":{"type":"string","nullable":true},"billValidations":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityBillValidation"}},"customerCompany":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomerCompany"}]},"meters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityMeter"}}}},"trading-api_GlobalDomainEntityMeterQuoteExcluded":{"type":"object","additionalProperties":false,"properties":{"quoteId":{"type":"string","format":"guid"},"meterId":{"type":"string","format":"guid"},"duration":{"type":"integer","format":"int32"},"quoteRequestId":{"type":"string","format":"guid"},"standingCharge":{"type":"number","format":"double","nullable":true},"standingChargeFormat":{"type":"string","nullable":true},"unitPrice":{"type":"number","format":"double","nullable":true},"dayUnitRate":{"type":"number","format":"double","nullable":true},"nightUnitRate":{"type":"number","format":"double","nullable":true},"capacityCharge":{"type":"number","format":"double","nullable":true},"contractStartDate":{"type":"string","format":"date-time","nullable":true},"sewerUnitRate":{"type":"number","format":"double","nullable":true},"sewerStandingCharge":{"type":"number","format":"double","nullable":true},"sewerStandingChargeFormat":{"type":"string","nullable":true},"contractLengthsId":{"type":"string","format":"guid","nullable":true},"contractLengths":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityContractLengths"}]},"quoteRequest":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityQuoteRequest"}]},"meter":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityMeter"}]},"quote":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityQuote"}]}}},"trading-api_GlobalDomainEntityContractLengths":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"quoteRequestId":{"type":"string","format":"guid","nullable":true},"ojeuTenderId":{"type":"string","format":"guid","nullable":true},"contractLength":{"type":"integer","format":"int32"},"endDate":{"type":"string","format":"date-time","nullable":true},"isLatestQuote":{"type":"boolean"},"meterQuoteExcludeds":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityMeterQuoteExcluded"}},"supplierQuotePricesSubmissions":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntitySupplierQuotePricesSubmission"}},"quoteRankEvents":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityQuoteRankEvent"}},"quotes":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityQuote"}}}},"trading-api_GlobalDomainEntitySupplierQuotePricesSubmission":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"dateSubmitted":{"type":"string","format":"date-time"},"active":{"type":"boolean","nullable":true},"quoteRequestId":{"type":"string","format":"guid"},"supplierCompanyId":{"type":"string","format":"guid"},"documentFileId":{"type":"string","format":"guid"},"productName":{"type":"string","nullable":true},"renewable":{"type":"boolean"},"ro":{"type":"integer","format":"int32"},"fit":{"type":"integer","format":"int32"},"dcDa":{"type":"boolean"},"duosTuos":{"type":"integer","format":"int32"},"ccl":{"type":"integer","format":"int32"},"metering":{"type":"integer","format":"int32"},"comment":{"type":"string","nullable":true},"manualPriceEntry":{"type":"string","nullable":true},"duration_ToDelete":{"type":"string","nullable":true},"supplierProductId":{"type":"string","format":"guid","nullable":true},"contractLengthsId":{"type":"string","format":"guid","nullable":true},"contractLengths":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityContractLengths"}]}}},"trading-api_GlobalDomainEntitySupplierProduct":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"supplierCompanyId":{"type":"string","format":"guid"},"productName":{"type":"string","nullable":true},"utility":{"type":"integer","format":"int32"},"fiT":{"type":"integer","format":"int32","nullable":true},"ro":{"type":"integer","format":"int32","nullable":true},"cfd":{"type":"integer","format":"int32","nullable":true},"bsuos":{"type":"integer","format":"int32","nullable":true},"duosTuos":{"type":"integer","format":"int32","nullable":true},"carbonIntensity":{"type":"integer","format":"int32"},"transportation":{"type":"integer","format":"int32","nullable":true},"ugc":{"type":"integer","format":"int32","nullable":true},"metering":{"type":"integer","format":"int32","nullable":true},"tolerance":{"type":"integer","format":"int32","nullable":true},"fileParserId":{"type":"string","format":"guid","nullable":true},"quotes":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityQuote"}}}},"trading-api_GlobalDomainEntitySupplierCompany":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string","nullable":true},"registeredAddress":{"type":"string","nullable":true},"profile":{"type":"string","nullable":true},"logoImageFileId":{"type":"string","format":"guid","nullable":true},"fixedElectricitySupplier":{"type":"boolean","nullable":true},"fixedGasSupplier":{"type":"boolean","nullable":true},"halfHourlyDataFormat":{"type":"integer","format":"int32","nullable":true},"minimalElectricityVolume":{"type":"integer","format":"int32","nullable":true},"minimalGasVolume":{"type":"integer","format":"int32","nullable":true},"carbonIntensity":{"type":"integer","format":"int32","nullable":true},"carbonIntensityScore":{"type":"string","nullable":true},"clientTypeId":{"type":"integer","format":"int32"},"terminationEmail":{"type":"string","nullable":true},"terminationDays":{"type":"integer","format":"int32"},"flexElectricitySupplier":{"type":"boolean"},"flexGasSupplier":{"type":"boolean"},"clientOrganisation":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientOrganisation"}]},"clientType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientType"}]},"applications":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityDpsApplication"}},"providers":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityIntervalProvider"}}}},"trading-api_GlobalDomainEntityDpsApplication":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"frameworkId":{"type":"string","format":"guid"},"supplierCompanyId":{"type":"string","format":"guid"},"submittedDateTime":{"type":"string","format":"date-time","nullable":true},"submitterIpAddress":{"type":"string","nullable":true},"submitterSupplierUserId":{"type":"string","format":"guid","nullable":true},"submitterSupplierUserName":{"type":"string","nullable":true},"framework":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityDpsFramework"}]},"supplierCompany":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntitySupplierCompany"}]},"applicationDocuments":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityDpsApplicationDocument"}},"applicationStatusHistories":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityDpsApplicationStatusHistory"}}}},"trading-api_GlobalDomainEntityDpsFramework":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"partnerPortalDetailId":{"type":"string","format":"guid"},"fromDateTime":{"type":"string","format":"date-time"},"toDateTime":{"type":"string","format":"date-time"},"isContributionToGoodCausesEnabled":{"type":"boolean"},"partnerPortalDetail":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityPartnerPortalDetail"}]},"applications":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityDpsApplication"}},"frameworkDocuments":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityDpsFrameworkDocument"}},"ojeuTenders":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityOjeuTender"}}}},"trading-api_GlobalDomainEntityPartnerPortalDetail":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"parentUserAccountId":{"type":"string","format":"guid","nullable":true},"name":{"type":"string","nullable":true},"subdomain":{"type":"string","nullable":true},"emailAddress":{"type":"string","nullable":true},"webAddress":{"type":"string","nullable":true},"telephoneNumber":{"type":"string","nullable":true},"logoFileUrl":{"type":"string","nullable":true},"sourceWebsiteTitle":{"type":"string","nullable":true},"emailSignature":{"type":"string","nullable":true},"emailSourceAddress":{"type":"string","nullable":true},"emailDisplayName":{"type":"string","nullable":true},"loaFileUrl":{"type":"string","nullable":true},"cssTheme":{"type":"string","nullable":true},"baseUrl":{"type":"string","nullable":true},"emailLogoFileUrl":{"type":"string","nullable":true},"active":{"type":"boolean"},"isOEMWebsite":{"type":"boolean"},"createdOn":{"type":"string","format":"date-time"},"lastModifiedOn":{"type":"string","format":"date-time"},"favIconUrl":{"type":"string","nullable":true},"pdfReportLogoFileUrl":{"type":"string","nullable":true},"logoFileImageId":{"type":"string","format":"guid","nullable":true},"loaFileId":{"type":"string","format":"guid","nullable":true},"emailLogoFileId":{"type":"string","format":"guid","nullable":true},"favIconFileId":{"type":"string","format":"guid","nullable":true},"pdfReportLogoFileId":{"type":"string","format":"guid","nullable":true},"dpsModuleEnabled":{"type":"boolean"},"showOEMInsight":{"type":"boolean"},"dpsModuleEnabledInSupplierPortal":{"type":"boolean"},"dpsTenderIdPrefix":{"type":"string","nullable":true},"frameworks":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityDpsFramework"}}}},"trading-api_GlobalDomainEntityDpsFrameworkDocument":{"type":"object","additionalProperties":false,"properties":{"frameworkId":{"type":"string","format":"guid"},"documentId":{"type":"string","format":"guid"},"document":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityDpsDocument"}]},"framework":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityDpsFramework"}]}}},"trading-api_GlobalDomainEntityDpsDocument":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"fileName":{"type":"string","nullable":true},"fileUrl":{"type":"string","nullable":true},"uploadedDateTime":{"type":"string","format":"date-time"},"applicationDocuments":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityDpsApplicationDocument"}},"frameworkDocuments":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityDpsFrameworkDocument"}}}},"trading-api_GlobalDomainEntityDpsApplicationDocument":{"type":"object","additionalProperties":false,"properties":{"applicationId":{"type":"string","format":"guid"},"documentId":{"type":"string","format":"guid"},"application":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityDpsApplication"}]},"document":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityDpsDocument"}]}}},"trading-api_GlobalDomainEntityOjeuTender":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"ojeuReferenceId":{"type":"string","nullable":true},"customerCompanyId":{"type":"string","format":"guid"},"commodity":{"type":"integer","format":"int32"},"tenderType":{"type":"integer","format":"int32"},"friendlyName":{"type":"string","nullable":true},"dateOpened":{"type":"string","format":"date-time","nullable":true},"tenderCloseDate":{"type":"string","format":"date-time","nullable":true},"lengthOfContractInMonths":{"type":"integer","format":"int32"},"isPublished":{"type":"boolean"},"winningSupplierId":{"type":"string","format":"guid","nullable":true},"active":{"type":"boolean"},"pointsForPricing":{"type":"integer","format":"int32"},"quoteRequestId":{"type":"string","format":"guid","nullable":true},"isFinalised":{"type":"boolean"},"customerFinalMessage":{"type":"string","nullable":true},"winnerVerifiedByAdmin":{"type":"boolean"},"isWinnerAcceptedByCustomer":{"type":"boolean"},"tenderVisibleFrom":{"type":"string","format":"date-time","nullable":true},"isArchived":{"type":"boolean","nullable":true},"comments":{"type":"string","nullable":true},"winningSupplierCompanyId":{"type":"string","format":"guid","nullable":true},"dpsFrameworkId":{"type":"string","format":"guid"},"startDate":{"type":"string","format":"date-time","nullable":true},"dpsFramework":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityDpsFramework"}]}}},"trading-api_GlobalDomainEntityDpsApplicationStatusHistory":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"applicationId":{"type":"string","format":"guid"},"statusTypeId":{"type":"integer","format":"int32"},"createdDateTime":{"type":"string","format":"date-time"},"createdByUserName":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"application":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityDpsApplication"}]},"statusType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityDpsStatusType"}]}}},"trading-api_GlobalDomainEntityDpsStatusType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"applicationStatusHistories":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityDpsApplicationStatusHistory"}}}},"trading-api_GlobalDomainEntityIntervalProvider":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string","nullable":true},"supplierCompanyId":{"type":"string","format":"guid","nullable":true},"timeZoneName":{"type":"string","nullable":true},"isZeroHoursDayEnd":{"type":"boolean"},"utilityTypeId":{"type":"integer","format":"int32"},"supplierCompany":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntitySupplierCompany"}]},"readings":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityIntervalReading"}}}},"trading-api_GlobalDomainEntityIntervalReading":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"meterId":{"type":"string","format":"guid"},"readingTypeId":{"type":"integer","format":"int32"},"date":{"type":"string","format":"date-time"},"providerId":{"type":"string","format":"guid"},"deletedToken":{"type":"string","format":"guid"},"createdDateTime":{"type":"string","format":"date-time"},"createdBy":{"type":"string","nullable":true},"intervals":{"type":"string","nullable":true},"unNormalisedTotal":{"type":"number","format":"decimal","nullable":true},"meter":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityIntervalMeterDetail"}]},"provider":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityIntervalProvider"}]},"readingType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityIntervalReadingType"}]},"normalisedAggregates":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityIntervalNormalisedAggregate"}}}},"trading-api_GlobalDomainEntityIntervalMeterDetail":{"type":"object","additionalProperties":false,"properties":{"meterId":{"type":"string","format":"guid"},"timeZoneName":{"type":"string","nullable":true},"sourceTypeId":{"type":"integer","format":"int32"},"sourceType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityIntervalSourceType"}]},"readings":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityIntervalReading"}}}},"trading-api_GlobalDomainEntityIntervalSourceType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"meterDetails":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityIntervalMeterDetail"}}}},"trading-api_GlobalDomainEntityIntervalReadingType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"powerTypeId":{"type":"integer","format":"int32"},"energyTypeId":{"type":"integer","format":"int32"},"isSettled":{"type":"boolean"},"description":{"type":"string","nullable":true},"energyType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityIntervalEnergyType"}]},"powerType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityIntervalPowerType"}]},"readings":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityIntervalReading"}}}},"trading-api_GlobalDomainEntityIntervalEnergyType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"readingTypes":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityIntervalReadingType"}}}},"trading-api_GlobalDomainEntityIntervalPowerType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"readingTypes":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityIntervalReadingType"}}}},"trading-api_GlobalDomainEntityIntervalNormalisedAggregate":{"type":"object","additionalProperties":false,"properties":{"readingId":{"type":"string","format":"guid"},"normalisedAggregateTypeId":{"type":"integer","format":"int32"},"value":{"type":"number","format":"decimal"},"time":{"type":"string","format":"duration","nullable":true},"createdDateTime":{"type":"string","format":"date-time"},"normalisedAggregateType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityIntervalNormalisedAggregateType"}]},"reading":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityIntervalReading"}]}}},"trading-api_GlobalDomainEntityIntervalNormalisedAggregateType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"aggregateFunctionTypeId":{"type":"integer","format":"int32"},"from":{"type":"string","format":"duration"},"to":{"type":"string","format":"duration"},"isDeleted":{"type":"boolean"},"aggregateFunctionType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityIntervalAggregateFunctionType"}]},"normalisedAggregates":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityIntervalNormalisedAggregate"}}}},"trading-api_GlobalDomainEntityIntervalAggregateFunctionType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"normalisedAggregateTypes":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityIntervalNormalisedAggregateType"}}}},"trading-api_GlobalDomainEntitySupplierWater":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string","nullable":true},"registeredAddress":{"type":"string","nullable":true},"logoImageField":{"type":"string","format":"guid","nullable":true},"clientTypeId":{"type":"integer","format":"int32"},"terminationEmail":{"type":"string","nullable":true},"terminationDays":{"type":"integer","format":"int32"},"clientOrganisation":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientOrganisation"}]},"clientType":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityClientType"}]}}},"trading-api_GlobalDomainEntityCustomerDocument":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"customerCompanyId":{"type":"string","format":"guid"},"fileName":{"type":"string","nullable":true},"fileUrl":{"type":"string","nullable":true},"dateUploaded":{"type":"string","format":"date-time"},"description":{"type":"string","nullable":true},"createdByUserName":{"type":"string","nullable":true},"referenceId":{"type":"integer","format":"int32"},"version":{"type":"integer","format":"int32"},"documentStatusId":{"type":"integer","format":"int32"},"modifiedByUserName":{"type":"string","nullable":true},"modifiedDateTime":{"type":"string","format":"date-time","nullable":true},"isDeleted":{"type":"boolean"},"customerCompany":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomerCompany"}]},"documentStatus":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityDocumentStatus"}]},"customerDocumentTags":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomerDocumentTag"}}}},"trading-api_GlobalDomainEntityDocumentStatus":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"customerDocuments":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomerDocument"}}}},"trading-api_GlobalDomainEntityCustomerDocumentTag":{"type":"object","additionalProperties":false,"properties":{"customerDocumentId":{"type":"string","format":"guid"},"tagName":{"type":"string","nullable":true},"sortOrder":{"type":"integer","format":"int32"},"customerDocument":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomerDocument"}]}}},"trading-api_GlobalDomainEntityRegulationData":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"schemeId":{"type":"string","format":"guid"},"customerCompanyId":{"type":"string","format":"guid"},"refId":{"type":"integer","format":"int32"},"startDate":{"type":"string","format":"date-time"},"endDate":{"type":"string","format":"date-time"},"intensityMetric":{"type":"string","nullable":true},"intensityValue":{"type":"string","nullable":true},"trees":{"type":"number","format":"decimal","nullable":true},"documentRefId":{"type":"integer","format":"int32"},"actionTaken":{"type":"string","nullable":true},"isDeleted":{"type":"boolean"},"customerCompany":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomerCompany"}]},"scheme":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityRegulationScheme"}]},"sources":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityRegulationSource"}}}},"trading-api_GlobalDomainEntityRegulationScheme":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string","nullable":true},"data":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityRegulationData"}}}},"trading-api_GlobalDomainEntityRegulationSource":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"dataId":{"type":"string","format":"guid"},"activity":{"type":"string","nullable":true},"energy":{"type":"integer","format":"int32"},"emissions":{"type":"integer","format":"int32"},"isDeleted":{"type":"boolean"},"data":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityRegulationData"}]}}},"trading-api_GlobalDomainEntityNote":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"customerCompanyId":{"type":"string","format":"guid"},"referenceId":{"type":"string","nullable":true},"typeId":{"type":"integer","format":"int32"},"description":{"type":"string","nullable":true},"user":{"type":"string","nullable":true},"createdDate":{"type":"string","format":"date-time"},"lastModifiedDate":{"type":"string","format":"date-time"},"isPrivate":{"type":"boolean"},"customerCompany":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomerCompany"}]},"type":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityNoteType"}]},"noteLinks":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityNoteLink"}}}},"trading-api_GlobalDomainEntityNoteType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"typeName":{"type":"string","nullable":true},"notes":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityNote"}}}},"trading-api_GlobalDomainEntityNoteLink":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"noteId":{"type":"string","format":"guid"},"linkItemId":{"type":"string","format":"guid"},"note":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityNote"}]}}},"trading-api_GlobalDomainEntitySicCode":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"customerCompanyId":{"type":"string","format":"guid"},"sic":{"type":"string","nullable":true},"customerCompany":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomerCompany"}]}}},"trading-api_GlobalDomainEntityCo2OnsiteGeneration":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"customerCompanyId":{"type":"string","format":"guid"},"asset":{"type":"string","nullable":true},"installationDate":{"type":"string","format":"date-time"},"dailyCo2Saved":{"type":"number","format":"double"},"customerCompany":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomerCompany"}]}}},"trading-api_GlobalDomainEntityGreenEnergyContract":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"customerCompanyId":{"type":"string","format":"guid"},"utilityId":{"$ref":"#/components/schemas/trading-api_GlobalDomaincommonEnumsMeterType"},"startDate":{"type":"string","format":"date-time"},"endDate":{"type":"string","format":"date-time"},"kWh":{"type":"integer","format":"int32"},"customerCompany":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomerCompany"}]}}},"trading-api_GlobalDomaincommonEnumsMeterType":{"type":"integer","description":"","x-enumNames":["ElectricityHh","Gas","ElectricityNhh","Water"],"enum":[1,2,3,4]},"trading-api_GlobalDomainEntityExemptionComplianceScheme":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"customerCompanyId":{"type":"string","format":"guid"},"scheme":{"type":"string","nullable":true},"startDate":{"type":"string","format":"date-time"},"endDate":{"type":"string","format":"date-time"},"dailySaving":{"type":"number","format":"double"},"customerCompany":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityCustomerCompany"}]}}},"trading-api_GlobalDomainEntityInvoiceStatus":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"billValidations":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityBillValidation"}}}},"trading-api_GlobalDomainEntityInvoiceType":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"billValidations":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_GlobalDomainEntityBillValidation"}}}},"trading-api_TradingApiDtosFlexFlexPeriodTypeDto":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"month":{"type":"integer","format":"int32","nullable":true},"parentPeriodTypeId":{"type":"integer","format":"int32","nullable":true},"isDeleted":{"type":"boolean"},"sortOrder":{"type":"integer","format":"int32"},"childPeriodTypes":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosFlexFlexPeriodTypeDto"}}}},"trading-api_GetFlexTradeProfilePeriodVolumeRequirementsRequest":{"type":"object","additionalProperties":false,"properties":{"meterTypes":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_GlobalDomaincommonEnumsMeterType"}},"commodityTypeId":{"type":"string","format":"guid"},"flexibleProfileId":{"type":"string","format":"guid"}}},"trading-api_TradingApiDtosApiResponseOfGetVolumeRequirementsForFlexProfileResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_GetVolumeRequirementsForFlexProfileResponse"}]}}},"trading-api_GetVolumeRequirementsForFlexProfileResponse":{"type":"object","additionalProperties":false,"properties":{"volumeRequirements":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosFlexFlexTradeProfilePeriodVolumeRequirementDto"}}}},"trading-api_GetVolumeRequirementsForFlexProfileRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiApiTradingAlertsv2CreateTradingAlertRequest":{"type":"object","additionalProperties":false,"properties":{"commodityType":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertCommodityType"},"companyId":{"type":"string","format":"guid"},"tradeType":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertTradeType"},"triggerValue":{"type":"number","format":"decimal"},"polarity":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertPolarity"},"notes":{"type":"string"},"action":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertAction"},"flexProfileId":{"type":"string","format":"guid"},"flexPeriodId":{"type":"string","format":"guid"},"volume":{"type":"number","format":"decimal"},"createdBy":{"type":"string","format":"guid"},"createdByEmail":{"type":"string"},"flexPeriodStartDate":{"type":"string","format":"date-time"}}},"trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertCommodityType":{"type":"integer","description":"","x-enumNames":["Power","Gas"],"enum":[1,2]},"trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertTradeType":{"type":"integer","description":"","x-enumNames":["Buy","Sell"],"enum":[1,2]},"trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertPolarity":{"type":"integer","description":"","x-enumNames":["Positive","Negative"],"enum":[1,2]},"trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertAction":{"type":"integer","description":"","x-enumNames":["None","Recommend","DiscussPurchase","NotifyCustomer"],"enum":[0,1,2,3]},"trading-api_TradingApiApiTradingAlertsv2TradingAlertRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiDtosApiResponseOfTradingAlertBandsResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiApiTradingAlertsv2TradingAlertBandsResponse"}]}}},"trading-api_TradingApiApiTradingAlertsv2TradingAlertBandsResponse":{"type":"object","additionalProperties":false,"properties":{"tradingAlertBands":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiApiTradingAlertsv2TradingAlertBandDto"}}}},"trading-api_TradingApiApiTradingAlertsv2TradingAlertBandDto":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"tradingBandType":{"type":"integer","format":"int32"},"getReady":{"type":"number","format":"decimal"},"onAlert":{"type":"number","format":"decimal"}}},"trading-api_TradingApiDtosApiResponseOfTradingAlertsResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiApiTradingAlertsv2TradingAlertsResponse"}]}}},"trading-api_TradingApiApiTradingAlertsv2TradingAlertsResponse":{"type":"object","additionalProperties":false,"properties":{"lastPriceUpdate":{"type":"string","format":"date-time","nullable":true},"actionRequired":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiApiTradingAlertsv2TradingAlertDto"}},"onAlert":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiApiTradingAlertsv2TradingAlertDto"}},"getReady":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiApiTradingAlertsv2TradingAlertDto"}},"safe":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiApiTradingAlertsv2TradingAlertDto"}},"noMarketValue":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiApiTradingAlertsv2TradingAlertDto"}},"tradingAlertBands":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiApiTradingAlertsv2TradingAlertBandDto"}}}},"trading-api_TradingApiApiTradingAlertsv2TradingAlertDto":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"companyId":{"type":"string","format":"guid"},"flexProfileId":{"type":"string","format":"guid"},"flexPeriodId":{"type":"string","format":"guid"},"flexPeriodStartDate":{"type":"string","format":"date-time"},"periodName":{"type":"string"},"commodityType":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertCommodityType"},"triggerValue":{"type":"number","format":"decimal"},"polarity":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertPolarity"},"tradeType":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertTradeType"},"volume":{"type":"number","format":"decimal"},"action":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertAction"},"actionDescription":{"type":"string"},"createdBy":{"type":"string","format":"guid"},"created":{"type":"string","format":"date-time"},"isDeleted":{"type":"boolean"},"notes":{"type":"string"},"delta":{"type":"number","format":"decimal"},"currentMarketPrice":{"type":"number","format":"decimal","nullable":true},"currentMarketPriceDateStamp":{"type":"string","format":"date-time","nullable":true},"hasCurrentMarketPrice":{"type":"boolean"},"previousMarketPrice":{"type":"number","format":"decimal","nullable":true},"marketPerformance":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertMarketPerformance"}}},"trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertMarketPerformance":{"type":"integer","description":"","x-enumNames":["NoData","Rise","Steady","Fall"],"enum":[0,1,2,3]},"trading-api_TradingApiDtosApiResponseOfCompanyNameCachePopulationResult":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiServicesTradingAlertsCompanyNameCachePopulationResult"}]}}},"trading-api_TradingApiServicesTradingAlertsCompanyNameCachePopulationResult":{"type":"object","additionalProperties":false,"properties":{"dryRun":{"type":"boolean"},"inScopeCompanyCount":{"type":"integer","format":"int32"},"toCreate":{"type":"integer","format":"int32"},"toUpdate":{"type":"integer","format":"int32"},"unchanged":{"type":"integer","format":"int32"},"noName":{"type":"integer","format":"int32"},"failed":{"type":"integer","format":"int32"},"new":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiServicesTradingAlertsCompanyNameCacheChange"}},"changed":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiServicesTradingAlertsCompanyNameCacheChange"}},"noNameRows":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiServicesTradingAlertsCompanyNameCacheChange"}},"failedRows":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiServicesTradingAlertsCompanyNameCacheChange"}}}},"trading-api_TradingApiServicesTradingAlertsCompanyNameCacheChange":{"type":"object","additionalProperties":false,"properties":{"companyId":{"type":"string","format":"guid"},"currentCacheValue":{"type":"string","nullable":true},"portfolioValue":{"type":"string","nullable":true}}},"trading-api_TradingApiApiTradingAlertsv2PopulateCompanyNameCacheRequest":{"type":"object","additionalProperties":false,"properties":{"dryRun":{"type":"boolean"}}},"trading-api_TradingApiDtosApiResponseOfListOfFlexPeriodWithPriceDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosFlexFlexPeriodWithPriceDto"}}}},"trading-api_TradingApiDtosFlexFlexPeriodWithPriceDto":{"type":"object","additionalProperties":false,"properties":{"commodityTypeId":{"type":"string","format":"guid"},"currentMarketPrice":{"type":"number","format":"decimal","nullable":true},"previousMarketPrice":{"type":"number","format":"decimal","nullable":true},"currentMarketPriceDate":{"type":"string","format":"date-time","nullable":true},"flexPeriod":{"$ref":"#/components/schemas/trading-api_TradingApiDtosFlexFlexPeriodDto"}}},"trading-api_TradingApiApiTradingAlertsv2PostFlexProfileForFlexPeriodsWithPricesRequest":{"type":"object","additionalProperties":false,"properties":{"commodityType":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertCommodityType"},"flexProfile":{"$ref":"#/components/schemas/trading-api_TradingApiDtosFlexFlexibleProfileDto"},"companyCountry":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsGlobalizationSupportedCountry"}}},"trading-api_TradingApiDtosFlexFlexibleProfileDto":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"contractYear":{"type":"integer","format":"int32"},"profileStartDate":{"type":"string","format":"date-time"},"profileEndDate":{"type":"string","format":"date-time"},"duration":{"type":"number","format":"decimal"},"name":{"type":"string"},"meterType":{"$ref":"#/components/schemas/trading-api_GlobalDomaincommonEnumsMeterType"}}},"trading-api_TrueEnumerationsGlobalizationSupportedCountry":{"type":"integer","description":"","x-enumNames":["UnitedKingdom","Germany","France","Netherlands","Italy","Spain","Portugal","Belgium","Austria","Ireland","Switzerland","Poland"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12]},"trading-api_TradingApiApiTradingAlertsv2PurgeAlertsRequest":{"type":"object","additionalProperties":false,"properties":{"purge":{"type":"boolean"}}},"trading-api_TradingApiApiTradingAlertsv2UpdateTradingAlertBandsRequest":{"type":"object","additionalProperties":false,"properties":{"tradingAlertBands":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiApiTradingAlertsv2TradingAlertBandDto"}}}},"trading-api_TradingApiDtosApiResponseOfListOfTradeFlexProfileDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosFlexTradeFlexProfileDto"}}}},"trading-api_TradingApiDtosFlexTradeFlexProfileDto":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid","nullable":true},"customerCompanyId":{"type":"string","format":"guid"},"customerCompanyName":{"type":"string"},"quoteRequestId":{"type":"string","format":"guid"},"period":{"$ref":"#/components/schemas/trading-api_TradingApiDtosFlexFlexPeriodDto"},"quoteName":{"type":"string"},"openVolume":{"type":"number","format":"decimal"},"openBaseloadVolume":{"type":"number","format":"decimal"},"lockedVolume":{"type":"number","format":"decimal"},"requiredBaseloadVolume":{"type":"number","format":"decimal"},"requiredVolume":{"type":"number","format":"decimal"},"openVolumePercentage":{"type":"number","format":"decimal"},"openBaseloadVolumePercentage":{"type":"number","format":"decimal"},"lockedVolumePercentage":{"type":"number","format":"decimal"},"profileStartDate":{"type":"string","format":"date-time"}}},"trading-api_TradingApiApiTradingAlertsLegacyCreateGetFlexProfileIdsIncludedInPeriodRequest":{"type":"object","additionalProperties":false,"properties":{"flexProfiles":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosFlexTradeFlexProfileDto"}},"flexPeriodId":{"type":"string","format":"guid"},"commodityTypeId":{"type":"string","format":"guid"}}},"trading-api_TradingApiDtosApiResponseOfFlexPeriodVolumeInfoDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiDtosTradesFlexPeriodVolumeInfoDto"}]}}},"trading-api_TradingApiDtosTradesFlexPeriodVolumeInfoDto":{"type":"object","additionalProperties":false,"properties":{"flexPeriodId":{"type":"string","format":"guid"},"commodityTypeId":{"type":"string","format":"guid"},"periodLatestDailyMarketPrice":{"type":"number","format":"decimal"},"periodAchievedPrice":{"type":"number","format":"decimal"},"daysInPeriod":{"type":"integer","format":"int32"},"totalRequiredVolumeInKwh":{"type":"number","format":"decimal"},"totalRequiredVolumeInTradeUnit":{"type":"number","format":"decimal"},"totalOpenRequiredVolumeInKwh":{"type":"integer","format":"int64"},"totalOpenRequiredVolumeInTradeUnit":{"type":"number","format":"decimal"},"totalLockedRequiredVolumeInKwh":{"type":"integer","format":"int64"},"openRequiredPercentage":{"type":"number","format":"decimal"},"lockedRequiredPercentage":{"type":"number","format":"decimal"},"totalBaseloadVolumeInKwh":{"type":"number","format":"decimal"},"totalBaseloadVolumeInTradeUnit":{"type":"number","format":"decimal"},"totalOpenBaseloadVolumeInKwh":{"type":"integer","format":"int64"},"totalOpenBaseloadVolumeInTradeUnit":{"type":"number","format":"decimal"},"openBaseloadPercentage":{"type":"number","format":"decimal"},"lockedBaseloadPercentage":{"type":"number","format":"decimal"},"openTotalPercentage":{"type":"number","format":"decimal"},"lockedTotalPercentage":{"type":"number","format":"decimal"},"baseloadTradeVolumeInTradeUnit":{"type":"number","format":"decimal"},"baseloadTradeVolumeInKwh":{"type":"integer","format":"int64"}}},"trading-api_TradingApiApiTradingAlertsLegacyCreateGetVolumeInforForFlexPeriodTrueRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiDtosTradesCreateSingleTradesRequest":{"type":"object","additionalProperties":false,"properties":{"commodityType":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertCommodityType"},"companyId":{"type":"string","format":"guid"},"flexibleProfileId":{"type":"string","format":"guid"},"flexibleProfileStartDate":{"type":"string","format":"date-time"},"tradeType":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertTradeType"},"tradedDate":{"type":"string","format":"date-time"},"tradesDetails":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosTradesSingleTradeDetailsRequest"}},"createdBy":{"type":"string","format":"guid"},"createdByEmail":{"type":"string"}}},"trading-api_TradingApiDtosTradesSingleTradeDetailsRequest":{"type":"object","additionalProperties":false,"properties":{"flexiblePeriodId":{"type":"string","format":"guid"},"daysInPeriod":{"type":"integer","format":"int32"},"unitPrice":{"type":"number","format":"decimal"},"volume":{"type":"number","format":"decimal"},"fxData":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiDtosTradesTradePriceFxData"}]}}},"trading-api_TradingApiDtosTradesTradePriceFxData":{"type":"object","additionalProperties":false,"properties":{"tradePriceFormat":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradePriceFormat"}]},"tradeCurrency":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TrueEnumerationsGlobalizationSupportedCurrencies"}]},"fxCurrency":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TrueEnumerationsGlobalizationSupportedCurrencies"}]},"fxRate":{"type":"number","format":"decimal","nullable":true},"carbonPrice":{"type":"number","format":"decimal","nullable":true},"includeCarbonCost":{"type":"boolean"},"unitConversionVolume":{"type":"number","format":"decimal","nullable":true},"unitConversionPrice":{"type":"number","format":"decimal","nullable":true}}},"trading-api_TrueEnumerationsTradesTradePriceFormat":{"type":"integer","description":"","x-enumNames":["AsTraded","FxAdjusted","UnitConversion"],"enum":[1,2,3]},"trading-api_TrueEnumerationsGlobalizationSupportedCurrencies":{"type":"integer","description":"","x-enumNames":["GBP","EUR","PLN","CHF"],"enum":[1,2,3,4]},"trading-api_TradingApiApiSingleTradesTradeDeleteRequest":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"userId":{"type":"string","format":"guid"},"delete":{"type":"boolean"},"userName":{"type":"string"}}},"trading-api_TradingApiDtosApiResponseOfListOfFlexPeriodDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosFlexFlexPeriodDto"}}}},"trading-api_TradingApiApiSingleTradesGetFlexPeriodsForFlexProfileTrueEndpoint_GetFlexPeriodsForFlexProfileRequest":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"profileStartDate":{"type":"string","format":"date-time"},"profileEndDate":{"type":"string","format":"date-time"},"duration":{"type":"number","format":"decimal"},"contractYear":{"type":"integer","format":"int32"},"meterType":{"$ref":"#/components/schemas/trading-api_GlobalDomaincommonEnumsMeterType"}}},"trading-api_TradingApiDtosApiResponseOfListOfSingleTradeDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosTradesSingleTradeDto"}}}},"trading-api_TradingApiDtosTradesSingleTradeDto":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"tradeType":{"$ref":"#/components/schemas/trading-api_GlobalDomaincommonEnumsTradeType"},"flexibleProfileId":{"type":"string","format":"guid"},"period":{"$ref":"#/components/schemas/trading-api_TradingApiDtosFlexFlexPeriodDto"},"unitPrice":{"type":"number","format":"decimal"},"volumeInTradeUnit":{"type":"number","format":"decimal"},"meterType":{"$ref":"#/components/schemas/trading-api_GlobalDomaincommonEnumsMeterType"},"volumeInKwh":{"type":"integer","format":"int64"},"tradeDateTime":{"type":"string","format":"date-time"},"createdDateTime":{"type":"string","format":"date-time"},"createdByUserName":{"type":"string"},"modifiedByUserName":{"type":"string"},"modifiedDateTime":{"type":"string","format":"date-time","nullable":true},"isDeleted":{"type":"boolean"},"extendedData":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiDtosTradesSingleTradeExtendedDataDto"}]}}},"trading-api_GlobalDomaincommonEnumsTradeType":{"type":"integer","description":"","x-enumNames":["Buy","Sell"],"enum":[1,2]},"trading-api_TradingApiDtosTradesSingleTradeExtendedDataDto":{"type":"object","additionalProperties":false,"properties":{"tradePriceFormat":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradePriceFormat"},"tradedCurrency":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TrueEnumerationsGlobalizationSupportedCurrencies"}]},"fxCurrency":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TrueEnumerationsGlobalizationSupportedCurrencies"}]},"fxRate":{"type":"number","format":"decimal","nullable":true},"includeCarbonCost":{"type":"boolean"},"carbonPrice":{"type":"number","format":"decimal","nullable":true},"unitConversionPrice":{"type":"number","format":"decimal","nullable":true},"unitConversionVolume":{"type":"number","format":"decimal","nullable":true}}},"trading-api_TradingApiApiSingleTradesGetTradeLogRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiApiSingleTradesUpdateRequiredVolumeRequest":{"type":"object","additionalProperties":false,"properties":{"flexTradeProfilePeriodVolumeRequirementId":{"type":"string","format":"guid"},"requiredVolume":{"type":"number","format":"decimal"}}},"trading-api_TradingApiDtosApiResponseOfGetContractualUnitPricesForFlexMetersResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiApiMarketPricesGetContractualUnitPricesForFlexMetersResponse"}]}}},"trading-api_TradingApiApiMarketPricesGetContractualUnitPricesForFlexMetersResponse":{"type":"object","additionalProperties":false,"properties":{"flexMeterContractualUnitPrices":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosMarketPricesContractualUnitPricesForMeterDto"}}}},"trading-api_TradingApiDtosMarketPricesContractualUnitPricesForMeterDto":{"type":"object","additionalProperties":false,"properties":{"meterId":{"type":"string","format":"guid"},"flexProfileId":{"type":"string","format":"guid","nullable":true},"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"meterType":{"$ref":"#/components/schemas/trading-api_GlobalDomaincommonEnumsMeterType"},"contractualType":{"$ref":"#/components/schemas/trading-api_GlobalDomaincommonEnumsContractualType"},"dayUnitPrice":{"type":"number","format":"decimal","nullable":true},"nightUnitPrice":{"type":"number","format":"decimal","nullable":true},"singleUnitPrice":{"type":"number","format":"decimal","nullable":true},"achievedPrice":{"type":"number","format":"decimal","nullable":true},"percentageLocked":{"type":"number","format":"decimal"},"heldVolumeUnitCost":{"type":"number","format":"decimal","nullable":true},"accumulatedProfit":{"type":"number","format":"decimal","nullable":true},"dailyMarketPrice":{"type":"number","format":"decimal","nullable":true},"capacity":{"type":"integer","format":"int32","nullable":true},"standingChargeUnitRate":{"type":"number","format":"double","nullable":true},"standingChargeUnitRateFormat":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsStandingChargeFormatType"},"capacityUnitRate":{"type":"number","format":"double","nullable":true},"capacityUnitRateFormat":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsCapacityChargeFormatType"},"nonCommodityDtoList":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosMarketPricesContractualUnitPricesForMeterDto_NonCommodityDto"}},"contractHistoryNonCommodityDtoList":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosMarketPricesContractualUnitPricesForMeterDto_ContractHistoryNonCommodityDto2"}}}},"trading-api_GlobalDomaincommonEnumsContractualType":{"type":"integer","description":"","x-enumNames":["Fixed","Flex"],"enum":[1,2]},"trading-api_TrueEnumerationsStandingChargeFormatType":{"type":"integer","description":"","x-enumNames":["PencePerDay","PoundsPerDay","PoundsPerMonth","PoundsPerQuarter"],"enum":[1,2,3,4]},"trading-api_TrueEnumerationsCapacityChargeFormatType":{"type":"integer","description":"","x-enumNames":["PoundsPerKvaPerMonth","PencePerKvaPerDay","PoundsPerKvaPerQuarter","PoundsPerKvaPerDay"],"enum":[1,2,3,4]},"trading-api_TradingApiDtosMarketPricesContractualUnitPricesForMeterDto_NonCommodityDto":{"type":"object","additionalProperties":false,"properties":{"description":{"type":"string"},"consumptionRatio":{"type":"number","format":"double","nullable":true},"unitRate":{"type":"number","format":"double","nullable":true}}},"trading-api_TradingApiDtosMarketPricesContractualUnitPricesForMeterDto_ContractHistoryNonCommodityDto2":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"contractHistoryId":{"type":"string","format":"guid"},"startDate":{"type":"string","format":"date-time"},"consumption":{"type":"integer","format":"int32","nullable":true},"capacity":{"type":"integer","format":"int32","nullable":true},"standingChargeUnitRate":{"type":"number","format":"double","nullable":true},"capacityUnitRate":{"type":"number","format":"double","nullable":true},"description1":{"type":"string","nullable":true},"consumption1":{"type":"integer","format":"int32","nullable":true},"unitRate1":{"type":"number","format":"double","nullable":true},"description2":{"type":"string","nullable":true},"consumption2":{"type":"integer","format":"int32","nullable":true},"unitRate2":{"type":"number","format":"double","nullable":true},"description3":{"type":"string","nullable":true},"consumption3":{"type":"integer","format":"int32","nullable":true},"unitRate3":{"type":"number","format":"double","nullable":true},"description4":{"type":"string","nullable":true},"consumption4":{"type":"integer","format":"int32","nullable":true},"unitRate4":{"type":"number","format":"double","nullable":true},"description5":{"type":"string","nullable":true},"consumption5":{"type":"integer","format":"int32","nullable":true},"unitRate5":{"type":"number","format":"double","nullable":true},"description6":{"type":"string","nullable":true},"consumption6":{"type":"integer","format":"int32","nullable":true},"unitRate6":{"type":"number","format":"double","nullable":true},"isDeleted":{"type":"boolean"},"periodEnd":{"type":"string","format":"date-time"},"periodStart":{"type":"string","format":"date-time"}}},"trading-api_TradingApiApiMarketPricesGetContractualUnitPricesForMetersRequest":{"type":"object","additionalProperties":false,"properties":{"flexMeterContractualUnitPrices":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosMarketPricesContractualUnitPricesForMeterDto"}}}},"trading-api_TradingApiDtosApiResponseOfMarketPricesResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiDtosMarketPricesMarketPricesResponse"}]}}},"trading-api_TradingApiDtosMarketPricesMarketPricesResponse":{"type":"object","additionalProperties":false,"properties":{"commodityMarketPrices":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosMarketPricesCommodityMarketPriceDto"}}}},"trading-api_TradingApiDtosMarketPricesCommodityMarketPriceDto":{"type":"object","additionalProperties":false,"properties":{"commodityId":{"type":"string","format":"guid"},"prices":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosMarketPricesCommodityPriceDto"}},"commodityName":{"type":"string"}}},"trading-api_TradingApiDtosMarketPricesCommodityPriceDto":{"type":"object","additionalProperties":false,"properties":{"date":{"type":"string","format":"date-time"},"price":{"type":"number","format":"decimal"}}},"trading-api_TradingApiApiMarketPricesRequestsGetForwardCurveDataRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiDtosApiResponseOfObject":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true}}},"trading-api_TradingApiApiMarketPricesGetMarketPricesLatestRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiDtosApiResponseOfListOfMarketPriceDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosMarketPricesMarketPriceDto"}}}},"trading-api_TradingApiDtosMarketPricesMarketPriceDto":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"futureDate":{"type":"string","format":"date-time"},"month":{"type":"string","format":"date-time"},"price":{"type":"number","format":"decimal"},"commodityTypeId":{"type":"string","format":"guid"},"commodityTypeName":{"type":"string"},"commodityTypeUnit":{"type":"string"}}},"trading-api_TradingApiApiMarketPricesGetMonthlyMarketPriceForTypeRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiApiMarketPricesGetPricesForCommoditiesAndDateRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiDtosApiResponseOfGetProjectPricesForNetZeroResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiApiMarketPricesGetProjectPricesForNetZeroResponse"}]}}},"trading-api_TradingApiApiMarketPricesGetProjectPricesForNetZeroResponse":{"type":"object","additionalProperties":false,"properties":{"marketPrices":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosMarketPricesMarketPriceDto"}},"enrichedFlexPrices":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosMarketPricesContractualUnitPricesForMeterDto"}}}},"trading-api_TradingApiApiMarketPricesGetProjectPricesForNetZeroRequest":{"type":"object","additionalProperties":false,"properties":{"commodityIds":{"type":"array","items":{"type":"string","format":"guid"}},"flexContracts":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosMarketPricesContractualUnitPricesForMeterDto"}}}},"trading-api_TradingApiDtosApiResponseOfMarketNewsReportDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiDtosMarketNewsMarketNewsReportDto"}]}}},"trading-api_TradingApiDtosMarketNewsMarketNewsReportDto":{"type":"object","additionalProperties":false,"properties":{"marketNewsId":{"type":"string","format":"guid"},"publishDate":{"type":"string","format":"date-time"},"type":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradingMarketNewsType"},"title":{"type":"string"},"details":{"type":"string"},"fromPortal":{"type":"boolean"}}},"trading-api_TrueEnumerationsTradingMarketNewsType":{"type":"integer","description":"","x-enumNames":["DailyNews","WeeklyNews"],"enum":[1,2]},"trading-api_TradingApiApiMarketNewsV2DeleteMarketNewsRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiDtosApiResponseOfGetMarketNewsResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiApiMarketNewsV2GetMarketNewsResponse"}]}}},"trading-api_TradingApiApiMarketNewsV2GetMarketNewsResponse":{"type":"object","additionalProperties":false,"properties":{"reports":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosMarketNewsMarketNewsReportDto"}},"totalItems":{"type":"integer","format":"int32"}}},"trading-api_TradingApiApiMarketNewsV2GetMarketNewsRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiApiFlexGetDescendantMonthsForPeriodRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiDtosApiResponseOfListOfFlexTradeProfilePeriodVolumeRequirementGroupModel":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosFlexFlexTradeProfilePeriodVolumeRequirementGroupModel"}}}},"trading-api_TradingApiDtosFlexFlexTradeProfilePeriodVolumeRequirementGroupModel":{"type":"object","additionalProperties":false,"properties":{"period":{"$ref":"#/components/schemas/trading-api_TradingApiDtosFlexFlexPeriodDto"},"commodityTypeId":{"type":"string","format":"guid"},"flexTradeProfilePeriodVolumeRequirements":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosFlexFlexTradeProfilePeriodVolumeRequirementDto"}},"periodLatestDailyMarketPrice":{"type":"number","format":"decimal"},"periodAchievedPrice":{"type":"number","format":"decimal"},"heldVolumeUnitCost":{"type":"number","format":"decimal"},"accumulatedProfit":{"type":"number","format":"decimal"},"totalRequiredVolumeInKwh":{"type":"number","format":"decimal"},"totalRequiredVolumeInTradeUnit":{"type":"number","format":"decimal"},"totalOpenRequiredVolumeInKwh":{"type":"integer","format":"int64"},"totalOpenRequiredVolumeInTradeUnit":{"type":"number","format":"decimal"},"totalLockedRequiredVolumeInKwh":{"type":"integer","format":"int64"},"openRequiredPercentage":{"type":"number","format":"decimal"},"lockedRequiredPercentage":{"type":"number","format":"decimal"},"totalBaseloadVolumeInKwh":{"type":"number","format":"decimal"},"totalBaseloadVolumeInTradeUnit":{"type":"number","format":"decimal"},"totalOpenBaseloadVolumeInKwh":{"type":"integer","format":"int64"},"totalOpenBaseloadVolumeInTradeUnit":{"type":"number","format":"decimal"},"openBaseloadPercentage":{"type":"number","format":"decimal"},"lockedBaseloadPercentage":{"type":"number","format":"decimal"},"openTotalPercentage":{"type":"number","format":"decimal"},"lockedTotalPercentage":{"type":"number","format":"decimal"},"baseloadTradeVolumeInTradeUnit":{"type":"number","format":"decimal"},"baseloadTradeVolumeInKwh":{"type":"integer","format":"int64"}}},"trading-api_TradingApiApiFlexGetFlexPeriodVolumeInfoRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiDtosApiResponseOfListOfIceCommodityRollingAverageChartDataDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_TradingApiApiCommoditiesIceCommodityRollingAverageChartDataDto"}}}},"trading-api_TradingApiApiCommoditiesIceCommodityRollingAverageChartDataDto":{"type":"object","additionalProperties":false,"properties":{"commodityTypeId":{"type":"string","format":"guid"},"commodityName":{"type":"string"},"missingDates":{"type":"array","items":{"type":"string","format":"date-time"}}}},"trading-api_TradingApiDtosApiResponseOfListOfUnifiedCommodityTypeDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesUnifiedCommodityTypeDto"}}}},"trading-api_TradingApiDtosCommoditiesUnifiedCommodityTypeDto":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"code":{"type":"string"},"unit":{"type":"string","nullable":true},"isActive":{"type":"boolean"}}},"trading-api_TradingApiDtosApiResponseOfGetCommodityTypesResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiApiCommoditiesGetCommodityTypesResponse"}]}}},"trading-api_TradingApiApiCommoditiesGetCommodityTypesResponse":{"type":"object","additionalProperties":false,"properties":{"commodityTypes":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesCommodityTypeDto"}}}},"trading-api_TradingApiDtosCommoditiesCommodityTypeDto":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"commodityTypeId":{"type":"string","format":"guid"},"name":{"type":"string"},"code":{"type":"string"},"deleted":{"type":"boolean"},"country":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TrueEnumerationsGlobalizationSupportedCountry"}]}}},"trading-api_TradingApiApiCommoditiesGetCommodityTypesRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiDtosApiResponseOfImportOmipCommoditiesMonthlyPricesResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiApiCommoditiesImportOmipCommoditiesMonthlyPricesEndpoint_ImportOmipCommoditiesMonthlyPricesResponse"}]}}},"trading-api_TradingApiApiCommoditiesImportOmipCommoditiesMonthlyPricesEndpoint_ImportOmipCommoditiesMonthlyPricesResponse":{"type":"object","additionalProperties":false,"properties":{"importOmipCommodityStatus":{"$ref":"#/components/schemas/trading-api_TradingApiApiCommoditiesUpdateCommodityStatus"}}},"trading-api_TradingApiApiCommoditiesUpdateCommodityStatus":{"type":"integer","description":"","x-enumNames":["Queued","Failed"],"enum":[0,1]},"trading-api_TradingApiApiCommoditiesImportOmipCommoditiesMonthlyPricesEndpoint_UpdateOmipCommodityAndMonthlyPricesRequest":{"type":"object","additionalProperties":false,"properties":{"country":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TrueEnumerationsGlobalizationSupportedCountry"}]}}},"trading-api_TradingApiDtosApiResponseOfUpdateCommodityAndMonthlyPricesResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiApiCommoditiesUpdateCommodityAndMonthlyPricesResponse"}]}}},"trading-api_TradingApiApiCommoditiesUpdateCommodityAndMonthlyPricesResponse":{"type":"object","additionalProperties":false,"properties":{"updateCommodityStatus":{"$ref":"#/components/schemas/trading-api_TradingApiApiCommoditiesUpdateCommodityStatus"}}},"trading-api_TradingApiApiCommoditiesUpdateCommodityAndMonthlyPricesRequest":{"type":"object","additionalProperties":false,"properties":{"country":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TrueEnumerationsGlobalizationSupportedCountry"}]},"includeDeleted":{"type":"boolean"}}},"trading-api_TradingApiApiCommoditiesUpdateMissingRollingAverageChartDataRequest":{"type":"object","additionalProperties":false,"properties":{"commodityTypeId":{"type":"string","format":"guid"},"missingDates":{"type":"array","items":{"type":"string","format":"date-time"}}}},"trading-api_TradingApiDtosApiResponseOfListOfCatalogueEntry":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_TradingApiServicesCommoditiesSourceCatalogueCatalogueEntry"}}}},"trading-api_TradingApiServicesCommoditiesSourceCatalogueCatalogueEntry":{"type":"object","additionalProperties":false,"properties":{"key":{"type":"string"},"name":{"type":"string"}}},"trading-api_TradingApiApiCommoditiesSourceCatalogueCatalogueSearchRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiDtosApiResponseOfCatalogueDetail":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiServicesCommoditiesSourceCatalogueCatalogueDetail"}]}}},"trading-api_TradingApiServicesCommoditiesSourceCatalogueCatalogueDetail":{"type":"object","additionalProperties":false,"properties":{"key":{"type":"string"},"name":{"type":"string"},"group":{"type":"string","nullable":true},"area":{"type":"string","nullable":true},"period":{"type":"string","nullable":true},"load":{"type":"string","nullable":true},"importMatchKey":{"type":"string","nullable":true}}},"trading-api_TradingApiApiCommoditiesSourceCatalogueCatalogueDetailRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiDtosApiResponseOfListOfSourceCommodityDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesSourceCommodityDto"}}}},"trading-api_TradingApiDtosCommoditiesSourceCommodityDto":{"type":"object","additionalProperties":false,"properties":{"source":{"type":"string"},"code":{"type":"string"},"name":{"type":"string","nullable":true},"area":{"type":"string"},"group":{"type":"string"},"load":{"type":"string","nullable":true},"period":{"type":"string"},"enabled":{"type":"boolean"},"lastRefreshedUtc":{"type":"string","format":"date-time"}}},"trading-api_TradingApiDtosApiResponseOfListOfSourceAreaDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesSourceAreaDto"}}}},"trading-api_TradingApiDtosCommoditiesSourceAreaDto":{"type":"object","additionalProperties":false,"properties":{"source":{"type":"string"},"code":{"type":"string"},"enabled":{"type":"boolean"},"lastRefreshedUtc":{"type":"string","format":"date-time"}}},"trading-api_TradingApiDtosApiResponseOfCatalogueRefreshResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiApiCommoditiesSourceCatalogueCatalogueRefreshResponse"}]}}},"trading-api_TradingApiApiCommoditiesSourceCatalogueCatalogueRefreshResponse":{"type":"object","additionalProperties":false,"properties":{"jobId":{"type":"string","format":"guid"}}},"trading-api_TradingApiApiCommoditiesSourceCatalogueCatalogueRefreshRequest":{"type":"object","additionalProperties":false,"properties":{"source":{"type":"string","nullable":true}}},"trading-api_TradingApiDtosApiResponseOfListOfMarketAreaDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesMarketAreaDto"}}}},"trading-api_TradingApiDtosCommoditiesMarketAreaDto":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"code":{"type":"string"},"displayName":{"type":"string"},"type":{"type":"string"},"deleted":{"type":"boolean"},"commodityCount":{"type":"integer","format":"int32"}}},"trading-api_TradingApiApiCommoditiesManagementListAreasRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiDtosApiResponseOfMarketAreaDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesMarketAreaDto"}]}}},"trading-api_TradingApiServicesCommoditiesManagementSaveAreaRequest":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"string"},"displayName":{"type":"string"},"type":{"type":"string"}}},"trading-api_TradingApiApiCommoditiesManagementEditAreaRequest":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"string"},"displayName":{"type":"string"},"type":{"type":"string"}}},"trading-api_TradingApiDtosApiResponseOfDependentsDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesDependentsDto"}]}}},"trading-api_TradingApiDtosCommoditiesDependentsDto":{"type":"object","additionalProperties":false,"properties":{"activelyImported":{"type":"boolean"},"rawDataRows":{"type":"integer","format":"int32"},"derivationImpact":{"type":"string","nullable":true},"dependentCommodities":{"type":"integer","format":"int32","nullable":true}}},"trading-api_TradingApiApiCommoditiesManagementAreaByIdRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiDtosApiResponseOfListOfCommodityGroupDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesCommodityGroupDto"}}}},"trading-api_TradingApiDtosCommoditiesCommodityGroupDto":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"code":{"type":"string"},"displayName":{"type":"string"},"sourceToken":{"type":"string","nullable":true},"deleted":{"type":"boolean"},"commodityCount":{"type":"integer","format":"int32"}}},"trading-api_TradingApiApiCommoditiesManagementListGroupsRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiDtosApiResponseOfListOfBackfillRunListRow":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesBackfillRunListRow"}}}},"trading-api_TradingApiDtosCommoditiesBackfillRunListRow":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"source":{"type":"string"},"area":{"type":"string","nullable":true},"fromDate":{"type":"string","format":"date"},"toDate":{"type":"string","format":"date"},"expectedTriggers":{"type":"integer","format":"int32"},"status":{"type":"string"},"requestedBy":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time"},"lastProgressAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time","nullable":true},"tally":{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesBackfillTallyDto"}}},"trading-api_TradingApiDtosCommoditiesBackfillTallyDto":{"type":"object","additionalProperties":false,"properties":{"succeeded":{"type":"integer","format":"int32"},"absent":{"type":"integer","format":"int32"},"failed":{"type":"integer","format":"int32"},"total":{"type":"integer","format":"int32"}}},"trading-api_TradingApiApiCommoditiesManagementListBackfillRunsRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiDtosApiResponseOfBackfillRunDetailDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesBackfillRunDetailDto"}]}}},"trading-api_TradingApiDtosCommoditiesBackfillRunDetailDto":{"type":"object","additionalProperties":false,"properties":{"run":{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesBackfillRunListRow"},"items":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesBackfillRunItemDto"}}}},"trading-api_TradingApiDtosCommoditiesBackfillRunItemDto":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"backfillJobId":{"type":"string","format":"guid"},"area":{"type":"string"},"tradingDate":{"type":"string","format":"date"},"outcome":{"type":"string"},"jobId":{"type":"string","format":"guid"},"completedAt":{"type":"string","format":"date-time"},"errorMessage":{"type":"string","nullable":true}}},"trading-api_TradingApiApiCommoditiesManagementBackfillRunByIdRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiDtosApiResponseOfBackfillReRunResultDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesBackfillReRunResultDto"}]}}},"trading-api_TradingApiDtosCommoditiesBackfillReRunResultDto":{"type":"object","additionalProperties":false,"properties":{"jobFound":{"type":"boolean"},"expectedCells":{"type":"integer","format":"int32"},"gapCells":{"type":"integer","format":"int32"},"triggersReFired":{"type":"integer","format":"int32"}}},"trading-api_TradingApiDtosApiResponseOfListOfCommodityDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesCommodityDto"}}}},"trading-api_TradingApiDtosCommoditiesCommodityDto":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"code":{"type":"string"},"source":{"type":"string"},"deleted":{"type":"boolean"},"unit":{"type":"string","nullable":true},"lastChanged":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesAuditStampDto"}]},"eex":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesCommodityEexDto"}]},"ice":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesCommodityIceDto"}]}}},"trading-api_TradingApiDtosCommoditiesAuditStampDto":{"type":"object","additionalProperties":false,"properties":{"timestampUtc":{"type":"string","format":"date-time"},"user":{"type":"string"}}},"trading-api_TradingApiDtosCommoditiesCommodityEexDto":{"type":"object","additionalProperties":false,"properties":{"area":{"type":"string","nullable":true},"group":{"type":"string","nullable":true},"load":{"type":"string","nullable":true},"period":{"type":"string"}}},"trading-api_TradingApiDtosCommoditiesCommodityIceDto":{"type":"object","additionalProperties":false,"properties":{"monthDateFormat":{"type":"string","nullable":true},"product":{"type":"string","nullable":true}}},"trading-api_TradingApiApiCommoditiesManagementListCommoditiesRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiDtosApiResponseOfCommodityDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesCommodityDto"}]}}},"trading-api_TradingApiServicesCommoditiesManagementSaveCommodityRequest":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"source":{"type":"string","nullable":true},"code":{"type":"string"},"area":{"type":"string"},"group":{"type":"string"},"load":{"type":"string","nullable":true},"period":{"type":"string"}}},"trading-api_TradingApiDtosApiResponseOfIceCommodityDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesIceCommodityDto"}]}}},"trading-api_TradingApiDtosCommoditiesIceCommodityDto":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"product":{"type":"string"},"code":{"type":"string"},"unit":{"type":"string","nullable":true},"monthDateFormat":{"type":"string"}}},"trading-api_TradingApiServicesCommoditiesManagementIceCreateCommodityRequest":{"type":"object","additionalProperties":false,"properties":{"key":{"type":"string"},"unit":{"type":"string","nullable":true},"monthDateFormat":{"type":"string"}}},"trading-api_TradingApiDtosApiResponseOfCommodityEditResult":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiServicesCommoditiesManagementCommodityEditResult"}]}}},"trading-api_TradingApiServicesCommoditiesManagementCommodityEditResult":{"type":"object","additionalProperties":false,"properties":{"commodity":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesCommodityDto"}]}}},"trading-api_TradingApiApiCommoditiesManagementEditCommodityRequest":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"code":{"type":"string"},"area":{"type":"string"},"group":{"type":"string"},"load":{"type":"string","nullable":true},"period":{"type":"string"}}},"trading-api_TradingApiApiCommoditiesManagementCommodityByIdRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiDtosApiResponseOfListOfAuditEntryDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesAuditEntryDto"}}}},"trading-api_TradingApiDtosCommoditiesAuditEntryDto":{"type":"object","additionalProperties":false,"properties":{"timestampUtc":{"type":"string","format":"date-time"},"user":{"type":"string"},"entityType":{"type":"string"},"entityName":{"type":"string"},"action":{"type":"string"},"detail":{"type":"string","nullable":true}}},"trading-api_TradingApiApiCommoditiesManagementListActivityRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiDtosApiResponseOfListOfCommodityCoverageDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesCommodityCoverageDto"}}}},"trading-api_TradingApiDtosCommoditiesCommodityCoverageDto":{"type":"object","additionalProperties":false,"properties":{"commodityTypeId":{"type":"string","format":"guid"},"name":{"type":"string"},"code":{"type":"string"},"status":{"type":"string"},"lastTradedDate":{"type":"string","format":"date-time","nullable":true},"expectedAsOf":{"type":"string","format":"date-time"},"tradingDaysBehind":{"type":"integer","format":"int32"}}},"trading-api_TradingApiApiCommoditiesCoverageCoverageRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiDtosApiResponseOfCommodityCoverageDepthDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesCommodityCoverageDepthDto"}]}}},"trading-api_TradingApiDtosCommoditiesCommodityCoverageDepthDto":{"type":"object","additionalProperties":false,"properties":{"commodityTypeId":{"type":"string","format":"guid"},"earliest":{"type":"string","format":"date-time"},"latest":{"type":"string","format":"date-time"},"gaps":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosCommoditiesCoverageGapDto"}},"totalCovered":{"type":"integer","format":"int32"},"totalExpected":{"type":"integer","format":"int32"}}},"trading-api_TradingApiDtosCommoditiesCoverageGapDto":{"type":"object","additionalProperties":false,"properties":{"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"}}},"trading-api_TradingApiApiCommoditiesCoverageCoverageDepthRequest":{"type":"object","additionalProperties":false},"trading-api_TradingApiDtosApiResponseOfBulkTradeDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiDtosTradesBulkTradeDto"}]}}},"trading-api_TradingApiDtosTradesBulkTradeDto":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"tradeType":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeType"},"tradeUtilityType":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeUtilityType"},"created":{"type":"string","format":"date-time"},"userName":{"type":"string"},"periodId":{"type":"string","format":"guid"},"tradeGroupId":{"type":"integer","format":"int32"},"tradedDate":{"type":"string","format":"date-time"},"trades":{"type":"array","items":{"$ref":"#/components/schemas/trading-api_TradingApiDtosTradesBulkTradeTradeDto"}}}},"trading-api_TrueEnumerationsTradesTradeType":{"type":"integer","description":"","x-enumNames":["Buy","Sell"],"enum":[1,2]},"trading-api_TrueEnumerationsTradesTradeUtilityType":{"type":"integer","description":"","x-enumNames":["Electricity","Gas"],"enum":[1,2]},"trading-api_TradingApiDtosTradesBulkTradeTradeDto":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","format":"int32"},"flexibleProfileId":{"type":"string","format":"guid"},"profileStartDate":{"type":"string","format":"date-time"},"periodId":{"type":"string","format":"guid"},"volume":{"type":"number","format":"decimal"},"volumeInKwh":{"type":"integer","format":"int64"},"unitPrice":{"type":"number","format":"decimal"},"flexTradeId":{"type":"string","format":"guid"}}},"trading-api_TradingApiDtosApiResponseOfListOfUnifiedTradeAlertDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_TradingApiModulesTradeAlertsUnifiedTradeAlertDto"}}}},"trading-api_TradingApiModulesTradeAlertsUnifiedTradeAlertDto":{"type":"object","additionalProperties":false,"properties":{"alertType":{"$ref":"#/components/schemas/trading-api_TradingApiModulesTradeAlertsAlertType"},"id":{"type":"string"},"configId":{"type":"string","format":"guid","nullable":true},"companyId":{"type":"string","format":"guid"},"companyName":{"type":"string"},"country":{"type":"string","nullable":true},"commodityType":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertCommodityType"},"side":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertTradeType"},"polarity":{"$ref":"#/components/schemas/trading-api_TradingApiModulesTradeAlertsUnifiedPolarity"},"flexProfileId":{"type":"string","format":"guid","nullable":true},"flexPeriodId":{"type":"string","format":"guid"},"periodName":{"type":"string"},"marketPrice":{"type":"number","format":"decimal","nullable":true},"marketPriceProvider":{"type":"string","nullable":true},"priceUnit":{"type":"string"},"volumeUnit":{"type":"string"},"urgencyRank":{"type":"number","format":"decimal"},"triggerValue":{"type":"number","format":"decimal","nullable":true},"volume":{"type":"number","format":"decimal","nullable":true},"category":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiModulesTradeAlertsFixedAlertCategory"}]},"targetVolume":{"type":"number","format":"decimal","nullable":true},"openVolume":{"type":"number","format":"decimal","nullable":true},"stopLevel":{"type":"number","format":"decimal","nullable":true},"dynamicTrigger":{"type":"number","format":"decimal","nullable":true},"state":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingDomainDynamicAlertsDynamicAlertState"}]},"recommendedAction":{"type":"string","nullable":true},"recommendedTradeVolume":{"type":"number","format":"decimal","nullable":true}}},"trading-api_TradingApiModulesTradeAlertsAlertType":{"type":"integer","description":"","x-enumNames":["Fixed","Dynamic"],"enum":[0,1]},"trading-api_TradingApiModulesTradeAlertsUnifiedPolarity":{"type":"integer","description":"","x-enumNames":["Rising","Falling"],"enum":[0,1]},"trading-api_TradingApiModulesTradeAlertsFixedAlertCategory":{"type":"integer","description":"","x-enumNames":["ActionRequired","OnAlert","GetReady","Safe","NoMarketPrice"],"enum":[0,1,2,3,4]},"trading-api_TradingDomainDynamicAlertsDynamicAlertState":{"type":"integer","description":"","x-enumNames":["Ok","FullyHedged","FullyHedgedOverBudget","OverHedged","NetShort","BudgetBreached","NoMarketPrice","NoBudgetConfigured","Pending","ConfigError"],"enum":[0,1,2,3,4,5,6,7,8,9]},"trading-api_TradingApiDtosApiResponseOfListOfCompanyOptInStatusDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_TradingApiModulesTradeAlertsCompanyOptInStatusDto"}}}},"trading-api_TradingApiModulesTradeAlertsCompanyOptInStatusDto":{"type":"object","additionalProperties":false,"properties":{"companyId":{"type":"string","format":"guid"},"phase":{"$ref":"#/components/schemas/trading-api_TradingDomainDynamicAlertsDynamicAlertsOptInPhase"}}},"trading-api_TradingDomainDynamicAlertsDynamicAlertsOptInPhase":{"type":"integer","description":"","x-enumNames":["DualRun","Committed","RolledBack"],"enum":[0,1,2]},"trading-api_TradingApiDtosApiResponseOfString":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"type":"string","nullable":true}}},"trading-api_TradingApiModulesTradeAlertsCreateUnifiedTradeAlertRequest":{"type":"object","additionalProperties":false,"properties":{"alertType":{"$ref":"#/components/schemas/trading-api_TradingApiModulesTradeAlertsAlertType"},"companyId":{"type":"string","format":"guid"},"commodityType":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertCommodityType"},"side":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertTradeType"},"polarity":{"$ref":"#/components/schemas/trading-api_TradingApiModulesTradeAlertsUnifiedPolarity"},"flexProfileId":{"type":"string","format":"guid"},"flexPeriodId":{"type":"string","format":"guid"},"country":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsGlobalizationSupportedCountry"},"flexPeriodStartDate":{"type":"string","format":"date-time"},"createdBy":{"type":"string","format":"guid"},"notes":{"type":"string","nullable":true},"triggerValue":{"type":"number","format":"decimal","nullable":true},"volume":{"type":"number","format":"decimal","nullable":true},"action":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertAction"},"stopLevel":{"type":"number","format":"decimal","nullable":true},"targetVolume":{"type":"number","format":"decimal","nullable":true}}},"trading-api_TradingApiModulesTradeAlertsUpdateUnifiedTradeAlertRequest":{"type":"object","additionalProperties":false,"properties":{"commodityType":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertCommodityType"},"side":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertTradeType"},"polarity":{"$ref":"#/components/schemas/trading-api_TradingApiModulesTradeAlertsUnifiedPolarity"},"notes":{"type":"string","nullable":true},"triggerValue":{"type":"number","format":"decimal","nullable":true},"volume":{"type":"number","format":"decimal","nullable":true},"action":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertAction"},"stopLevel":{"type":"number","format":"decimal","nullable":true},"targetVolume":{"type":"number","format":"decimal","nullable":true}}},"trading-api_TradingApiDtosApiResponseOfDynamicAlertsOptInPhase":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"$ref":"#/components/schemas/trading-api_TradingDomainDynamicAlertsDynamicAlertsOptInPhase"}}},"trading-api_TradingApiDtosApiResponseOfMigrationResult":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/trading-api_TradingApiModulesTradeAlertsMigrationResult"}]}}},"trading-api_TradingApiModulesTradeAlertsMigrationResult":{"type":"object","additionalProperties":false,"properties":{"companyId":{"type":"string","format":"guid"},"phase":{"$ref":"#/components/schemas/trading-api_TradingDomainDynamicAlertsDynamicAlertsOptInPhase"},"eligibleLegacyAlerts":{"type":"integer","format":"int32"},"configsCreated":{"type":"integer","format":"int32"},"alreadyMigrated":{"type":"integer","format":"int32"},"skippedIncomplete":{"type":"array","items":{"type":"integer","format":"int32"}},"legacyRetired":{"type":"integer","format":"int32"},"configsRemoved":{"type":"integer","format":"int32"},"snapshotsRemoved":{"type":"integer","format":"int32"},"notificationsCancelled":{"type":"integer","format":"int32"},"legacyRestored":{"type":"integer","format":"int32"}}},"trading-api_TradingApiDtosApiResponseOfListOfDynamicAlertDto":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_TradingApiModulesDynamicTradeAlertsDynamicAlertDto"}}}},"trading-api_TradingApiModulesDynamicTradeAlertsDynamicAlertDto":{"type":"object","additionalProperties":false,"properties":{"configId":{"type":"string","format":"guid"},"companyId":{"type":"string","format":"guid"},"companyName":{"type":"string"},"flexProfileId":{"type":"string","format":"guid"},"flexPeriodId":{"type":"string","format":"guid"},"periodName":{"type":"string"},"commodityType":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertCommodityType"},"side":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertTradeType"},"runDate":{"type":"string","format":"date"},"state":{"$ref":"#/components/schemas/trading-api_TradingDomainDynamicAlertsDynamicAlertState"},"isTriggered":{"type":"boolean"},"stateDescription":{"type":"string"},"recommendedAction":{"type":"string"},"recommendedTradeVolume":{"type":"number","format":"decimal","nullable":true},"targetVolume":{"type":"number","format":"decimal"},"openVolume":{"type":"number","format":"decimal"},"budgetPerUnit":{"type":"number","format":"decimal"},"budgetRemaining":{"type":"number","format":"decimal"},"dynamicPrice":{"type":"number","format":"decimal","nullable":true},"overBudgetPerUnit":{"type":"number","format":"decimal","nullable":true},"achievedClosedAvgPrice":{"type":"number","format":"decimal","nullable":true},"projectedAchievedPrice":{"type":"number","format":"decimal","nullable":true},"marketPriceProvider":{"type":"string","nullable":true},"marketPrice":{"type":"number","format":"decimal","nullable":true},"marketPriceAsOf":{"type":"string","format":"date-time","nullable":true},"priceUnit":{"type":"string"},"volumeUnit":{"type":"string"}}},"trading-api_TradingApiDtosApiResponseOfGuid":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"value":{"type":"string","format":"guid"}}},"trading-api_TradingApiModulesDynamicTradeAlertsCreateDynamicAlertConfigRequest":{"type":"object","additionalProperties":false,"properties":{"companyId":{"type":"string","format":"guid"},"flexProfileId":{"type":"string","format":"guid"},"flexPeriodId":{"type":"string","format":"guid"},"commodityType":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertCommodityType"},"country":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsGlobalizationSupportedCountry"},"side":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertTradeType"},"targetVolume":{"type":"number","format":"decimal"},"budgetPerUnit":{"type":"number","format":"decimal"},"createdBy":{"type":"string","format":"guid"},"notes":{"type":"string","nullable":true}}},"trading-api_TradingApiModulesDynamicTradeAlertsUpdateDynamicAlertConfigRequest":{"type":"object","additionalProperties":false,"properties":{"commodityType":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertCommodityType"},"country":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsGlobalizationSupportedCountry"},"side":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradesTradeAlertsTradingAlertTradeType"},"targetVolume":{"type":"number","format":"decimal"},"budgetPerUnit":{"type":"number","format":"decimal"},"notes":{"type":"string","nullable":true}}},"trading-api_TradingApiModulesDynamicTradeAlertsSendTestAlertRequest":{"type":"object","additionalProperties":false,"properties":{"channel":{"type":"string","nullable":true}}},"trading-api_TrueEnumerationsSortDirection":{"type":"integer","description":"","x-enumNames":["None","Ascending","Descending"],"enum":[0,1,2]},"trading-api_TradingApiModulesAdminToolsEexDiBackfillRequest":{"type":"object","additionalProperties":false,"properties":{"fromDate":{"type":"string","format":"date"},"toDate":{"type":"string","format":"date"},"area":{"type":"string","nullable":true}}},"trading-api_TradingApiModulesAdminToolsIceDiBackfillRequest":{"type":"object","additionalProperties":false,"properties":{"fromDate":{"type":"string","format":"date"},"toDate":{"type":"string","format":"date"}}},"trading-api_TradingApiModulesAdminToolsOmipRerunRequestDto":{"type":"object","additionalProperties":false,"properties":{"countries":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsGlobalizationSupportedCountry"}},"startDate":{"type":"string","format":"date-time","nullable":true},"endDate":{"type":"string","format":"date-time","nullable":true},"dryRun":{"type":"boolean"},"useHistoricalData":{"type":"boolean"}}},"trading-api_TradingApiModulesAdminMarketNewsCreateMarketNewsCreateRequest":{"type":"object","additionalProperties":false,"properties":{"details":{"type":"string"},"title":{"type":"string"},"type":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradingMarketNewsType"},"publishDate":{"type":"string","format":"date-time"},"pdfPath":{"type":"string","nullable":true}}},"trading-api_TradingApiModulesAdminMarketNewsUpdateMarketNewsUpdateRequest":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"guid"},"publishDate":{"type":"string","format":"date-time"},"type":{"$ref":"#/components/schemas/trading-api_TrueEnumerationsTradingMarketNewsType"},"title":{"type":"string"},"details":{"type":"string"},"pdfPath":{"type":"string","nullable":true}}},"true-reporting_BreakdownMatrixRowDto":{"required":["year","ytdMwh","yoyMatrixPct","holidayWeeksSoldYtd","yoyHolidayWeekSoldPct","ytdHolidayWeekKwh","yoyHolidayWeekPct"],"type":"object","properties":{"year":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"ytdMwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"yoyMatrixPct":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"holidayWeeksSoldYtd":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"yoyHolidayWeekSoldPct":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"ytdHolidayWeekKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"yoyHolidayWeekPct":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"}}},"true-reporting_BreakdownRegionRowDto":{"required":["region","ytdMwh","pytdMwh","yoyPct","proportionOfTotalPct"],"type":"object","properties":{"region":{"type":"string"},"ytdMwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"pytdMwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"yoyPct":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"proportionOfTotalPct":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"}}},"true-reporting_BreakdownResponse":{"required":["matrix","regions","sites"],"type":"object","properties":{"matrix":{"type":"array","items":{"$ref":"#/components/schemas/true-reporting_BreakdownMatrixRowDto"}},"regions":{"type":"array","items":{"$ref":"#/components/schemas/true-reporting_BreakdownRegionRowDto"}},"sites":{"type":"array","items":{"$ref":"#/components/schemas/true-reporting_BreakdownSiteRowDto"}}},"description":"Breakdown page: the year matrix, region rows, and per-site rows (including holiday-week kWh)."},"true-reporting_BreakdownSiteRowDto":{"required":["siteId","siteName","region","ytdMwh","pytdMwh","yoyPct","ytdHolidayWeekKwh","pytdHolidayWeekKwh","yoyHolidayWeekPct","proportionOfRegionPct"],"type":"object","properties":{"siteId":{"type":"string","format":"uuid"},"siteName":{"type":"string"},"region":{"type":["null","string"]},"ytdMwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"pytdMwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"yoyPct":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"ytdHolidayWeekKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"pytdHolidayWeekKwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"yoyHolidayWeekPct":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"proportionOfRegionPct":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"}}},"true-reporting_EstateKpiDto":{"required":["ytdMwh","pytdMwh","yoyPct","proportionOfTotalPct","changeInHolidayWeeksPct","kwhPerHolidayWeekChangePct","largest15ShareOfEstatePct","largest15UsageChangePct"],"type":"object","properties":{"ytdMwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"pytdMwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"yoyPct":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"proportionOfTotalPct":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"changeInHolidayWeeksPct":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"kwhPerHolidayWeekChangePct":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"largest15ShareOfEstatePct":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"largest15UsageChangePct":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"}}},"true-reporting_EstimatesResponse":{"required":["rows"],"type":"object","properties":{"rows":{"type":"array","items":{"$ref":"#/components/schemas/true-reporting_EstimatesRowDto"}}},"description":"Estimates page: per site \u00D7 meter (MPAN) \u00D7 year/quarter/month estimate counts and percentages."},"true-reporting_EstimatesRowDto":{"required":["siteId","siteName","mpan","year","quarter","month","estimatesCount","estimatePct"],"type":"object","properties":{"siteId":{"type":"string","format":"uuid"},"siteName":{"type":"string"},"mpan":{"type":["null","string"]},"year":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"quarter":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"month":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"estimatesCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"estimatePct":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"}}},"true-reporting_HolidayWeeksActivateResultDto":{"required":["version","status"],"type":"object","properties":{"version":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"status":{"type":"string"}},"description":"Result of activating a version: the version and its resulting status."},"true-reporting_HolidayWeeksUploadResultDto":{"required":["version","status","validationReport"],"type":"object","properties":{"version":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"status":{"type":"string"},"validationReport":{}},"description":"Result of an upload: the assigned version, its status, and the parse/validation report."},"true-reporting_HolidayWeeksVersionDetailDto":{"required":["version","status","uploadedBy","uploadedAt","rowCount","originalFileName","validationReport"],"type":"object","properties":{"version":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"status":{"type":"string"},"uploadedBy":{"type":"string"},"uploadedAt":{"type":"string","format":"date-time"},"rowCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"originalFileName":{"type":"string"},"validationReport":{}},"description":"Full detail for a stored holiday-weeks version, including its validation report."},"true-reporting_HolidayWeeksVersionSummaryDto":{"required":["version","status","uploadedBy","uploadedAt","rowCount","originalFileName"],"type":"object","properties":{"version":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"status":{"type":"string"},"uploadedBy":{"type":"string"},"uploadedAt":{"type":"string","format":"date-time"},"rowCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"originalFileName":{"type":"string"}},"description":"Summary row for a stored holiday-weeks version (used by the list endpoint)."},"true-reporting_MetaResponse":{"required":["companyId","latestHhDate","lastRefreshedAt","years","regions","sites"],"type":"object","properties":{"companyId":{"type":"string","format":"uuid"},"latestHhDate":{"type":["null","string"],"format":"date"},"lastRefreshedAt":{"type":["null","string"],"format":"date-time"},"years":{"type":"array","items":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}},"regions":{"type":"array","items":{"type":"string"}},"sites":{"type":"array","items":{"$ref":"#/components/schemas/true-reporting_MetaSiteDto"}}},"description":"Filter values and data freshness for the HH-consumption report (the \u0060/meta\u0060 page)."},"true-reporting_MetaSiteDto":{"required":["siteId","siteName","region"],"type":"object","properties":{"siteId":{"type":"string","format":"uuid"},"siteName":{"type":"string"},"region":{"type":["null","string"]}}},"true-reporting_MonthlySeriesPointDto":{"required":["year","month","monthName","mwh"],"type":"object","properties":{"year":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"month":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"},"monthName":{"type":"string"},"mwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["number","string"],"format":"double"}}},"true-reporting_OverviewResponse":{"required":["latestHhDate","lastRefreshedAt","estate","monthlySeries","sites"],"type":"object","properties":{"latestHhDate":{"type":["null","string"],"format":"date"},"lastRefreshedAt":{"type":["null","string"],"format":"date-time"},"estate":{"$ref":"#/components/schemas/true-reporting_EstateKpiDto"},"monthlySeries":{"type":"array","items":{"$ref":"#/components/schemas/true-reporting_MonthlySeriesPointDto"}},"sites":{"type":"array","items":{"$ref":"#/components/schemas/true-reporting_OverviewSiteRowDto"}}},"description":"Overview page: estate KPIs, the monthly consumption series by year, and per-site rows."},"true-reporting_OverviewSiteRowDto":{"required":["siteId","siteName","region","latestHhDate","validationPct","proportionOfRegionPct","ytdMwh","pytdMwh","yoyPct"],"type":"object","properties":{"siteId":{"type":"string","format":"uuid"},"siteName":{"type":"string"},"region":{"type":["null","string"]},"latestHhDate":{"type":["null","string"],"format":"date"},"validationPct":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"proportionOfRegionPct":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"ytdMwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"pytdMwh":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"},"yoyPct":{"pattern":"^-?(?:0|[1-9]\\d*)(?:\\.\\d\u002B)?(?:[eE][\u002B-]?\\d\u002B)?$","type":["null","number","string"],"format":"double"}}},"true-reporting_ProblemDetails":{"type":"object","properties":{"type":{"type":["null","string"]},"title":{"type":["null","string"]},"status":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["null","integer","string"],"format":"int32"},"detail":{"type":["null","string"]},"instance":{"type":["null","string"]}}}},"securitySchemes":{"trading-api_JWTBearerAuth":{"type":"http","description":"Enter a JWT token to authorize the requests...","scheme":"Bearer","bearerFormat":"JWT"}}},"servers":[{"url":"/"}]}