discontinuedPackage json_schema2 has been discontinued and replaced by json_schema.

draft7 constant

SchemaVersion const draft7

Implementation

static const SchemaVersion draft7 = SchemaVersion._(2);