schema property

Map<String, Object> schema
final

Implementation

static final schema = {
  r'$schema': 'http://json-schema.org/draft-06/schema#',
  r'$id': '$id',
  r'$comment':
      'https://api.flutter.dev/flutter/rendering/TableColumnWidth-class.html',
  'type': 'object',
  'title': 'TableColumnWidth',
  'additionalProperties': false,
  'required': [
    'type',
  ],
  'properties': {
    'a': SchemaHelper.objectSchema(TableColumnWidthSchema.id),
    'b': SchemaHelper.objectSchema(TableColumnWidthSchema.id),
    'type': {
      'type': 'string',
      'enum': [
        'fixed',
        'flex',
        'fraction',
        'intrinsic',
        'max',
        'min',
      ],
    },
    'value': SchemaHelper.numberSchema,
  },
};