Two needs about the same record wrote the same page, and the last won. The record's page now holds one form per answering need, under words["forms"][need]. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GT37Z1Xtfd9pUuQtMTg6Yt
133 lines
4.0 KiB
YAML
133 lines
4.0 KiB
YAML
name: What needs doing?
|
|
description: Everything inspectors looks after.
|
|
responsible:
|
|
name: Solveig Hauge
|
|
contact: byggesak@vestmark.example
|
|
alternatives:
|
|
- name: Applications
|
|
description: Sent in by A homeowner who wants a garage, an extension, a new window or another change to their property or An approved architect or engineering firm filing on behalf of an owner.
|
|
action: /inspectors
|
|
consequence:
|
|
- Confirm
|
|
features:
|
|
- name: Applications
|
|
description: Each row is one case and the stage it has reached. Another desk moves these.
|
|
resource:
|
|
source:
|
|
kind: kv
|
|
bucket: applications
|
|
requires_group: inspectors
|
|
transitions: []
|
|
- name: Completion certificates
|
|
description: Sent in by An approved firm whose work on a case is done.
|
|
action: /inspectors
|
|
consequence:
|
|
- Confirm
|
|
features:
|
|
- name: Completion certificates
|
|
description: Each row is one case and the stage it has reached. Another desk moves these.
|
|
resource:
|
|
source:
|
|
kind: kv
|
|
bucket: completion_certificates
|
|
requires_group: inspectors
|
|
transitions: []
|
|
- name: Illegal building
|
|
description: Sent in by Someone who sees something going up behind their fence without permission or The front desk, when someone rings or comes in about building without permission.
|
|
action: /inspectors
|
|
consequence:
|
|
- Confirm
|
|
features:
|
|
- name: Illegal building
|
|
description: Each row is one case. The buttons record what you have just done with it.
|
|
resource:
|
|
source:
|
|
kind: kv
|
|
bucket: illegal_building
|
|
requires_group: inspectors
|
|
transitions:
|
|
- from: open
|
|
to: inspected
|
|
label: We have been and looked
|
|
- name: Inspections
|
|
description: Sent in by An inspector on site, writing on a phone in a cold wind.
|
|
action: /inspectors
|
|
consequence:
|
|
- Confirm
|
|
features:
|
|
- name: Inspections
|
|
description: Each row is one case. The buttons record what you have just done with it.
|
|
resource:
|
|
source:
|
|
kind: kv
|
|
bucket: inspections
|
|
requires_group: inspectors
|
|
transitions:
|
|
- from: open
|
|
to: to_put_right
|
|
label: To be put right, then we go back
|
|
- from: open
|
|
to: as_approved
|
|
label: As approved
|
|
- from: to_put_right
|
|
to: as_approved
|
|
label: As approved
|
|
- name: Temporary permissions
|
|
description: Sent in by An approved firm whose client wants to move in before everything is done.
|
|
action: /inspectors
|
|
consequence:
|
|
- Confirm
|
|
features:
|
|
- name: Temporary permissions
|
|
description: Each row is one case and the stage it has reached. Another desk moves these.
|
|
resource:
|
|
source:
|
|
kind: kv
|
|
bucket: temporary_permissions
|
|
requires_group: inspectors
|
|
transitions: []
|
|
- name: To write up what was found on a case and set a date for what must be put right
|
|
description: For An inspector on site, writing on a phone in a cold wind.
|
|
action: /inspectors/inspection
|
|
consequence:
|
|
- Open
|
|
- name: Invite someone into Inspectors
|
|
description: They get an account, a place in Inspectors, and a one-time link to set their own password or passkey.
|
|
action: /inspectors
|
|
consequence:
|
|
- Invite
|
|
invite:
|
|
group: inspectors
|
|
features:
|
|
- name: Who
|
|
description: Their name, and the address the account and its one-time link go to.
|
|
requirements:
|
|
- name: name
|
|
label: Name
|
|
- name: email
|
|
label: Email
|
|
type: email
|
|
- name: Invitations sent
|
|
description: Each invite and where it stands. A link that runs out unused can be sent again.
|
|
action: /inspectors
|
|
consequence:
|
|
- Confirm
|
|
features:
|
|
- name: Who has been invited
|
|
description: Each row is one invitation. It is done by itself when the person signs in, and expired when the link ran out unused.
|
|
resource:
|
|
source:
|
|
kind: kv
|
|
bucket: portal_invites
|
|
requires_group: inspectors
|
|
transitions:
|
|
- from: open
|
|
to: done
|
|
label: Is in
|
|
- from: expired
|
|
to: open
|
|
label: Send again
|
|
- from: expired
|
|
to: done
|
|
label: Is in
|