class Identifier {

    public void validate() {
        if (id.equals("api")) {
            throwInvalidId(id, "'api' not allowed.");
        }
    }

    @JsonCreator public  Identifier(String id);

}