blob: 5f3ebd3fc5ede1b8cd745dac806cac11d00df1c5 [file] [log] [blame]
Sean Condon081290d2017-11-02 13:15:08 +00001{
2 "type": "object",
3 "title": "md",
4 "required": [
5 "md"
6 ],
7 "properties": {
8 "md": {
9 "type": "object",
10 "title": "mdprops",
11 "required": [
12 "mdName",
13 "mdNameType"
14 ],
15 "properties": {
16 "mdName": {
17 "type": "string",
18 "maxLength": 45,
19 "description": "Domain identifier [a-zA-Z0-9-:.]",
20 "example": "TestDomain"
21 },
22 "mdNameType": {
23 "type": "string",
24 "enum": ["CHARACTERSTRING", "DOMAINNAME", "MACANDUINT", "NONE"],
25 "description": "Domain identifier type",
26 "example": "CHARACTERSTRING"
27 },
28 "mdLevel": {
29 "type": "string",
30 "enum": ["LEVEL0","LEVEL1","LEVEL2","LEVEL3","LEVEL4","LEVEL5","LEVEL6","LEVEL7"],
31 "description": "Domain level",
32 "example": "LEVEL3"
33 },
34 "mdNumericId": {
35 "type": "uint8",
36 "minimum": 1,
37 "maximum": 32767,
38 "description": "Optional numeric id",
39 "example": 1
40 }
41 }
42 }
43 }
44}