schema property
Implementation
static final schema = <String, Object>{
r'$schema': 'http://json-schema.org/draft-07/schema#',
r'$id': id,
'title': 'Placeholder',
'type': 'object',
'additionalProperties': false,
'properties': {
'color': SchemaHelper.objectSchema(ColorSchema.id),
'fallbackHeight': SchemaHelper.numberSchema,
'fallbackWidth': SchemaHelper.numberSchema,
'strokeWidth': SchemaHelper.numberSchema,
'child': SchemaHelper.objectSchema(JsonWidgetDataSchema.id),
},
};