aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas/schemas/whole_number_schema.json
blob: aa469954ca79325169fb957de056dcf52572eab4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{
    "id": "/wholeNumberSchema",
    "anyOf": [
        {
            "type": "string",
            "pattern": "^\\d+$"
        },
        {
            "type": "integer"
        }
    ]
}