aboutsummaryrefslogtreecommitdiff
path: root/http-status-codes/types.rec
blob: 431a9b1ba30c7c5ea1238b4045f262c59ab6cd2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# -*- mode: rec -*-
#
# Registry for HTTP status codes
#
%rec: HttpStatusCode
%key: Value
%typedef: ValueRange_t range 100 599
%type: Value ValueRange_t
%mandatory: Value
%typedef: Description_t regexp /^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\(\) -]*$/
%type: Description Description_t
%unique: Description
%mandatory: Description
%typedef: Identifier_t regexp /^[ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789]*$/
%type: Identifier Identifier_t
%unique: Identifier
%mandatory: Identifier
%allowed: Reference
%sort: Number