aboutsummaryrefslogtreecommitdiff
path: root/http-status-codes/types.rec
diff options
context:
space:
mode:
Diffstat (limited to 'http-status-codes/types.rec')
-rw-r--r--http-status-codes/types.rec19
1 files changed, 19 insertions, 0 deletions
diff --git a/http-status-codes/types.rec b/http-status-codes/types.rec
new file mode 100644
index 0000000..431a9b1
--- /dev/null
+++ b/http-status-codes/types.rec
@@ -0,0 +1,19 @@
1# -*- mode: rec -*-
2#
3# Registry for HTTP status codes
4#
5%rec: HttpStatusCode
6%key: Value
7%typedef: ValueRange_t range 100 599
8%type: Value ValueRange_t
9%mandatory: Value
10%typedef: Description_t regexp /^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\(\) -]*$/
11%type: Description Description_t
12%unique: Description
13%mandatory: Description
14%typedef: Identifier_t regexp /^[ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789]*$/
15%type: Identifier Identifier_t
16%unique: Identifier
17%mandatory: Identifier
18%allowed: Reference
19%sort: Number