com.github.fge.jsonschema.formats.SHA1FormatAttribute Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of json-schema-formats Show documentation
Show all versions of json-schema-formats Show documentation
Format specifiers for use with json-schema-validator
The newest version!
package com.github.fge.jsonschema.formats;
import com.github.fge.jsonschema.format.FormatAttribute;
/**
* Format specifier for {@code sha1}
*
* This format will be quite familiar to git users!
*
* @see HexStringFormatAttribute
*/
public final class SHA1FormatAttribute
extends HexStringFormatAttribute
{
private static final FormatAttribute instance = new SHA1FormatAttribute();
private SHA1FormatAttribute()
{
super("sha1", 40);
}
public static FormatAttribute getInstance()
{
return instance;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy