base constant

UiVocabularySchema const base

Default base schema — broad enough to cover the spec's acceptance scenarios (product-offer card with a Select Offer button).

Implementation

static const UiVocabularySchema base = UiVocabularySchema(
  allowedNodeTypes: {
    'root',
    'container',
    'card',
    'button',
    'text',
    'image',
    'list',
    'row',
    'column',
    'divider',
  },
  allowedStyleTokens: {
    'primary',
    'secondary',
    'tertiary',
    'success',
    'warning',
    'danger',
    'neutral',
  },
  allowedRoles: {
    'container',
    'list',
    'detail',
    'form',
    'field',
    'action',
    'label',
    'image',
    'text',
    'header',
    'footer',
    'card',
    'row',
    'column',
    'screen',
  },
  nodeCap: 256,
  schemaVersion: '1.0.0',
);