-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathModuleDescriptor.json
86 lines (86 loc) · 2.11 KB
/
ModuleDescriptor.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "ModuleDescriptor.json",
"title": "ModuleDescriptor",
"description": "A FOLIO Module",
"type": "object",
"additionalProperties" : false,
"properties": {
"id": {
"description": "Module ID with format product-semver",
"type": "string"
},
"name": {
"description": "Short name for module (does not include version)",
"type": "string"
},
"replaces": {
"description": "List of modules that this replaces",
"type": "array",
"items": {
"description": "Module name - without semantic version",
"type": "string"
}
},
"tags" : {
"description": "Module tags",
"type" : ["array", "null"],
"items" : {
"description": "Module tag",
"type": "string"
}
},
"requires": {
"description": "Required interfaces",
"type": ["array", "null"],
"items": {
"$ref": "InterfaceReference.json"
}
},
"provides": {
"description": "Provided interfaces",
"type": ["array", "null"],
"items": {
"$ref": "InterfaceDescriptor.json"
}
},
"optional": {
"description": "Optional interfaces",
"type": ["array", "null"],
"items": {
"$ref": "InterfaceReference.json"
}
},
"filters": {
"description": "Provided filters",
"type": "array",
"items": {
"$ref": "RoutingEntry.json"
}
},
"permissionSets": {
"description": "Module Permission Sets",
"type": ["array", "null"],
"items": {
"$ref": "Permission.json"
}
},
"env" : {
"description": "Supported environment variables",
"$ref" : "EnvEntryList.json"
},
"metadata" : {
"description": "Module Metadata (any object)",
"type" : "object"
},
"uiDescriptor": {
"description": "UI module descriptor",
"$ref": "UiModuleDescriptor.json"
},
"launchDescriptor": {
"description": "Default deployment for this module",
"$ref": "LaunchDescriptor.json"
}
},
"required": ["id"]
}