/
SupportServiceRequest.cs
264 lines (215 loc) · 10.9 KB
/
SupportServiceRequest.cs
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
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RA.Models.Input
{
public class SupportServiceRequest : BaseRequest
{
public SupportServiceRequest()
{
SupportService = new SupportService();
}
public SupportService SupportService { get; set; }
}
/// <summary>
/// Resources and assistance that help people overcome barriers to succeed in their education and career goals.
/// Support services can be provided at any stage of an individual's education or career, and may be targeted towards people with or without direct affiliation with an organization. The goal of support services is to provide people with the assistance they need to achieve their full potential. Examples of Support Services include career advice, job placement, childcare, transportation, tools, mentorship, counseling, and other forms of aid.
/// </summary>
public class SupportService : BasePrimaryResource
{
#region *** Required Properties ***
/// <summary>
/// Credential Identifier
/// format:
/// ce-UUID (guid)
/// Required
/// </summary>
public string CTID { get; set; }
/// <summary>
/// Name or title of the resource.
/// Required
/// </summary>
public string Name { get; set; }
/// <summary>
/// Alternately can provide a language map
/// </summary>
public LanguageMap Name_Map { get; set; } = new LanguageMap();
/// <summary>
/// Statement, characterization or account of the entity.
/// REQUIRED and must be a minimum of 15 characters.
/// </summary>
public string Description { get; set; }
/// <summary>
/// Alternately can provide a language map
/// </summary>
public LanguageMap Description_Map { get; set; } = new LanguageMap();
/// <summary>
/// Organization(s) that offer this resource
/// Must have at least one of OfferedBy or OwnedBy
/// </summary>
public List<OrganizationReference> OfferedBy { get; set; } = new List<Input.OrganizationReference>();
/// <summary>
/// Organization(s) that owns this resource
/// Must have at least one of OfferedBy or OwnedBy
/// </summary>
public List<OrganizationReference> OwnedBy { get; set; } = new List<Input.OrganizationReference>();
/// <summary>
/// The primary language or languages of the entity, even if it makes use of other languages; e.g., a course offered in English to teach Spanish would have an inLanguage of English, while a credential in Quebec could have an inLanguage of both French and English.
/// List of language codes. ex: en-US, es
/// Required
/// </summary>
public List<string> InLanguage { get; set; }
/// <summary>
/// Type of official status of this resource. Select a valid concept from the LifeCycleStatus concept scheme.
/// Provide the string value. API will format correctly. The name space of lifecycle doesn't have to be included
/// Required
/// lifecycle:Developing, lifecycle:Active", lifecycle:Suspended, lifecycle:Ceased
/// <see href="https://credreg.net/ctdl/terms/LifeCycleStatus">ceterms:LifeCycleStatus</see>
/// </summary>
public string LifeCycleStatusType { get; set; } = "lifeCycle:Active";
/// <summary>
/// Webpage that describes this entity.
/// URL
/// </summary>
public string SubjectWebpage { get; set; }
#endregion
#region RECOMMENDED
/// <summary>
/// Type of means by which a learning opportunity or assessment is delivered to credential seekers and by which they interact; select from an existing enumeration of such types.
/// deliveryType:BlendedDelivery deliveryType:InPerson deliveryType:OnlineOnly
/// ConceptScheme: <see href="https://credreg.net/ctdl/terms/Delivery"></see>
/// </summary>
public List<string> DeliveryType { get; set; }
/// <summary>
/// Estimated cost of a credential, learning opportunity or assessment.
/// </summary>
public List<CostProfile> EstimatedCost { get; set; }
#endregion
//=========== optional ================================
/// <summary>
/// Type of modification to facilitate equal access for people to a physical location, resource, or service.
/// Accommodation?
/// <see href="https://credreg.net/ctdl/terms/AccommodationType"></see>
/// ConceptScheme: ceterms:Accommodation
/// <see href="https://credreg.net/ctdl/terms/Accommodation"></see>
/// </summary>
public List<string> AccommodationType { get; set; }
/// <summary>
/// List of Alternate Names for this learning opportunity
/// </summary>
public List<string> AlternateName { get; set; } = new List<string>();
/// <summary>
/// LanguageMap for AlternateName
/// </summary>
public LanguageMapList AlternateName_Map { get; set; } = new LanguageMapList();
/// <summary>
/// Online location where the credential, assessment, or learning opportunity can be pursued.
/// URL
/// </summary>
public List<string> AvailableOnlineAt { get; set; }
/// <summary>
/// Listing of online and/or physical locations where a credential can be pursued.
/// URL
/// </summary>
public List<string> AvailabilityListing { get; set; }
/// <summary>
/// Physical location where the credential, assessment, or learning opportunity can be pursued.
/// Place
/// </summary>
public List<Place> AvailableAt { get; set; }
/// <summary>
/// List of CTIDs or full URLs for a ConditionManifest published by the owning organization
/// Set constraints, prerequisites, entry conditions, or requirements that are shared across an organization, organizational subdivision, set of credentials, or category of entities and activities.
/// </summary>
public List<string> CommonConditions { get; set; }
/// <summary>
/// List of CTIDs (recommended) or full URLs for a CostManifest published by the owning organization.
/// Set of costs maintained at an organizational or sub-organizational level, which apply to this learning opportunity.
/// </summary>
public List<string> CommonCosts { get; set; }
/// <summary>
/// Start Date of this resource
/// </summary>
public string DateEffective { get; set; }
/// <summary>
/// End date of the learning opportunity if applicable
/// </summary>
public string ExpirationDate { get; set; }
/// <summary>
/// Entity that describes financial assistance that is offered or available.
/// </summary>
public List<FinancialAssistanceProfile> FinancialAssistance { get; set; } = new List<FinancialAssistanceProfile>();
/// <summary>
/// Alphanumeric token that identifies this resource and information about the token's originating context or scheme.
/// <see href="https://purl.org/ctdl/terms/identifier"></see>
/// ceterms:identifier
/// </summary>
public List<IdentifierValue> Identifier { get; set; } = new List<IdentifierValue>();
/// <summary>
/// Reference to a relevant support service related to this support service.
/// List of CTIDs for published resources
/// </summary>
public List<string> HasSpecificService { get; set; } = new List<string>();
/// <summary>
/// Reference to support services that this support service is part of or related to.
/// List of CTIDs for published resources
/// </summary>
public List<string> IsSpecificServiceOf { get; set; } = new List<string>();
/// <summary>
/// Keyword or key phrase describing relevant aspects of an entity.
/// </summary>
public List<string> Keyword { get; set; }
/// <summary>
/// Language map list for Keyword
/// </summary>
public LanguageMapList Keyword_Map { get; set; } = new LanguageMapList();
#region Occupation type
/// <summary>
/// OccupationType
/// Type of occupation; select from an existing enumeration of such types.
/// For U.S. credentials, best practice is to identify an occupation using a framework such as the O*Net.
/// Other credentials may use any framework of the class ceterms:OccupationClassification, such as the EU's ESCO, ISCO-08, and SOC 2010.
/// </summary>
public List<FrameworkItem> OccupationType { get; set; }
/// <summary>
/// AlternativeOccupationType
/// Occupations that are not found in a formal framework can be still added using AlternativeOccupationType.
/// Any occupations added using this property will be added to or appended to the OccupationType output.
/// </summary>
public List<string> AlternativeOccupationType { get; set; } = new List<string>();
/// <summary>
/// Language map list for AlternativeOccupationType
/// </summary>
public LanguageMapList AlternativeOccupationType_Map { get; set; } = new LanguageMapList();
/// <summary>
/// List of valid O*Net codes. See:
/// https://www.onetonline.org/find/
/// The API will validate and format the ONet codes as Occupations
/// </summary>
public List<string> ONET_Codes { get; set; } = new List<string>();
#endregion
/// <summary>
/// List of Organizations that offer this learning opportunity in a specific Jurisdiction.
/// </summary>
public List<JurisdictionAssertion> OfferedIn { get; set; } = new List<JurisdictionAssertion>();
/// <summary>
/// Qualifying requirements for receiving a support service.
/// </summary>
public List<ConditionProfile> SupportServiceCondition { get; set; }
/// <summary>
/// Resource to which this support service is applicable.
/// NOTE: LIKELY AN INVERSE PROPERTY THAT WILL NOT BE USED HERE!
/// Where the resource exists in the registry, only the Type and CTID need to be provided in the EntityReference.
/// </summary>
public List<EntityReference> SupportServiceFor { get; set; }
/// <summary>
/// Types of support services offered by an agent; select from an existing enumeration of such types.
/// SupportService?
/// <see href="https://credreg.net/ctdl/terms/SupportServiceType"></see>
/// ConceptScheme: <see href="https://credreg.net/ctdl/terms/SupportServiceCategory"></see>
/// </summary>
public List<string> SupportServiceType { get; set; }
}
}