@@ -36,6 +36,17 @@ export const verificationJobLicenseDetailsV1 = z.object({
3636 licenseFileURLs : z . string ( ) . url ( ) . array ( )
3737} ) ;
3838
39+ export enum VerificationJobTypeV1 {
40+ /**
41+ * VOD (Video On Demand) verification jobs cover all jobs where the audio/video will be uploaded to a video on demand platform
42+ */
43+ VOD = 'VOD' ,
44+ /**
45+ * Routine verification jobs cover all events where teams/athletes submit their music to use in a routine
46+ */
47+ Routine = 'Routine'
48+ }
49+
3950export const verificationJobTagSchemaV1 = z . string ( ) . min ( 2 ) . max ( 255 ) ;
4051
4152/**
@@ -62,7 +73,10 @@ export const verificationJobCreateSchemaV1 = z.object({
6273 //An array of tags which can be used to search or categorise the verification job
6374 tags : verificationJobTagSchemaV1 . array ( ) ,
6475 //Any licensing information the Team/Athlete/Licensee can provide, for ClicknClear licenses or if they don't have any license please leave empty.
65- licenseDetails : verificationJobLicenseDetailsV1 . array ( )
76+ licenseDetails : verificationJobLicenseDetailsV1 . array ( ) ,
77+ //The type of verification job this is, this type will change how this job is displayed and which rights are required
78+ type : z . nativeEnum ( VerificationJobTypeV1 )
79+ . default ( VerificationJobTypeV1 . Routine )
6680} ) ;
6781
6882export interface IVerificationJobV1 {
@@ -125,6 +139,10 @@ export interface IVerificationJobV1 {
125139 * The recording that was downloaded from audioFileURL, all songs and license status are contained within this property.
126140 */
127141 recording : ISoundRecordingVerificationV1 | null
142+ /**
143+ * The type of verification job this is, this type will change how this job is displayed and which rights are required
144+ */
145+ type : VerificationJobTypeV1
128146}
129147
130148/**
0 commit comments