schema property

Map<String, Object> schema
final

Implementation

static final schema = <String, Object>{
  r'$schema': 'http://json-schema.org/draft-07/schema#',
  r'$id': id,
  'title': 'SizedBox',
  'type': 'object',
  'additionalProperties': false,
  'properties': {
    'height': SchemaHelper.numberSchema,
    'width': SchemaHelper.numberSchema,
    'child': SchemaHelper.objectSchema(JsonWidgetDataSchema.id),
  },
};