Skip to content

SemanticRule ​

One per-row check beyond the row schema: what _semantics yields and what GET /formats/{id} serves (api.md §4).

Example Usage ​

typescript
import { SemanticRule } from "@meetkai/mka1/models/components";

let value: SemanticRule = {
  code: "<value>",
  severity: "error",
  description: "including impartial extension inside furthermore meh proceed",
};

Fields ​

FieldTypeRequiredDescription
codestring✔️N/A
severitycomponents.Severity✔️Whether an issue stops a consumer (ERROR) or is for a human to look at (WARNING).
descriptionstring✔️N/A