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': 'AnimatedPhysicalModel',
  'type': 'object',
  'additionalProperties': false,
  'properties': {
    'animateColor': SchemaHelper.boolSchema,
    'animateShadowColor': SchemaHelper.boolSchema,
    'borderRadius': SchemaHelper.objectSchema(BorderRadiusSchema.id),
    'clipBehavior': SchemaHelper.objectSchema(ClipSchema.id),
    'color': SchemaHelper.objectSchema(ColorSchema.id),
    'curve': SchemaHelper.anySchema,
    'duration': SchemaHelper.anySchema,
    'elevation': SchemaHelper.numberSchema,
    'onEnd': SchemaHelper.anySchema,
    'shadowColor': SchemaHelper.objectSchema(ColorSchema.id),
    'shape': SchemaHelper.objectSchema(BoxShapeSchema.id),
    'child': SchemaHelper.objectSchema(JsonWidgetDataSchema.id),
  },
};