-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
18e6300
commit 3276c46
Showing
6 changed files
with
87 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 34 additions & 26 deletions
60
app/data/jsonSchemaForm/projectEmissionIntensitySchema.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,60 @@ | ||
const schema = { | ||
export const projectEmissionIntensitySchema = { | ||
$schema: "http://json-schema.org/draft-07/schema", | ||
type: "object", | ||
title: "Project TEIMP reporting", | ||
required: [], | ||
properties: { | ||
startDate: { | ||
title: "TIEMP Start Date", | ||
measurementPeriodStartDate: { | ||
title: "Measurement period start date", | ||
type: "string", | ||
default: undefined, | ||
}, | ||
endDate: { | ||
title: "TEIMP End Date", | ||
measurmentPeriodEndDate: { | ||
title: "Measurement period end date", | ||
type: "string", | ||
default: undefined, | ||
}, | ||
reportDueDate: { | ||
title: "Report Due Date", | ||
emissionFunctionalUnit: { | ||
title: "Functional Unit", | ||
type: "string", | ||
default: undefined, | ||
}, | ||
reportReceivedDate: { | ||
title: "Report Received Date", | ||
baselineEmissionIntensity: { | ||
title: "Base Line Emission Intensity (BEI)", | ||
type: "string", | ||
default: undefined, | ||
}, | ||
generalComments: { | ||
title: "General Comments", | ||
targetEmissionIntensity: { | ||
title: "Target Emission Intensity (TEI)", | ||
type: "string", | ||
default: undefined, | ||
}, | ||
functionalUnit: { | ||
title: "Functional Unit", | ||
postProjectEmissionIntensity: { | ||
title: "Post Project Emission Intensity", | ||
type: "string", | ||
default: undefined, | ||
}, | ||
baseLineEmissionIntensity: { | ||
title: "Base Line Emission Intensity (BEI)", | ||
totalLifeTimeEmissionIntensity: { | ||
title: "Total lifetime emissions reductions", | ||
type: "string", | ||
}, | ||
projectEmissionIntensity: { | ||
title: "Project Emission Intensity (PEI)", | ||
}, | ||
}; | ||
|
||
export const emissionIntensityReportingRequirements = { | ||
$schema: "http://json-schema.org/draft-07/schema", | ||
type: "object", | ||
title: "Reporting Requirement", | ||
required: [], | ||
properties: { | ||
reportDueDate: { | ||
type: "string", | ||
title: "Report Due Date", | ||
default: undefined, | ||
}, | ||
submittedDate: { | ||
type: "string", | ||
title: "Received Date", | ||
default: undefined, | ||
}, | ||
totalLifetimeEmissionsReductions: { | ||
title: "Total Lifetime Emissions Reductions", | ||
comments: { | ||
type: "string", | ||
title: "General Comments", | ||
}, | ||
}, | ||
}; | ||
|
||
export default schema; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters