discontinuedPackage json_schema2 has been discontinued and replaced by json_schema.

integer constant

SchemaType const integer

Implementation

static const SchemaType integer = SchemaType._(2);