Skip to main content
POST
A structured brief to the engine's commands that draw it: the shell, our generic families, terminals, sources, boards and their entered values, with the next requests (`ss.mep.layout/1`, MEP33); with `existing`, the services alone into the document's own building (MEP33b)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
brief
object
required

ss.mep.brief/1. Unknown fields are refused. Plan coordinates are mm from the plate's south-west corner, x east, y north.

key
string
required

A document key, b3:<hex>: the blob store's id for the canonical bytes

Response

OK

air_zoning
array

The oversized-mains method (docs/mep/MEP32b.md): each plant whose air one main won't do, estimated from its rooms' ceiling space (the depth about the diffusers' necks the router will read) and the limits, where the brief's air.split gives no choice for it (or gives one that can't be done there): {code: AIR_ONE_MAIN_WONT_DO, plant, storeys, why: depth | flow, flow_l_s, depth_mm, max_main_flow_l_s, zones, message, options [{choice: ahu | mains | larger, possible, why_not?, does, limits? {name: {from, to}}}]}. A question for the person, not a refusal: the layout goes on with one main from that plant meanwhile; answer it with air.split and lay out again. The choices made are in placed.air.split.

circuits
array
commands
array
could_not
array
defaults
array
handles
object
key
string

A document key, b3:<hex>: the blob store's id for the canonical bytes

name
string
next
array
notes
array
placed
object
practice
object

R4: present when the caller's organisation has a practice pack in force (practice_adopt): {item_id, ref (practice:<id>@<rev>), used [{pointer, value, param?, code?, source {kind: practice, ref, why}, changes_model?}], kept [{pointer, brief, practice}] (the brief's own value stands), skipped [{code, scope?, choice, why}] (an answer for a plant this brief has none of, or a choice that can't be done where asked), sources [{param, value, source {kind: brief | practice | ours, ref?, why}}] (where every air limit came from)}. Practice values are written only where the brief says nothing; a practice answer answers only a question this layout asks (one main won't do), for the plant asked about, and the layout is then run again with it; an answer that changes the person's model is approved with the plan. The air main limits line in defaults says whose each limit is. A pack in force that no longer reads is named (unreadable) and nothing of it applied. Absent with no practice in force.

questions
object[]

R2 of the rules plan: what this answer asks, as typed questions (ss.question/1): {schema, id (stable over a re-run), code, domain, rung, scope (what one answer covers: a plant, storeys), message, why {class, sentence, measures}, options [{choice, possible, why_not?, does, consequences [{what, limit?, from?, to?, unit?}], changes_model}], answer_at (the brief's JSON pointer the answer is written at), default? (an adopted practice pack's)}. Absent where nothing is asked. Answer by writing the choice into the brief at answer_at and running again.

schema
string