-
Notifications
You must be signed in to change notification settings - Fork 0
/
part.go
25 lines (18 loc) · 1.02 KB
/
part.go
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
package domain
// Part An annotated, markup-based textual element of a catalog's or catalog group's definition, or a child of another part.
type Part struct {
// An optional textual providing a sub-type or characterization of the part's name, or a category to which the part belongs.
Class string `json:"class,omitempty"`
// A unique identifier for the part.
Id string `json:"id,omitempty"`
Links []Link `json:"links,omitempty"`
// A textual label that uniquely identifies the part's semantic type, which exists in a value space qualified by the ns.
Name string `json:"name"`
// An optional namespace qualifying the part's name. This allows different organizations to associate distinct semantics with the same name.
Ns string `json:"ns,omitempty"`
Props []Property `json:"props,omitempty"`
// Permits multiple paragraphs, lists, tables etc.
Prose string `json:"prose,omitempty"`
// An optional name given to the part, which may be used by a tool for display and navigation.
Title string `json:"title,omitempty"`
}