Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft electronic manifesting tree #43

Merged
merged 2 commits into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
250 changes: 81 additions & 169 deletions public/default.json
Original file line number Diff line number Diff line change
@@ -1,274 +1,186 @@
{
"nodes": [
{
"id": "0",
"type": "default",
"data": {
"label": "Create an electronic manifest (click me)",
"children": [
"1",
"2"
]
}
},
{
"id": "1",
"type": "default",
"id": "parent",
"type": "BoolNode",
"data": {
"label": "I am a Generator or Transporter",
"children": [
"15"
]
"label": "Are you registered?",
"yesId": "doYouHaveSiteId",
"noId": "goRegister"
}
},
{
"id": "2",
"type": "default",
"id": "goRegister",
"data": {
"label": "I am a TSDF",
"children": [
"3"
]
"label": "Time to Register in RCRAInfo!"
}
},
{
"id": "3",
"id": "doYouHaveSiteId",
"type": "BoolNode",
"data": {
"label": "Generator can sign electronically?",
"yesId": "4",
"noId": "5",
"children": [
"4",
"5"
]
}
},
{
"id": "4",
"type": "default",
"data": {
"label": "Create a Fully Electronic Manifest and set to Scheduled",
"children": [
"6"
]
"label": "Do you have your site's EPA ID?",
"yesId": "doHavePreparer",
"noId": "areYouVSQG"
}
},
{
"id": "5",
"type": "default",
"id": "areYouVSQG",
"type": "BoolNode",
"data": {
"label": "Create a Hybrid Manifest and set to Scheduled",
"children": [
"7"
]
"label": "Are you a VSQG?",
"yesId": "iAmVSQG",
"noId": "iAmNotVSQG"
}
},
{
"id": "7",
"type": "default",
"id": "iAmVSQG",
"data": {
"label": "Transporter prints 2 paper copies",
"children": [
"8"
]
"label": "You may not have an EPA ID. You may still use the Hybrid manifest option."
}
},
{
"id": "8",
"type": "default",
"id": "iAmNotVSQG",
"data": {
"label": "Generator signs on paper and keeps a copy",
"children": [
"9"
]
"label": "SQGs and LQGs must have an EPA ID. Find your EPA ID number."
}
},
{
"id": "9",
"type": "default",
"id": "doHavePreparer",
"type": "BoolNode",
"data": {
"label": "Initial transporter signs on paper and keeps a copy",
"children": [
"10"
]
"label": "Do you have a preparer level access?",
"yesId": "isManifestDrafted",
"noId": "requestPreparerAccess"
}
},
{
"id": "10",
"type": "default",
"id": "requestPreparerAccess",
"data": {
"label": "Initial transporter also signs electronically",
"children": [
"11"
]
"label": "Request preparer access."
}
},
{
"id": "11",
"type": "default",
"id": "isManifestDrafted",
"type": "BoolNode",
"data": {
"label": "Subsequent transporters signs electronically",
"children": [
"12"
]
"label": "Is the manifest drafted?",
"yesId": "areYouTSDF",
"noId": "draftManifest"
}
},
{
"id": "12",
"type": "default",
"id": "draftManifest",
"data": {
"label": "TSDF signs electronically",
"children": []
"label": "Draft the manifest."
}
},
{
"id": "6",
"type": "default",
"id": "areYouTSDF",
"type": "BoolNode",
"data": {
"label": "Generator signs electronically",
"children": [
"13"
]
"label": "Are you a TSDF?",
"yesId": "isManifestScheduled",
"noId": "areYouGenerator"
}
},
{
"id": "13",
"type": "default",
"id": "isManifestScheduled",
"type": "BoolNode",
"data": {
"label": "Transporters sign electronically",
"children": [
"14"
]
"label": "Is the manifest scheduled?",
"yesId": "isManifestReadyForSign",
"noId": "scheduleManifest"
}
},
{
"id": "14",
"type": "default",
"id": "scheduleManifest",
"data": {
"label": "TSDF signs electronically",
"children": []
"label": "Only the TSDF can set the manifest 'Scheduled'."
}
},
{
"id": "15",
"id": "isManifestReadyForSign",
"type": "BoolNode",
"data": {
"label": "Generator can sign electronically?",
"yesId": "16",
"noId": "17",
"children": [
"16",
"17"
]
"label": "Is the manifest ready for signature?",
"yesId": "signAndSubmit",
"noId": "ensureManifestReady"
}
},
{
"id": "16",
"type": "default",
"id": "ensureManifestReady",
"data": {
"label": "TSDF updates status to Scheduled",
"children": [
"18"
]
"label": "Ensure all handler have signed and is ready for TSDF signature."
}
},
{
"id": "18",
"type": "default",
"id": "signAndSubmit",
"data": {
"label": "Generator signs electronically",
"children": [
"19"
]
"label": "Sign the manifest and submit for invoicing."
}
},
{
"id": "19",
"type": "default",
"id": "test",
"data": {
"label": "Generator signs electronically",
"children": [
"20"
]
"label": "Test"
}
},
{
"id": "20",
"type": "default",
"id": "areYouGenerator",
"type": "BoolNode",
"data": {
"label": "Transporters sign electronically",
"children": [
"21"
]
"label": "Are you the listed Generator?",
"yesId": "isManifestScheduledNonTsdf",
"noId": "areYouInitialTransporter"
}
},
{
"id": "21",
"type": "default",
"id": "isManifestScheduledNonTsdf",
"type": "BoolNode",
"data": {
"label": "TSDF sign electronically",
"children": [
]
"label": "Is the manifest scheduled?",
"yesId": "readyForGeneratorSign",
"noId": "haveTsdfSetToScheduled"
}
},
{
"id": "17",
"type": "default",
"id": "areYouInitialTransporter",
"type": "BoolNode",
"data": {
"label": "TSDF selects the Hybrid Manifest option and updates status to Scheduled",
"children": [
"22"
]
"label": "Are you the initial transporter?",
"yesId": "haveGeneratorSign",
"noId": "signaturesAreSubsequent"
}
},
{
"id": "22",
"type": "default",
"id": "scheduleManifestNonTsdf",
"data": {
"label": "Transporter prints 2 paper copies",
"children": [
"23"
]
"label": "Once a manifest is set to scheduled, it's ready for the Generator's signature, then the initial transporters."
}
},
{
"id": "23",
"type": "default",
"id": "signaturesAreSubsequent",
"data": {
"label": "Generator signs on paper and keeps a copy",
"children": [
"24"
]
"label": "Signatures cannot be performed out of order. make sure all handler before you have signed."
}
},
{
"id": "24",
"type": "default",
"id": "readyForGeneratorSign",
"data": {
"label": "Initial transporter signs on paper and keeps a copy",
"children": [
"25"
]
"label": "The manifest is ready for the Generator's signature."
}
},
{
"id": "25",
"type": "default",
"id": "haveTsdfSetToScheduled",
"data": {
"label": "Subsequent transporters signs electronically",
"children": [
"26"
]
"label": "The TSDF needs to set the manifest to 'Scheduled' before the Generator can sign."
}
},
{
"id": "26",
"type": "default",
"id": "haveGeneratorSign",
"data": {
"label": "TSDF signs electronically",
"children": [
]
"label": "The manifest is ready for the initial transporter's signature."
}
}
]
Expand Down
Loading
Loading