aboutsummaryrefslogtreecommitdiff
path: root/http-status-codes/types.rec
blob: 4cb9636a832ad3825f484ea85427259474095e5c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- mode: rec -*-
#
# Registry for HTTP status codes
#
%rec: HttpStatusCode
%key: Value
%typedef: ValueRange_t range 0 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

# Do not delete this comment; the above blank line is necessary syntax.