forked from jobdataexchange/jdx-api-swagger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspec.yaml
975 lines (921 loc) · 30.8 KB
/
spec.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
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
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
openapi: 3.0.0
servers:
- url: https://jdx-api.brighthive.net
description: Live API
- url: https://virtserver.swaggerhub.com/loganripplinger/JDX-reference-application-real/0.0.1
description: Server running off of swagger spec that returns mock examples
info:
description: |-
This is a collection of schemas and endpoints for the various JDX, Concentric Sky facing REST endpoints, the schemas define an API contract of sorts between the request and response expectations of the JDX reference application. This API is to be mutually developed by Concentric Sky and BrightHive.
version: "0.0.16"
title: JDX reference application API
termsOfService: 'https://www.uschamberfoundation.org/workforce-development/JDX'
contact:
email: [email protected]
license:
name: MIT
url: 'https://opensource.org/licenses/MIT'
# security:
# - oAuthNoScopes: []
paths:
/upload-job-description-file:
post:
summary: Upload a raw job description file.
requestBody:
description: |
Upload a raw job description in one of the given formats for the server to begin the automatic competency translation service.
Allowed file types
___
DOCX, DOC - Microsoft Word file format (version 2012+)
TXT - Text file format
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/rawJobDescriptionRequest'
responses:
'200':
description: Created. A pipeline was created and the provided job description was converted to text and attached to the pipeline.
content:
application/json:
schema:
$ref: '#/components/schemas/rawJobDescriptionResponse'
'400':
description: Bad Request
'422':
description: Validation error
'500':
description: Internal server error
/preview:
post:
summary: Get preview of job description with tagged matches.
requestBody:
description: Get preview of job description wth tagged matches.
content:
application/json:
schema:
$ref: '#/components/schemas/request'
responses:
'200':
description: Provides a chunked job description with matches that refer to the given paragraph chunks.
content:
application/json:
schema:
$ref: '#/components/schemas/previewResponse'
'422':
$ref: '#/components/responses/422'
'400':
$ref: '#/components/responses/400'
'415':
$ref: '#/components/responses/415'
'503':
$ref: '#/components/responses/503'
/upload-job-description-context:
post:
summary: Provide job description context (e.g metadata) on the job description
requestBody:
description: job description context
content:
application/json:
schema:
$ref: '#/components/schemas/jobDescriptionContextRequest'
responses:
'200':
description: Stored the context object associated with `pipelineID`
content:
application/json:
schema:
$ref: '#/components/schemas/jobDescriptionContextResponse'
'400':
description: Bad Request
'404':
description: Pipeline was not found
'422':
description: Validation error
'500':
description: Internal server error
'503':
description: Service is down
/framework-recommendations:
post:
summary: Get framework recommendations based on the uploaded job descripton and context.
requestBody:
description: Get framework-recommendations for a given Pipeline ID.
content:
application/json:
schema:
$ref: '#/components/schemas/request'
responses:
'200':
description: Provides a list of frameworks, including competencies, occupation and industries, that the user may choose from (one or more).
content:
application/json:
schema:
$ref: '#/components/schemas/frameworkRecommendationResponse'
'422':
$ref: '#/components/responses/422'
'400':
$ref: '#/components/responses/400'
'415':
$ref: '#/components/responses/415'
'503':
$ref: '#/components/responses/503'
/framework-selections:
post:
summary: The user indicates what frameworks they selected
requestBody:
description: framework selections
content:
application/json:
schema:
$ref: '#/components/schemas/frameworkSelectionRequest'
responses:
'200':
description: Stored the context object associated with `pipelineID`
content:
application/json:
schema:
$ref: '#/components/schemas/frameworkSelectionResponse'
'422':
$ref: '#/components/responses/422'
'400':
$ref: '#/components/responses/400'
'415':
$ref: '#/components/responses/415'
'503':
$ref: '#/components/responses/503'
/match-table:
post:
summary: Get the match table associated with the provided `pipelineID`
requestBody:
description: Get framework-recommendations for a given Pipeline ID.
content:
application/json:
schema:
$ref: '#/components/schemas/matchTableRequest'
responses:
'200':
description: Provides a match table with `uuid` references along with a json-ld object. The json-ld object contains `uuid`'s that reference into the match table, for instance, containing a list of possble competencies that the user should be asked to choose among, reject or approve one of.
content:
application/json:
schema:
$ref: '#/components/schemas/matchTableResponse'
'422':
$ref: '#/components/responses/422'
'400':
$ref: '#/components/responses/400'
'415':
$ref: '#/components/responses/415'
'503':
$ref: '#/components/responses/503'
/get-score:
post:
summary: "Provides a scored based on how much metadata you provide and the quality of that data."
requestBody:
description: Get score for a given Pipeline ID.
content:
application/json:
schema:
$ref: '#/components/schemas/request'
responses:
'200':
description: Provides a score for your pipeline work.
content:
application/json:
schema:
$ref: '#/components/schemas/pipelineScoreResponse'
'422':
$ref: '#/components/responses/422'
'400':
$ref: '#/components/responses/400'
'415':
$ref: '#/components/responses/415'
'503':
$ref: '#/components/responses/503'
# /get-scored-recommendations:
# post:
# summary: "[NOT IMPLEMENTED FOR 5/31 PROTOTYPE] Get a list of `scoredRecommendations` associated with the match table"
# requestBody:
# description: Get framework-recommendations for a given Pipeline ID.
# content:
# application/json:
# schema:
# $ref: '#/components/schemas/request'
# responses:
# '200':
# description: Provides a list of recommendations and scores (`scoredRecommendations`) for each `uuid` in the match table.
# content:
# application/json:
# schema:
# $ref: '#/components/schemas/scoreResponse'
# '422':
# $ref: '#/components/responses/422'
# '400':
# $ref: '#/components/responses/400'
# '415':
# $ref: '#/components/responses/415'
# '503':
# $ref: '#/components/responses/503'
# /set-scored-recommendations:
# post:
# summary: "[NOT IMPLEMENTED FOR 5/31 PROTOTYPE] Obtain a recommendation for a specific user replacement"
# requestBody:
# description: Contains a user replacement to analyze and provide recommendation for
# content:
# application/json:
# schema:
# $ref: '#/components/schemas/scoreRequest'
# responses:
# '200':
# description: The frameworkRecommendation response object
# content:
# application/json:
# schema:
# $ref: '#/components/schemas/scoreResponse'
# '422':
# $ref: '#/components/responses/422'
# '400':
# $ref: '#/components/responses/400'
# '415':
# $ref: '#/components/responses/415'
# '503':
# $ref: '#/components/responses/503'
/user-actions:
post:
summary: Provide the user responses as a list of user actions
requestBody:
description: Contains a list of user responses
content:
application/json:
schema:
$ref: '#/components/schemas/userActionRequest'
responses:
'200':
description: The user actions response object
content:
application/json:
schema:
$ref: '#/components/schemas/userActionResponse'
'422':
$ref: '#/components/responses/422'
'400':
$ref: '#/components/responses/400'
'415':
$ref: '#/components/responses/415'
'503':
$ref: '#/components/responses/503'
/generate-job-schema-plus:
post:
summary: Generate JobSchema+
requestBody:
description: Generate JobSchema+ from a given pipeline_id
content:
application/json:
schema:
$ref: '#/components/schemas/request'
responses:
'200':
description: JobSchema+ file
content:
application/json:
schema:
$ref: '#/components/schemas/generateJobSchemaPlusResponse'
'422':
$ref: '#/components/responses/422'
'400':
$ref: '#/components/responses/400'
'415':
$ref: '#/components/responses/415'
'503':
$ref: '#/components/responses/503'
/health:
get:
summary: Health Check
description: The health check endpoint can be used to check if the API is up. If the API is running it will return a 200 OK response.
responses:
'200':
description: The API is up!
content:
application/json:
schema:
title: healthResponse
type: object
properties:
api:
type: integer
example: 200
components:
responses:
'422':
description: Validation error.
content:
application/json:
schema:
$ref: '#/components/schemas/validationError'
'400':
description: Bad Request error
content:
application/json:
schema:
$ref: '#/components/schemas/badRequestError'
'415':
description: Unsupported media type
content:
application/json:
schema:
$ref: '#/components/schemas/unsupportedMediaTypeError'
'503':
description: Service unavailable
content:
application/json:
schema:
$ref: '#/components/schemas/serviceUnavailableError'
# securitySchemes:
# oAuthNoScopes:
# type: oauth2
# flows:
# authorizationCode:
# authorizationUrl: 'https://brighthive-test.auth0.com/authorize'
# tokenUrl: 'https://brighthive-test.auth0.com/oauth/token'
# scopes: {}
schemas:
serviceUnavailableError:
type: object
properties:
message:
type: string
maxLength: 1024
example: Server is down. Please contact [email protected]
unsupportedMediaTypeError:
type: object
properties:
message:
type: string
maxLength: 1024
example: Provided XML, this media type not supported, please provide json
badRequestError:
type: object
properties:
message:
type: string
maxLength: 1024
example: Malformed syntax, `{` is missing on line 102
validationError:
type: object
properties:
message:
type: string
maxLength: 1024
example: Your request failed to validate. Email not in correct <user>@<host> form
statusCode:
description: A code identifying the message response. A code of `1` indicates success.
type: integer
minimum: -1
maximum: 9999
example: 1
validationErrors:
type: array
items:
type: object
properties:
field:
type: string
reason:
type: string
request:
type: object
properties:
pipelineID:
description: An identifier for this jdx reference application _session_ of converting a raw job description. On first request this is ignored.
type: string
format: uuid
example: "824b40ae-2e95-4823-8c61-330865b10bd7"
response:
type: object
properties:
pipelineID:
description: An identifier for this jdx reference application session of converting a raw job description
type: string
format: uuid
example: "824b40ae-2e95-4823-8c61-330865b10bd7"
timestamp:
description: A timestamp of when this response was generated
type: string
format: date-time
example: "2017-07-21T17:32:28Z"
rawJobDescriptionRequest:
# see: https://swagger.io/docs/specification/describing-request-body/file-upload/
type: object
properties:
file:
description: The file to upload
type: string
format: binary
rawJobDescriptionResponse:
allOf:
- $ref: '#/components/schemas/response'
- type: object
properties:
fileText:
description: number of words in the converted job description
type: string
example: |
Job Title - ACME software developer.
Duties - Carry out meetings. Write code.
convertedLength:
description: number of words in the converted job description
type: integer
minimum: 0
maximum: 999999
example: 240
jobDescriptionContextRequest:
allOf:
- $ref: '#/components/schemas/request'
- type: object
properties:
primaryEconomicActivity:
type: string
maxLength: 1024
example: "Making and selling software products"
jobLocation:
type: string
maxLength: 1024
occupationCode:
type: string
industryCode:
type: string
assessment:
type: string
maxLength: 1024
applicationLocationRequirement:
type: string
maxLength: 1024
citizenshipRequirement:
type: string
maxLength: 1024
physicalRequirement:
type: string
maxLength: 1024
sensoryRequirement:
type: string
maxLength: 1024
securityClearanceRequirement:
type: string
maxLength: 1024
specialCommitment:
type: string
maxLength: 1024
jobTitle:
type: string
maxLength: 1024
jobSummary:
type: string
maxLength: 1024
jobLocationType:
type: string
maxLength: 1024
employmentUnit:
type: string
maxLength: 1024
employerIdentifier:
type: string
maxLength: 1024
requirements:
type: string
maxLength: 1024
salaryCurrency:
type: string
maxLength: 1024
salaryMinimum:
type: string
maxLength: 1024
salaryMaximum:
type: string
maxLength: 1024
salaryFrequency:
type: string
maxLength: 1024
incentiveCompensation:
type: string
maxLength: 1024
jobBenefits:
type: array
items:
type: string
maxLength: 1024
employmentAgreement:
type: string
maxLength: 1024
jobTerm:
type: string
maxLength: 1024
jobSchedule:
type: string
maxLength: 1024
workHours:
type: string
maxLength: 1024
employerName:
type: string
maxLength: 1024
employerOverview:
type: string
maxLength: 1024
employerEmail:
type: string
maxLength: 1024
employerWebsite:
type: string
maxLength: 1024
employerAddress:
type: string
maxLength: 1024
employerPhone:
type: string
maxLength: 1024
datePosted:
type: string
maxLength: 1024
validThrough:
type: string
maxLength: 1024
jobOpenings:
type: string
maxLength: 1024
jobDescriptionContextResponse:
allOf:
- $ref: '#/components/schemas/response'
- $ref: '#/components/schemas/jobDescriptionContextRequest'
previewResponse:
allOf:
- $ref: '#/components/schemas/response'
- type: object
properties:
preview:
$ref: '#/components/schemas/previewObject'
previewObject:
type: object
properties:
fields:
type: array
items:
$ref: '#/components/schemas/previewFields'
paragraphs:
type: array
items:
$ref: '#/components/schemas/previewParagraphs'
autofill:
type: object
properties:
soc:
type: string
example: "1235"
naics:
type: string
example: "5332"
previewFields:
type: object
properties:
field:
type: string
example: (JobMaster).title
paragraph_number:
type: integer
example: 1
previewParagraphs:
type: string
example: 'Posted on 4/2/2021 18:23:01'
frameworkSelectionRequest:
allOf:
- $ref: '#/components/schemas/request'
- type: object
properties:
frameworks:
$ref: '#/components/schemas/frameworks'
frameworks:
type: object
properties:
competency:
type: array
items:
$ref: '#/components/schemas/framework'
occupation:
type: array
items:
$ref: '#/components/schemas/framework'
industry:
type: array
items:
$ref: '#/components/schemas/framework'
frameworkSelectionResponse:
$ref: '#/components/schemas/response'
frameworkRecommendationResponse:
allOf:
- $ref: '#/components/schemas/response'
- type: object
properties:
frameworkRecommendations:
type: array
items:
$ref: '#/components/schemas/frameworkRecommendations'
matchTableRequest:
allOf:
- $ref: '#/components/schemas/request'
- type: object
properties:
threshold:
type: number
example: 0.55
matchTableResponse:
allOf:
- $ref: '#/components/schemas/matchTableRows'
- $ref: '#/components/schemas/response'
matchTableRows:
properties:
matchTable:
type: array
items:
$ref: '#/components/schemas/substatements'
substatements:
properties:
substatementID:
description: UUID referring to
type: string
format: uuid
example: "1fa85f64-5717-4562-b3fc-2c963f66afa6"
substatement:
description: this is the job description substatment text
type: string
example: Can perform test driven development
matches:
type: array
items:
type: object
properties:
recommendationID:
type: string
example: "2fa85f64-5717-4562-b3fc-2c963f66afa6"
name:
type: string
example: what is this for?
description:
type: string
example: Performs TDD
definedTermSet:
type: string
example: Standard Occupational Classification system
termCode:
type: string
example: "19-1131.00"
value:
type: string
example: "0.9"
# scoreRequest:
# allOf:
# - $ref: '#/components/schemas/request'
# - type: object
# properties:
# annotatedDefinedTerm:
# $ref: '#/components/schemas/annotatedDefinedTerm'
pipelineScoreResponse:
allOf:
- $ref: '#/components/schemas/response'
- $ref: '#/components/schemas/pipelineScoreObject'
pipelineScoreObject:
type: object
properties:
score:
type: string
example: "A+"
explanation:
type: string
example: "By not providing a location, search engines cannot index your job posting correctly."
# scoreResponse:
# $ref: '#/components/schemas/frameworkRecommendationResponse'
frameworkRecommendations:
type: object
properties:
value:
description: numeric score, higher is better
type: number
example: 3.14
minimum: 0
validUntil:
description: A timestamp of the time up until this is valid
type: string
format: date-time
example: "2017-09-21T17:32:28Z"
frameworkData:
$ref: '#/components/schemas/frameworkData'
frameworkData:
type: object
properties:
uuid:
description: uuid of framework
type: string
format: uuid
example: "f6052610-8032-43af-940d-24db36e57187"
objectType:
description: competency, industry, occupation?
type: string
example: competency
name:
description: name of the framework
type: string
example: Cybersecurity ClearingHouse Model
generateJobSchemaPlusResponse:
allOf:
- $ref: '#/components/schemas/response'
- $ref: '#/components/schemas/jobSchemaPlusFile'
jobSchemaPlusFile:
type: object
properties:
jobSchemaPlusFile:
description: The output of JDX.
type: string
format: json
example: "{ 'title': 'example job schema plus file' }"
humanReadable:
type: object
properties:
schema:
type: array
items:
type: string
description: Defines the order the values should be in.
example: ["title", "competencies"]
data:
type: object
description: Flattened version of the JobSchema+ for easy viewing.
format: json
example: { 'title': 'example job schema plus file', 'competencies': ['comp1', 'comp2']}
# metrics:
# type: object
# properties:
# userType:
# description: the type of user the metric was derived from. For example, a count derived from a `collaborative` is the number of employers in that collaborative, whereas a count derived from `pilot user` is the number of `pilot users` at that time (e.g. using a recomemendation)
# type: string
# enum: [abstract, user, pilot user, collaborative]
# example: abstract
# uuid:
# description: If given, the matching uuid in the matchTable (a row in the matchTable) that this `scoredRecommendation` applies to (e.g. one of several `scoredRecommendation`s that could be assigned to a particular competency property in the json-ld file). If no uuid present and recommendation, then this applies to the entire converted job description (e.g., in general you can be recommended to include additional competencies of a certain type based on comparative measures)
# type: string
# format: uuid
# example: "f6052610-8032-43af-940d-24db36e57187"
# objectType:
# description: If `score`, this object simply rates the matching uuid identified object. If `recommendation` an actual recommendation, with `recommendedContent` and other justifications, are provided.
# type: string
# enum: [recommendation, score]
# example: recommendation
# statisticType:
# type: string
# enum: [count, mean, median]
# example: count
# extraInfo:
# description: Typically for `recomendation` `objectType`s, essentially provides a justification for the recommendation in terms of descriptive statistics in regards to class (`metricClass`), e.g. a justification for this recommendation because most `collaborative` users have this `topic`
# type: object
# properties:
# totalNumber:
# type: number
# example: 100
# recommendedContent:
# description: A string to motivate the user to take some action, typically justified by the metricClass and aiming at improving the job description along the same lines as the metricClass
# type: string
# maxLength: 1024
# example: Include more about IDE tools since a majority of employers in this collaborative have done so.
# metricClass:
# description: >-
# In a scoring context (e.g. `objectType: score`) this describes what kind of framework is being recommended. In a recommendation context this describes the nature of the `recommendedContent` and the area that recommendation seeks to help the user improve in. For example, a `metricClass: actionable`, with `recommendedContent: Consider using more action verbs to describe this competency. 55 out of 100 users in your collaborative have done so.`
# type: string
# example: topic
# enum: [occupation, industry, competency, observable, actionable, brief, topic]
userActionRequest:
allOf:
- $ref: '#/components/schemas/request'
- type: object
properties:
matchTableSelections:
type: array
items:
$ref: '#/components/schemas/matchTableSelection'
matchTableSelection:
type: object
properties:
substatementID:
description: UUID referring to
type: string
format: uuid
example: "1fa85f64-5717-4562-b3fc-2c963f66afa6"
accept:
title: accept
type: object
properties:
recommendationID:
type: string
example: "2fa85f64-5717-4562-b3fc-2c963f66afa6"
replace:
title: replace
type: object
properties:
name:
type: string
description: Name of the competency
example: Baking
description:
type: string
description: The text for the competency
example: The act of cooking yeast in the oven to create bread.
userActionResponse:
$ref: '#/components/schemas/response'
annotatedDefinedTerm:
type: object
properties:
name:
type: string
maxLength: 1024
example: "SOC"
description:
type: string
maxLength: 1024
example: Standardized Occupation Code, for use in the US
termCode:
description: A code that identifies this DefinedTerm within a DefinedTermSet.
type: string
example: 15-1131.00
definedTermSet:
description: A defined term set that contains this term.
type: string
example: Standard Occupational Classification system
framework:
description: a standard framework
type: object
properties:
frameworkID:
description: A JDX numerical identifier for this framework
type: string
format: uuid
example: "4aee8089-2ea6-4167-b39b-381102d29c74"
place:
description: A fixed physical location
type: object
properties:
name:
type: string
maxLength: 1024
example: ACME Fairfax
description:
type: string
maxLength: 1024
example: A place where software is built
faxNumber:
type: string
maxLength: 128
example: "+17039999999"
telephone:
type: string
maxLength: 64
example: "+17039999999"
address:
$ref: '#/components/schemas/postalAddress'
geo:
$ref: '#/components/schemas/geoCoordinates'
geoCoordinates:
description: Geographic coordinates of a place or event.
type: object
properties:
latitude:
type: number
example: 123.4554534534
longitude:
type: number
example: 223.4554534534
postalAddress:
description: the mailing address of an entity
type: object
properties:
name:
type: string
maxLength: 1024
example: ACME Fairfax
streetAddress:
type: string
maxLength: 1024
example: 101 Acme Way
addressLocality:
type: string
maxLength: 1024
example: Fairfax
addressRegion:
type: string
maxLength: 1024
example: Virgina
addressCountry:
type: string
maxLength: 1024
example: United States of America
postalCode:
type: string
maxLength: 1024
example: 22032
externalDocs:
description: Find out more about JDX
url: 'https://www.uschamberfoundation.org/workforce-development/JDX'