---
title: "ProjectNumberScheme"
slug: "api/project/types/projectnumberscheme"
sidebar:
  order: 560
---

<a id="ref-1c872988aa4e"></a>
<a id="ref-9ba4acf242cb"></a>
<a id="ref-4158cd9f7342"></a>
<a id="ref-f4a6ea15ace3"></a>

## Synopsis

```text
struct ProjectNumberScheme (
    string id,
    string pattern,
    long minimumValue,
    long maximumValue,
    long nextValue,
    int currentYear,
    string zoneId
)
```

**id**

The symbolic name

**pattern**

A template for the project numbers generated by this number scheme

**minimumValue**

The minimum value used to replace %n in the pattern

**maximumValue**

The maximum value used to replace %n in the pattern

**nextValue**

The next value usedIf 'addressType' is set, then addresses of all other types are excluded from the full text search, and address columns are available for filtering and sorting. Similarly, if 'contactType' is set, contact columns are available for filtering and sorting. If an address does not have the specified address or contact, the corresponding fields are undefined. to replace %n in the pattern

**currentYear**

The current value used to replace %y in the pattern

**zoneId**

The time zone ID used to decide when exactly a new starts, nextValue is reset to minimumValue and currentYear is set to the current year
