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/painting/BoxBorder-class.html',
  'oneOf': [
    SchemaHelper.objectSchema(BorderSideSchema.id),
    {
      'type': 'object',
      'title': 'BoxBorder',
      'additionalProperties': false,
      'properties': {
        'bottom': SchemaHelper.objectSchema(BorderSideSchema.id),
        'left': SchemaHelper.objectSchema(BorderSideSchema.id),
        'right': SchemaHelper.objectSchema(BorderSideSchema.id),
        'top': SchemaHelper.objectSchema(BorderSideSchema.id),
      },
    },
  ],
};