discontinuedPackage json_schema2 has been discontinued and replaced by json_schema.

draft4 constant

SchemaVersion const draft4

Implementation

static const SchemaVersion draft4 = SchemaVersion._(0);