-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.yaml
214 lines (178 loc) · 5.74 KB
/
test.yaml
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
AddressProfile:
country: #O N
iso3166Code
addressProfile: #0..*
AddressClassProfile
componentProfile: #0..*
AddressComponentProfile
AddressClassProfile:
id: CharacterString #M 1 #{type by user}
type: CharacterString #M 1 #is that fixed? -> "iso-19160-address-profile" {normal text}
description: CharacterString #M 1
localization: Localization #M 1
signature: Signature #O 1 #skip
areaApplicbility: #O N
iso19115MD_SpatialRepresentation #don't have this doc
timeToLive : Integer #M 1 #have sample?
validity: Validity #M 1 #have sample?
componentProfile: #0..* #lack of object name #what dose the normal line relation means {just give it a name}
AddressComponentProfile: AddressComponentProfile #M 1 [name only]
AddressComponentSpecification: AddressComponentSpecification #M 1
attributeProfile: #0..*
AttributeProfile
AddressComponentProfile:
key: CharacterString #M 1
description: CharacterString #M 1
example: CharacterString #O 1 #what is this use for, sample
attributeProfile: #0..*
AttributeProfile #[name only]
profile: ProfileCompliantAddressComponent # what is this, what is the content
AddressComponentSpecification:
maxCardinality: Integer #M 1
minCardinality: Integer #M 1
{ #don't know doing what
AttributeProfile: #{hold}
name: CharacterString #M 1
minCardinality: Integer #O 1
maxCardinality: Integer #O 1
valueType: CharacterString #O 1
# addressClassProfile: AddressClassProfile #should we have this? {no need}
# addressComponentProfile: AddressComponentProfile #should we have this? {no need}
ProfileCompliantAddressComponent: #extends from AddressComponent
# profile: AddressComponentProfile
#...from AddressComponent
ProfileCompliantAddress: #extends from Address
addressClassProfile: AddressClassProfile
#?profileCompliantAddressComponent: ProfileCompliantAddressComponent
#?addressComponentSpecification: AddressComponentSpecification
#...from Address
AddressComponent: #from 19160-1
address: Address
Address: #from 19160-1
addressComponent: AddressComponent
}
# do we need this part for our project? What is the usage of these Classes?
InterchangeAddressClassProfile: # extends from AddressClassProfile
id: CharacterString #M 1
type: CharacterString #M 1
descirption: CharacterString #M 1
localization: Localization #M 1
signature: Signature #O 1
areaApplicbility: #O N
iso19115MD_SpatialRepresentation
timeToLive : Integer #M 1
validity: Validity #M1
componentProfile: #0..*
AddressComponentProfile: AddressComponentProfile
AddressComponentSpecification: AddressComponentSpecification
formTemplate: #0..*
FormTemplate
displayTemplate: #0..*
DisplayTemplate
attributeProfile: #0..*
attributeProfileSignature : AttributeProfileSignature
attributeProfileAddressFeature: AttributeProfileAddressFeature
attributeProfileValidity: AttributeProfileValidity
FormTemplate: #entends from LayoutTemplate
id: CharacterString #M 1
name: CharacterString #M 1
descirption: CharacterString #M 1
localization: Localization #M 1
dimension: LayoutDimension #O N
orientation: LayoutOrientation #O 1
lines: LayoutLine #O N
formLine: #1..*
FormLine
DisplayTemplate: #entends from LayoutTemplate
id: CharacterString #M 1
name: CharacterString #M 1
descirption: CharacterString #M 1
localization: Localization #M 1
dimension: LayoutDimension #O N
orientation: LayoutOrientation #O 1
lines: LayoutLine #O N
formLine: #1..*
DisplayLine
AttributeProfileSignature: #extends from AttributeProfile
name: "signature"
minCardinality: 0
maxCardinality: 1
valueType: Signature
addressClassProfile: InterchangeAddressClassProdile
AttributeProfileAddressFeature: #extends from AttributeProfile
name: "feature"
minCardinality: 0
maxCardinality: Infinfity
valueType: AddressFeature
addressClassProfile: InterchangeAddressClassProdile
AttributeProfileValidity: #extends from AttributeProfile
name: "validity"
minCardinality: 0
maxCardinality: 1
valueType: Validity
addressClassProfile: InterchangeAddressClassProdile
AddressFeature:
signature: Signature #O 1
SpecificationLevel: #extends form AddressFeature
signature: Signature #O 1
value: SpecificationLevelValue #M 1
QualityStatus: #extends form AddressFeature
signature: Signature #O 1
value: QualityCode #M 1
Geolocation: #extends form AddressFeature
signature: Signature #O 1
value: iso19115EX_Extent #M 1
SpecificationLevelValue:
# the value can be the following
# unstructured
# partial
# full
QualityCode:
# the value can be the following
# confirmedCorrect
# mostlyCorrect
# possiblyCorrect
# structurallyCorrect
# unknown
LayoutTemplate:
id: CharacterString #M 1
name: CharacterString #M 1
descirption: CharacterString #M 1
localization: Localization #M 1
dimension: LayoutDimension #O N
orientation: LayoutOrientation #O 1
lines: LayoutLine #O N
LayoutDimension:
width: Integer #O 1
height: Integer #O 1
LayoutOrientation:
# the value can be the following
# horizontal
# vertical
LayoutLine:
dimensions: LayoutDimension #M 1
DisplayLine: #Extends from LayoutLine
dimensions: LayoutDimension #M 1
element: #1..*
DisplayLineElement
FormLine: #Extends from LayoutLine
dimensions: LayoutDimension #M 1
element: #1..*
FormLineElement
DisplayLineElement:
TextElement: #Extends from DisplayLineElement
text: CharacterString #M 1
DataElement: #Extends from DisplayLineElement and FormLineElement
value: CharacterString #M 1
FormLineElement:
SelectionElement: #Extends from FormLineElement
map: SelectionPair #M N
StaticTextElement: #Extends from FormLineElement
value: CharacterString #M 1
# DataElement: #Extends from FormLineElement
# value: CharacterString #M 1
DataElementWithConditions: #Extends from DataElement
value: iso19115MD_Constraints #M 1
SelectionPair:
key: CharacterString #M 1
displayAs: CharacterString #M 1