Skip to main content
POST
Design rule check under a scoped rules document (E7.4; E7.9 adds room_definition and the polygon board shape)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
document
object
required

The project document as the /eda page saves it (sch + pcb + optional rules).

rules
object

Rules document {rules:[{name, kind, enabled, priority, scope1, scope2?, params, severity}]}; scopes are Filter/Query expressions.

Response

The violation report

by_rule
object
drc_key
string
errors
integer
rules_used
object

Rules document {rules:[{name, kind, enabled, priority, scope1, scope2?, params, severity}]}; scopes are Filter/Query expressions.

shorts
object[]
violations
object[]
vocabulary
object
warnings
integer