This repository has been archived by the owner on Apr 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathschema-template.yml
162 lines (158 loc) · 6.25 KB
/
schema-template.yml
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
# Documentation: https://github.com/bcgov/von-agent-template/tree/master/von-x-agent/config
- name: my-registration.bcgov-mines-permitting
version: '1.0.0'
description: The my-registration credential issued by bcgov-mines-permitting
endpoint: $ENDPOINT_URL
path: /bcgov-mines-permitting/my-registration
# identify the attribute which identify the owning organization
topic: corp_num
# optionally identify the credential attribute to map to the TOB credential effective date
effective_date: effective_date
# optionally identify the credential attribute to map to the TOB credential revoked date
revoked_date: expiry_date
# optionally identify a dependant proof request
#proof_request: dflow_registration
attributes:
corp_num:
label_en: Registration ID
description_en: Registration/Incorporation Number or Identifying Number
# one of: ui_name, ui_address, ui_text, ui_date, ui_select, helper_uuid, helper_now_iso, helper_value
data_type: helper_uuid
required: true
registration_date:
label_en: Registration Date
description_en: Date of Registration, Incorporation, Continuation or Amalgamation
# one of: ui_name, ui_address, ui_text, ui_date, ui_select, helper_uuid, helper_now_iso, helper_value
data_type: ui_date
required: false
entity_name:
label_en: Name
description_en: The legal name of entity
# one of: ui_name, ui_address, ui_text, ui_date, ui_select, helper_uuid, helper_now_iso, helper_value
data_type: ui_name
required: true
entity_name_effective:
label_en: Name Effective Date
description_en: Date current name became effective
# one of: ui_name, ui_address, ui_text, ui_date, ui_select, helper_uuid, helper_now_iso, helper_value
data_type: ui_date
required: true
entity_address:
label_en: Address
description_en: The address of entity
# one of: ui_name, ui_address, ui_text, ui_date, ui_select, helper_uuid, helper_now_iso, helper_value
data_type: ui_address
required: true
entity_status:
label_en: Registration Status
description_en: Status of the entity (active or historical)
# one of: ui_name, ui_address, ui_text, ui_date, ui_select, helper_uuid, helper_now_iso, helper_value
data_type: ui_select
required: true
entity_status_effective:
label_en: Status Effective Date
description_en: Date status became effective
# one of: ui_name, ui_address, ui_text, ui_date, ui_select, helper_uuid, helper_now_iso, helper_value
data_type: ui_date
required: true
entity_type:
label_en: Registration Type
description_en: Type of entity incorporated or registered
# one of: ui_name, ui_address, ui_text, ui_date, ui_select, helper_uuid, helper_now_iso, helper_value
data_type: ui_text
required: true
registered_jurisdiction:
label_en: Registered Jurisdiction
description_en: The jurisdiction an entity was created in
# one of: ui_name, ui_address, ui_text, ui_date, ui_select, helper_uuid, helper_now_iso, helper_value
data_type: ui_text
required: false
effective_date:
label_en: Credential Effective Date
description_en: Date Credential is effective
# one of: ui_name, ui_address, ui_text, ui_date, ui_select, helper_uuid, helper_now_iso, helper_value
data_type: ui_date
required: true
expiry_date:
label_en: Credential Expiry Date
description_en: Date Credential expired
# one of: ui_name, ui_address, ui_text, ui_date, ui_select, helper_uuid, helper_now_iso, helper_value
data_type: ui_date
required: false
- name: bcgov-mines-act-permit.bcgov-mines-permitting
version: '1.1.0'
description: The bcgov-mines-act-permit credential issued by bcgov-mines-permitting
endpoint: $ENDPOINT_URL
# identify the attribute which identify the owning organization
topic: corp_num
# optionally identify the credential attribute to map to the TOB credential effective date
effective_date: effective_date
# optionally identify the credential attribute to map to the TOB credential revoked date
#revoked_date: expiry_date
# optionally identify a dependant proof request
proof_request: greenlight_registration
path: /bcgov-mines-permitting/bcgov-mines-act-permit
attributes:
corp_num:
label_en: Registration ID
description_en: Registration/Incorporation Number or Identifying Number
# one of: ui_name, ui_address, ui_text, ui_date, ui_select, helper_uuid, helper_now_iso, helper_value
data_type: ui_text
required: true
entity_name:
label_en: Name
description_en: The legal name of entity
# one of: ui_name, ui_address, ui_text, ui_date, ui_select, helper_uuid, helper_now_iso, helper_value
data_type: ui_name
required: true
permit_id:
label_en: Permit ID
description_en: Permit Identifying Number
data_type: helper_uuid
required: true
permit_no:
label_en: Permit Number
description_en: Permit Number
data_type: ui_text
required: true
mine_no:
label_en: Mine Number
description_en: Mine Number
data_type: ui_text
required: true
mine_class:
label_en: Mine Class
description_en: Mine Class, Regional or Major?
data_type: ui_select
required: true
latitude:
label_en: Latitude
description_en: Approx Latitude of permitted actions
data_type: ui_text
required: true
longitude:
label_en: Longitude
description_en: Approx Longitude of permitted actions
data_type: ui_text
required: true
authorization_end_date:
label_en: Authorization End Date
description_en: the last day the permitted actions are authorized
data_type: ui_date
required: true
inspector_name:
label_en: Inspector Name
description_en: Name of EMLI permitting Inspector
data_type: ui_text
required: true
issued_date:
label_en: Permit Issued Date
description_en: Date Permit is issued
data_type: ui_date
required: true
effective_date:
label_en: Credential Effective Date
description_en: Date permit is effective
data_type: ui_date
required: true
### eof ###