@@ -449,22 +449,16 @@ def fn(a: FileData) -> list[FileData]:
449
449
"identifier" : {"type" : "string" },
450
450
"connector_type" : {"type" : "string" },
451
451
"source_identifiers" : {
452
- "anyOf" : [
453
- {
454
- "type" : "object" ,
455
- "properties" : {
456
- "filename" : {"type" : "string" },
457
- "fullpath" : {"type" : "string" },
458
- "rel_path" : {
459
- "anyOf" : [{"type" : "string" }, {"type" : "null" }],
460
- "default" : None ,
461
- },
462
- },
463
- "required" : ["filename" , "fullpath" ],
452
+ "type" : "object" ,
453
+ "properties" : {
454
+ "filename" : {"type" : "string" },
455
+ "fullpath" : {"type" : "string" },
456
+ "rel_path" : {
457
+ "anyOf" : [{"type" : "string" }, {"type" : "null" }],
458
+ "default" : None ,
464
459
},
465
- {"type" : "null" },
466
- ],
467
- "default" : None ,
460
+ },
461
+ "required" : ["filename" , "fullpath" ],
468
462
},
469
463
"metadata" : {
470
464
"type" : "object" ,
@@ -533,7 +527,13 @@ def fn(a: FileData) -> list[FileData]:
533
527
"default" : None ,
534
528
},
535
529
},
536
- "required" : ["identifier" , "connector_type" , "metadata" , "additional_metadata" ],
530
+ "required" : [
531
+ "identifier" ,
532
+ "connector_type" ,
533
+ "source_identifiers" ,
534
+ "metadata" ,
535
+ "additional_metadata" ,
536
+ ],
537
537
}
538
538
},
539
539
}
@@ -551,22 +551,16 @@ def fn(a: FileData) -> list[FileData]:
551
551
"identifier" : {"type" : "string" },
552
552
"connector_type" : {"type" : "string" },
553
553
"source_identifiers" : {
554
- "anyOf" : [
555
- {
556
- "type" : "object" ,
557
- "properties" : {
558
- "filename" : {"type" : "string" },
559
- "fullpath" : {"type" : "string" },
560
- "rel_path" : {
561
- "anyOf" : [{"type" : "string" }, {"type" : "null" }],
562
- "default" : None ,
563
- },
564
- },
565
- "required" : ["filename" , "fullpath" ],
554
+ "type" : "object" ,
555
+ "properties" : {
556
+ "filename" : {"type" : "string" },
557
+ "fullpath" : {"type" : "string" },
558
+ "rel_path" : {
559
+ "anyOf" : [{"type" : "string" }, {"type" : "null" }],
560
+ "default" : None ,
566
561
},
567
- {"type" : "null" },
568
- ],
569
- "default" : None ,
562
+ },
563
+ "required" : ["filename" , "fullpath" ],
570
564
},
571
565
"metadata" : {
572
566
"type" : "object" ,
@@ -629,7 +623,13 @@ def fn(a: FileData) -> list[FileData]:
629
623
},
630
624
"display_name" : {"anyOf" : [{"type" : "string" }, {"type" : "null" }], "default" : None },
631
625
},
632
- "required" : ["identifier" , "connector_type" , "metadata" , "additional_metadata" ],
626
+ "required" : [
627
+ "identifier" ,
628
+ "connector_type" ,
629
+ "source_identifiers" ,
630
+ "metadata" ,
631
+ "additional_metadata" ,
632
+ ],
633
633
},
634
634
}
635
635
0 commit comments