@canonical/design-system 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/ISSUE_TEMPLATE/propose-changes-to-existing-ui-block.md +14 -0
- package/.github/ISSUE_TEMPLATE/propose-new-ui-block.md +26 -0
- package/.github/PULL_REQUEST_TEMPLATE.md +13 -0
- package/.github/workflows/ci.yml +39 -0
- package/.github/workflows/sync-coda-manual.yml +12 -0
- package/.github/workflows/sync-coda-scheduled.yml +13 -0
- package/.github/workflows/sync-coda.yml +38 -0
- package/.mcp.json +6 -2
- package/GEMINI.md +2 -0
- package/README.md +71 -51
- package/biome.json +1 -1
- package/bun.lock +38 -35
- package/data/apps/component/file_tree.ttl +6 -7
- package/data/apps/component/key_value_pair.ttl +6 -7
- package/data/apps/component/navigation.ttl +6 -7
- package/data/apps/component/notification.ttl +7 -0
- package/data/apps/component/skeleton_loading.ttl +6 -7
- package/data/apps/component/status_bar.ttl +6 -7
- package/data/apps/component/toolbar.ttl +6 -7
- package/data/apps/group/notifications.ttl +7 -0
- package/data/apps/layout/application_layout.ttl +8 -7
- package/data/apps/layout/content_layout.ttl +9 -0
- package/data/apps/layout/empty_layout.ttl +6 -7
- package/data/apps/layout/list_page_layout.ttl +6 -7
- package/data/apps/layout/settings_page_layout.ttl +6 -7
- package/data/apps/layout/view_layout.ttl +9 -0
- package/data/apps/pattern/code_diff.ttl +6 -7
- package/data/apps/pattern/data_table.ttl +6 -7
- package/data/apps/pattern/destructive_modal.ttl +6 -7
- package/data/apps/pattern/key_value_summary.ttl +6 -7
- package/data/apps/pattern/keyboard_shortcuts.ttl +6 -7
- package/data/apps/pattern/notification_center.ttl +6 -7
- package/data/apps/pattern/side_panel.ttl +6 -7
- package/data/apps/pattern/sidepanel_stacked.ttl +6 -7
- package/data/apps/subcomponent/file_tree-node.ttl +7 -0
- package/data/apps.ttl +3 -4
- package/data/apps_anbox/component/copy_to_clipboard.ttl +7 -0
- package/data/apps_anbox/pattern/side_menu.ttl +13 -0
- package/data/apps_anbox.ttl +4 -0
- package/data/apps_juju/pattern/single_select_multi_layered.ttl +7 -0
- package/data/apps_juju.ttl +4 -0
- package/data/apps_landscape/component/password_constraints.ttl +32 -0
- package/data/apps_landscape.ttl +4 -0
- package/data/apps_launchpad/component/badge.ttl +23 -0
- package/data/apps_launchpad/component/breadcrumbs.ttl +14 -0
- package/data/apps_launchpad/component/button.ttl +35 -0
- package/data/apps_launchpad/component/checkbox.ttl +28 -0
- package/data/apps_launchpad/component/chip.ttl +42 -0
- package/data/apps_launchpad/component/combobox.ttl +52 -0
- package/data/apps_launchpad/component/description_list.ttl +13 -0
- package/data/apps_launchpad/component/radio.ttl +34 -0
- package/data/apps_launchpad/component/select.ttl +34 -0
- package/data/apps_launchpad/component/switch.ttl +21 -0
- package/data/apps_launchpad/component/text_input.ttl +36 -0
- package/data/apps_launchpad/component/textarea.ttl +35 -0
- package/data/apps_launchpad/component/tooltip.ttl +28 -0
- package/data/apps_launchpad/component/user_avatar.ttl +25 -0
- package/data/apps_launchpad/subcomponent/combobox-checkbox_option.ttl +29 -0
- package/data/apps_launchpad/subcomponent/combobox-footer.ttl +13 -0
- package/data/apps_launchpad/subcomponent/combobox-group.ttl +20 -0
- package/data/apps_launchpad/subcomponent/combobox-helper.ttl +19 -0
- package/data/apps_launchpad/subcomponent/combobox-loading.ttl +13 -0
- package/data/apps_launchpad/subcomponent/combobox-no_results.ttl +13 -0
- package/data/apps_launchpad/subcomponent/combobox-radio_option.ttl +29 -0
- package/data/apps_launchpad/subcomponent/combobox-search.ttl +22 -0
- package/data/apps_launchpad/subcomponent/description_list-item.ttl +19 -0
- package/data/apps_launchpad.ttl +4 -0
- package/data/apps_lxd/component/confirmation_checkbox.ttl +7 -0
- package/data/apps_lxd/component/copy_to_clipboard.ttl +7 -0
- package/data/apps_lxd/view/network_topology.ttl +7 -0
- package/data/apps_lxd.ttl +4 -0
- package/data/apps_portal/component/badge.ttl +7 -0
- package/data/apps_portal.ttl +4 -0
- package/data/apps_workplace/component/label-highlight.ttl +7 -0
- package/data/apps_workplace.ttl +4 -0
- package/data/apps_wpe.ttl +3 -4
- package/data/documentation/layout/documentation_layout.ttl +6 -7
- package/data/documentation/pattern/library_side_navigation.ttl +7 -0
- package/data/documentation.ttl +3 -4
- package/data/global/component/accordion.ttl +11 -12
- package/data/global/component/announcement.ttl +6 -7
- package/data/global/component/badge.ttl +7 -8
- package/data/global/component/breadcrumbs.ttl +13 -0
- package/data/global/component/button.ttl +29 -17
- package/data/global/component/button_link.ttl +7 -0
- package/data/global/component/card.ttl +6 -7
- package/data/global/component/chip.ttl +6 -7
- package/data/global/component/code.ttl +7 -0
- package/data/global/component/code_snippet-content.ttl +7 -0
- package/data/global/component/code_snippet-header.ttl +7 -0
- package/data/global/component/code_snippet.ttl +6 -7
- package/data/global/component/contextual_menu.ttl +6 -7
- package/data/global/component/heading.ttl +12 -12
- package/data/global/component/icon.ttl +12 -12
- package/data/global/component/icon_in_container.ttl +6 -7
- package/data/global/component/keyboard_key.ttl +6 -7
- package/data/global/component/label.ttl +12 -13
- package/data/global/component/notification_inline.ttl +6 -7
- package/data/global/component/notification_toast.ttl +6 -7
- package/data/global/component/pagination.ttl +6 -7
- package/data/global/component/popover.ttl +6 -7
- package/data/global/component/rich_text_editor.ttl +6 -7
- package/data/global/component/search_bar.ttl +6 -7
- package/data/global/component/table.ttl +6 -7
- package/data/global/component/tabs.ttl +6 -7
- package/data/global/component/theme_switcher.ttl +6 -7
- package/data/global/component/tile.ttl +11 -12
- package/data/global/component/tooltip.ttl +201 -7
- package/data/global/group/buttons.ttl +6 -7
- package/data/global/group/cards.ttl +6 -7
- package/data/global/group/code_snippets.ttl +7 -0
- package/data/global/group/keyboard_keys.ttl +7 -0
- package/data/global/group/tiles.ttl +6 -7
- package/data/global/layout/error_layout.ttl +6 -7
- package/data/global/layout/form_layout.ttl +6 -7
- package/data/global/layout/identity_page_form.ttl +6 -7
- package/data/global/modifier/alpha.ttl +5 -5
- package/data/global/modifier/beta.ttl +5 -5
- package/data/global/modifier/caution.ttl +5 -5
- package/data/global/modifier/comfortable.ttl +5 -5
- package/data/global/modifier/completed.ttl +5 -5
- package/data/global/modifier/constructive.ttl +5 -5
- package/data/global/modifier/dark.ttl +5 -5
- package/data/global/modifier/dense.ttl +5 -5
- package/data/global/modifier/destructive.ttl +5 -5
- package/data/global/modifier/editable.ttl +5 -5
- package/data/global/modifier/elevated.ttl +5 -5
- package/data/global/modifier/error.ttl +5 -5
- package/data/global/modifier/experimental.ttl +5 -5
- package/data/global/modifier/failed.ttl +5 -5
- package/data/global/modifier/focused.ttl +5 -5
- package/data/global/modifier/highlighted.ttl +5 -5
- package/data/global/modifier/in_progress.ttl +5 -5
- package/data/global/modifier/information.ttl +5 -5
- package/data/global/modifier/light.ttl +5 -5
- package/data/global/modifier/loading.ttl +5 -5
- package/data/global/modifier/muted.ttl +5 -5
- package/data/global/modifier/paper.ttl +5 -5
- package/data/global/modifier/planned.ttl +5 -5
- package/data/global/modifier/primary.ttl +5 -5
- package/data/global/modifier/secondary.ttl +5 -5
- package/data/global/modifier/stable.ttl +5 -5
- package/data/global/modifier/success.ttl +5 -5
- package/data/global/modifier/tertiary.ttl +5 -5
- package/data/global/modifier/warning.ttl +5 -5
- package/data/global/modifier/wireframe.ttl +5 -5
- package/data/global/modifier_family/_color_luminosity.ttl +5 -6
- package/data/global/modifier_family/_emphasis.ttl +5 -6
- package/data/global/modifier_family/_other.ttl +5 -6
- package/data/global/modifier_family/anticipation.ttl +5 -6
- package/data/global/modifier_family/criticality.ttl +5 -6
- package/data/global/modifier_family/density.ttl +5 -6
- package/data/global/modifier_family/importance.ttl +5 -6
- package/data/global/modifier_family/lifecycle.ttl +5 -6
- package/data/global/modifier_family/release.ttl +5 -6
- package/data/global/pattern/dropdown_button.ttl +7 -0
- package/data/global/pattern/info_table.ttl +6 -7
- package/data/global/pattern/modal.ttl +6 -7
- package/data/global/pattern/navigation.ttl +6 -7
- package/data/global/pattern/stepper.ttl +6 -7
- package/data/global/pattern/table_of_contents.ttl +6 -7
- package/data/global/pattern/timeline.ttl +64 -12
- package/data/global/subcomponent/accordion-item.ttl +15 -16
- package/data/global/subcomponent/breadcrumbs-item.ttl +15 -16
- package/data/global/subcomponent/card-content.ttl +11 -12
- package/data/global/subcomponent/card-header.ttl +11 -12
- package/data/global/subcomponent/card-image.ttl +16 -17
- package/data/global/subcomponent/card-thumbnail.ttl +7 -0
- package/data/global/subcomponent/divider.ttl +6 -7
- package/data/global/subcomponent/modal-content.ttl +6 -7
- package/data/global/subcomponent/modal-footer.ttl +6 -7
- package/data/global/subcomponent/modal-header.ttl +6 -7
- package/data/global/subcomponent/spinner.ttl +6 -7
- package/data/global/subcomponent/table-cell.ttl +6 -7
- package/data/global/subcomponent/table-row.ttl +6 -7
- package/data/global/subcomponent/tile-content.ttl +11 -12
- package/data/global/subcomponent/tile-header.ttl +11 -12
- package/data/global/subcomponent/timeline-content.ttl +11 -12
- package/data/global/subcomponent/timeline-event.ttl +42 -27
- package/data/global/subcomponent/timeline-expansion_indicator.ttl +7 -0
- package/data/global/subcomponent/timeline-header.ttl +6 -7
- package/data/global/view/settings_view.ttl +7 -0
- package/data/global.ttl +3 -4
- package/data/global_form/component/checkbox_input.ttl +6 -7
- package/data/global_form/component/choices_input.ttl +6 -7
- package/data/global_form/component/combobox_input.ttl +6 -7
- package/data/global_form/component/custom_choices_input.ttl +6 -7
- package/data/global_form/component/datepicker_input.ttl +6 -7
- package/data/global_form/component/rating_input.ttl +6 -7
- package/data/global_form/component/rich_text_input.ttl +7 -0
- package/data/global_form/component/segmented_control_input.ttl +6 -7
- package/data/global_form/component/slider_input.ttl +6 -7
- package/data/global_form/component/switch_input.ttl +6 -7
- package/data/global_form/component/text_input.ttl +6 -7
- package/data/global_form/component/textarea_input.ttl +6 -7
- package/data/global_form/component/wysiwginput.ttl +6 -7
- package/data/global_form/pattern/field.ttl +6 -7
- package/data/global_form/pattern/form.ttl +6 -7
- package/data/global_form/subcomponent/field-description.ttl +6 -7
- package/data/global_form/subcomponent/field-label.ttl +6 -7
- package/data/global_form.ttl +3 -4
- package/data/site/component/blog_card.ttl +7 -0
- package/data/site/component/quote.ttl +6 -7
- package/data/site/component/rule.ttl +6 -7
- package/data/site/component/section.ttl +6 -7
- package/data/site/group/blog_cards.ttl +7 -0
- package/data/site/layout/blog_page_layout.ttl +7 -0
- package/data/site/layout/case_study_layout.ttl +7 -0
- package/data/site/layout/site_layout.ttl +6 -7
- package/data/site/pattern/hero-github.ttl +6 -7
- package/data/site/pattern/hero.ttl +6 -7
- package/data/site/pattern/info_table.ttl +6 -7
- package/data/site/pattern/pricing_section.ttl +7 -0
- package/data/site/pattern/pricing_table.ttl +7 -0
- package/data/site/pattern/read_more_section.ttl +7 -0
- package/data/site/pattern/skip_link.ttl +6 -7
- package/data/site.ttl +3 -4
- package/data/sites_webcomponentsprototype/component/blog_cards.ttl +7 -0
- package/data/sites_webcomponentsprototype/component/ctablock.ttl +7 -0
- package/data/sites_webcomponentsprototype/component/list.ttl +7 -0
- package/data/sites_webcomponentsprototype/component/tabs.ttl +7 -0
- package/data/sites_webcomponentsprototype/layout/site_layout.ttl +8 -0
- package/data/sites_webcomponentsprototype/pattern/basic_section.ttl +7 -0
- package/data/sites_webcomponentsprototype/pattern/blog_section.ttl +7 -0
- package/data/sites_webcomponentsprototype/pattern/ctasection.ttl +7 -0
- package/data/sites_webcomponentsprototype/pattern/equal_heights.ttl +7 -0
- package/data/sites_webcomponentsprototype/pattern/hero.ttl +7 -0
- package/data/sites_webcomponentsprototype/pattern/logo_section.ttl +7 -0
- package/data/sites_webcomponentsprototype/pattern/quote_wrapper.ttl +7 -0
- package/data/sites_webcomponentsprototype/pattern/tiered_list.ttl +7 -0
- package/data/sites_webcomponentsprototype.ttl +4 -0
- package/data/stores.ttl +3 -4
- package/definitions/ontology.ttl +132 -171
- package/package.json +8 -8
- package/skills/anatomy-author/SKILL.md +14 -9
- package/skills/component-specifier/SKILL.md +84 -85
- package/skills/design-auditor/SKILL.md +50 -45
- package/source.json +40 -33
- package/src/cli.ts +33 -33
- package/src/collect/generateTurtle.tests.ts +181 -193
- package/src/collect/generateTurtle.ts +189 -138
- package/src/collect/index.ts +5 -2
- package/src/collect/scanAnnotations.tests.ts +116 -110
- package/src/collect/scanAnnotations.ts +35 -33
- package/src/collect/types.ts +34 -33
- package/src/collect/validateCollectConfig.tests.ts +135 -112
- package/src/collect/validateCollectConfig.ts +60 -54
- package/src/collect-implementations.ts +101 -88
- package/src/commands/extract.tests.ts +31 -32
- package/src/commands/extract.ts +29 -27
- package/src/commands/index.ts +1 -1
- package/src/commands/list.tests.ts +13 -14
- package/src/commands/list.ts +9 -9
- package/src/commands/transform.tests.ts +21 -21
- package/src/commands/transform.ts +127 -99
- package/src/config/source.schema.json +9 -0
- package/src/config/types.ts +40 -33
- package/src/config/validateConfig.tests.ts +31 -31
- package/src/config/validateConfig.ts +9 -9
- package/src/constants.ts +7 -9
- package/src/graph/GraphStore.tests.ts +111 -111
- package/src/graph/GraphStore.ts +205 -189
- package/src/graph/PrefixMap.tests.ts +124 -122
- package/src/graph/PrefixMap.ts +77 -77
- package/src/graph/buildUri.tests.ts +119 -106
- package/src/graph/buildUri.ts +47 -35
- package/src/graph/index.ts +2 -2
- package/src/graph/types.ts +3 -3
- package/src/providers/CodaProvider.tests.ts +233 -233
- package/src/providers/CodaProvider.ts +145 -145
- package/src/providers/CodaProvider.types.generated.ts +12484 -12123
- package/src/providers/index.ts +13 -13
- package/src/serializers/JSONSerializer.tests.ts +65 -68
- package/src/serializers/JSONSerializer.ts +51 -51
- package/src/serializers/TTLSerializer.tests.ts +46 -48
- package/src/serializers/TTLSerializer.ts +66 -59
- package/src/serializers/index.ts +4 -1
- package/src/serializers/types.ts +3 -3
- package/src/transform/resolveReferences.tests.ts +47 -43
- package/src/transform/resolveReferences.ts +18 -18
- package/src/transform/resolveValue.tests.ts +55 -49
- package/src/transform/resolveValue.ts +48 -48
- package/src/transform/transform.tests.ts +90 -79
- package/src/transform/transform.ts +77 -75
- package/src/transform/transformRow.tests.ts +373 -258
- package/src/transform/transformRow.ts +228 -173
- package/src/transform/types.ts +4 -4
- package/tsconfig.json +2 -1
- package/data/global/component/link.ttl +0 -8
- package/data/global/pattern/breadcrumbs.ttl +0 -14
- package/data/global/pattern/select_button.ttl +0 -8
- package/data/global/subcomponent/timeline-footer.ttl +0 -8
- package/session/A.DSL.md +0 -429
- package/session/B.NOTES.md +0 -84
- package/session/global.component.accordion.yaml +0 -13
- package/session/global.component.button.yaml +0 -26
- package/session/global.component.card.yaml +0 -24
- package/session/global.component.icon.yaml +0 -7
- package/session/global.component.label.yaml +0 -7
- package/session/global.component.tile.yaml +0 -21
- package/session/global.component.timeline.yaml +0 -20
- package/session/global.pattern.breadcrumbs.yaml +0 -13
- package/session/global.subcomponent.accordion-item.yaml +0 -37
- package/session/global.subcomponent.breadcrumbs-item.yaml +0 -21
- package/session/global.subcomponent.card-content.yaml +0 -7
- package/session/global.subcomponent.card-header.yaml +0 -22
- package/session/global.subcomponent.card-image.yaml +0 -7
- package/session/global.subcomponent.tile-content.yaml +0 -7
- package/session/global.subcomponent.tile-header.yaml +0 -8
- package/session/global.subcomponent.timeline-content.yaml +0 -13
- package/session/global.subcomponent.timeline-event.yaml +0 -20
- package/session/global.subcomponent.timeline-footer.yaml +0 -9
- package/session/global.subcomponent.timeline-header.yaml +0 -18
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: component-specifier
|
|
3
|
+
description: Specify new UI components with full ontological structure
|
|
4
|
+
---
|
|
5
|
+
|
|
1
6
|
# Component Specifier
|
|
2
7
|
|
|
3
8
|
Specify new UI components with full ontological structure, ensuring consistency with existing design system patterns. This skill combines semantic discovery (understanding what exists) with procedural authoring (creating well-formed specifications).
|
|
@@ -13,19 +18,19 @@ Specify new UI components with full ontological structure, ensuring consistency
|
|
|
13
18
|
|
|
14
19
|
Before creating a component, understand the context:
|
|
15
20
|
|
|
16
|
-
1. **Identify the tier**: Call `sem_lookup(type: "
|
|
17
|
-
2. **Check existing components**: Call `sem_lookup(type: "
|
|
18
|
-
3. **Understand modifier families**: Call `sem_lookup(type: "
|
|
21
|
+
1. **Identify the tier**: Call `sem_lookup(type: "ds:Tier")` to see available tiers
|
|
22
|
+
2. **Check existing components**: Call `sem_lookup(type: "ds:Component", filters: {"ds:tier": "{tier-uri}"})` to see siblings
|
|
23
|
+
3. **Understand modifier families**: Call `sem_lookup(type: "ds:ModifierFamily")` to see available variant axes
|
|
19
24
|
4. **Check for similar components**: Call `sem_sparql` to search by name patterns
|
|
20
25
|
|
|
21
26
|
```
|
|
22
|
-
sem_lookup(type: "
|
|
27
|
+
sem_lookup(type: "ds:Tier")
|
|
23
28
|
→ Choose tier based on scope (global, apps, site, etc.)
|
|
24
29
|
|
|
25
|
-
sem_lookup(type: "
|
|
30
|
+
sem_lookup(type: "ds:Component", filters: {"ds:tier": "ds:global"})
|
|
26
31
|
→ See existing components in that tier
|
|
27
32
|
|
|
28
|
-
sem_lookup(type: "
|
|
33
|
+
sem_lookup(type: "ds:ModifierFamily")
|
|
29
34
|
→ Identify which modifier families apply
|
|
30
35
|
```
|
|
31
36
|
|
|
@@ -69,14 +74,13 @@ Is it for e-commerce?
|
|
|
69
74
|
Query existing modifier families and their usage:
|
|
70
75
|
|
|
71
76
|
```sparql
|
|
72
|
-
PREFIX
|
|
73
|
-
PREFIX ds: <https://ds.canonical.com/data/>
|
|
77
|
+
PREFIX ds: <https://ds.canonical.com/>
|
|
74
78
|
|
|
75
79
|
SELECT ?family ?familyName (COUNT(?component) as ?usage) WHERE {
|
|
76
|
-
?family a
|
|
77
|
-
|
|
80
|
+
?family a ds:ModifierFamily ;
|
|
81
|
+
ds:name ?familyName .
|
|
78
82
|
OPTIONAL {
|
|
79
|
-
?component
|
|
83
|
+
?component ds:hasModifierFamily ?family .
|
|
80
84
|
}
|
|
81
85
|
} GROUP BY ?family ?familyName
|
|
82
86
|
ORDER BY DESC(?usage)
|
|
@@ -109,12 +113,12 @@ Ask the user:
|
|
|
109
113
|
Before creating, verify uniqueness:
|
|
110
114
|
|
|
111
115
|
```sparql
|
|
112
|
-
PREFIX
|
|
116
|
+
PREFIX ds: <https://ds.canonical.com/ontology#>
|
|
113
117
|
|
|
114
118
|
SELECT ?existing ?name ?tier WHERE {
|
|
115
|
-
?existing a
|
|
116
|
-
|
|
117
|
-
|
|
119
|
+
?existing a ds:Component ;
|
|
120
|
+
ds:name ?name ;
|
|
121
|
+
ds:tier ?tier .
|
|
118
122
|
FILTER(CONTAINS(LCASE(?name), "{search-term}"))
|
|
119
123
|
}
|
|
120
124
|
```
|
|
@@ -128,39 +132,36 @@ Use the templates below based on gathered information.
|
|
|
128
132
|
### Component Template (Turtle)
|
|
129
133
|
|
|
130
134
|
```turtle
|
|
131
|
-
@prefix
|
|
132
|
-
@prefix ds: <https://ds.canonical.com/data/> .
|
|
135
|
+
@prefix ds: <https://ds.canonical.com/> .
|
|
133
136
|
|
|
134
|
-
ds:{tier}.component.{snake_case_name} a
|
|
135
|
-
|
|
136
|
-
|
|
137
|
+
ds:{tier}.component.{snake_case_name} a ds:Component ;
|
|
138
|
+
ds:name "{DisplayName}" ;
|
|
139
|
+
ds:summary """{
|
|
137
140
|
One-paragraph description of what the component is and does.
|
|
138
141
|
Focus on the problem it solves, not implementation details.
|
|
139
142
|
}""" ;
|
|
140
|
-
|
|
143
|
+
ds:tier ds:{tier} ;
|
|
141
144
|
|
|
142
145
|
# Modifier families (remove if not applicable)
|
|
143
|
-
|
|
144
|
-
|
|
146
|
+
ds:hasModifierFamily ds:global.modifier_family.{family1} ;
|
|
147
|
+
ds:hasModifierFamily ds:global.modifier_family.{family2} ;
|
|
145
148
|
|
|
146
149
|
# Usage guidance
|
|
147
|
-
|
|
150
|
+
ds:whenToUse """{
|
|
148
151
|
- Scenario 1 when this component is appropriate
|
|
149
152
|
- Scenario 2
|
|
150
153
|
- Scenario 3
|
|
151
154
|
}""" ;
|
|
152
|
-
|
|
155
|
+
ds:whenNotToUse """{
|
|
153
156
|
- Anti-pattern 1: use {alternative} instead
|
|
154
157
|
- Anti-pattern 2
|
|
155
158
|
}""" ;
|
|
156
159
|
|
|
157
160
|
# Design links (add when available)
|
|
158
|
-
#
|
|
159
|
-
# dso:wireframeLink <https://...> ;
|
|
160
|
-
# dso:anatomy <https://...> ;
|
|
161
|
+
# ds:figmaLink <https://figma.com/file/...> ;
|
|
161
162
|
|
|
162
163
|
# Guidelines
|
|
163
|
-
|
|
164
|
+
ds:guidelines """{
|
|
164
165
|
## Anatomy
|
|
165
166
|
- Part 1: description
|
|
166
167
|
- Part 2: description
|
|
@@ -180,48 +181,47 @@ Focus on the problem it solves, not implementation details.
|
|
|
180
181
|
```json
|
|
181
182
|
{
|
|
182
183
|
"@context": {
|
|
183
|
-
"
|
|
184
|
-
"ds": "https://ds.canonical.com/data/"
|
|
184
|
+
"ds": "https://ds.canonical.com/"
|
|
185
185
|
},
|
|
186
186
|
"@id": "ds:{tier}.component.{snake_case_name}",
|
|
187
|
-
"@type": "
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
"
|
|
187
|
+
"@type": "ds:Component",
|
|
188
|
+
"ds:name": "{DisplayName}",
|
|
189
|
+
"ds:summary": "{description}",
|
|
190
|
+
"ds:tier": { "@id": "ds:{tier}" },
|
|
191
|
+
"ds:hasModifierFamily": [
|
|
192
192
|
{ "@id": "ds:global.modifier_family.{family1}" }
|
|
193
193
|
],
|
|
194
|
-
"
|
|
195
|
-
"
|
|
196
|
-
"
|
|
194
|
+
"ds:whenToUse": "{usage guidance}",
|
|
195
|
+
"ds:whenNotToUse": "{anti-patterns}",
|
|
196
|
+
"ds:guidelines": "{guidelines}"
|
|
197
197
|
}
|
|
198
198
|
```
|
|
199
199
|
|
|
200
200
|
### Subcomponent Template
|
|
201
201
|
|
|
202
202
|
```turtle
|
|
203
|
-
ds:{tier}.subcomponent.{parent}_{part} a
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
203
|
+
ds:{tier}.subcomponent.{parent}_{part} a ds:Subcomponent ;
|
|
204
|
+
ds:name "{PartName}" ;
|
|
205
|
+
ds:summary "{What this part does}" ;
|
|
206
|
+
ds:tier ds:{tier} ;
|
|
207
|
+
ds:parentComponent ds:{tier}.component.{parent} ;
|
|
208
|
+
ds:standalone false . # true if can be used independently
|
|
209
209
|
```
|
|
210
210
|
|
|
211
211
|
### Pattern Template
|
|
212
212
|
|
|
213
213
|
```turtle
|
|
214
|
-
ds:{tier}.pattern.{snake_case_name} a
|
|
215
|
-
|
|
216
|
-
|
|
214
|
+
ds:{tier}.pattern.{snake_case_name} a ds:Pattern ;
|
|
215
|
+
ds:name "{PatternName}" ;
|
|
216
|
+
ds:summary """{
|
|
217
217
|
Description of the UX problem this pattern solves.
|
|
218
218
|
}""" ;
|
|
219
|
-
|
|
220
|
-
|
|
219
|
+
ds:tier ds:{tier} ;
|
|
220
|
+
ds:whenToUse """{
|
|
221
221
|
- User scenario 1
|
|
222
222
|
- User scenario 2
|
|
223
223
|
}""" ;
|
|
224
|
-
|
|
224
|
+
ds:guidelines """{
|
|
225
225
|
## Structure
|
|
226
226
|
- Required elements
|
|
227
227
|
- Optional elements
|
|
@@ -235,14 +235,14 @@ Description of the UX problem this pattern solves.
|
|
|
235
235
|
### Layout Template
|
|
236
236
|
|
|
237
237
|
```turtle
|
|
238
|
-
ds:{tier}.layout.{snake_case_name} a
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
238
|
+
ds:{tier}.layout.{snake_case_name} a ds:Layout ;
|
|
239
|
+
ds:name "{LayoutName}" ;
|
|
240
|
+
ds:summary "{Purpose of this layout}" ;
|
|
241
|
+
ds:tier ds:{tier} ;
|
|
242
|
+
ds:domain "{information domain}" ;
|
|
243
|
+
ds:grid "{css grid definition}" ;
|
|
244
|
+
ds:gridAreas "{named areas}" ;
|
|
245
|
+
ds:targetDevices "{desktop, tablet, mobile}" .
|
|
246
246
|
```
|
|
247
247
|
|
|
248
248
|
## File Placement
|
|
@@ -282,14 +282,14 @@ Check for:
|
|
|
282
282
|
### Discovery Phase
|
|
283
283
|
|
|
284
284
|
```
|
|
285
|
-
sem_lookup(type: "
|
|
285
|
+
sem_lookup(type: "ds:Tier")
|
|
286
286
|
→ apps tier is appropriate for application navigation
|
|
287
287
|
|
|
288
|
-
sem_lookup(type: "
|
|
288
|
+
sem_lookup(type: "ds:Component", filters: {"ds:tier": "ds:apps"})
|
|
289
289
|
→ See existing: Navigation, Toolbar, StatusBar
|
|
290
290
|
→ Breadcrumb would complement Navigation
|
|
291
291
|
|
|
292
|
-
sem_lookup(type: "
|
|
292
|
+
sem_lookup(type: "ds:ModifierFamily")
|
|
293
293
|
→ density might apply (compact breadcrumbs)
|
|
294
294
|
```
|
|
295
295
|
|
|
@@ -298,28 +298,27 @@ sem_lookup(type: "dso:ModifierFamily")
|
|
|
298
298
|
**File:** `data/apps/component/breadcrumb.ttl`
|
|
299
299
|
|
|
300
300
|
```turtle
|
|
301
|
-
@prefix
|
|
302
|
-
@prefix ds: <https://ds.canonical.com/data/> .
|
|
301
|
+
@prefix ds: <https://ds.canonical.com/> .
|
|
303
302
|
|
|
304
|
-
ds:apps.component.breadcrumb a
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
303
|
+
ds:apps.component.breadcrumb a ds:Component ;
|
|
304
|
+
ds:name "Breadcrumb" ;
|
|
305
|
+
ds:summary """Breadcrumbs display the user's current location within a hierarchical navigation structure, enabling quick traversal back to parent pages.""" ;
|
|
306
|
+
ds:tier ds:apps ;
|
|
308
307
|
|
|
309
|
-
|
|
308
|
+
ds:hasModifierFamily ds:global.modifier_family.density ;
|
|
310
309
|
|
|
311
|
-
|
|
310
|
+
ds:whenToUse """
|
|
312
311
|
- When users need to understand their location in a hierarchy
|
|
313
312
|
- When quick navigation to parent levels is valuable
|
|
314
313
|
- In applications with deep navigation structures (3+ levels)
|
|
315
314
|
""" ;
|
|
316
|
-
|
|
315
|
+
ds:whenNotToUse """
|
|
317
316
|
- For flat navigation structures (use tabs instead)
|
|
318
317
|
- As the primary navigation method (supplement, don't replace)
|
|
319
318
|
- When hierarchy is only 1-2 levels deep
|
|
320
319
|
""" ;
|
|
321
320
|
|
|
322
|
-
|
|
321
|
+
ds:guidelines """
|
|
323
322
|
## Anatomy
|
|
324
323
|
- Container: horizontal list of links
|
|
325
324
|
- Separator: visual divider between items (typically "/" or ">")
|
|
@@ -337,19 +336,19 @@ ds:apps.component.breadcrumb a dso:Component ;
|
|
|
337
336
|
- Separator is decorative (aria-hidden)
|
|
338
337
|
""" .
|
|
339
338
|
|
|
340
|
-
ds:apps.subcomponent.breadcrumb_item a
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
ds:apps.subcomponent.breadcrumb_separator a
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
339
|
+
ds:apps.subcomponent.breadcrumb_item a ds:Subcomponent ;
|
|
340
|
+
ds:name "BreadcrumbItem" ;
|
|
341
|
+
ds:summary "Individual item in the breadcrumb trail" ;
|
|
342
|
+
ds:tier ds:apps ;
|
|
343
|
+
ds:parentComponent ds:apps.component.breadcrumb ;
|
|
344
|
+
ds:standalone false .
|
|
345
|
+
|
|
346
|
+
ds:apps.subcomponent.breadcrumb_separator a ds:Subcomponent ;
|
|
347
|
+
ds:name "BreadcrumbSeparator" ;
|
|
348
|
+
ds:summary "Visual separator between breadcrumb items" ;
|
|
349
|
+
ds:tier ds:apps ;
|
|
350
|
+
ds:parentComponent ds:apps.component.breadcrumb ;
|
|
351
|
+
ds:standalone false .
|
|
353
352
|
```
|
|
354
353
|
|
|
355
354
|
## Response Format
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: design-auditor
|
|
3
|
+
description: Audit design system coverage, consistency, and quality
|
|
4
|
+
---
|
|
5
|
+
|
|
1
6
|
# Design Auditor
|
|
2
7
|
|
|
3
8
|
Audit design system coverage, consistency, and quality. This semantic skill analyzes the ontology to find gaps, inconsistencies, and opportunities for improvement across components, patterns, and documentation.
|
|
@@ -19,7 +24,7 @@ Start with a broad inventory, then drill into specific concerns:
|
|
|
19
24
|
sem_readme(package: "design-system")
|
|
20
25
|
→ Get overview of classes and counts
|
|
21
26
|
|
|
22
|
-
sem_lookup_batch(types: ["
|
|
27
|
+
sem_lookup_batch(types: ["ds:Component", "ds:Pattern", "ds:Layout"])
|
|
23
28
|
→ Get full inventory across types
|
|
24
29
|
|
|
25
30
|
sem_sparql({quality queries})
|
|
@@ -45,12 +50,12 @@ What's connected vs. orphaned?
|
|
|
45
50
|
### Coverage: Components by Tier
|
|
46
51
|
|
|
47
52
|
```sparql
|
|
48
|
-
PREFIX
|
|
53
|
+
PREFIX ds: <https://ds.canonical.com/>
|
|
49
54
|
|
|
50
55
|
SELECT ?tierName (COUNT(?c) as ?componentCount) WHERE {
|
|
51
|
-
?c a
|
|
52
|
-
|
|
53
|
-
?tier
|
|
56
|
+
?c a ds:Component ;
|
|
57
|
+
ds:tier ?tier .
|
|
58
|
+
?tier ds:name ?tierName .
|
|
54
59
|
} GROUP BY ?tierName
|
|
55
60
|
ORDER BY DESC(?componentCount)
|
|
56
61
|
```
|
|
@@ -60,10 +65,10 @@ ORDER BY DESC(?componentCount)
|
|
|
60
65
|
### Coverage: UIBlock Types Distribution
|
|
61
66
|
|
|
62
67
|
```sparql
|
|
63
|
-
PREFIX
|
|
68
|
+
PREFIX ds: <https://ds.canonical.com/>
|
|
64
69
|
|
|
65
70
|
SELECT ?type (COUNT(?block) as ?count) WHERE {
|
|
66
|
-
VALUES ?type {
|
|
71
|
+
VALUES ?type { ds:Component ds:Pattern ds:Layout ds:Subcomponent }
|
|
67
72
|
?block a ?type .
|
|
68
73
|
} GROUP BY ?type
|
|
69
74
|
```
|
|
@@ -73,13 +78,13 @@ SELECT ?type (COUNT(?block) as ?count) WHERE {
|
|
|
73
78
|
### Quality: Components Missing Descriptions
|
|
74
79
|
|
|
75
80
|
```sparql
|
|
76
|
-
PREFIX
|
|
81
|
+
PREFIX ds: <https://ds.canonical.com/>
|
|
77
82
|
|
|
78
83
|
SELECT ?component ?name WHERE {
|
|
79
|
-
?component a
|
|
80
|
-
|
|
84
|
+
?component a ds:Component ;
|
|
85
|
+
ds:name ?name .
|
|
81
86
|
FILTER(!bound(?desc) || ?desc = "")
|
|
82
|
-
OPTIONAL { ?component
|
|
87
|
+
OPTIONAL { ?component ds:summary ?desc }
|
|
83
88
|
}
|
|
84
89
|
```
|
|
85
90
|
|
|
@@ -88,12 +93,12 @@ SELECT ?component ?name WHERE {
|
|
|
88
93
|
### Quality: Components Missing Usage Guidance
|
|
89
94
|
|
|
90
95
|
```sparql
|
|
91
|
-
PREFIX
|
|
96
|
+
PREFIX ds: <https://ds.canonical.com/>
|
|
92
97
|
|
|
93
98
|
SELECT ?component ?name WHERE {
|
|
94
|
-
?component a
|
|
95
|
-
|
|
96
|
-
FILTER NOT EXISTS { ?component
|
|
99
|
+
?component a ds:Component ;
|
|
100
|
+
ds:name ?name .
|
|
101
|
+
FILTER NOT EXISTS { ?component ds:whenToUse ?when }
|
|
97
102
|
}
|
|
98
103
|
```
|
|
99
104
|
|
|
@@ -102,26 +107,26 @@ SELECT ?component ?name WHERE {
|
|
|
102
107
|
### Quality: Components Missing Guidelines
|
|
103
108
|
|
|
104
109
|
```sparql
|
|
105
|
-
PREFIX
|
|
110
|
+
PREFIX ds: <https://ds.canonical.com/>
|
|
106
111
|
|
|
107
112
|
SELECT ?component ?name WHERE {
|
|
108
|
-
?component a
|
|
109
|
-
|
|
110
|
-
FILTER NOT EXISTS { ?component
|
|
113
|
+
?component a ds:Component ;
|
|
114
|
+
ds:name ?name .
|
|
115
|
+
FILTER NOT EXISTS { ?component ds:guidelines ?g }
|
|
111
116
|
}
|
|
112
117
|
```
|
|
113
118
|
|
|
114
119
|
### Consistency: Modifier Family Usage
|
|
115
120
|
|
|
116
121
|
```sparql
|
|
117
|
-
PREFIX
|
|
122
|
+
PREFIX ds: <https://ds.canonical.com/>
|
|
118
123
|
|
|
119
124
|
SELECT ?family ?familyName (COUNT(?component) as ?usage) WHERE {
|
|
120
|
-
?family a
|
|
121
|
-
|
|
125
|
+
?family a ds:ModifierFamily ;
|
|
126
|
+
ds:name ?familyName .
|
|
122
127
|
OPTIONAL {
|
|
123
|
-
?component a
|
|
124
|
-
|
|
128
|
+
?component a ds:Component ;
|
|
129
|
+
ds:hasModifierFamily ?family .
|
|
125
130
|
}
|
|
126
131
|
} GROUP BY ?family ?familyName
|
|
127
132
|
ORDER BY DESC(?usage)
|
|
@@ -132,12 +137,12 @@ ORDER BY DESC(?usage)
|
|
|
132
137
|
### Consistency: Components Without Modifier Families
|
|
133
138
|
|
|
134
139
|
```sparql
|
|
135
|
-
PREFIX
|
|
140
|
+
PREFIX ds: <https://ds.canonical.com/>
|
|
136
141
|
|
|
137
142
|
SELECT ?component ?name WHERE {
|
|
138
|
-
?component a
|
|
139
|
-
|
|
140
|
-
FILTER NOT EXISTS { ?component
|
|
143
|
+
?component a ds:Component ;
|
|
144
|
+
ds:name ?name .
|
|
145
|
+
FILTER NOT EXISTS { ?component ds:hasModifierFamily ?mf }
|
|
141
146
|
}
|
|
142
147
|
```
|
|
143
148
|
|
|
@@ -146,12 +151,12 @@ SELECT ?component ?name WHERE {
|
|
|
146
151
|
### Usage: Orphaned Subcomponents
|
|
147
152
|
|
|
148
153
|
```sparql
|
|
149
|
-
PREFIX
|
|
154
|
+
PREFIX ds: <https://ds.canonical.com/>
|
|
150
155
|
|
|
151
156
|
SELECT ?sub ?name WHERE {
|
|
152
|
-
?sub a
|
|
153
|
-
|
|
154
|
-
FILTER NOT EXISTS { ?sub
|
|
157
|
+
?sub a ds:Subcomponent ;
|
|
158
|
+
ds:name ?name .
|
|
159
|
+
FILTER NOT EXISTS { ?sub ds:parentComponent ?parent }
|
|
155
160
|
}
|
|
156
161
|
```
|
|
157
162
|
|
|
@@ -160,12 +165,12 @@ SELECT ?sub ?name WHERE {
|
|
|
160
165
|
### Usage: Components With Subcomponents
|
|
161
166
|
|
|
162
167
|
```sparql
|
|
163
|
-
PREFIX
|
|
168
|
+
PREFIX ds: <https://ds.canonical.com/>
|
|
164
169
|
|
|
165
170
|
SELECT ?component ?componentName (COUNT(?sub) as ?subCount) WHERE {
|
|
166
|
-
?component a
|
|
167
|
-
|
|
168
|
-
?sub
|
|
171
|
+
?component a ds:Component ;
|
|
172
|
+
ds:name ?componentName .
|
|
173
|
+
?sub ds:parentComponent ?component .
|
|
169
174
|
} GROUP BY ?component ?componentName
|
|
170
175
|
ORDER BY DESC(?subCount)
|
|
171
176
|
```
|
|
@@ -175,21 +180,21 @@ ORDER BY DESC(?subCount)
|
|
|
175
180
|
### Cross-Tier: Potential Promotion Candidates
|
|
176
181
|
|
|
177
182
|
```sparql
|
|
178
|
-
PREFIX
|
|
183
|
+
PREFIX ds: <https://ds.canonical.com/>
|
|
179
184
|
|
|
180
185
|
SELECT ?component ?name ?tierName WHERE {
|
|
181
|
-
?component a
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
?tier
|
|
186
|
+
?component a ds:Component ;
|
|
187
|
+
ds:name ?name ;
|
|
188
|
+
ds:tier ?tier .
|
|
189
|
+
?tier ds:name ?tierName .
|
|
185
190
|
|
|
186
191
|
# Find non-global components that might be universal
|
|
187
192
|
FILTER(?tier != <https://ds.canonical.com/data/global>)
|
|
188
193
|
|
|
189
194
|
# Heuristic: has modifier families (suggests maturity)
|
|
190
|
-
FILTER EXISTS { ?component
|
|
191
|
-
FILTER EXISTS { ?component
|
|
192
|
-
FILTER EXISTS { ?component
|
|
195
|
+
FILTER EXISTS { ?component ds:hasModifierFamily ?mf }
|
|
196
|
+
FILTER EXISTS { ?component ds:summary ?d }
|
|
197
|
+
FILTER EXISTS { ?component ds:whenToUse ?w }
|
|
193
198
|
}
|
|
194
199
|
```
|
|
195
200
|
|
|
@@ -346,7 +351,7 @@ For comprehensive review:
|
|
|
346
351
|
|
|
347
352
|
```
|
|
348
353
|
1. Inventory
|
|
349
|
-
sem_lookup_batch(types: ["
|
|
354
|
+
sem_lookup_batch(types: ["ds:Component", "ds:Pattern", "ds:Layout", "ds:Subcomponent"])
|
|
350
355
|
|
|
351
356
|
2. Coverage queries (all)
|
|
352
357
|
|
package/source.json
CHANGED
|
@@ -21,67 +21,74 @@
|
|
|
21
21
|
"tables": {
|
|
22
22
|
"uiBlocks": {
|
|
23
23
|
"@context": {
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"tier": { "@id": "dso:tier", "@type": "@id" },
|
|
24
|
+
"ds": "https://ds.canonical.com/",
|
|
25
|
+
"name": "ds:name",
|
|
26
|
+
"summary": "ds:summary",
|
|
27
|
+
"anatomy_dsl": "ds:anatomyDsl",
|
|
28
|
+
"Anatomy (classic)": "ds:anatomyClassic",
|
|
29
|
+
"tier": { "@id": "ds:tier", "@type": "@id" },
|
|
31
30
|
"properties": {
|
|
32
|
-
"@id": "
|
|
31
|
+
"@id": "ds:hasProperty",
|
|
33
32
|
"@inline": {
|
|
34
33
|
"table": "properties",
|
|
35
|
-
"class": "
|
|
34
|
+
"class": "ds:Property",
|
|
36
35
|
"properties": {
|
|
37
|
-
"property name": "
|
|
38
|
-
"type": "
|
|
39
|
-
"
|
|
40
|
-
"optional": "
|
|
41
|
-
"default": "
|
|
36
|
+
"property name": "ds:name",
|
|
37
|
+
"type": "ds:propertyType",
|
|
38
|
+
"summary": "ds:summary",
|
|
39
|
+
"optional": "ds:optional",
|
|
40
|
+
"default": "ds:defaultValue",
|
|
41
|
+
"constraints": "ds:constraints"
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
|
-
"modifier_families": {
|
|
45
|
+
"modifier_families": {
|
|
46
|
+
"@id": "ds:hasModifierFamily",
|
|
47
|
+
"@type": "@id",
|
|
48
|
+
"@container": "@set"
|
|
49
|
+
}
|
|
46
50
|
},
|
|
47
51
|
"class": "{type}",
|
|
48
|
-
"uriTemplate": "{uri}"
|
|
52
|
+
"uriTemplate": "{uri}",
|
|
53
|
+
"classProperties": {
|
|
54
|
+
"ds:Layout": {
|
|
55
|
+
"layout_grid_template": "ds:grid",
|
|
56
|
+
"layout_information_domain": "ds:domain"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
49
59
|
},
|
|
50
60
|
"tiers": {
|
|
51
61
|
"@context": {
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"name": "dso:name"
|
|
62
|
+
"ds": "https://ds.canonical.com/",
|
|
63
|
+
"name": "ds:name"
|
|
55
64
|
},
|
|
56
|
-
"class": "
|
|
65
|
+
"class": "ds:Tier",
|
|
57
66
|
"uriTemplate": "{uri}"
|
|
58
67
|
},
|
|
59
68
|
"modifierFamilies": {
|
|
60
69
|
"@context": {
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"tier": { "@id": "dso:tier", "@type": "@id" }
|
|
70
|
+
"ds": "https://ds.canonical.com/",
|
|
71
|
+
"name": "ds:name",
|
|
72
|
+
"summary": "ds:summary",
|
|
73
|
+
"tier": { "@id": "ds:tier", "@type": "@id" }
|
|
66
74
|
},
|
|
67
|
-
"class": "
|
|
75
|
+
"class": "ds:ModifierFamily",
|
|
68
76
|
"uriTemplate": "{uri}"
|
|
69
77
|
},
|
|
70
78
|
"modifiers": {
|
|
71
79
|
"@context": {
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"family": { "@id": "dso:modifierFamily", "@type": "@id" }
|
|
80
|
+
"ds": "https://ds.canonical.com/",
|
|
81
|
+
"name": "ds:name",
|
|
82
|
+
"summary": "ds:summary",
|
|
83
|
+
"family": { "@id": "ds:modifierFamily", "@type": "@id" }
|
|
77
84
|
},
|
|
78
|
-
"class": "
|
|
85
|
+
"class": "ds:Modifier",
|
|
79
86
|
"uriTemplate": "{uri}"
|
|
80
87
|
}
|
|
81
88
|
},
|
|
82
89
|
"references": {
|
|
83
90
|
"uiBlockTypes": {
|
|
84
|
-
"uriTemplate": "
|
|
91
|
+
"uriTemplate": "ds:{name}",
|
|
85
92
|
"keyColumn": "name"
|
|
86
93
|
},
|
|
87
94
|
"tiers": {
|