addedInput schema / properties / density
Added value: +{
+ "description": "The layout density to check against: compact, comfortable or spacious. Omit it to use the project's design config, then the design system's default, both read from the page's --layout-density variable, then the mode closest to the measured page.",
+ "enum": [
+ "compact",
+ "comfortable",
+ "spacious"
+ ],
+ "type": "string"
+}
addedInput schema / properties / states / items / properties / density
Added value: +{
+ "description": "The density the page declares through the kit's --layout-density variable. The capture script fills it.",
+ "properties": {
+ "mode": {
+ "maxLength": 20,
+ "type": "string"
+ },
+ "source": {
+ "maxLength": 20,
+ "type": "string"
+ },
+ "unit": {
+ "exclusiveMinimum": 0,
+ "maximum": 64,
+ "type": "number"
+ }
+ },
+ "type": "object"
+}
addedOutput schema / properties / density
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "mode": {
+ "enum": [
+ "compact",
+ "comfortable",
+ "spacious"
+ ],
+ "type": "string"
+ },
+ "roles": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "expected": {
+ "type": "number"
+ },
+ "matches": {
+ "type": "boolean"
+ },
+ "measured": {
+ "type": "number"
+ },
+ "role": {
+ "enum": [
+ "sidebarWidth",
+ "pageInset",
+ "sectionGap",
+ "columnGap",
+ "cardPadding"
+ ],
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "role",
+ "state",
+ "measured",
+ "expected",
+ "matches"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "source": {
+ "enum": [
+ "argument",
+ "project",
+ "design-system",
+ "measured"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "mode",
+ "source",
+ "roles"
+ ],
+ "type": "object"
+}