keepset 0.39.0 → 0.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -401,6 +401,24 @@ declare const ParserSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
401
401
  }, z.core.$strict>, z.ZodObject<{
402
402
  format: z.ZodLiteral<"hhcrsp">;
403
403
  encoding: z.ZodLiteral<"utf-8">;
404
+ }, z.core.$strict>, z.ZodObject<{
405
+ format: z.ZodLiteral<"mankowska">;
406
+ encoding: z.ZodEnum<{
407
+ "utf-8": "utf-8";
408
+ latin1: "latin1";
409
+ }>;
410
+ }, z.core.$strict>, z.ZodObject<{
411
+ format: z.ZodLiteral<"verolog-2017">;
412
+ encoding: z.ZodEnum<{
413
+ "utf-8": "utf-8";
414
+ latin1: "latin1";
415
+ }>;
416
+ }, z.core.$strict>, z.ZodObject<{
417
+ format: z.ZodLiteral<"tdc">;
418
+ encoding: z.ZodEnum<{
419
+ "utf-8": "utf-8";
420
+ latin1: "latin1";
421
+ }>;
404
422
  }, z.core.$strict>, z.ZodObject<{
405
423
  format: z.ZodLiteral<"csv-table">;
406
424
  encoding: z.ZodEnum<{
@@ -432,7 +450,8 @@ declare const ParserSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
432
450
  columns: z.ZodArray<z.ZodString>;
433
451
  }, z.core.$strict>], "format">;
434
452
  type Parser = z.infer<typeof ParserSchema>;
435
- declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
453
+ /** A recipe that downloads one source: the source (by index into `sources`), how it is paged when it is a paged query, the archive layout its bytes unpack by, and the parser. */
454
+ declare const SourceRecipeSchema: z.ZodObject<{
436
455
  status: z.ZodLiteral<"fetchable">;
437
456
  source: z.ZodInt;
438
457
  paging: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -441,6 +460,7 @@ declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
441
460
  }, z.core.$strict>, z.ZodObject<{
442
461
  kind: z.ZodLiteral<"socrata-resource">;
443
462
  pageSize: z.ZodInt;
463
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
444
464
  }, z.core.$strict>, z.ZodObject<{
445
465
  kind: z.ZodLiteral<"ckan-datastore">;
446
466
  pageSize: z.ZodInt;
@@ -722,6 +742,24 @@ declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
722
742
  }, z.core.$strict>, z.ZodObject<{
723
743
  format: z.ZodLiteral<"hhcrsp">;
724
744
  encoding: z.ZodLiteral<"utf-8">;
745
+ }, z.core.$strict>, z.ZodObject<{
746
+ format: z.ZodLiteral<"mankowska">;
747
+ encoding: z.ZodEnum<{
748
+ "utf-8": "utf-8";
749
+ latin1: "latin1";
750
+ }>;
751
+ }, z.core.$strict>, z.ZodObject<{
752
+ format: z.ZodLiteral<"verolog-2017">;
753
+ encoding: z.ZodEnum<{
754
+ "utf-8": "utf-8";
755
+ latin1: "latin1";
756
+ }>;
757
+ }, z.core.$strict>, z.ZodObject<{
758
+ format: z.ZodLiteral<"tdc">;
759
+ encoding: z.ZodEnum<{
760
+ "utf-8": "utf-8";
761
+ latin1: "latin1";
762
+ }>;
725
763
  }, z.core.$strict>, z.ZodObject<{
726
764
  format: z.ZodLiteral<"csv-table">;
727
765
  encoding: z.ZodEnum<{
@@ -752,79 +790,133 @@ declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
752
790
  dateColumns: z.ZodArray<z.ZodString>;
753
791
  columns: z.ZodArray<z.ZodString>;
754
792
  }, z.core.$strict>], "format">;
755
- }, z.core.$strict>, z.ZodObject<{
756
- status: z.ZodLiteral<"not-fetchable">;
757
- reason: z.ZodString;
758
- }, z.core.$strict>], "status">;
759
- type Recipe = z.infer<typeof RecipeSchema>;
760
- /** The crossmap crosswalk from the native shape to the category target: the document inline, or a `.json` file path relative to the catalogue root, so entries that share a native shape share one crosswalk. */
761
- declare const CrosswalkReferenceSchema: z.ZodUnion<readonly [z.ZodType<import("crossmap").Crosswalk, unknown, z.core.$ZodTypeInternals<import("crossmap").Crosswalk, unknown>> & {
762
- is: (value: unknown) => value is import("crossmap").Crosswalk;
763
- }, z.ZodObject<{
764
- file: z.ZodString;
765
- }, z.core.$strict>]>;
766
- type CrosswalkReference = z.infer<typeof CrosswalkReferenceSchema>;
767
- /** The meta keys a fetched result takes from the entry's own descriptor, which its `properties` therefore may not also set. */
768
- declare const RESERVED_META_KEYS: readonly ["id", "name"];
769
- /**
770
- * One catalogue entry: the descriptor (id, optional namespace and aliases, name, description, domain, subjects, tags), the category whose target the entry resolves to, where the bytes come from, the licence and citations, the recipe, the crosswalk, the counts a fetched result is expected to have and the dataset's recorded properties. The kind of data is the category's (`kindOf(category)`), never a second field that could disagree with it.
771
- */
772
- declare const EntrySchema: z.ZodObject<{
773
- id: z.ZodString;
774
- namespace: z.ZodOptional<z.ZodArray<z.ZodString>>;
775
- aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
776
- name: z.ZodString;
777
- description: z.ZodOptional<z.ZodString>;
778
- domain: z.ZodOptional<z.ZodString>;
779
- subjects: z.ZodOptional<z.ZodArray<z.ZodString>>;
780
- tags: z.ZodArray<z.ZodString>;
781
- category: z.ZodEnum<{
782
- "graph/v1": "graph/v1";
783
- "tasks/v1": "tasks/v1";
784
- }>;
785
- sources: z.ZodArray<z.ZodObject<{
786
- url: z.ZodURL;
787
- retrieved: z.ZodISODate;
788
- status: z.ZodEnum<{
789
- live: "live";
790
- dead: "dead";
793
+ stream: z.ZodOptional<z.ZodLiteral<true>>;
794
+ }, z.core.$strict>;
795
+ /** One file of a collection read file by file: the path it is filed under in the collection, the entry's source it is downloaded from (by index into `sources`, so a dead file is fetched from its own pinned snapshot), and the archive layout its bytes unpack by into the one file or, with `members`, the several files the parser reads. */
796
+ declare const CollectionFileSchema: z.ZodObject<{
797
+ path: z.ZodString;
798
+ source: z.ZodInt;
799
+ archive: z.ZodUnion<readonly [z.ZodObject<{
800
+ kind: z.ZodLiteral<"none">;
801
+ }, z.core.$strict>, z.ZodObject<{
802
+ kind: z.ZodLiteral<"gzip">;
803
+ }, z.core.$strict>, z.ZodObject<{
804
+ kind: z.ZodLiteral<"bzip2">;
805
+ }, z.core.$strict>, z.ZodObject<{
806
+ kind: z.ZodEnum<{
807
+ zip: "zip";
808
+ tar: "tar";
809
+ "tar.gz": "tar.gz";
810
+ "tar.bz2": "tar.bz2";
791
811
  }>;
792
- snapshot: z.ZodOptional<z.ZodObject<{
793
- url: z.ZodURL;
794
- timestamp: z.ZodString;
812
+ member: z.ZodUnion<readonly [z.ZodObject<{
813
+ path: z.ZodString;
814
+ }, z.core.$strict>, z.ZodObject<{
815
+ extensions: z.ZodArray<z.ZodString>;
816
+ }, z.core.$strict>, z.ZodObject<{
817
+ pattern: z.ZodString;
818
+ }, z.core.$strict>]>;
819
+ inner: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
820
+ kind: z.ZodLiteral<"gzip">;
821
+ }, z.core.$strict>, z.ZodObject<{
822
+ kind: z.ZodEnum<{
823
+ zip: "zip";
824
+ tar: "tar";
825
+ "tar.gz": "tar.gz";
826
+ "tar.bz2": "tar.bz2";
827
+ }>;
828
+ member: z.ZodUnion<readonly [z.ZodObject<{
829
+ path: z.ZodString;
830
+ }, z.core.$strict>, z.ZodObject<{
831
+ extensions: z.ZodArray<z.ZodString>;
832
+ }, z.core.$strict>, z.ZodObject<{
833
+ pattern: z.ZodString;
834
+ }, z.core.$strict>]>;
835
+ }, z.core.$strict>, z.ZodObject<{
836
+ kind: z.ZodEnum<{
837
+ xlsx: "xlsx";
838
+ xls: "xls";
839
+ ods: "ods";
840
+ }>;
841
+ sheet: z.ZodString;
842
+ }, z.core.$strict>]>>;
843
+ }, z.core.$strict>, z.ZodObject<{
844
+ kind: z.ZodEnum<{
845
+ zip: "zip";
846
+ tar: "tar";
847
+ "tar.gz": "tar.gz";
848
+ "tar.bz2": "tar.bz2";
849
+ }>;
850
+ members: z.ZodUnion<readonly [z.ZodObject<{
851
+ path: z.ZodString;
852
+ }, z.core.$strict>, z.ZodObject<{
853
+ extensions: z.ZodArray<z.ZodString>;
854
+ }, z.core.$strict>, z.ZodObject<{
855
+ pattern: z.ZodString;
856
+ }, z.core.$strict>]>;
857
+ inner: z.ZodOptional<z.ZodObject<{
858
+ kind: z.ZodLiteral<"xlsx">;
859
+ sheets: z.ZodOptional<z.ZodString>;
795
860
  }, z.core.$strict>>;
796
- }, z.core.$strict>>;
797
- licence: z.ZodDiscriminatedUnion<[z.ZodObject<{
798
- kind: z.ZodLiteral<"spdx">;
799
- id: z.ZodString;
800
861
  }, z.core.$strict>, z.ZodObject<{
801
- kind: z.ZodLiteral<"custom">;
802
- name: z.ZodString;
803
- url: z.ZodURL;
862
+ kind: z.ZodEnum<{
863
+ zip: "zip";
864
+ tar: "tar";
865
+ "tar.gz": "tar.gz";
866
+ "tar.bz2": "tar.bz2";
867
+ }>;
868
+ parts: z.ZodArray<z.ZodObject<{
869
+ name: z.ZodString;
870
+ member: z.ZodUnion<readonly [z.ZodObject<{
871
+ path: z.ZodString;
872
+ }, z.core.$strict>, z.ZodObject<{
873
+ extensions: z.ZodArray<z.ZodString>;
874
+ }, z.core.$strict>, z.ZodObject<{
875
+ pattern: z.ZodString;
876
+ }, z.core.$strict>]>;
877
+ }, z.core.$strict>>;
804
878
  }, z.core.$strict>, z.ZodObject<{
805
- kind: z.ZodLiteral<"unrecorded">;
806
- }, z.core.$strict>], "kind">;
807
- citations: z.ZodArray<z.ZodObject<{
808
- text: z.ZodString;
809
- doi: z.ZodOptional<z.ZodString>;
810
- url: z.ZodOptional<z.ZodURL>;
811
- }, z.core.$strict>>;
812
- recipe: z.ZodDiscriminatedUnion<[z.ZodObject<{
813
- status: z.ZodLiteral<"fetchable">;
814
- source: z.ZodInt;
815
- paging: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
816
- kind: z.ZodLiteral<"arcgis-query">;
817
- orderBy: z.ZodString;
879
+ kind: z.ZodEnum<{
880
+ zip: "zip";
881
+ tar: "tar";
882
+ "tar.gz": "tar.gz";
883
+ "tar.bz2": "tar.bz2";
884
+ }>;
885
+ files: z.ZodUnion<readonly [z.ZodObject<{
886
+ path: z.ZodString;
818
887
  }, z.core.$strict>, z.ZodObject<{
819
- kind: z.ZodLiteral<"socrata-resource">;
820
- pageSize: z.ZodInt;
888
+ extensions: z.ZodArray<z.ZodString>;
821
889
  }, z.core.$strict>, z.ZodObject<{
822
- kind: z.ZodLiteral<"ckan-datastore">;
823
- pageSize: z.ZodInt;
890
+ pattern: z.ZodString;
891
+ }, z.core.$strict>]>;
892
+ inner: z.ZodOptional<z.ZodObject<{
893
+ kind: z.ZodLiteral<"gzip">;
894
+ }, z.core.$strict>>;
895
+ }, z.core.$strict>, z.ZodObject<{
896
+ kind: z.ZodEnum<{
897
+ xlsx: "xlsx";
898
+ xls: "xls";
899
+ ods: "ods";
900
+ }>;
901
+ sheet: z.ZodString;
902
+ }, z.core.$strict>, z.ZodObject<{
903
+ kind: z.ZodLiteral<"shapefile">;
904
+ member: z.ZodUnion<readonly [z.ZodObject<{
905
+ path: z.ZodString;
824
906
  }, z.core.$strict>, z.ZodObject<{
825
- kind: z.ZodLiteral<"openfema">;
826
- pageSize: z.ZodInt;
827
- }, z.core.$strict>], "kind">>;
907
+ extensions: z.ZodArray<z.ZodString>;
908
+ }, z.core.$strict>, z.ZodObject<{
909
+ pattern: z.ZodString;
910
+ }, z.core.$strict>]>;
911
+ }, z.core.$strict>]>;
912
+ }, z.core.$strict>;
913
+ type CollectionFile = z.infer<typeof CollectionFileSchema>;
914
+ /** A recipe for a collection whose files are separate downloads (a repository tree, a set of files served one at a time) rather than members of one archive: every file is downloaded in turn and each file, or each member it unpacks into, is an instance, read by the one parser. An instance's id is the file's path, joined by `/` to the member's path when the file is an archive. */
915
+ declare const FilesRecipeSchema: z.ZodObject<{
916
+ status: z.ZodLiteral<"fetchable">;
917
+ files: z.ZodArray<z.ZodObject<{
918
+ path: z.ZodString;
919
+ source: z.ZodInt;
828
920
  archive: z.ZodUnion<readonly [z.ZodObject<{
829
921
  kind: z.ZodLiteral<"none">;
830
922
  }, z.core.$strict>, z.ZodObject<{
@@ -938,55 +1030,1461 @@ declare const EntrySchema: z.ZodObject<{
938
1030
  pattern: z.ZodString;
939
1031
  }, z.core.$strict>]>;
940
1032
  }, z.core.$strict>]>;
941
- parser: z.ZodDiscriminatedUnion<[z.ZodObject<{
942
- format: z.ZodLiteral<"edge-list">;
943
- encoding: z.ZodEnum<{
944
- "utf-8": "utf-8";
945
- latin1: "latin1";
946
- }>;
947
- delimiter: z.ZodEnum<{
948
- detect: "detect";
949
- whitespace: "whitespace";
950
- tab: "tab";
951
- comma: "comma";
952
- space: "space";
953
- }>;
954
- skipLines: z.ZodInt;
955
- commentPrefixes: z.ZodArray<z.ZodString>;
956
- sourceColumn: z.ZodInt;
957
- targetColumn: z.ZodInt;
958
- keep: z.ZodOptional<z.ZodObject<{
959
- column: z.ZodInt;
960
- values: z.ZodArray<z.ZodString>;
961
- }, z.core.$strict>>;
962
- multiplicityColumn: z.ZodOptional<z.ZodInt>;
963
- mirrored: z.ZodOptional<z.ZodLiteral<true>>;
964
- where: z.ZodOptional<z.ZodArray<z.ZodObject<{
965
- column: z.ZodInt;
966
- equals: z.ZodString;
967
- }, z.core.$strict>>>;
968
- }, z.core.$strict>, z.ZodObject<{
969
- format: z.ZodLiteral<"matrix-market">;
970
- encoding: z.ZodEnum<{
971
- "utf-8": "utf-8";
972
- latin1: "latin1";
973
- }>;
974
- }, z.core.$strict>, z.ZodObject<{
975
- format: z.ZodLiteral<"user-item-ratings">;
976
- encoding: z.ZodLiteral<"utf-8">;
977
- delimiter: z.ZodEnum<{
978
- tab: "tab";
979
- comma: "comma";
980
- "double-colon": "double-colon";
981
- }>;
982
- skipLines: z.ZodInt;
983
- itemType: z.ZodEnum<{
984
- movie: "movie";
985
- product: "product";
986
- }>;
987
- maxRating: z.ZodNumber;
988
- }, z.core.$strict>, z.ZodObject<{
989
- format: z.ZodLiteral<"konect">;
1033
+ }, z.core.$strict>>;
1034
+ parser: z.ZodDiscriminatedUnion<[z.ZodObject<{
1035
+ format: z.ZodLiteral<"edge-list">;
1036
+ encoding: z.ZodEnum<{
1037
+ "utf-8": "utf-8";
1038
+ latin1: "latin1";
1039
+ }>;
1040
+ delimiter: z.ZodEnum<{
1041
+ detect: "detect";
1042
+ whitespace: "whitespace";
1043
+ tab: "tab";
1044
+ comma: "comma";
1045
+ space: "space";
1046
+ }>;
1047
+ skipLines: z.ZodInt;
1048
+ commentPrefixes: z.ZodArray<z.ZodString>;
1049
+ sourceColumn: z.ZodInt;
1050
+ targetColumn: z.ZodInt;
1051
+ keep: z.ZodOptional<z.ZodObject<{
1052
+ column: z.ZodInt;
1053
+ values: z.ZodArray<z.ZodString>;
1054
+ }, z.core.$strict>>;
1055
+ multiplicityColumn: z.ZodOptional<z.ZodInt>;
1056
+ mirrored: z.ZodOptional<z.ZodLiteral<true>>;
1057
+ where: z.ZodOptional<z.ZodArray<z.ZodObject<{
1058
+ column: z.ZodInt;
1059
+ equals: z.ZodString;
1060
+ }, z.core.$strict>>>;
1061
+ }, z.core.$strict>, z.ZodObject<{
1062
+ format: z.ZodLiteral<"matrix-market">;
1063
+ encoding: z.ZodEnum<{
1064
+ "utf-8": "utf-8";
1065
+ latin1: "latin1";
1066
+ }>;
1067
+ }, z.core.$strict>, z.ZodObject<{
1068
+ format: z.ZodLiteral<"user-item-ratings">;
1069
+ encoding: z.ZodLiteral<"utf-8">;
1070
+ delimiter: z.ZodEnum<{
1071
+ tab: "tab";
1072
+ comma: "comma";
1073
+ "double-colon": "double-colon";
1074
+ }>;
1075
+ skipLines: z.ZodInt;
1076
+ itemType: z.ZodEnum<{
1077
+ movie: "movie";
1078
+ product: "product";
1079
+ }>;
1080
+ maxRating: z.ZodNumber;
1081
+ }, z.core.$strict>, z.ZodObject<{
1082
+ format: z.ZodLiteral<"konect">;
1083
+ encoding: z.ZodLiteral<"utf-8">;
1084
+ weighted: z.ZodBoolean;
1085
+ timestamped: z.ZodBoolean;
1086
+ }, z.core.$strict>, z.ZodObject<{
1087
+ format: z.ZodLiteral<"user-item-counts">;
1088
+ encoding: z.ZodLiteral<"utf-8">;
1089
+ delimiter: z.ZodEnum<{
1090
+ tab: "tab";
1091
+ }>;
1092
+ skipLines: z.ZodInt;
1093
+ itemType: z.ZodEnum<{
1094
+ artist: "artist";
1095
+ }>;
1096
+ }, z.core.$strict>, z.ZodObject<{
1097
+ format: z.ZodLiteral<"kg-triples">;
1098
+ encoding: z.ZodEnum<{
1099
+ "utf-8": "utf-8";
1100
+ latin1: "latin1";
1101
+ }>;
1102
+ delimiter: z.ZodEnum<{
1103
+ tab: "tab";
1104
+ space: "space";
1105
+ }>;
1106
+ order: z.ZodEnum<{
1107
+ "head-relation-tail": "head-relation-tail";
1108
+ "head-tail-relation": "head-tail-relation";
1109
+ }>;
1110
+ header: z.ZodEnum<{
1111
+ none: "none";
1112
+ names: "names";
1113
+ count: "count";
1114
+ }>;
1115
+ quoted: z.ZodBoolean;
1116
+ }, z.core.$strict>, z.ZodObject<{
1117
+ format: z.ZodLiteral<"hgb">;
1118
+ encoding: z.ZodLiteral<"utf-8">;
1119
+ nodeTypes: z.ZodArray<z.ZodString>;
1120
+ linkTypes: z.ZodArray<z.ZodObject<{
1121
+ name: z.ZodString;
1122
+ source: z.ZodString;
1123
+ target: z.ZodString;
1124
+ }, z.core.$strict>>;
1125
+ }, z.core.$strict>, z.ZodObject<{
1126
+ format: z.ZodLiteral<"gml">;
1127
+ encoding: z.ZodEnum<{
1128
+ "utf-8": "utf-8";
1129
+ latin1: "latin1";
1130
+ }>;
1131
+ }, z.core.$strict>, z.ZodObject<{
1132
+ format: z.ZodLiteral<"pajek">;
1133
+ encoding: z.ZodEnum<{
1134
+ "utf-8": "utf-8";
1135
+ latin1: "latin1";
1136
+ }>;
1137
+ }, z.core.$strict>, z.ZodObject<{
1138
+ format: z.ZodLiteral<"ucinet-dl">;
1139
+ encoding: z.ZodEnum<{
1140
+ "utf-8": "utf-8";
1141
+ latin1: "latin1";
1142
+ }>;
1143
+ matrix: z.ZodInt;
1144
+ }, z.core.$strict>, z.ZodObject<{
1145
+ format: z.ZodLiteral<"gd-contest">;
1146
+ encoding: z.ZodEnum<{
1147
+ "utf-8": "utf-8";
1148
+ latin1: "latin1";
1149
+ }>;
1150
+ }, z.core.$strict>, z.ZodObject<{
1151
+ format: z.ZodLiteral<"witvliet-synapses">;
1152
+ encoding: z.ZodLiteral<"utf-8">;
1153
+ }, z.core.$strict>, z.ZodObject<{
1154
+ format: z.ZodLiteral<"ogb">;
1155
+ encoding: z.ZodLiteral<"utf-8">;
1156
+ }, z.core.$strict>, z.ZodObject<{
1157
+ format: z.ZodLiteral<"customer-points">;
1158
+ encoding: z.ZodEnum<{
1159
+ "utf-8": "utf-8";
1160
+ latin1: "latin1";
1161
+ }>;
1162
+ }, z.core.$strict>, z.ZodObject<{
1163
+ format: z.ZodLiteral<"solomon">;
1164
+ encoding: z.ZodEnum<{
1165
+ "utf-8": "utf-8";
1166
+ latin1: "latin1";
1167
+ }>;
1168
+ }, z.core.$strict>, z.ZodObject<{
1169
+ format: z.ZodLiteral<"top">;
1170
+ encoding: z.ZodEnum<{
1171
+ "utf-8": "utf-8";
1172
+ latin1: "latin1";
1173
+ }>;
1174
+ }, z.core.$strict>, z.ZodObject<{
1175
+ format: z.ZodLiteral<"toptw">;
1176
+ encoding: z.ZodEnum<{
1177
+ "utf-8": "utf-8";
1178
+ latin1: "latin1";
1179
+ }>;
1180
+ }, z.core.$strict>, z.ZodObject<{
1181
+ format: z.ZodLiteral<"tsplib">;
1182
+ encoding: z.ZodEnum<{
1183
+ "utf-8": "utf-8";
1184
+ latin1: "latin1";
1185
+ }>;
1186
+ }, z.core.$strict>, z.ZodObject<{
1187
+ format: z.ZodLiteral<"verolog-2019">;
1188
+ encoding: z.ZodLiteral<"utf-8">;
1189
+ }, z.core.$strict>, z.ZodObject<{
1190
+ format: z.ZodLiteral<"vrp-rep">;
1191
+ encoding: z.ZodLiteral<"utf-8">;
1192
+ }, z.core.$strict>, z.ZodObject<{
1193
+ format: z.ZodLiteral<"hhcrsp">;
1194
+ encoding: z.ZodLiteral<"utf-8">;
1195
+ }, z.core.$strict>, z.ZodObject<{
1196
+ format: z.ZodLiteral<"mankowska">;
1197
+ encoding: z.ZodEnum<{
1198
+ "utf-8": "utf-8";
1199
+ latin1: "latin1";
1200
+ }>;
1201
+ }, z.core.$strict>, z.ZodObject<{
1202
+ format: z.ZodLiteral<"verolog-2017">;
1203
+ encoding: z.ZodEnum<{
1204
+ "utf-8": "utf-8";
1205
+ latin1: "latin1";
1206
+ }>;
1207
+ }, z.core.$strict>, z.ZodObject<{
1208
+ format: z.ZodLiteral<"tdc">;
1209
+ encoding: z.ZodEnum<{
1210
+ "utf-8": "utf-8";
1211
+ latin1: "latin1";
1212
+ }>;
1213
+ }, z.core.$strict>, z.ZodObject<{
1214
+ format: z.ZodLiteral<"csv-table">;
1215
+ encoding: z.ZodEnum<{
1216
+ "utf-8": "utf-8";
1217
+ latin1: "latin1";
1218
+ }>;
1219
+ delimiter: z.ZodEnum<{
1220
+ tab: "tab";
1221
+ comma: "comma";
1222
+ semicolon: "semicolon";
1223
+ }>;
1224
+ skipLines: z.ZodInt;
1225
+ idColumn: z.ZodNullable<z.ZodString>;
1226
+ numericColumns: z.ZodArray<z.ZodObject<{
1227
+ column: z.ZodString;
1228
+ factor: z.ZodNumber;
1229
+ }, z.core.$strict>>;
1230
+ columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1231
+ nullValues: z.ZodOptional<z.ZodArray<z.ZodString>>;
1232
+ }, z.core.$strict>, z.ZodObject<{
1233
+ format: z.ZodLiteral<"geojson">;
1234
+ encoding: z.ZodLiteral<"utf-8">;
1235
+ idColumn: z.ZodNullable<z.ZodString>;
1236
+ numericColumns: z.ZodArray<z.ZodObject<{
1237
+ column: z.ZodString;
1238
+ factor: z.ZodNumber;
1239
+ }, z.core.$strict>>;
1240
+ dateColumns: z.ZodArray<z.ZodString>;
1241
+ columns: z.ZodArray<z.ZodString>;
1242
+ }, z.core.$strict>], "format">;
1243
+ }, z.core.$strict>;
1244
+ /** How to obtain the dataset: a fetchable recipe that downloads one source, one that downloads each file of a collection, or a statement that no declarative recipe exists yet and why. The fetchable shapes share their status and are told apart by `files`, so this is a union of strict objects. */
1245
+ declare const RecipeSchema: z.ZodUnion<readonly [z.ZodObject<{
1246
+ status: z.ZodLiteral<"fetchable">;
1247
+ source: z.ZodInt;
1248
+ paging: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1249
+ kind: z.ZodLiteral<"arcgis-query">;
1250
+ orderBy: z.ZodString;
1251
+ }, z.core.$strict>, z.ZodObject<{
1252
+ kind: z.ZodLiteral<"socrata-resource">;
1253
+ pageSize: z.ZodInt;
1254
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
1255
+ }, z.core.$strict>, z.ZodObject<{
1256
+ kind: z.ZodLiteral<"ckan-datastore">;
1257
+ pageSize: z.ZodInt;
1258
+ }, z.core.$strict>, z.ZodObject<{
1259
+ kind: z.ZodLiteral<"openfema">;
1260
+ pageSize: z.ZodInt;
1261
+ }, z.core.$strict>], "kind">>;
1262
+ archive: z.ZodUnion<readonly [z.ZodObject<{
1263
+ kind: z.ZodLiteral<"none">;
1264
+ }, z.core.$strict>, z.ZodObject<{
1265
+ kind: z.ZodLiteral<"gzip">;
1266
+ }, z.core.$strict>, z.ZodObject<{
1267
+ kind: z.ZodLiteral<"bzip2">;
1268
+ }, z.core.$strict>, z.ZodObject<{
1269
+ kind: z.ZodEnum<{
1270
+ zip: "zip";
1271
+ tar: "tar";
1272
+ "tar.gz": "tar.gz";
1273
+ "tar.bz2": "tar.bz2";
1274
+ }>;
1275
+ member: z.ZodUnion<readonly [z.ZodObject<{
1276
+ path: z.ZodString;
1277
+ }, z.core.$strict>, z.ZodObject<{
1278
+ extensions: z.ZodArray<z.ZodString>;
1279
+ }, z.core.$strict>, z.ZodObject<{
1280
+ pattern: z.ZodString;
1281
+ }, z.core.$strict>]>;
1282
+ inner: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1283
+ kind: z.ZodLiteral<"gzip">;
1284
+ }, z.core.$strict>, z.ZodObject<{
1285
+ kind: z.ZodEnum<{
1286
+ zip: "zip";
1287
+ tar: "tar";
1288
+ "tar.gz": "tar.gz";
1289
+ "tar.bz2": "tar.bz2";
1290
+ }>;
1291
+ member: z.ZodUnion<readonly [z.ZodObject<{
1292
+ path: z.ZodString;
1293
+ }, z.core.$strict>, z.ZodObject<{
1294
+ extensions: z.ZodArray<z.ZodString>;
1295
+ }, z.core.$strict>, z.ZodObject<{
1296
+ pattern: z.ZodString;
1297
+ }, z.core.$strict>]>;
1298
+ }, z.core.$strict>, z.ZodObject<{
1299
+ kind: z.ZodEnum<{
1300
+ xlsx: "xlsx";
1301
+ xls: "xls";
1302
+ ods: "ods";
1303
+ }>;
1304
+ sheet: z.ZodString;
1305
+ }, z.core.$strict>]>>;
1306
+ }, z.core.$strict>, z.ZodObject<{
1307
+ kind: z.ZodEnum<{
1308
+ zip: "zip";
1309
+ tar: "tar";
1310
+ "tar.gz": "tar.gz";
1311
+ "tar.bz2": "tar.bz2";
1312
+ }>;
1313
+ members: z.ZodUnion<readonly [z.ZodObject<{
1314
+ path: z.ZodString;
1315
+ }, z.core.$strict>, z.ZodObject<{
1316
+ extensions: z.ZodArray<z.ZodString>;
1317
+ }, z.core.$strict>, z.ZodObject<{
1318
+ pattern: z.ZodString;
1319
+ }, z.core.$strict>]>;
1320
+ inner: z.ZodOptional<z.ZodObject<{
1321
+ kind: z.ZodLiteral<"xlsx">;
1322
+ sheets: z.ZodOptional<z.ZodString>;
1323
+ }, z.core.$strict>>;
1324
+ }, z.core.$strict>, z.ZodObject<{
1325
+ kind: z.ZodEnum<{
1326
+ zip: "zip";
1327
+ tar: "tar";
1328
+ "tar.gz": "tar.gz";
1329
+ "tar.bz2": "tar.bz2";
1330
+ }>;
1331
+ parts: z.ZodArray<z.ZodObject<{
1332
+ name: z.ZodString;
1333
+ member: z.ZodUnion<readonly [z.ZodObject<{
1334
+ path: z.ZodString;
1335
+ }, z.core.$strict>, z.ZodObject<{
1336
+ extensions: z.ZodArray<z.ZodString>;
1337
+ }, z.core.$strict>, z.ZodObject<{
1338
+ pattern: z.ZodString;
1339
+ }, z.core.$strict>]>;
1340
+ }, z.core.$strict>>;
1341
+ }, z.core.$strict>, z.ZodObject<{
1342
+ kind: z.ZodEnum<{
1343
+ zip: "zip";
1344
+ tar: "tar";
1345
+ "tar.gz": "tar.gz";
1346
+ "tar.bz2": "tar.bz2";
1347
+ }>;
1348
+ files: z.ZodUnion<readonly [z.ZodObject<{
1349
+ path: z.ZodString;
1350
+ }, z.core.$strict>, z.ZodObject<{
1351
+ extensions: z.ZodArray<z.ZodString>;
1352
+ }, z.core.$strict>, z.ZodObject<{
1353
+ pattern: z.ZodString;
1354
+ }, z.core.$strict>]>;
1355
+ inner: z.ZodOptional<z.ZodObject<{
1356
+ kind: z.ZodLiteral<"gzip">;
1357
+ }, z.core.$strict>>;
1358
+ }, z.core.$strict>, z.ZodObject<{
1359
+ kind: z.ZodEnum<{
1360
+ xlsx: "xlsx";
1361
+ xls: "xls";
1362
+ ods: "ods";
1363
+ }>;
1364
+ sheet: z.ZodString;
1365
+ }, z.core.$strict>, z.ZodObject<{
1366
+ kind: z.ZodLiteral<"shapefile">;
1367
+ member: z.ZodUnion<readonly [z.ZodObject<{
1368
+ path: z.ZodString;
1369
+ }, z.core.$strict>, z.ZodObject<{
1370
+ extensions: z.ZodArray<z.ZodString>;
1371
+ }, z.core.$strict>, z.ZodObject<{
1372
+ pattern: z.ZodString;
1373
+ }, z.core.$strict>]>;
1374
+ }, z.core.$strict>]>;
1375
+ parser: z.ZodDiscriminatedUnion<[z.ZodObject<{
1376
+ format: z.ZodLiteral<"edge-list">;
1377
+ encoding: z.ZodEnum<{
1378
+ "utf-8": "utf-8";
1379
+ latin1: "latin1";
1380
+ }>;
1381
+ delimiter: z.ZodEnum<{
1382
+ detect: "detect";
1383
+ whitespace: "whitespace";
1384
+ tab: "tab";
1385
+ comma: "comma";
1386
+ space: "space";
1387
+ }>;
1388
+ skipLines: z.ZodInt;
1389
+ commentPrefixes: z.ZodArray<z.ZodString>;
1390
+ sourceColumn: z.ZodInt;
1391
+ targetColumn: z.ZodInt;
1392
+ keep: z.ZodOptional<z.ZodObject<{
1393
+ column: z.ZodInt;
1394
+ values: z.ZodArray<z.ZodString>;
1395
+ }, z.core.$strict>>;
1396
+ multiplicityColumn: z.ZodOptional<z.ZodInt>;
1397
+ mirrored: z.ZodOptional<z.ZodLiteral<true>>;
1398
+ where: z.ZodOptional<z.ZodArray<z.ZodObject<{
1399
+ column: z.ZodInt;
1400
+ equals: z.ZodString;
1401
+ }, z.core.$strict>>>;
1402
+ }, z.core.$strict>, z.ZodObject<{
1403
+ format: z.ZodLiteral<"matrix-market">;
1404
+ encoding: z.ZodEnum<{
1405
+ "utf-8": "utf-8";
1406
+ latin1: "latin1";
1407
+ }>;
1408
+ }, z.core.$strict>, z.ZodObject<{
1409
+ format: z.ZodLiteral<"user-item-ratings">;
1410
+ encoding: z.ZodLiteral<"utf-8">;
1411
+ delimiter: z.ZodEnum<{
1412
+ tab: "tab";
1413
+ comma: "comma";
1414
+ "double-colon": "double-colon";
1415
+ }>;
1416
+ skipLines: z.ZodInt;
1417
+ itemType: z.ZodEnum<{
1418
+ movie: "movie";
1419
+ product: "product";
1420
+ }>;
1421
+ maxRating: z.ZodNumber;
1422
+ }, z.core.$strict>, z.ZodObject<{
1423
+ format: z.ZodLiteral<"konect">;
1424
+ encoding: z.ZodLiteral<"utf-8">;
1425
+ weighted: z.ZodBoolean;
1426
+ timestamped: z.ZodBoolean;
1427
+ }, z.core.$strict>, z.ZodObject<{
1428
+ format: z.ZodLiteral<"user-item-counts">;
1429
+ encoding: z.ZodLiteral<"utf-8">;
1430
+ delimiter: z.ZodEnum<{
1431
+ tab: "tab";
1432
+ }>;
1433
+ skipLines: z.ZodInt;
1434
+ itemType: z.ZodEnum<{
1435
+ artist: "artist";
1436
+ }>;
1437
+ }, z.core.$strict>, z.ZodObject<{
1438
+ format: z.ZodLiteral<"kg-triples">;
1439
+ encoding: z.ZodEnum<{
1440
+ "utf-8": "utf-8";
1441
+ latin1: "latin1";
1442
+ }>;
1443
+ delimiter: z.ZodEnum<{
1444
+ tab: "tab";
1445
+ space: "space";
1446
+ }>;
1447
+ order: z.ZodEnum<{
1448
+ "head-relation-tail": "head-relation-tail";
1449
+ "head-tail-relation": "head-tail-relation";
1450
+ }>;
1451
+ header: z.ZodEnum<{
1452
+ none: "none";
1453
+ names: "names";
1454
+ count: "count";
1455
+ }>;
1456
+ quoted: z.ZodBoolean;
1457
+ }, z.core.$strict>, z.ZodObject<{
1458
+ format: z.ZodLiteral<"hgb">;
1459
+ encoding: z.ZodLiteral<"utf-8">;
1460
+ nodeTypes: z.ZodArray<z.ZodString>;
1461
+ linkTypes: z.ZodArray<z.ZodObject<{
1462
+ name: z.ZodString;
1463
+ source: z.ZodString;
1464
+ target: z.ZodString;
1465
+ }, z.core.$strict>>;
1466
+ }, z.core.$strict>, z.ZodObject<{
1467
+ format: z.ZodLiteral<"gml">;
1468
+ encoding: z.ZodEnum<{
1469
+ "utf-8": "utf-8";
1470
+ latin1: "latin1";
1471
+ }>;
1472
+ }, z.core.$strict>, z.ZodObject<{
1473
+ format: z.ZodLiteral<"pajek">;
1474
+ encoding: z.ZodEnum<{
1475
+ "utf-8": "utf-8";
1476
+ latin1: "latin1";
1477
+ }>;
1478
+ }, z.core.$strict>, z.ZodObject<{
1479
+ format: z.ZodLiteral<"ucinet-dl">;
1480
+ encoding: z.ZodEnum<{
1481
+ "utf-8": "utf-8";
1482
+ latin1: "latin1";
1483
+ }>;
1484
+ matrix: z.ZodInt;
1485
+ }, z.core.$strict>, z.ZodObject<{
1486
+ format: z.ZodLiteral<"gd-contest">;
1487
+ encoding: z.ZodEnum<{
1488
+ "utf-8": "utf-8";
1489
+ latin1: "latin1";
1490
+ }>;
1491
+ }, z.core.$strict>, z.ZodObject<{
1492
+ format: z.ZodLiteral<"witvliet-synapses">;
1493
+ encoding: z.ZodLiteral<"utf-8">;
1494
+ }, z.core.$strict>, z.ZodObject<{
1495
+ format: z.ZodLiteral<"ogb">;
1496
+ encoding: z.ZodLiteral<"utf-8">;
1497
+ }, z.core.$strict>, z.ZodObject<{
1498
+ format: z.ZodLiteral<"customer-points">;
1499
+ encoding: z.ZodEnum<{
1500
+ "utf-8": "utf-8";
1501
+ latin1: "latin1";
1502
+ }>;
1503
+ }, z.core.$strict>, z.ZodObject<{
1504
+ format: z.ZodLiteral<"solomon">;
1505
+ encoding: z.ZodEnum<{
1506
+ "utf-8": "utf-8";
1507
+ latin1: "latin1";
1508
+ }>;
1509
+ }, z.core.$strict>, z.ZodObject<{
1510
+ format: z.ZodLiteral<"top">;
1511
+ encoding: z.ZodEnum<{
1512
+ "utf-8": "utf-8";
1513
+ latin1: "latin1";
1514
+ }>;
1515
+ }, z.core.$strict>, z.ZodObject<{
1516
+ format: z.ZodLiteral<"toptw">;
1517
+ encoding: z.ZodEnum<{
1518
+ "utf-8": "utf-8";
1519
+ latin1: "latin1";
1520
+ }>;
1521
+ }, z.core.$strict>, z.ZodObject<{
1522
+ format: z.ZodLiteral<"tsplib">;
1523
+ encoding: z.ZodEnum<{
1524
+ "utf-8": "utf-8";
1525
+ latin1: "latin1";
1526
+ }>;
1527
+ }, z.core.$strict>, z.ZodObject<{
1528
+ format: z.ZodLiteral<"verolog-2019">;
1529
+ encoding: z.ZodLiteral<"utf-8">;
1530
+ }, z.core.$strict>, z.ZodObject<{
1531
+ format: z.ZodLiteral<"vrp-rep">;
1532
+ encoding: z.ZodLiteral<"utf-8">;
1533
+ }, z.core.$strict>, z.ZodObject<{
1534
+ format: z.ZodLiteral<"hhcrsp">;
1535
+ encoding: z.ZodLiteral<"utf-8">;
1536
+ }, z.core.$strict>, z.ZodObject<{
1537
+ format: z.ZodLiteral<"mankowska">;
1538
+ encoding: z.ZodEnum<{
1539
+ "utf-8": "utf-8";
1540
+ latin1: "latin1";
1541
+ }>;
1542
+ }, z.core.$strict>, z.ZodObject<{
1543
+ format: z.ZodLiteral<"verolog-2017">;
1544
+ encoding: z.ZodEnum<{
1545
+ "utf-8": "utf-8";
1546
+ latin1: "latin1";
1547
+ }>;
1548
+ }, z.core.$strict>, z.ZodObject<{
1549
+ format: z.ZodLiteral<"tdc">;
1550
+ encoding: z.ZodEnum<{
1551
+ "utf-8": "utf-8";
1552
+ latin1: "latin1";
1553
+ }>;
1554
+ }, z.core.$strict>, z.ZodObject<{
1555
+ format: z.ZodLiteral<"csv-table">;
1556
+ encoding: z.ZodEnum<{
1557
+ "utf-8": "utf-8";
1558
+ latin1: "latin1";
1559
+ }>;
1560
+ delimiter: z.ZodEnum<{
1561
+ tab: "tab";
1562
+ comma: "comma";
1563
+ semicolon: "semicolon";
1564
+ }>;
1565
+ skipLines: z.ZodInt;
1566
+ idColumn: z.ZodNullable<z.ZodString>;
1567
+ numericColumns: z.ZodArray<z.ZodObject<{
1568
+ column: z.ZodString;
1569
+ factor: z.ZodNumber;
1570
+ }, z.core.$strict>>;
1571
+ columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1572
+ nullValues: z.ZodOptional<z.ZodArray<z.ZodString>>;
1573
+ }, z.core.$strict>, z.ZodObject<{
1574
+ format: z.ZodLiteral<"geojson">;
1575
+ encoding: z.ZodLiteral<"utf-8">;
1576
+ idColumn: z.ZodNullable<z.ZodString>;
1577
+ numericColumns: z.ZodArray<z.ZodObject<{
1578
+ column: z.ZodString;
1579
+ factor: z.ZodNumber;
1580
+ }, z.core.$strict>>;
1581
+ dateColumns: z.ZodArray<z.ZodString>;
1582
+ columns: z.ZodArray<z.ZodString>;
1583
+ }, z.core.$strict>], "format">;
1584
+ stream: z.ZodOptional<z.ZodLiteral<true>>;
1585
+ }, z.core.$strict>, z.ZodObject<{
1586
+ status: z.ZodLiteral<"fetchable">;
1587
+ files: z.ZodArray<z.ZodObject<{
1588
+ path: z.ZodString;
1589
+ source: z.ZodInt;
1590
+ archive: z.ZodUnion<readonly [z.ZodObject<{
1591
+ kind: z.ZodLiteral<"none">;
1592
+ }, z.core.$strict>, z.ZodObject<{
1593
+ kind: z.ZodLiteral<"gzip">;
1594
+ }, z.core.$strict>, z.ZodObject<{
1595
+ kind: z.ZodLiteral<"bzip2">;
1596
+ }, z.core.$strict>, z.ZodObject<{
1597
+ kind: z.ZodEnum<{
1598
+ zip: "zip";
1599
+ tar: "tar";
1600
+ "tar.gz": "tar.gz";
1601
+ "tar.bz2": "tar.bz2";
1602
+ }>;
1603
+ member: z.ZodUnion<readonly [z.ZodObject<{
1604
+ path: z.ZodString;
1605
+ }, z.core.$strict>, z.ZodObject<{
1606
+ extensions: z.ZodArray<z.ZodString>;
1607
+ }, z.core.$strict>, z.ZodObject<{
1608
+ pattern: z.ZodString;
1609
+ }, z.core.$strict>]>;
1610
+ inner: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1611
+ kind: z.ZodLiteral<"gzip">;
1612
+ }, z.core.$strict>, z.ZodObject<{
1613
+ kind: z.ZodEnum<{
1614
+ zip: "zip";
1615
+ tar: "tar";
1616
+ "tar.gz": "tar.gz";
1617
+ "tar.bz2": "tar.bz2";
1618
+ }>;
1619
+ member: z.ZodUnion<readonly [z.ZodObject<{
1620
+ path: z.ZodString;
1621
+ }, z.core.$strict>, z.ZodObject<{
1622
+ extensions: z.ZodArray<z.ZodString>;
1623
+ }, z.core.$strict>, z.ZodObject<{
1624
+ pattern: z.ZodString;
1625
+ }, z.core.$strict>]>;
1626
+ }, z.core.$strict>, z.ZodObject<{
1627
+ kind: z.ZodEnum<{
1628
+ xlsx: "xlsx";
1629
+ xls: "xls";
1630
+ ods: "ods";
1631
+ }>;
1632
+ sheet: z.ZodString;
1633
+ }, z.core.$strict>]>>;
1634
+ }, z.core.$strict>, z.ZodObject<{
1635
+ kind: z.ZodEnum<{
1636
+ zip: "zip";
1637
+ tar: "tar";
1638
+ "tar.gz": "tar.gz";
1639
+ "tar.bz2": "tar.bz2";
1640
+ }>;
1641
+ members: z.ZodUnion<readonly [z.ZodObject<{
1642
+ path: z.ZodString;
1643
+ }, z.core.$strict>, z.ZodObject<{
1644
+ extensions: z.ZodArray<z.ZodString>;
1645
+ }, z.core.$strict>, z.ZodObject<{
1646
+ pattern: z.ZodString;
1647
+ }, z.core.$strict>]>;
1648
+ inner: z.ZodOptional<z.ZodObject<{
1649
+ kind: z.ZodLiteral<"xlsx">;
1650
+ sheets: z.ZodOptional<z.ZodString>;
1651
+ }, z.core.$strict>>;
1652
+ }, z.core.$strict>, z.ZodObject<{
1653
+ kind: z.ZodEnum<{
1654
+ zip: "zip";
1655
+ tar: "tar";
1656
+ "tar.gz": "tar.gz";
1657
+ "tar.bz2": "tar.bz2";
1658
+ }>;
1659
+ parts: z.ZodArray<z.ZodObject<{
1660
+ name: z.ZodString;
1661
+ member: z.ZodUnion<readonly [z.ZodObject<{
1662
+ path: z.ZodString;
1663
+ }, z.core.$strict>, z.ZodObject<{
1664
+ extensions: z.ZodArray<z.ZodString>;
1665
+ }, z.core.$strict>, z.ZodObject<{
1666
+ pattern: z.ZodString;
1667
+ }, z.core.$strict>]>;
1668
+ }, z.core.$strict>>;
1669
+ }, z.core.$strict>, z.ZodObject<{
1670
+ kind: z.ZodEnum<{
1671
+ zip: "zip";
1672
+ tar: "tar";
1673
+ "tar.gz": "tar.gz";
1674
+ "tar.bz2": "tar.bz2";
1675
+ }>;
1676
+ files: z.ZodUnion<readonly [z.ZodObject<{
1677
+ path: z.ZodString;
1678
+ }, z.core.$strict>, z.ZodObject<{
1679
+ extensions: z.ZodArray<z.ZodString>;
1680
+ }, z.core.$strict>, z.ZodObject<{
1681
+ pattern: z.ZodString;
1682
+ }, z.core.$strict>]>;
1683
+ inner: z.ZodOptional<z.ZodObject<{
1684
+ kind: z.ZodLiteral<"gzip">;
1685
+ }, z.core.$strict>>;
1686
+ }, z.core.$strict>, z.ZodObject<{
1687
+ kind: z.ZodEnum<{
1688
+ xlsx: "xlsx";
1689
+ xls: "xls";
1690
+ ods: "ods";
1691
+ }>;
1692
+ sheet: z.ZodString;
1693
+ }, z.core.$strict>, z.ZodObject<{
1694
+ kind: z.ZodLiteral<"shapefile">;
1695
+ member: z.ZodUnion<readonly [z.ZodObject<{
1696
+ path: z.ZodString;
1697
+ }, z.core.$strict>, z.ZodObject<{
1698
+ extensions: z.ZodArray<z.ZodString>;
1699
+ }, z.core.$strict>, z.ZodObject<{
1700
+ pattern: z.ZodString;
1701
+ }, z.core.$strict>]>;
1702
+ }, z.core.$strict>]>;
1703
+ }, z.core.$strict>>;
1704
+ parser: z.ZodDiscriminatedUnion<[z.ZodObject<{
1705
+ format: z.ZodLiteral<"edge-list">;
1706
+ encoding: z.ZodEnum<{
1707
+ "utf-8": "utf-8";
1708
+ latin1: "latin1";
1709
+ }>;
1710
+ delimiter: z.ZodEnum<{
1711
+ detect: "detect";
1712
+ whitespace: "whitespace";
1713
+ tab: "tab";
1714
+ comma: "comma";
1715
+ space: "space";
1716
+ }>;
1717
+ skipLines: z.ZodInt;
1718
+ commentPrefixes: z.ZodArray<z.ZodString>;
1719
+ sourceColumn: z.ZodInt;
1720
+ targetColumn: z.ZodInt;
1721
+ keep: z.ZodOptional<z.ZodObject<{
1722
+ column: z.ZodInt;
1723
+ values: z.ZodArray<z.ZodString>;
1724
+ }, z.core.$strict>>;
1725
+ multiplicityColumn: z.ZodOptional<z.ZodInt>;
1726
+ mirrored: z.ZodOptional<z.ZodLiteral<true>>;
1727
+ where: z.ZodOptional<z.ZodArray<z.ZodObject<{
1728
+ column: z.ZodInt;
1729
+ equals: z.ZodString;
1730
+ }, z.core.$strict>>>;
1731
+ }, z.core.$strict>, z.ZodObject<{
1732
+ format: z.ZodLiteral<"matrix-market">;
1733
+ encoding: z.ZodEnum<{
1734
+ "utf-8": "utf-8";
1735
+ latin1: "latin1";
1736
+ }>;
1737
+ }, z.core.$strict>, z.ZodObject<{
1738
+ format: z.ZodLiteral<"user-item-ratings">;
1739
+ encoding: z.ZodLiteral<"utf-8">;
1740
+ delimiter: z.ZodEnum<{
1741
+ tab: "tab";
1742
+ comma: "comma";
1743
+ "double-colon": "double-colon";
1744
+ }>;
1745
+ skipLines: z.ZodInt;
1746
+ itemType: z.ZodEnum<{
1747
+ movie: "movie";
1748
+ product: "product";
1749
+ }>;
1750
+ maxRating: z.ZodNumber;
1751
+ }, z.core.$strict>, z.ZodObject<{
1752
+ format: z.ZodLiteral<"konect">;
1753
+ encoding: z.ZodLiteral<"utf-8">;
1754
+ weighted: z.ZodBoolean;
1755
+ timestamped: z.ZodBoolean;
1756
+ }, z.core.$strict>, z.ZodObject<{
1757
+ format: z.ZodLiteral<"user-item-counts">;
1758
+ encoding: z.ZodLiteral<"utf-8">;
1759
+ delimiter: z.ZodEnum<{
1760
+ tab: "tab";
1761
+ }>;
1762
+ skipLines: z.ZodInt;
1763
+ itemType: z.ZodEnum<{
1764
+ artist: "artist";
1765
+ }>;
1766
+ }, z.core.$strict>, z.ZodObject<{
1767
+ format: z.ZodLiteral<"kg-triples">;
1768
+ encoding: z.ZodEnum<{
1769
+ "utf-8": "utf-8";
1770
+ latin1: "latin1";
1771
+ }>;
1772
+ delimiter: z.ZodEnum<{
1773
+ tab: "tab";
1774
+ space: "space";
1775
+ }>;
1776
+ order: z.ZodEnum<{
1777
+ "head-relation-tail": "head-relation-tail";
1778
+ "head-tail-relation": "head-tail-relation";
1779
+ }>;
1780
+ header: z.ZodEnum<{
1781
+ none: "none";
1782
+ names: "names";
1783
+ count: "count";
1784
+ }>;
1785
+ quoted: z.ZodBoolean;
1786
+ }, z.core.$strict>, z.ZodObject<{
1787
+ format: z.ZodLiteral<"hgb">;
1788
+ encoding: z.ZodLiteral<"utf-8">;
1789
+ nodeTypes: z.ZodArray<z.ZodString>;
1790
+ linkTypes: z.ZodArray<z.ZodObject<{
1791
+ name: z.ZodString;
1792
+ source: z.ZodString;
1793
+ target: z.ZodString;
1794
+ }, z.core.$strict>>;
1795
+ }, z.core.$strict>, z.ZodObject<{
1796
+ format: z.ZodLiteral<"gml">;
1797
+ encoding: z.ZodEnum<{
1798
+ "utf-8": "utf-8";
1799
+ latin1: "latin1";
1800
+ }>;
1801
+ }, z.core.$strict>, z.ZodObject<{
1802
+ format: z.ZodLiteral<"pajek">;
1803
+ encoding: z.ZodEnum<{
1804
+ "utf-8": "utf-8";
1805
+ latin1: "latin1";
1806
+ }>;
1807
+ }, z.core.$strict>, z.ZodObject<{
1808
+ format: z.ZodLiteral<"ucinet-dl">;
1809
+ encoding: z.ZodEnum<{
1810
+ "utf-8": "utf-8";
1811
+ latin1: "latin1";
1812
+ }>;
1813
+ matrix: z.ZodInt;
1814
+ }, z.core.$strict>, z.ZodObject<{
1815
+ format: z.ZodLiteral<"gd-contest">;
1816
+ encoding: z.ZodEnum<{
1817
+ "utf-8": "utf-8";
1818
+ latin1: "latin1";
1819
+ }>;
1820
+ }, z.core.$strict>, z.ZodObject<{
1821
+ format: z.ZodLiteral<"witvliet-synapses">;
1822
+ encoding: z.ZodLiteral<"utf-8">;
1823
+ }, z.core.$strict>, z.ZodObject<{
1824
+ format: z.ZodLiteral<"ogb">;
1825
+ encoding: z.ZodLiteral<"utf-8">;
1826
+ }, z.core.$strict>, z.ZodObject<{
1827
+ format: z.ZodLiteral<"customer-points">;
1828
+ encoding: z.ZodEnum<{
1829
+ "utf-8": "utf-8";
1830
+ latin1: "latin1";
1831
+ }>;
1832
+ }, z.core.$strict>, z.ZodObject<{
1833
+ format: z.ZodLiteral<"solomon">;
1834
+ encoding: z.ZodEnum<{
1835
+ "utf-8": "utf-8";
1836
+ latin1: "latin1";
1837
+ }>;
1838
+ }, z.core.$strict>, z.ZodObject<{
1839
+ format: z.ZodLiteral<"top">;
1840
+ encoding: z.ZodEnum<{
1841
+ "utf-8": "utf-8";
1842
+ latin1: "latin1";
1843
+ }>;
1844
+ }, z.core.$strict>, z.ZodObject<{
1845
+ format: z.ZodLiteral<"toptw">;
1846
+ encoding: z.ZodEnum<{
1847
+ "utf-8": "utf-8";
1848
+ latin1: "latin1";
1849
+ }>;
1850
+ }, z.core.$strict>, z.ZodObject<{
1851
+ format: z.ZodLiteral<"tsplib">;
1852
+ encoding: z.ZodEnum<{
1853
+ "utf-8": "utf-8";
1854
+ latin1: "latin1";
1855
+ }>;
1856
+ }, z.core.$strict>, z.ZodObject<{
1857
+ format: z.ZodLiteral<"verolog-2019">;
1858
+ encoding: z.ZodLiteral<"utf-8">;
1859
+ }, z.core.$strict>, z.ZodObject<{
1860
+ format: z.ZodLiteral<"vrp-rep">;
1861
+ encoding: z.ZodLiteral<"utf-8">;
1862
+ }, z.core.$strict>, z.ZodObject<{
1863
+ format: z.ZodLiteral<"hhcrsp">;
1864
+ encoding: z.ZodLiteral<"utf-8">;
1865
+ }, z.core.$strict>, z.ZodObject<{
1866
+ format: z.ZodLiteral<"mankowska">;
1867
+ encoding: z.ZodEnum<{
1868
+ "utf-8": "utf-8";
1869
+ latin1: "latin1";
1870
+ }>;
1871
+ }, z.core.$strict>, z.ZodObject<{
1872
+ format: z.ZodLiteral<"verolog-2017">;
1873
+ encoding: z.ZodEnum<{
1874
+ "utf-8": "utf-8";
1875
+ latin1: "latin1";
1876
+ }>;
1877
+ }, z.core.$strict>, z.ZodObject<{
1878
+ format: z.ZodLiteral<"tdc">;
1879
+ encoding: z.ZodEnum<{
1880
+ "utf-8": "utf-8";
1881
+ latin1: "latin1";
1882
+ }>;
1883
+ }, z.core.$strict>, z.ZodObject<{
1884
+ format: z.ZodLiteral<"csv-table">;
1885
+ encoding: z.ZodEnum<{
1886
+ "utf-8": "utf-8";
1887
+ latin1: "latin1";
1888
+ }>;
1889
+ delimiter: z.ZodEnum<{
1890
+ tab: "tab";
1891
+ comma: "comma";
1892
+ semicolon: "semicolon";
1893
+ }>;
1894
+ skipLines: z.ZodInt;
1895
+ idColumn: z.ZodNullable<z.ZodString>;
1896
+ numericColumns: z.ZodArray<z.ZodObject<{
1897
+ column: z.ZodString;
1898
+ factor: z.ZodNumber;
1899
+ }, z.core.$strict>>;
1900
+ columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1901
+ nullValues: z.ZodOptional<z.ZodArray<z.ZodString>>;
1902
+ }, z.core.$strict>, z.ZodObject<{
1903
+ format: z.ZodLiteral<"geojson">;
1904
+ encoding: z.ZodLiteral<"utf-8">;
1905
+ idColumn: z.ZodNullable<z.ZodString>;
1906
+ numericColumns: z.ZodArray<z.ZodObject<{
1907
+ column: z.ZodString;
1908
+ factor: z.ZodNumber;
1909
+ }, z.core.$strict>>;
1910
+ dateColumns: z.ZodArray<z.ZodString>;
1911
+ columns: z.ZodArray<z.ZodString>;
1912
+ }, z.core.$strict>], "format">;
1913
+ }, z.core.$strict>, z.ZodObject<{
1914
+ status: z.ZodLiteral<"not-fetchable">;
1915
+ reason: z.ZodString;
1916
+ }, z.core.$strict>]>;
1917
+ type Recipe = z.infer<typeof RecipeSchema>;
1918
+ /** A fetchable recipe that downloads one source. */
1919
+ type SourceRecipe = z.infer<typeof SourceRecipeSchema>;
1920
+ /** A fetchable recipe that downloads each file of a collection. */
1921
+ type FilesRecipe = z.infer<typeof FilesRecipeSchema>;
1922
+ /**
1923
+ * Whether a recipe reads a collection, whose result is `{ meta, instances }`: one that downloads each file of a collection, or one whose archive selects `members`.
1924
+ * @param recipe - A recipe.
1925
+ * @returns True for a collection recipe.
1926
+ */
1927
+ declare function readsCollection(recipe: Recipe): boolean;
1928
+ /** The crossmap crosswalk from the native shape to the category target: the document inline, or a `.json` file path relative to the catalogue root, so entries that share a native shape share one crosswalk. */
1929
+ declare const CrosswalkReferenceSchema: z.ZodUnion<readonly [z.ZodType<import("crossmap").Crosswalk, unknown, z.core.$ZodTypeInternals<import("crossmap").Crosswalk, unknown>> & {
1930
+ is: (value: unknown) => value is import("crossmap").Crosswalk;
1931
+ }, z.ZodObject<{
1932
+ file: z.ZodString;
1933
+ }, z.core.$strict>]>;
1934
+ type CrosswalkReference = z.infer<typeof CrosswalkReferenceSchema>;
1935
+ /** The meta keys a fetched result takes from the entry's own descriptor, which its `properties` therefore may not also set. */
1936
+ declare const RESERVED_META_KEYS: readonly ["id", "name"];
1937
+ /**
1938
+ * One catalogue entry: the descriptor (id, optional namespace and aliases, name, description, domain, subjects, tags), the category whose target the entry resolves to, where the bytes come from, the licence and citations, the recipe, the crosswalk, the counts a fetched result is expected to have and the dataset's recorded properties. The kind of data is the category's (`kindOf(category)`), never a second field that could disagree with it.
1939
+ */
1940
+ declare const EntrySchema: z.ZodObject<{
1941
+ id: z.ZodString;
1942
+ namespace: z.ZodOptional<z.ZodArray<z.ZodString>>;
1943
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
1944
+ name: z.ZodString;
1945
+ description: z.ZodOptional<z.ZodString>;
1946
+ domain: z.ZodOptional<z.ZodString>;
1947
+ subjects: z.ZodOptional<z.ZodArray<z.ZodString>>;
1948
+ tags: z.ZodArray<z.ZodString>;
1949
+ category: z.ZodEnum<{
1950
+ "graph/v1": "graph/v1";
1951
+ "tasks/v1": "tasks/v1";
1952
+ }>;
1953
+ sources: z.ZodArray<z.ZodObject<{
1954
+ url: z.ZodURL;
1955
+ retrieved: z.ZodISODate;
1956
+ status: z.ZodEnum<{
1957
+ live: "live";
1958
+ dead: "dead";
1959
+ }>;
1960
+ snapshot: z.ZodOptional<z.ZodObject<{
1961
+ url: z.ZodURL;
1962
+ timestamp: z.ZodString;
1963
+ }, z.core.$strict>>;
1964
+ }, z.core.$strict>>;
1965
+ licence: z.ZodDiscriminatedUnion<[z.ZodObject<{
1966
+ kind: z.ZodLiteral<"spdx">;
1967
+ id: z.ZodString;
1968
+ }, z.core.$strict>, z.ZodObject<{
1969
+ kind: z.ZodLiteral<"custom">;
1970
+ name: z.ZodString;
1971
+ url: z.ZodURL;
1972
+ }, z.core.$strict>, z.ZodObject<{
1973
+ kind: z.ZodLiteral<"unrecorded">;
1974
+ }, z.core.$strict>], "kind">;
1975
+ citations: z.ZodArray<z.ZodObject<{
1976
+ text: z.ZodString;
1977
+ doi: z.ZodOptional<z.ZodString>;
1978
+ url: z.ZodOptional<z.ZodURL>;
1979
+ }, z.core.$strict>>;
1980
+ recipe: z.ZodUnion<readonly [z.ZodObject<{
1981
+ status: z.ZodLiteral<"fetchable">;
1982
+ source: z.ZodInt;
1983
+ paging: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1984
+ kind: z.ZodLiteral<"arcgis-query">;
1985
+ orderBy: z.ZodString;
1986
+ }, z.core.$strict>, z.ZodObject<{
1987
+ kind: z.ZodLiteral<"socrata-resource">;
1988
+ pageSize: z.ZodInt;
1989
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
1990
+ }, z.core.$strict>, z.ZodObject<{
1991
+ kind: z.ZodLiteral<"ckan-datastore">;
1992
+ pageSize: z.ZodInt;
1993
+ }, z.core.$strict>, z.ZodObject<{
1994
+ kind: z.ZodLiteral<"openfema">;
1995
+ pageSize: z.ZodInt;
1996
+ }, z.core.$strict>], "kind">>;
1997
+ archive: z.ZodUnion<readonly [z.ZodObject<{
1998
+ kind: z.ZodLiteral<"none">;
1999
+ }, z.core.$strict>, z.ZodObject<{
2000
+ kind: z.ZodLiteral<"gzip">;
2001
+ }, z.core.$strict>, z.ZodObject<{
2002
+ kind: z.ZodLiteral<"bzip2">;
2003
+ }, z.core.$strict>, z.ZodObject<{
2004
+ kind: z.ZodEnum<{
2005
+ zip: "zip";
2006
+ tar: "tar";
2007
+ "tar.gz": "tar.gz";
2008
+ "tar.bz2": "tar.bz2";
2009
+ }>;
2010
+ member: z.ZodUnion<readonly [z.ZodObject<{
2011
+ path: z.ZodString;
2012
+ }, z.core.$strict>, z.ZodObject<{
2013
+ extensions: z.ZodArray<z.ZodString>;
2014
+ }, z.core.$strict>, z.ZodObject<{
2015
+ pattern: z.ZodString;
2016
+ }, z.core.$strict>]>;
2017
+ inner: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2018
+ kind: z.ZodLiteral<"gzip">;
2019
+ }, z.core.$strict>, z.ZodObject<{
2020
+ kind: z.ZodEnum<{
2021
+ zip: "zip";
2022
+ tar: "tar";
2023
+ "tar.gz": "tar.gz";
2024
+ "tar.bz2": "tar.bz2";
2025
+ }>;
2026
+ member: z.ZodUnion<readonly [z.ZodObject<{
2027
+ path: z.ZodString;
2028
+ }, z.core.$strict>, z.ZodObject<{
2029
+ extensions: z.ZodArray<z.ZodString>;
2030
+ }, z.core.$strict>, z.ZodObject<{
2031
+ pattern: z.ZodString;
2032
+ }, z.core.$strict>]>;
2033
+ }, z.core.$strict>, z.ZodObject<{
2034
+ kind: z.ZodEnum<{
2035
+ xlsx: "xlsx";
2036
+ xls: "xls";
2037
+ ods: "ods";
2038
+ }>;
2039
+ sheet: z.ZodString;
2040
+ }, z.core.$strict>]>>;
2041
+ }, z.core.$strict>, z.ZodObject<{
2042
+ kind: z.ZodEnum<{
2043
+ zip: "zip";
2044
+ tar: "tar";
2045
+ "tar.gz": "tar.gz";
2046
+ "tar.bz2": "tar.bz2";
2047
+ }>;
2048
+ members: z.ZodUnion<readonly [z.ZodObject<{
2049
+ path: z.ZodString;
2050
+ }, z.core.$strict>, z.ZodObject<{
2051
+ extensions: z.ZodArray<z.ZodString>;
2052
+ }, z.core.$strict>, z.ZodObject<{
2053
+ pattern: z.ZodString;
2054
+ }, z.core.$strict>]>;
2055
+ inner: z.ZodOptional<z.ZodObject<{
2056
+ kind: z.ZodLiteral<"xlsx">;
2057
+ sheets: z.ZodOptional<z.ZodString>;
2058
+ }, z.core.$strict>>;
2059
+ }, z.core.$strict>, z.ZodObject<{
2060
+ kind: z.ZodEnum<{
2061
+ zip: "zip";
2062
+ tar: "tar";
2063
+ "tar.gz": "tar.gz";
2064
+ "tar.bz2": "tar.bz2";
2065
+ }>;
2066
+ parts: z.ZodArray<z.ZodObject<{
2067
+ name: z.ZodString;
2068
+ member: z.ZodUnion<readonly [z.ZodObject<{
2069
+ path: z.ZodString;
2070
+ }, z.core.$strict>, z.ZodObject<{
2071
+ extensions: z.ZodArray<z.ZodString>;
2072
+ }, z.core.$strict>, z.ZodObject<{
2073
+ pattern: z.ZodString;
2074
+ }, z.core.$strict>]>;
2075
+ }, z.core.$strict>>;
2076
+ }, z.core.$strict>, z.ZodObject<{
2077
+ kind: z.ZodEnum<{
2078
+ zip: "zip";
2079
+ tar: "tar";
2080
+ "tar.gz": "tar.gz";
2081
+ "tar.bz2": "tar.bz2";
2082
+ }>;
2083
+ files: z.ZodUnion<readonly [z.ZodObject<{
2084
+ path: z.ZodString;
2085
+ }, z.core.$strict>, z.ZodObject<{
2086
+ extensions: z.ZodArray<z.ZodString>;
2087
+ }, z.core.$strict>, z.ZodObject<{
2088
+ pattern: z.ZodString;
2089
+ }, z.core.$strict>]>;
2090
+ inner: z.ZodOptional<z.ZodObject<{
2091
+ kind: z.ZodLiteral<"gzip">;
2092
+ }, z.core.$strict>>;
2093
+ }, z.core.$strict>, z.ZodObject<{
2094
+ kind: z.ZodEnum<{
2095
+ xlsx: "xlsx";
2096
+ xls: "xls";
2097
+ ods: "ods";
2098
+ }>;
2099
+ sheet: z.ZodString;
2100
+ }, z.core.$strict>, z.ZodObject<{
2101
+ kind: z.ZodLiteral<"shapefile">;
2102
+ member: z.ZodUnion<readonly [z.ZodObject<{
2103
+ path: z.ZodString;
2104
+ }, z.core.$strict>, z.ZodObject<{
2105
+ extensions: z.ZodArray<z.ZodString>;
2106
+ }, z.core.$strict>, z.ZodObject<{
2107
+ pattern: z.ZodString;
2108
+ }, z.core.$strict>]>;
2109
+ }, z.core.$strict>]>;
2110
+ parser: z.ZodDiscriminatedUnion<[z.ZodObject<{
2111
+ format: z.ZodLiteral<"edge-list">;
2112
+ encoding: z.ZodEnum<{
2113
+ "utf-8": "utf-8";
2114
+ latin1: "latin1";
2115
+ }>;
2116
+ delimiter: z.ZodEnum<{
2117
+ detect: "detect";
2118
+ whitespace: "whitespace";
2119
+ tab: "tab";
2120
+ comma: "comma";
2121
+ space: "space";
2122
+ }>;
2123
+ skipLines: z.ZodInt;
2124
+ commentPrefixes: z.ZodArray<z.ZodString>;
2125
+ sourceColumn: z.ZodInt;
2126
+ targetColumn: z.ZodInt;
2127
+ keep: z.ZodOptional<z.ZodObject<{
2128
+ column: z.ZodInt;
2129
+ values: z.ZodArray<z.ZodString>;
2130
+ }, z.core.$strict>>;
2131
+ multiplicityColumn: z.ZodOptional<z.ZodInt>;
2132
+ mirrored: z.ZodOptional<z.ZodLiteral<true>>;
2133
+ where: z.ZodOptional<z.ZodArray<z.ZodObject<{
2134
+ column: z.ZodInt;
2135
+ equals: z.ZodString;
2136
+ }, z.core.$strict>>>;
2137
+ }, z.core.$strict>, z.ZodObject<{
2138
+ format: z.ZodLiteral<"matrix-market">;
2139
+ encoding: z.ZodEnum<{
2140
+ "utf-8": "utf-8";
2141
+ latin1: "latin1";
2142
+ }>;
2143
+ }, z.core.$strict>, z.ZodObject<{
2144
+ format: z.ZodLiteral<"user-item-ratings">;
2145
+ encoding: z.ZodLiteral<"utf-8">;
2146
+ delimiter: z.ZodEnum<{
2147
+ tab: "tab";
2148
+ comma: "comma";
2149
+ "double-colon": "double-colon";
2150
+ }>;
2151
+ skipLines: z.ZodInt;
2152
+ itemType: z.ZodEnum<{
2153
+ movie: "movie";
2154
+ product: "product";
2155
+ }>;
2156
+ maxRating: z.ZodNumber;
2157
+ }, z.core.$strict>, z.ZodObject<{
2158
+ format: z.ZodLiteral<"konect">;
2159
+ encoding: z.ZodLiteral<"utf-8">;
2160
+ weighted: z.ZodBoolean;
2161
+ timestamped: z.ZodBoolean;
2162
+ }, z.core.$strict>, z.ZodObject<{
2163
+ format: z.ZodLiteral<"user-item-counts">;
2164
+ encoding: z.ZodLiteral<"utf-8">;
2165
+ delimiter: z.ZodEnum<{
2166
+ tab: "tab";
2167
+ }>;
2168
+ skipLines: z.ZodInt;
2169
+ itemType: z.ZodEnum<{
2170
+ artist: "artist";
2171
+ }>;
2172
+ }, z.core.$strict>, z.ZodObject<{
2173
+ format: z.ZodLiteral<"kg-triples">;
2174
+ encoding: z.ZodEnum<{
2175
+ "utf-8": "utf-8";
2176
+ latin1: "latin1";
2177
+ }>;
2178
+ delimiter: z.ZodEnum<{
2179
+ tab: "tab";
2180
+ space: "space";
2181
+ }>;
2182
+ order: z.ZodEnum<{
2183
+ "head-relation-tail": "head-relation-tail";
2184
+ "head-tail-relation": "head-tail-relation";
2185
+ }>;
2186
+ header: z.ZodEnum<{
2187
+ none: "none";
2188
+ names: "names";
2189
+ count: "count";
2190
+ }>;
2191
+ quoted: z.ZodBoolean;
2192
+ }, z.core.$strict>, z.ZodObject<{
2193
+ format: z.ZodLiteral<"hgb">;
2194
+ encoding: z.ZodLiteral<"utf-8">;
2195
+ nodeTypes: z.ZodArray<z.ZodString>;
2196
+ linkTypes: z.ZodArray<z.ZodObject<{
2197
+ name: z.ZodString;
2198
+ source: z.ZodString;
2199
+ target: z.ZodString;
2200
+ }, z.core.$strict>>;
2201
+ }, z.core.$strict>, z.ZodObject<{
2202
+ format: z.ZodLiteral<"gml">;
2203
+ encoding: z.ZodEnum<{
2204
+ "utf-8": "utf-8";
2205
+ latin1: "latin1";
2206
+ }>;
2207
+ }, z.core.$strict>, z.ZodObject<{
2208
+ format: z.ZodLiteral<"pajek">;
2209
+ encoding: z.ZodEnum<{
2210
+ "utf-8": "utf-8";
2211
+ latin1: "latin1";
2212
+ }>;
2213
+ }, z.core.$strict>, z.ZodObject<{
2214
+ format: z.ZodLiteral<"ucinet-dl">;
2215
+ encoding: z.ZodEnum<{
2216
+ "utf-8": "utf-8";
2217
+ latin1: "latin1";
2218
+ }>;
2219
+ matrix: z.ZodInt;
2220
+ }, z.core.$strict>, z.ZodObject<{
2221
+ format: z.ZodLiteral<"gd-contest">;
2222
+ encoding: z.ZodEnum<{
2223
+ "utf-8": "utf-8";
2224
+ latin1: "latin1";
2225
+ }>;
2226
+ }, z.core.$strict>, z.ZodObject<{
2227
+ format: z.ZodLiteral<"witvliet-synapses">;
2228
+ encoding: z.ZodLiteral<"utf-8">;
2229
+ }, z.core.$strict>, z.ZodObject<{
2230
+ format: z.ZodLiteral<"ogb">;
2231
+ encoding: z.ZodLiteral<"utf-8">;
2232
+ }, z.core.$strict>, z.ZodObject<{
2233
+ format: z.ZodLiteral<"customer-points">;
2234
+ encoding: z.ZodEnum<{
2235
+ "utf-8": "utf-8";
2236
+ latin1: "latin1";
2237
+ }>;
2238
+ }, z.core.$strict>, z.ZodObject<{
2239
+ format: z.ZodLiteral<"solomon">;
2240
+ encoding: z.ZodEnum<{
2241
+ "utf-8": "utf-8";
2242
+ latin1: "latin1";
2243
+ }>;
2244
+ }, z.core.$strict>, z.ZodObject<{
2245
+ format: z.ZodLiteral<"top">;
2246
+ encoding: z.ZodEnum<{
2247
+ "utf-8": "utf-8";
2248
+ latin1: "latin1";
2249
+ }>;
2250
+ }, z.core.$strict>, z.ZodObject<{
2251
+ format: z.ZodLiteral<"toptw">;
2252
+ encoding: z.ZodEnum<{
2253
+ "utf-8": "utf-8";
2254
+ latin1: "latin1";
2255
+ }>;
2256
+ }, z.core.$strict>, z.ZodObject<{
2257
+ format: z.ZodLiteral<"tsplib">;
2258
+ encoding: z.ZodEnum<{
2259
+ "utf-8": "utf-8";
2260
+ latin1: "latin1";
2261
+ }>;
2262
+ }, z.core.$strict>, z.ZodObject<{
2263
+ format: z.ZodLiteral<"verolog-2019">;
2264
+ encoding: z.ZodLiteral<"utf-8">;
2265
+ }, z.core.$strict>, z.ZodObject<{
2266
+ format: z.ZodLiteral<"vrp-rep">;
2267
+ encoding: z.ZodLiteral<"utf-8">;
2268
+ }, z.core.$strict>, z.ZodObject<{
2269
+ format: z.ZodLiteral<"hhcrsp">;
2270
+ encoding: z.ZodLiteral<"utf-8">;
2271
+ }, z.core.$strict>, z.ZodObject<{
2272
+ format: z.ZodLiteral<"mankowska">;
2273
+ encoding: z.ZodEnum<{
2274
+ "utf-8": "utf-8";
2275
+ latin1: "latin1";
2276
+ }>;
2277
+ }, z.core.$strict>, z.ZodObject<{
2278
+ format: z.ZodLiteral<"verolog-2017">;
2279
+ encoding: z.ZodEnum<{
2280
+ "utf-8": "utf-8";
2281
+ latin1: "latin1";
2282
+ }>;
2283
+ }, z.core.$strict>, z.ZodObject<{
2284
+ format: z.ZodLiteral<"tdc">;
2285
+ encoding: z.ZodEnum<{
2286
+ "utf-8": "utf-8";
2287
+ latin1: "latin1";
2288
+ }>;
2289
+ }, z.core.$strict>, z.ZodObject<{
2290
+ format: z.ZodLiteral<"csv-table">;
2291
+ encoding: z.ZodEnum<{
2292
+ "utf-8": "utf-8";
2293
+ latin1: "latin1";
2294
+ }>;
2295
+ delimiter: z.ZodEnum<{
2296
+ tab: "tab";
2297
+ comma: "comma";
2298
+ semicolon: "semicolon";
2299
+ }>;
2300
+ skipLines: z.ZodInt;
2301
+ idColumn: z.ZodNullable<z.ZodString>;
2302
+ numericColumns: z.ZodArray<z.ZodObject<{
2303
+ column: z.ZodString;
2304
+ factor: z.ZodNumber;
2305
+ }, z.core.$strict>>;
2306
+ columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
2307
+ nullValues: z.ZodOptional<z.ZodArray<z.ZodString>>;
2308
+ }, z.core.$strict>, z.ZodObject<{
2309
+ format: z.ZodLiteral<"geojson">;
2310
+ encoding: z.ZodLiteral<"utf-8">;
2311
+ idColumn: z.ZodNullable<z.ZodString>;
2312
+ numericColumns: z.ZodArray<z.ZodObject<{
2313
+ column: z.ZodString;
2314
+ factor: z.ZodNumber;
2315
+ }, z.core.$strict>>;
2316
+ dateColumns: z.ZodArray<z.ZodString>;
2317
+ columns: z.ZodArray<z.ZodString>;
2318
+ }, z.core.$strict>], "format">;
2319
+ stream: z.ZodOptional<z.ZodLiteral<true>>;
2320
+ }, z.core.$strict>, z.ZodObject<{
2321
+ status: z.ZodLiteral<"fetchable">;
2322
+ files: z.ZodArray<z.ZodObject<{
2323
+ path: z.ZodString;
2324
+ source: z.ZodInt;
2325
+ archive: z.ZodUnion<readonly [z.ZodObject<{
2326
+ kind: z.ZodLiteral<"none">;
2327
+ }, z.core.$strict>, z.ZodObject<{
2328
+ kind: z.ZodLiteral<"gzip">;
2329
+ }, z.core.$strict>, z.ZodObject<{
2330
+ kind: z.ZodLiteral<"bzip2">;
2331
+ }, z.core.$strict>, z.ZodObject<{
2332
+ kind: z.ZodEnum<{
2333
+ zip: "zip";
2334
+ tar: "tar";
2335
+ "tar.gz": "tar.gz";
2336
+ "tar.bz2": "tar.bz2";
2337
+ }>;
2338
+ member: z.ZodUnion<readonly [z.ZodObject<{
2339
+ path: z.ZodString;
2340
+ }, z.core.$strict>, z.ZodObject<{
2341
+ extensions: z.ZodArray<z.ZodString>;
2342
+ }, z.core.$strict>, z.ZodObject<{
2343
+ pattern: z.ZodString;
2344
+ }, z.core.$strict>]>;
2345
+ inner: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2346
+ kind: z.ZodLiteral<"gzip">;
2347
+ }, z.core.$strict>, z.ZodObject<{
2348
+ kind: z.ZodEnum<{
2349
+ zip: "zip";
2350
+ tar: "tar";
2351
+ "tar.gz": "tar.gz";
2352
+ "tar.bz2": "tar.bz2";
2353
+ }>;
2354
+ member: z.ZodUnion<readonly [z.ZodObject<{
2355
+ path: z.ZodString;
2356
+ }, z.core.$strict>, z.ZodObject<{
2357
+ extensions: z.ZodArray<z.ZodString>;
2358
+ }, z.core.$strict>, z.ZodObject<{
2359
+ pattern: z.ZodString;
2360
+ }, z.core.$strict>]>;
2361
+ }, z.core.$strict>, z.ZodObject<{
2362
+ kind: z.ZodEnum<{
2363
+ xlsx: "xlsx";
2364
+ xls: "xls";
2365
+ ods: "ods";
2366
+ }>;
2367
+ sheet: z.ZodString;
2368
+ }, z.core.$strict>]>>;
2369
+ }, z.core.$strict>, z.ZodObject<{
2370
+ kind: z.ZodEnum<{
2371
+ zip: "zip";
2372
+ tar: "tar";
2373
+ "tar.gz": "tar.gz";
2374
+ "tar.bz2": "tar.bz2";
2375
+ }>;
2376
+ members: z.ZodUnion<readonly [z.ZodObject<{
2377
+ path: z.ZodString;
2378
+ }, z.core.$strict>, z.ZodObject<{
2379
+ extensions: z.ZodArray<z.ZodString>;
2380
+ }, z.core.$strict>, z.ZodObject<{
2381
+ pattern: z.ZodString;
2382
+ }, z.core.$strict>]>;
2383
+ inner: z.ZodOptional<z.ZodObject<{
2384
+ kind: z.ZodLiteral<"xlsx">;
2385
+ sheets: z.ZodOptional<z.ZodString>;
2386
+ }, z.core.$strict>>;
2387
+ }, z.core.$strict>, z.ZodObject<{
2388
+ kind: z.ZodEnum<{
2389
+ zip: "zip";
2390
+ tar: "tar";
2391
+ "tar.gz": "tar.gz";
2392
+ "tar.bz2": "tar.bz2";
2393
+ }>;
2394
+ parts: z.ZodArray<z.ZodObject<{
2395
+ name: z.ZodString;
2396
+ member: z.ZodUnion<readonly [z.ZodObject<{
2397
+ path: z.ZodString;
2398
+ }, z.core.$strict>, z.ZodObject<{
2399
+ extensions: z.ZodArray<z.ZodString>;
2400
+ }, z.core.$strict>, z.ZodObject<{
2401
+ pattern: z.ZodString;
2402
+ }, z.core.$strict>]>;
2403
+ }, z.core.$strict>>;
2404
+ }, z.core.$strict>, z.ZodObject<{
2405
+ kind: z.ZodEnum<{
2406
+ zip: "zip";
2407
+ tar: "tar";
2408
+ "tar.gz": "tar.gz";
2409
+ "tar.bz2": "tar.bz2";
2410
+ }>;
2411
+ files: z.ZodUnion<readonly [z.ZodObject<{
2412
+ path: z.ZodString;
2413
+ }, z.core.$strict>, z.ZodObject<{
2414
+ extensions: z.ZodArray<z.ZodString>;
2415
+ }, z.core.$strict>, z.ZodObject<{
2416
+ pattern: z.ZodString;
2417
+ }, z.core.$strict>]>;
2418
+ inner: z.ZodOptional<z.ZodObject<{
2419
+ kind: z.ZodLiteral<"gzip">;
2420
+ }, z.core.$strict>>;
2421
+ }, z.core.$strict>, z.ZodObject<{
2422
+ kind: z.ZodEnum<{
2423
+ xlsx: "xlsx";
2424
+ xls: "xls";
2425
+ ods: "ods";
2426
+ }>;
2427
+ sheet: z.ZodString;
2428
+ }, z.core.$strict>, z.ZodObject<{
2429
+ kind: z.ZodLiteral<"shapefile">;
2430
+ member: z.ZodUnion<readonly [z.ZodObject<{
2431
+ path: z.ZodString;
2432
+ }, z.core.$strict>, z.ZodObject<{
2433
+ extensions: z.ZodArray<z.ZodString>;
2434
+ }, z.core.$strict>, z.ZodObject<{
2435
+ pattern: z.ZodString;
2436
+ }, z.core.$strict>]>;
2437
+ }, z.core.$strict>]>;
2438
+ }, z.core.$strict>>;
2439
+ parser: z.ZodDiscriminatedUnion<[z.ZodObject<{
2440
+ format: z.ZodLiteral<"edge-list">;
2441
+ encoding: z.ZodEnum<{
2442
+ "utf-8": "utf-8";
2443
+ latin1: "latin1";
2444
+ }>;
2445
+ delimiter: z.ZodEnum<{
2446
+ detect: "detect";
2447
+ whitespace: "whitespace";
2448
+ tab: "tab";
2449
+ comma: "comma";
2450
+ space: "space";
2451
+ }>;
2452
+ skipLines: z.ZodInt;
2453
+ commentPrefixes: z.ZodArray<z.ZodString>;
2454
+ sourceColumn: z.ZodInt;
2455
+ targetColumn: z.ZodInt;
2456
+ keep: z.ZodOptional<z.ZodObject<{
2457
+ column: z.ZodInt;
2458
+ values: z.ZodArray<z.ZodString>;
2459
+ }, z.core.$strict>>;
2460
+ multiplicityColumn: z.ZodOptional<z.ZodInt>;
2461
+ mirrored: z.ZodOptional<z.ZodLiteral<true>>;
2462
+ where: z.ZodOptional<z.ZodArray<z.ZodObject<{
2463
+ column: z.ZodInt;
2464
+ equals: z.ZodString;
2465
+ }, z.core.$strict>>>;
2466
+ }, z.core.$strict>, z.ZodObject<{
2467
+ format: z.ZodLiteral<"matrix-market">;
2468
+ encoding: z.ZodEnum<{
2469
+ "utf-8": "utf-8";
2470
+ latin1: "latin1";
2471
+ }>;
2472
+ }, z.core.$strict>, z.ZodObject<{
2473
+ format: z.ZodLiteral<"user-item-ratings">;
2474
+ encoding: z.ZodLiteral<"utf-8">;
2475
+ delimiter: z.ZodEnum<{
2476
+ tab: "tab";
2477
+ comma: "comma";
2478
+ "double-colon": "double-colon";
2479
+ }>;
2480
+ skipLines: z.ZodInt;
2481
+ itemType: z.ZodEnum<{
2482
+ movie: "movie";
2483
+ product: "product";
2484
+ }>;
2485
+ maxRating: z.ZodNumber;
2486
+ }, z.core.$strict>, z.ZodObject<{
2487
+ format: z.ZodLiteral<"konect">;
990
2488
  encoding: z.ZodLiteral<"utf-8">;
991
2489
  weighted: z.ZodBoolean;
992
2490
  timestamped: z.ZodBoolean;
@@ -1099,6 +2597,24 @@ declare const EntrySchema: z.ZodObject<{
1099
2597
  }, z.core.$strict>, z.ZodObject<{
1100
2598
  format: z.ZodLiteral<"hhcrsp">;
1101
2599
  encoding: z.ZodLiteral<"utf-8">;
2600
+ }, z.core.$strict>, z.ZodObject<{
2601
+ format: z.ZodLiteral<"mankowska">;
2602
+ encoding: z.ZodEnum<{
2603
+ "utf-8": "utf-8";
2604
+ latin1: "latin1";
2605
+ }>;
2606
+ }, z.core.$strict>, z.ZodObject<{
2607
+ format: z.ZodLiteral<"verolog-2017">;
2608
+ encoding: z.ZodEnum<{
2609
+ "utf-8": "utf-8";
2610
+ latin1: "latin1";
2611
+ }>;
2612
+ }, z.core.$strict>, z.ZodObject<{
2613
+ format: z.ZodLiteral<"tdc">;
2614
+ encoding: z.ZodEnum<{
2615
+ "utf-8": "utf-8";
2616
+ latin1: "latin1";
2617
+ }>;
1102
2618
  }, z.core.$strict>, z.ZodObject<{
1103
2619
  format: z.ZodLiteral<"csv-table">;
1104
2620
  encoding: z.ZodEnum<{
@@ -1132,7 +2648,7 @@ declare const EntrySchema: z.ZodObject<{
1132
2648
  }, z.core.$strict>, z.ZodObject<{
1133
2649
  status: z.ZodLiteral<"not-fetchable">;
1134
2650
  reason: z.ZodString;
1135
- }, z.core.$strict>], "status">;
2651
+ }, z.core.$strict>]>;
1136
2652
  crosswalk: z.ZodUnion<readonly [z.ZodType<import("crossmap").Crosswalk, unknown, z.core.$ZodTypeInternals<import("crossmap").Crosswalk, unknown>> & {
1137
2653
  is: (value: unknown) => value is import("crossmap").Crosswalk;
1138
2654
  }, z.ZodObject<{
@@ -1199,40 +2715,256 @@ declare const EntrySchema: z.ZodObject<{
1199
2715
  kind: "gzip";
1200
2716
  } | undefined;
1201
2717
  } | {
1202
- kind: "xlsx" | "xls" | "ods";
1203
- sheet: string;
2718
+ kind: "xlsx" | "xls" | "ods";
2719
+ sheet: string;
2720
+ } | {
2721
+ kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
2722
+ parts: {
2723
+ name: string;
2724
+ member: {
2725
+ path: string;
2726
+ } | {
2727
+ extensions: string[];
2728
+ } | {
2729
+ pattern: string;
2730
+ };
2731
+ }[];
2732
+ } | {
2733
+ kind: "none";
2734
+ } | {
2735
+ kind: "gzip";
2736
+ } | {
2737
+ kind: "bzip2";
2738
+ } | {
2739
+ kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
2740
+ member: {
2741
+ path: string;
2742
+ } | {
2743
+ extensions: string[];
2744
+ } | {
2745
+ pattern: string;
2746
+ };
2747
+ inner?: {
2748
+ kind: "xlsx" | "xls" | "ods";
2749
+ sheet: string;
2750
+ } | {
2751
+ kind: "gzip";
2752
+ } | {
2753
+ kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
2754
+ member: {
2755
+ path: string;
2756
+ } | {
2757
+ extensions: string[];
2758
+ } | {
2759
+ pattern: string;
2760
+ };
2761
+ } | undefined;
2762
+ } | {
2763
+ kind: "shapefile";
2764
+ member: {
2765
+ path: string;
2766
+ } | {
2767
+ extensions: string[];
2768
+ } | {
2769
+ pattern: string;
2770
+ };
2771
+ };
2772
+ parser: {
2773
+ format: "edge-list";
2774
+ encoding: "utf-8" | "latin1";
2775
+ delimiter: "detect" | "whitespace" | "tab" | "comma" | "space";
2776
+ skipLines: number;
2777
+ commentPrefixes: string[];
2778
+ sourceColumn: number;
2779
+ targetColumn: number;
2780
+ keep?: {
2781
+ column: number;
2782
+ values: string[];
2783
+ } | undefined;
2784
+ multiplicityColumn?: number | undefined;
2785
+ mirrored?: true | undefined;
2786
+ where?: {
2787
+ column: number;
2788
+ equals: string;
2789
+ }[] | undefined;
2790
+ } | {
2791
+ format: "hgb";
2792
+ encoding: "utf-8";
2793
+ nodeTypes: string[];
2794
+ linkTypes: {
2795
+ name: string;
2796
+ source: string;
2797
+ target: string;
2798
+ }[];
2799
+ } | {
2800
+ format: "csv-table";
2801
+ encoding: "utf-8" | "latin1";
2802
+ delimiter: "tab" | "comma" | "semicolon";
2803
+ skipLines: number;
2804
+ idColumn: string | null;
2805
+ numericColumns: {
2806
+ column: string;
2807
+ factor: number;
2808
+ }[];
2809
+ columns?: string[] | undefined;
2810
+ nullValues?: string[] | undefined;
2811
+ } | {
2812
+ format: "geojson";
2813
+ encoding: "utf-8";
2814
+ idColumn: string | null;
2815
+ numericColumns: {
2816
+ column: string;
2817
+ factor: number;
2818
+ }[];
2819
+ dateColumns: string[];
2820
+ columns: string[];
2821
+ } | {
2822
+ format: "matrix-market";
2823
+ encoding: "utf-8" | "latin1";
2824
+ } | {
2825
+ format: "user-item-ratings";
2826
+ encoding: "utf-8";
2827
+ delimiter: "tab" | "comma" | "double-colon";
2828
+ skipLines: number;
2829
+ itemType: "movie" | "product";
2830
+ maxRating: number;
2831
+ } | {
2832
+ format: "konect";
2833
+ encoding: "utf-8";
2834
+ weighted: boolean;
2835
+ timestamped: boolean;
2836
+ } | {
2837
+ format: "user-item-counts";
2838
+ encoding: "utf-8";
2839
+ delimiter: "tab";
2840
+ skipLines: number;
2841
+ itemType: "artist";
2842
+ } | {
2843
+ format: "kg-triples";
2844
+ encoding: "utf-8" | "latin1";
2845
+ delimiter: "tab" | "space";
2846
+ order: "head-relation-tail" | "head-tail-relation";
2847
+ header: "none" | "names" | "count";
2848
+ quoted: boolean;
2849
+ } | {
2850
+ format: "gml";
2851
+ encoding: "utf-8" | "latin1";
2852
+ } | {
2853
+ format: "pajek";
2854
+ encoding: "utf-8" | "latin1";
2855
+ } | {
2856
+ format: "ucinet-dl";
2857
+ encoding: "utf-8" | "latin1";
2858
+ matrix: number;
2859
+ } | {
2860
+ format: "gd-contest";
2861
+ encoding: "utf-8" | "latin1";
2862
+ } | {
2863
+ format: "witvliet-synapses";
2864
+ encoding: "utf-8";
2865
+ } | {
2866
+ format: "ogb";
2867
+ encoding: "utf-8";
2868
+ } | {
2869
+ format: "customer-points";
2870
+ encoding: "utf-8" | "latin1";
2871
+ } | {
2872
+ format: "solomon";
2873
+ encoding: "utf-8" | "latin1";
2874
+ } | {
2875
+ format: "top";
2876
+ encoding: "utf-8" | "latin1";
2877
+ } | {
2878
+ format: "toptw";
2879
+ encoding: "utf-8" | "latin1";
2880
+ } | {
2881
+ format: "tsplib";
2882
+ encoding: "utf-8" | "latin1";
2883
+ } | {
2884
+ format: "verolog-2019";
2885
+ encoding: "utf-8";
2886
+ } | {
2887
+ format: "vrp-rep";
2888
+ encoding: "utf-8";
2889
+ } | {
2890
+ format: "hhcrsp";
2891
+ encoding: "utf-8";
2892
+ } | {
2893
+ format: "mankowska";
2894
+ encoding: "utf-8" | "latin1";
2895
+ } | {
2896
+ format: "verolog-2017";
2897
+ encoding: "utf-8" | "latin1";
2898
+ } | {
2899
+ format: "tdc";
2900
+ encoding: "utf-8" | "latin1";
2901
+ };
2902
+ paging?: {
2903
+ kind: "socrata-resource";
2904
+ pageSize: number;
2905
+ select?: string[] | undefined;
2906
+ } | {
2907
+ kind: "arcgis-query";
2908
+ orderBy: string;
2909
+ } | {
2910
+ kind: "ckan-datastore";
2911
+ pageSize: number;
1204
2912
  } | {
1205
- kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
1206
- parts: {
1207
- name: string;
1208
- member: {
2913
+ kind: "openfema";
2914
+ pageSize: number;
2915
+ } | undefined;
2916
+ stream?: true | undefined;
2917
+ } | {
2918
+ status: "fetchable";
2919
+ files: {
2920
+ path: string;
2921
+ source: number;
2922
+ archive: {
2923
+ kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
2924
+ members: {
1209
2925
  path: string;
1210
2926
  } | {
1211
2927
  extensions: string[];
1212
2928
  } | {
1213
2929
  pattern: string;
1214
2930
  };
1215
- }[];
1216
- } | {
1217
- kind: "none";
1218
- } | {
1219
- kind: "gzip";
1220
- } | {
1221
- kind: "bzip2";
1222
- } | {
1223
- kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
1224
- member: {
1225
- path: string;
2931
+ inner?: {
2932
+ kind: "xlsx";
2933
+ sheets?: string | undefined;
2934
+ } | undefined;
1226
2935
  } | {
1227
- extensions: string[];
2936
+ kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
2937
+ files: {
2938
+ path: string;
2939
+ } | {
2940
+ extensions: string[];
2941
+ } | {
2942
+ pattern: string;
2943
+ };
2944
+ inner?: {
2945
+ kind: "gzip";
2946
+ } | undefined;
1228
2947
  } | {
1229
- pattern: string;
1230
- };
1231
- inner?: {
1232
2948
  kind: "xlsx" | "xls" | "ods";
1233
2949
  sheet: string;
2950
+ } | {
2951
+ kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
2952
+ parts: {
2953
+ name: string;
2954
+ member: {
2955
+ path: string;
2956
+ } | {
2957
+ extensions: string[];
2958
+ } | {
2959
+ pattern: string;
2960
+ };
2961
+ }[];
2962
+ } | {
2963
+ kind: "none";
1234
2964
  } | {
1235
2965
  kind: "gzip";
2966
+ } | {
2967
+ kind: "bzip2";
1236
2968
  } | {
1237
2969
  kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
1238
2970
  member: {
@@ -1242,17 +2974,32 @@ declare const EntrySchema: z.ZodObject<{
1242
2974
  } | {
1243
2975
  pattern: string;
1244
2976
  };
1245
- } | undefined;
1246
- } | {
1247
- kind: "shapefile";
1248
- member: {
1249
- path: string;
1250
- } | {
1251
- extensions: string[];
2977
+ inner?: {
2978
+ kind: "xlsx" | "xls" | "ods";
2979
+ sheet: string;
2980
+ } | {
2981
+ kind: "gzip";
2982
+ } | {
2983
+ kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
2984
+ member: {
2985
+ path: string;
2986
+ } | {
2987
+ extensions: string[];
2988
+ } | {
2989
+ pattern: string;
2990
+ };
2991
+ } | undefined;
1252
2992
  } | {
1253
- pattern: string;
2993
+ kind: "shapefile";
2994
+ member: {
2995
+ path: string;
2996
+ } | {
2997
+ extensions: string[];
2998
+ } | {
2999
+ pattern: string;
3000
+ };
1254
3001
  };
1255
- };
3002
+ }[];
1256
3003
  parser: {
1257
3004
  format: "edge-list";
1258
3005
  encoding: "utf-8" | "latin1";
@@ -1373,20 +3120,16 @@ declare const EntrySchema: z.ZodObject<{
1373
3120
  } | {
1374
3121
  format: "hhcrsp";
1375
3122
  encoding: "utf-8";
1376
- };
1377
- paging?: {
1378
- kind: "arcgis-query";
1379
- orderBy: string;
1380
3123
  } | {
1381
- kind: "socrata-resource";
1382
- pageSize: number;
3124
+ format: "mankowska";
3125
+ encoding: "utf-8" | "latin1";
1383
3126
  } | {
1384
- kind: "ckan-datastore";
1385
- pageSize: number;
3127
+ format: "verolog-2017";
3128
+ encoding: "utf-8" | "latin1";
1386
3129
  } | {
1387
- kind: "openfema";
1388
- pageSize: number;
1389
- } | undefined;
3130
+ format: "tdc";
3131
+ encoding: "utf-8" | "latin1";
3132
+ };
1390
3133
  } | {
1391
3134
  status: "not-fetchable";
1392
3135
  reason: string;
@@ -1536,44 +3279,357 @@ declare const CatalogueIndexSchema: z.ZodObject<{
1536
3279
  doi: z.ZodOptional<z.ZodString>;
1537
3280
  url: z.ZodOptional<z.ZodURL>;
1538
3281
  }, z.core.$strict>>;
1539
- recipe: z.ZodDiscriminatedUnion<[z.ZodObject<{
3282
+ recipe: z.ZodUnion<readonly [z.ZodObject<{
1540
3283
  status: z.ZodLiteral<"fetchable">;
1541
3284
  source: z.ZodInt;
1542
3285
  paging: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1543
3286
  kind: z.ZodLiteral<"arcgis-query">;
1544
3287
  orderBy: z.ZodString;
1545
3288
  }, z.core.$strict>, z.ZodObject<{
1546
- kind: z.ZodLiteral<"socrata-resource">;
1547
- pageSize: z.ZodInt;
3289
+ kind: z.ZodLiteral<"socrata-resource">;
3290
+ pageSize: z.ZodInt;
3291
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
3292
+ }, z.core.$strict>, z.ZodObject<{
3293
+ kind: z.ZodLiteral<"ckan-datastore">;
3294
+ pageSize: z.ZodInt;
3295
+ }, z.core.$strict>, z.ZodObject<{
3296
+ kind: z.ZodLiteral<"openfema">;
3297
+ pageSize: z.ZodInt;
3298
+ }, z.core.$strict>], "kind">>;
3299
+ archive: z.ZodUnion<readonly [z.ZodObject<{
3300
+ kind: z.ZodLiteral<"none">;
3301
+ }, z.core.$strict>, z.ZodObject<{
3302
+ kind: z.ZodLiteral<"gzip">;
3303
+ }, z.core.$strict>, z.ZodObject<{
3304
+ kind: z.ZodLiteral<"bzip2">;
3305
+ }, z.core.$strict>, z.ZodObject<{
3306
+ kind: z.ZodEnum<{
3307
+ zip: "zip";
3308
+ tar: "tar";
3309
+ "tar.gz": "tar.gz";
3310
+ "tar.bz2": "tar.bz2";
3311
+ }>;
3312
+ member: z.ZodUnion<readonly [z.ZodObject<{
3313
+ path: z.ZodString;
3314
+ }, z.core.$strict>, z.ZodObject<{
3315
+ extensions: z.ZodArray<z.ZodString>;
3316
+ }, z.core.$strict>, z.ZodObject<{
3317
+ pattern: z.ZodString;
3318
+ }, z.core.$strict>]>;
3319
+ inner: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3320
+ kind: z.ZodLiteral<"gzip">;
3321
+ }, z.core.$strict>, z.ZodObject<{
3322
+ kind: z.ZodEnum<{
3323
+ zip: "zip";
3324
+ tar: "tar";
3325
+ "tar.gz": "tar.gz";
3326
+ "tar.bz2": "tar.bz2";
3327
+ }>;
3328
+ member: z.ZodUnion<readonly [z.ZodObject<{
3329
+ path: z.ZodString;
3330
+ }, z.core.$strict>, z.ZodObject<{
3331
+ extensions: z.ZodArray<z.ZodString>;
3332
+ }, z.core.$strict>, z.ZodObject<{
3333
+ pattern: z.ZodString;
3334
+ }, z.core.$strict>]>;
3335
+ }, z.core.$strict>, z.ZodObject<{
3336
+ kind: z.ZodEnum<{
3337
+ xlsx: "xlsx";
3338
+ xls: "xls";
3339
+ ods: "ods";
3340
+ }>;
3341
+ sheet: z.ZodString;
3342
+ }, z.core.$strict>]>>;
3343
+ }, z.core.$strict>, z.ZodObject<{
3344
+ kind: z.ZodEnum<{
3345
+ zip: "zip";
3346
+ tar: "tar";
3347
+ "tar.gz": "tar.gz";
3348
+ "tar.bz2": "tar.bz2";
3349
+ }>;
3350
+ members: z.ZodUnion<readonly [z.ZodObject<{
3351
+ path: z.ZodString;
3352
+ }, z.core.$strict>, z.ZodObject<{
3353
+ extensions: z.ZodArray<z.ZodString>;
3354
+ }, z.core.$strict>, z.ZodObject<{
3355
+ pattern: z.ZodString;
3356
+ }, z.core.$strict>]>;
3357
+ inner: z.ZodOptional<z.ZodObject<{
3358
+ kind: z.ZodLiteral<"xlsx">;
3359
+ sheets: z.ZodOptional<z.ZodString>;
3360
+ }, z.core.$strict>>;
3361
+ }, z.core.$strict>, z.ZodObject<{
3362
+ kind: z.ZodEnum<{
3363
+ zip: "zip";
3364
+ tar: "tar";
3365
+ "tar.gz": "tar.gz";
3366
+ "tar.bz2": "tar.bz2";
3367
+ }>;
3368
+ parts: z.ZodArray<z.ZodObject<{
3369
+ name: z.ZodString;
3370
+ member: z.ZodUnion<readonly [z.ZodObject<{
3371
+ path: z.ZodString;
3372
+ }, z.core.$strict>, z.ZodObject<{
3373
+ extensions: z.ZodArray<z.ZodString>;
3374
+ }, z.core.$strict>, z.ZodObject<{
3375
+ pattern: z.ZodString;
3376
+ }, z.core.$strict>]>;
3377
+ }, z.core.$strict>>;
3378
+ }, z.core.$strict>, z.ZodObject<{
3379
+ kind: z.ZodEnum<{
3380
+ zip: "zip";
3381
+ tar: "tar";
3382
+ "tar.gz": "tar.gz";
3383
+ "tar.bz2": "tar.bz2";
3384
+ }>;
3385
+ files: z.ZodUnion<readonly [z.ZodObject<{
3386
+ path: z.ZodString;
3387
+ }, z.core.$strict>, z.ZodObject<{
3388
+ extensions: z.ZodArray<z.ZodString>;
3389
+ }, z.core.$strict>, z.ZodObject<{
3390
+ pattern: z.ZodString;
3391
+ }, z.core.$strict>]>;
3392
+ inner: z.ZodOptional<z.ZodObject<{
3393
+ kind: z.ZodLiteral<"gzip">;
3394
+ }, z.core.$strict>>;
3395
+ }, z.core.$strict>, z.ZodObject<{
3396
+ kind: z.ZodEnum<{
3397
+ xlsx: "xlsx";
3398
+ xls: "xls";
3399
+ ods: "ods";
3400
+ }>;
3401
+ sheet: z.ZodString;
3402
+ }, z.core.$strict>, z.ZodObject<{
3403
+ kind: z.ZodLiteral<"shapefile">;
3404
+ member: z.ZodUnion<readonly [z.ZodObject<{
3405
+ path: z.ZodString;
3406
+ }, z.core.$strict>, z.ZodObject<{
3407
+ extensions: z.ZodArray<z.ZodString>;
3408
+ }, z.core.$strict>, z.ZodObject<{
3409
+ pattern: z.ZodString;
3410
+ }, z.core.$strict>]>;
3411
+ }, z.core.$strict>]>;
3412
+ parser: z.ZodDiscriminatedUnion<[z.ZodObject<{
3413
+ format: z.ZodLiteral<"edge-list">;
3414
+ encoding: z.ZodEnum<{
3415
+ "utf-8": "utf-8";
3416
+ latin1: "latin1";
3417
+ }>;
3418
+ delimiter: z.ZodEnum<{
3419
+ detect: "detect";
3420
+ whitespace: "whitespace";
3421
+ tab: "tab";
3422
+ comma: "comma";
3423
+ space: "space";
3424
+ }>;
3425
+ skipLines: z.ZodInt;
3426
+ commentPrefixes: z.ZodArray<z.ZodString>;
3427
+ sourceColumn: z.ZodInt;
3428
+ targetColumn: z.ZodInt;
3429
+ keep: z.ZodOptional<z.ZodObject<{
3430
+ column: z.ZodInt;
3431
+ values: z.ZodArray<z.ZodString>;
3432
+ }, z.core.$strict>>;
3433
+ multiplicityColumn: z.ZodOptional<z.ZodInt>;
3434
+ mirrored: z.ZodOptional<z.ZodLiteral<true>>;
3435
+ where: z.ZodOptional<z.ZodArray<z.ZodObject<{
3436
+ column: z.ZodInt;
3437
+ equals: z.ZodString;
3438
+ }, z.core.$strict>>>;
3439
+ }, z.core.$strict>, z.ZodObject<{
3440
+ format: z.ZodLiteral<"matrix-market">;
3441
+ encoding: z.ZodEnum<{
3442
+ "utf-8": "utf-8";
3443
+ latin1: "latin1";
3444
+ }>;
1548
3445
  }, z.core.$strict>, z.ZodObject<{
1549
- kind: z.ZodLiteral<"ckan-datastore">;
1550
- pageSize: z.ZodInt;
3446
+ format: z.ZodLiteral<"user-item-ratings">;
3447
+ encoding: z.ZodLiteral<"utf-8">;
3448
+ delimiter: z.ZodEnum<{
3449
+ tab: "tab";
3450
+ comma: "comma";
3451
+ "double-colon": "double-colon";
3452
+ }>;
3453
+ skipLines: z.ZodInt;
3454
+ itemType: z.ZodEnum<{
3455
+ movie: "movie";
3456
+ product: "product";
3457
+ }>;
3458
+ maxRating: z.ZodNumber;
1551
3459
  }, z.core.$strict>, z.ZodObject<{
1552
- kind: z.ZodLiteral<"openfema">;
1553
- pageSize: z.ZodInt;
1554
- }, z.core.$strict>], "kind">>;
1555
- archive: z.ZodUnion<readonly [z.ZodObject<{
1556
- kind: z.ZodLiteral<"none">;
3460
+ format: z.ZodLiteral<"konect">;
3461
+ encoding: z.ZodLiteral<"utf-8">;
3462
+ weighted: z.ZodBoolean;
3463
+ timestamped: z.ZodBoolean;
1557
3464
  }, z.core.$strict>, z.ZodObject<{
1558
- kind: z.ZodLiteral<"gzip">;
3465
+ format: z.ZodLiteral<"user-item-counts">;
3466
+ encoding: z.ZodLiteral<"utf-8">;
3467
+ delimiter: z.ZodEnum<{
3468
+ tab: "tab";
3469
+ }>;
3470
+ skipLines: z.ZodInt;
3471
+ itemType: z.ZodEnum<{
3472
+ artist: "artist";
3473
+ }>;
1559
3474
  }, z.core.$strict>, z.ZodObject<{
1560
- kind: z.ZodLiteral<"bzip2">;
3475
+ format: z.ZodLiteral<"kg-triples">;
3476
+ encoding: z.ZodEnum<{
3477
+ "utf-8": "utf-8";
3478
+ latin1: "latin1";
3479
+ }>;
3480
+ delimiter: z.ZodEnum<{
3481
+ tab: "tab";
3482
+ space: "space";
3483
+ }>;
3484
+ order: z.ZodEnum<{
3485
+ "head-relation-tail": "head-relation-tail";
3486
+ "head-tail-relation": "head-tail-relation";
3487
+ }>;
3488
+ header: z.ZodEnum<{
3489
+ none: "none";
3490
+ names: "names";
3491
+ count: "count";
3492
+ }>;
3493
+ quoted: z.ZodBoolean;
1561
3494
  }, z.core.$strict>, z.ZodObject<{
1562
- kind: z.ZodEnum<{
1563
- zip: "zip";
1564
- tar: "tar";
1565
- "tar.gz": "tar.gz";
1566
- "tar.bz2": "tar.bz2";
3495
+ format: z.ZodLiteral<"hgb">;
3496
+ encoding: z.ZodLiteral<"utf-8">;
3497
+ nodeTypes: z.ZodArray<z.ZodString>;
3498
+ linkTypes: z.ZodArray<z.ZodObject<{
3499
+ name: z.ZodString;
3500
+ source: z.ZodString;
3501
+ target: z.ZodString;
3502
+ }, z.core.$strict>>;
3503
+ }, z.core.$strict>, z.ZodObject<{
3504
+ format: z.ZodLiteral<"gml">;
3505
+ encoding: z.ZodEnum<{
3506
+ "utf-8": "utf-8";
3507
+ latin1: "latin1";
1567
3508
  }>;
1568
- member: z.ZodUnion<readonly [z.ZodObject<{
1569
- path: z.ZodString;
1570
- }, z.core.$strict>, z.ZodObject<{
1571
- extensions: z.ZodArray<z.ZodString>;
3509
+ }, z.core.$strict>, z.ZodObject<{
3510
+ format: z.ZodLiteral<"pajek">;
3511
+ encoding: z.ZodEnum<{
3512
+ "utf-8": "utf-8";
3513
+ latin1: "latin1";
3514
+ }>;
3515
+ }, z.core.$strict>, z.ZodObject<{
3516
+ format: z.ZodLiteral<"ucinet-dl">;
3517
+ encoding: z.ZodEnum<{
3518
+ "utf-8": "utf-8";
3519
+ latin1: "latin1";
3520
+ }>;
3521
+ matrix: z.ZodInt;
3522
+ }, z.core.$strict>, z.ZodObject<{
3523
+ format: z.ZodLiteral<"gd-contest">;
3524
+ encoding: z.ZodEnum<{
3525
+ "utf-8": "utf-8";
3526
+ latin1: "latin1";
3527
+ }>;
3528
+ }, z.core.$strict>, z.ZodObject<{
3529
+ format: z.ZodLiteral<"witvliet-synapses">;
3530
+ encoding: z.ZodLiteral<"utf-8">;
3531
+ }, z.core.$strict>, z.ZodObject<{
3532
+ format: z.ZodLiteral<"ogb">;
3533
+ encoding: z.ZodLiteral<"utf-8">;
3534
+ }, z.core.$strict>, z.ZodObject<{
3535
+ format: z.ZodLiteral<"customer-points">;
3536
+ encoding: z.ZodEnum<{
3537
+ "utf-8": "utf-8";
3538
+ latin1: "latin1";
3539
+ }>;
3540
+ }, z.core.$strict>, z.ZodObject<{
3541
+ format: z.ZodLiteral<"solomon">;
3542
+ encoding: z.ZodEnum<{
3543
+ "utf-8": "utf-8";
3544
+ latin1: "latin1";
3545
+ }>;
3546
+ }, z.core.$strict>, z.ZodObject<{
3547
+ format: z.ZodLiteral<"top">;
3548
+ encoding: z.ZodEnum<{
3549
+ "utf-8": "utf-8";
3550
+ latin1: "latin1";
3551
+ }>;
3552
+ }, z.core.$strict>, z.ZodObject<{
3553
+ format: z.ZodLiteral<"toptw">;
3554
+ encoding: z.ZodEnum<{
3555
+ "utf-8": "utf-8";
3556
+ latin1: "latin1";
3557
+ }>;
3558
+ }, z.core.$strict>, z.ZodObject<{
3559
+ format: z.ZodLiteral<"tsplib">;
3560
+ encoding: z.ZodEnum<{
3561
+ "utf-8": "utf-8";
3562
+ latin1: "latin1";
3563
+ }>;
3564
+ }, z.core.$strict>, z.ZodObject<{
3565
+ format: z.ZodLiteral<"verolog-2019">;
3566
+ encoding: z.ZodLiteral<"utf-8">;
3567
+ }, z.core.$strict>, z.ZodObject<{
3568
+ format: z.ZodLiteral<"vrp-rep">;
3569
+ encoding: z.ZodLiteral<"utf-8">;
3570
+ }, z.core.$strict>, z.ZodObject<{
3571
+ format: z.ZodLiteral<"hhcrsp">;
3572
+ encoding: z.ZodLiteral<"utf-8">;
3573
+ }, z.core.$strict>, z.ZodObject<{
3574
+ format: z.ZodLiteral<"mankowska">;
3575
+ encoding: z.ZodEnum<{
3576
+ "utf-8": "utf-8";
3577
+ latin1: "latin1";
3578
+ }>;
3579
+ }, z.core.$strict>, z.ZodObject<{
3580
+ format: z.ZodLiteral<"verolog-2017">;
3581
+ encoding: z.ZodEnum<{
3582
+ "utf-8": "utf-8";
3583
+ latin1: "latin1";
3584
+ }>;
3585
+ }, z.core.$strict>, z.ZodObject<{
3586
+ format: z.ZodLiteral<"tdc">;
3587
+ encoding: z.ZodEnum<{
3588
+ "utf-8": "utf-8";
3589
+ latin1: "latin1";
3590
+ }>;
3591
+ }, z.core.$strict>, z.ZodObject<{
3592
+ format: z.ZodLiteral<"csv-table">;
3593
+ encoding: z.ZodEnum<{
3594
+ "utf-8": "utf-8";
3595
+ latin1: "latin1";
3596
+ }>;
3597
+ delimiter: z.ZodEnum<{
3598
+ tab: "tab";
3599
+ comma: "comma";
3600
+ semicolon: "semicolon";
3601
+ }>;
3602
+ skipLines: z.ZodInt;
3603
+ idColumn: z.ZodNullable<z.ZodString>;
3604
+ numericColumns: z.ZodArray<z.ZodObject<{
3605
+ column: z.ZodString;
3606
+ factor: z.ZodNumber;
3607
+ }, z.core.$strict>>;
3608
+ columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
3609
+ nullValues: z.ZodOptional<z.ZodArray<z.ZodString>>;
3610
+ }, z.core.$strict>, z.ZodObject<{
3611
+ format: z.ZodLiteral<"geojson">;
3612
+ encoding: z.ZodLiteral<"utf-8">;
3613
+ idColumn: z.ZodNullable<z.ZodString>;
3614
+ numericColumns: z.ZodArray<z.ZodObject<{
3615
+ column: z.ZodString;
3616
+ factor: z.ZodNumber;
3617
+ }, z.core.$strict>>;
3618
+ dateColumns: z.ZodArray<z.ZodString>;
3619
+ columns: z.ZodArray<z.ZodString>;
3620
+ }, z.core.$strict>], "format">;
3621
+ stream: z.ZodOptional<z.ZodLiteral<true>>;
3622
+ }, z.core.$strict>, z.ZodObject<{
3623
+ status: z.ZodLiteral<"fetchable">;
3624
+ files: z.ZodArray<z.ZodObject<{
3625
+ path: z.ZodString;
3626
+ source: z.ZodInt;
3627
+ archive: z.ZodUnion<readonly [z.ZodObject<{
3628
+ kind: z.ZodLiteral<"none">;
1572
3629
  }, z.core.$strict>, z.ZodObject<{
1573
- pattern: z.ZodString;
1574
- }, z.core.$strict>]>;
1575
- inner: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1576
3630
  kind: z.ZodLiteral<"gzip">;
3631
+ }, z.core.$strict>, z.ZodObject<{
3632
+ kind: z.ZodLiteral<"bzip2">;
1577
3633
  }, z.core.$strict>, z.ZodObject<{
1578
3634
  kind: z.ZodEnum<{
1579
3635
  zip: "zip";
@@ -1588,83 +3644,100 @@ declare const CatalogueIndexSchema: z.ZodObject<{
1588
3644
  }, z.core.$strict>, z.ZodObject<{
1589
3645
  pattern: z.ZodString;
1590
3646
  }, z.core.$strict>]>;
3647
+ inner: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3648
+ kind: z.ZodLiteral<"gzip">;
3649
+ }, z.core.$strict>, z.ZodObject<{
3650
+ kind: z.ZodEnum<{
3651
+ zip: "zip";
3652
+ tar: "tar";
3653
+ "tar.gz": "tar.gz";
3654
+ "tar.bz2": "tar.bz2";
3655
+ }>;
3656
+ member: z.ZodUnion<readonly [z.ZodObject<{
3657
+ path: z.ZodString;
3658
+ }, z.core.$strict>, z.ZodObject<{
3659
+ extensions: z.ZodArray<z.ZodString>;
3660
+ }, z.core.$strict>, z.ZodObject<{
3661
+ pattern: z.ZodString;
3662
+ }, z.core.$strict>]>;
3663
+ }, z.core.$strict>, z.ZodObject<{
3664
+ kind: z.ZodEnum<{
3665
+ xlsx: "xlsx";
3666
+ xls: "xls";
3667
+ ods: "ods";
3668
+ }>;
3669
+ sheet: z.ZodString;
3670
+ }, z.core.$strict>]>>;
1591
3671
  }, z.core.$strict>, z.ZodObject<{
1592
3672
  kind: z.ZodEnum<{
1593
- xlsx: "xlsx";
1594
- xls: "xls";
1595
- ods: "ods";
3673
+ zip: "zip";
3674
+ tar: "tar";
3675
+ "tar.gz": "tar.gz";
3676
+ "tar.bz2": "tar.bz2";
1596
3677
  }>;
1597
- sheet: z.ZodString;
1598
- }, z.core.$strict>]>>;
1599
- }, z.core.$strict>, z.ZodObject<{
1600
- kind: z.ZodEnum<{
1601
- zip: "zip";
1602
- tar: "tar";
1603
- "tar.gz": "tar.gz";
1604
- "tar.bz2": "tar.bz2";
1605
- }>;
1606
- members: z.ZodUnion<readonly [z.ZodObject<{
1607
- path: z.ZodString;
3678
+ members: z.ZodUnion<readonly [z.ZodObject<{
3679
+ path: z.ZodString;
3680
+ }, z.core.$strict>, z.ZodObject<{
3681
+ extensions: z.ZodArray<z.ZodString>;
3682
+ }, z.core.$strict>, z.ZodObject<{
3683
+ pattern: z.ZodString;
3684
+ }, z.core.$strict>]>;
3685
+ inner: z.ZodOptional<z.ZodObject<{
3686
+ kind: z.ZodLiteral<"xlsx">;
3687
+ sheets: z.ZodOptional<z.ZodString>;
3688
+ }, z.core.$strict>>;
1608
3689
  }, z.core.$strict>, z.ZodObject<{
1609
- extensions: z.ZodArray<z.ZodString>;
3690
+ kind: z.ZodEnum<{
3691
+ zip: "zip";
3692
+ tar: "tar";
3693
+ "tar.gz": "tar.gz";
3694
+ "tar.bz2": "tar.bz2";
3695
+ }>;
3696
+ parts: z.ZodArray<z.ZodObject<{
3697
+ name: z.ZodString;
3698
+ member: z.ZodUnion<readonly [z.ZodObject<{
3699
+ path: z.ZodString;
3700
+ }, z.core.$strict>, z.ZodObject<{
3701
+ extensions: z.ZodArray<z.ZodString>;
3702
+ }, z.core.$strict>, z.ZodObject<{
3703
+ pattern: z.ZodString;
3704
+ }, z.core.$strict>]>;
3705
+ }, z.core.$strict>>;
1610
3706
  }, z.core.$strict>, z.ZodObject<{
1611
- pattern: z.ZodString;
1612
- }, z.core.$strict>]>;
1613
- inner: z.ZodOptional<z.ZodObject<{
1614
- kind: z.ZodLiteral<"xlsx">;
1615
- sheets: z.ZodOptional<z.ZodString>;
1616
- }, z.core.$strict>>;
1617
- }, z.core.$strict>, z.ZodObject<{
1618
- kind: z.ZodEnum<{
1619
- zip: "zip";
1620
- tar: "tar";
1621
- "tar.gz": "tar.gz";
1622
- "tar.bz2": "tar.bz2";
1623
- }>;
1624
- parts: z.ZodArray<z.ZodObject<{
1625
- name: z.ZodString;
1626
- member: z.ZodUnion<readonly [z.ZodObject<{
3707
+ kind: z.ZodEnum<{
3708
+ zip: "zip";
3709
+ tar: "tar";
3710
+ "tar.gz": "tar.gz";
3711
+ "tar.bz2": "tar.bz2";
3712
+ }>;
3713
+ files: z.ZodUnion<readonly [z.ZodObject<{
1627
3714
  path: z.ZodString;
1628
3715
  }, z.core.$strict>, z.ZodObject<{
1629
3716
  extensions: z.ZodArray<z.ZodString>;
1630
3717
  }, z.core.$strict>, z.ZodObject<{
1631
3718
  pattern: z.ZodString;
1632
3719
  }, z.core.$strict>]>;
1633
- }, z.core.$strict>>;
1634
- }, z.core.$strict>, z.ZodObject<{
1635
- kind: z.ZodEnum<{
1636
- zip: "zip";
1637
- tar: "tar";
1638
- "tar.gz": "tar.gz";
1639
- "tar.bz2": "tar.bz2";
1640
- }>;
1641
- files: z.ZodUnion<readonly [z.ZodObject<{
1642
- path: z.ZodString;
1643
- }, z.core.$strict>, z.ZodObject<{
1644
- extensions: z.ZodArray<z.ZodString>;
1645
- }, z.core.$strict>, z.ZodObject<{
1646
- pattern: z.ZodString;
1647
- }, z.core.$strict>]>;
1648
- inner: z.ZodOptional<z.ZodObject<{
1649
- kind: z.ZodLiteral<"gzip">;
1650
- }, z.core.$strict>>;
1651
- }, z.core.$strict>, z.ZodObject<{
1652
- kind: z.ZodEnum<{
1653
- xlsx: "xlsx";
1654
- xls: "xls";
1655
- ods: "ods";
1656
- }>;
1657
- sheet: z.ZodString;
1658
- }, z.core.$strict>, z.ZodObject<{
1659
- kind: z.ZodLiteral<"shapefile">;
1660
- member: z.ZodUnion<readonly [z.ZodObject<{
1661
- path: z.ZodString;
3720
+ inner: z.ZodOptional<z.ZodObject<{
3721
+ kind: z.ZodLiteral<"gzip">;
3722
+ }, z.core.$strict>>;
1662
3723
  }, z.core.$strict>, z.ZodObject<{
1663
- extensions: z.ZodArray<z.ZodString>;
3724
+ kind: z.ZodEnum<{
3725
+ xlsx: "xlsx";
3726
+ xls: "xls";
3727
+ ods: "ods";
3728
+ }>;
3729
+ sheet: z.ZodString;
1664
3730
  }, z.core.$strict>, z.ZodObject<{
1665
- pattern: z.ZodString;
3731
+ kind: z.ZodLiteral<"shapefile">;
3732
+ member: z.ZodUnion<readonly [z.ZodObject<{
3733
+ path: z.ZodString;
3734
+ }, z.core.$strict>, z.ZodObject<{
3735
+ extensions: z.ZodArray<z.ZodString>;
3736
+ }, z.core.$strict>, z.ZodObject<{
3737
+ pattern: z.ZodString;
3738
+ }, z.core.$strict>]>;
1666
3739
  }, z.core.$strict>]>;
1667
- }, z.core.$strict>]>;
3740
+ }, z.core.$strict>>;
1668
3741
  parser: z.ZodDiscriminatedUnion<[z.ZodObject<{
1669
3742
  format: z.ZodLiteral<"edge-list">;
1670
3743
  encoding: z.ZodEnum<{
@@ -1826,6 +3899,24 @@ declare const CatalogueIndexSchema: z.ZodObject<{
1826
3899
  }, z.core.$strict>, z.ZodObject<{
1827
3900
  format: z.ZodLiteral<"hhcrsp">;
1828
3901
  encoding: z.ZodLiteral<"utf-8">;
3902
+ }, z.core.$strict>, z.ZodObject<{
3903
+ format: z.ZodLiteral<"mankowska">;
3904
+ encoding: z.ZodEnum<{
3905
+ "utf-8": "utf-8";
3906
+ latin1: "latin1";
3907
+ }>;
3908
+ }, z.core.$strict>, z.ZodObject<{
3909
+ format: z.ZodLiteral<"verolog-2017">;
3910
+ encoding: z.ZodEnum<{
3911
+ "utf-8": "utf-8";
3912
+ latin1: "latin1";
3913
+ }>;
3914
+ }, z.core.$strict>, z.ZodObject<{
3915
+ format: z.ZodLiteral<"tdc">;
3916
+ encoding: z.ZodEnum<{
3917
+ "utf-8": "utf-8";
3918
+ latin1: "latin1";
3919
+ }>;
1829
3920
  }, z.core.$strict>, z.ZodObject<{
1830
3921
  format: z.ZodLiteral<"csv-table">;
1831
3922
  encoding: z.ZodEnum<{
@@ -1859,7 +3950,7 @@ declare const CatalogueIndexSchema: z.ZodObject<{
1859
3950
  }, z.core.$strict>, z.ZodObject<{
1860
3951
  status: z.ZodLiteral<"not-fetchable">;
1861
3952
  reason: z.ZodString;
1862
- }, z.core.$strict>], "status">;
3953
+ }, z.core.$strict>]>;
1863
3954
  crosswalk: z.ZodUnion<readonly [z.ZodType<Crosswalk, unknown, z.core.$ZodTypeInternals<Crosswalk, unknown>> & {
1864
3955
  is: (value: unknown) => value is Crosswalk;
1865
3956
  }, z.ZodObject<{
@@ -1939,27 +4030,243 @@ declare const CatalogueIndexSchema: z.ZodObject<{
1939
4030
  } | {
1940
4031
  pattern: string;
1941
4032
  };
1942
- }[];
1943
- } | {
1944
- kind: "none";
1945
- } | {
1946
- kind: "gzip";
1947
- } | {
1948
- kind: "bzip2";
1949
- } | {
1950
- kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
1951
- member: {
1952
- path: string;
4033
+ }[];
4034
+ } | {
4035
+ kind: "none";
4036
+ } | {
4037
+ kind: "gzip";
4038
+ } | {
4039
+ kind: "bzip2";
4040
+ } | {
4041
+ kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
4042
+ member: {
4043
+ path: string;
4044
+ } | {
4045
+ extensions: string[];
4046
+ } | {
4047
+ pattern: string;
4048
+ };
4049
+ inner?: {
4050
+ kind: "xlsx" | "xls" | "ods";
4051
+ sheet: string;
4052
+ } | {
4053
+ kind: "gzip";
4054
+ } | {
4055
+ kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
4056
+ member: {
4057
+ path: string;
4058
+ } | {
4059
+ extensions: string[];
4060
+ } | {
4061
+ pattern: string;
4062
+ };
4063
+ } | undefined;
4064
+ } | {
4065
+ kind: "shapefile";
4066
+ member: {
4067
+ path: string;
4068
+ } | {
4069
+ extensions: string[];
4070
+ } | {
4071
+ pattern: string;
4072
+ };
4073
+ };
4074
+ parser: {
4075
+ format: "edge-list";
4076
+ encoding: "utf-8" | "latin1";
4077
+ delimiter: "detect" | "whitespace" | "tab" | "comma" | "space";
4078
+ skipLines: number;
4079
+ commentPrefixes: string[];
4080
+ sourceColumn: number;
4081
+ targetColumn: number;
4082
+ keep?: {
4083
+ column: number;
4084
+ values: string[];
4085
+ } | undefined;
4086
+ multiplicityColumn?: number | undefined;
4087
+ mirrored?: true | undefined;
4088
+ where?: {
4089
+ column: number;
4090
+ equals: string;
4091
+ }[] | undefined;
4092
+ } | {
4093
+ format: "hgb";
4094
+ encoding: "utf-8";
4095
+ nodeTypes: string[];
4096
+ linkTypes: {
4097
+ name: string;
4098
+ source: string;
4099
+ target: string;
4100
+ }[];
4101
+ } | {
4102
+ format: "csv-table";
4103
+ encoding: "utf-8" | "latin1";
4104
+ delimiter: "tab" | "comma" | "semicolon";
4105
+ skipLines: number;
4106
+ idColumn: string | null;
4107
+ numericColumns: {
4108
+ column: string;
4109
+ factor: number;
4110
+ }[];
4111
+ columns?: string[] | undefined;
4112
+ nullValues?: string[] | undefined;
4113
+ } | {
4114
+ format: "geojson";
4115
+ encoding: "utf-8";
4116
+ idColumn: string | null;
4117
+ numericColumns: {
4118
+ column: string;
4119
+ factor: number;
4120
+ }[];
4121
+ dateColumns: string[];
4122
+ columns: string[];
4123
+ } | {
4124
+ format: "matrix-market";
4125
+ encoding: "utf-8" | "latin1";
4126
+ } | {
4127
+ format: "user-item-ratings";
4128
+ encoding: "utf-8";
4129
+ delimiter: "tab" | "comma" | "double-colon";
4130
+ skipLines: number;
4131
+ itemType: "movie" | "product";
4132
+ maxRating: number;
4133
+ } | {
4134
+ format: "konect";
4135
+ encoding: "utf-8";
4136
+ weighted: boolean;
4137
+ timestamped: boolean;
4138
+ } | {
4139
+ format: "user-item-counts";
4140
+ encoding: "utf-8";
4141
+ delimiter: "tab";
4142
+ skipLines: number;
4143
+ itemType: "artist";
4144
+ } | {
4145
+ format: "kg-triples";
4146
+ encoding: "utf-8" | "latin1";
4147
+ delimiter: "tab" | "space";
4148
+ order: "head-relation-tail" | "head-tail-relation";
4149
+ header: "none" | "names" | "count";
4150
+ quoted: boolean;
4151
+ } | {
4152
+ format: "gml";
4153
+ encoding: "utf-8" | "latin1";
4154
+ } | {
4155
+ format: "pajek";
4156
+ encoding: "utf-8" | "latin1";
4157
+ } | {
4158
+ format: "ucinet-dl";
4159
+ encoding: "utf-8" | "latin1";
4160
+ matrix: number;
4161
+ } | {
4162
+ format: "gd-contest";
4163
+ encoding: "utf-8" | "latin1";
4164
+ } | {
4165
+ format: "witvliet-synapses";
4166
+ encoding: "utf-8";
4167
+ } | {
4168
+ format: "ogb";
4169
+ encoding: "utf-8";
4170
+ } | {
4171
+ format: "customer-points";
4172
+ encoding: "utf-8" | "latin1";
4173
+ } | {
4174
+ format: "solomon";
4175
+ encoding: "utf-8" | "latin1";
4176
+ } | {
4177
+ format: "top";
4178
+ encoding: "utf-8" | "latin1";
4179
+ } | {
4180
+ format: "toptw";
4181
+ encoding: "utf-8" | "latin1";
4182
+ } | {
4183
+ format: "tsplib";
4184
+ encoding: "utf-8" | "latin1";
4185
+ } | {
4186
+ format: "verolog-2019";
4187
+ encoding: "utf-8";
4188
+ } | {
4189
+ format: "vrp-rep";
4190
+ encoding: "utf-8";
4191
+ } | {
4192
+ format: "hhcrsp";
4193
+ encoding: "utf-8";
4194
+ } | {
4195
+ format: "mankowska";
4196
+ encoding: "utf-8" | "latin1";
4197
+ } | {
4198
+ format: "verolog-2017";
4199
+ encoding: "utf-8" | "latin1";
4200
+ } | {
4201
+ format: "tdc";
4202
+ encoding: "utf-8" | "latin1";
4203
+ };
4204
+ paging?: {
4205
+ kind: "socrata-resource";
4206
+ pageSize: number;
4207
+ select?: string[] | undefined;
4208
+ } | {
4209
+ kind: "arcgis-query";
4210
+ orderBy: string;
4211
+ } | {
4212
+ kind: "ckan-datastore";
4213
+ pageSize: number;
4214
+ } | {
4215
+ kind: "openfema";
4216
+ pageSize: number;
4217
+ } | undefined;
4218
+ stream?: true | undefined;
4219
+ } | {
4220
+ status: "fetchable";
4221
+ files: {
4222
+ path: string;
4223
+ source: number;
4224
+ archive: {
4225
+ kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
4226
+ members: {
4227
+ path: string;
4228
+ } | {
4229
+ extensions: string[];
4230
+ } | {
4231
+ pattern: string;
4232
+ };
4233
+ inner?: {
4234
+ kind: "xlsx";
4235
+ sheets?: string | undefined;
4236
+ } | undefined;
1953
4237
  } | {
1954
- extensions: string[];
4238
+ kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
4239
+ files: {
4240
+ path: string;
4241
+ } | {
4242
+ extensions: string[];
4243
+ } | {
4244
+ pattern: string;
4245
+ };
4246
+ inner?: {
4247
+ kind: "gzip";
4248
+ } | undefined;
1955
4249
  } | {
1956
- pattern: string;
1957
- };
1958
- inner?: {
1959
4250
  kind: "xlsx" | "xls" | "ods";
1960
4251
  sheet: string;
4252
+ } | {
4253
+ kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
4254
+ parts: {
4255
+ name: string;
4256
+ member: {
4257
+ path: string;
4258
+ } | {
4259
+ extensions: string[];
4260
+ } | {
4261
+ pattern: string;
4262
+ };
4263
+ }[];
4264
+ } | {
4265
+ kind: "none";
1961
4266
  } | {
1962
4267
  kind: "gzip";
4268
+ } | {
4269
+ kind: "bzip2";
1963
4270
  } | {
1964
4271
  kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
1965
4272
  member: {
@@ -1969,17 +4276,32 @@ declare const CatalogueIndexSchema: z.ZodObject<{
1969
4276
  } | {
1970
4277
  pattern: string;
1971
4278
  };
1972
- } | undefined;
1973
- } | {
1974
- kind: "shapefile";
1975
- member: {
1976
- path: string;
1977
- } | {
1978
- extensions: string[];
4279
+ inner?: {
4280
+ kind: "xlsx" | "xls" | "ods";
4281
+ sheet: string;
4282
+ } | {
4283
+ kind: "gzip";
4284
+ } | {
4285
+ kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
4286
+ member: {
4287
+ path: string;
4288
+ } | {
4289
+ extensions: string[];
4290
+ } | {
4291
+ pattern: string;
4292
+ };
4293
+ } | undefined;
1979
4294
  } | {
1980
- pattern: string;
4295
+ kind: "shapefile";
4296
+ member: {
4297
+ path: string;
4298
+ } | {
4299
+ extensions: string[];
4300
+ } | {
4301
+ pattern: string;
4302
+ };
1981
4303
  };
1982
- };
4304
+ }[];
1983
4305
  parser: {
1984
4306
  format: "edge-list";
1985
4307
  encoding: "utf-8" | "latin1";
@@ -2100,20 +4422,16 @@ declare const CatalogueIndexSchema: z.ZodObject<{
2100
4422
  } | {
2101
4423
  format: "hhcrsp";
2102
4424
  encoding: "utf-8";
2103
- };
2104
- paging?: {
2105
- kind: "arcgis-query";
2106
- orderBy: string;
2107
4425
  } | {
2108
- kind: "socrata-resource";
2109
- pageSize: number;
4426
+ format: "mankowska";
4427
+ encoding: "utf-8" | "latin1";
2110
4428
  } | {
2111
- kind: "ckan-datastore";
2112
- pageSize: number;
4429
+ format: "verolog-2017";
4430
+ encoding: "utf-8" | "latin1";
2113
4431
  } | {
2114
- kind: "openfema";
2115
- pageSize: number;
2116
- } | undefined;
4432
+ format: "tdc";
4433
+ encoding: "utf-8" | "latin1";
4434
+ };
2117
4435
  } | {
2118
4436
  status: "not-fetchable";
2119
4437
  reason: string;
@@ -2378,13 +4696,23 @@ declare const CatalogueIndexSchema: z.ZodObject<{
2378
4696
  } | {
2379
4697
  format: "hhcrsp";
2380
4698
  encoding: "utf-8";
4699
+ } | {
4700
+ format: "mankowska";
4701
+ encoding: "utf-8" | "latin1";
4702
+ } | {
4703
+ format: "verolog-2017";
4704
+ encoding: "utf-8" | "latin1";
4705
+ } | {
4706
+ format: "tdc";
4707
+ encoding: "utf-8" | "latin1";
2381
4708
  };
2382
4709
  paging?: {
2383
- kind: "arcgis-query";
2384
- orderBy: string;
2385
- } | {
2386
4710
  kind: "socrata-resource";
2387
4711
  pageSize: number;
4712
+ select?: string[] | undefined;
4713
+ } | {
4714
+ kind: "arcgis-query";
4715
+ orderBy: string;
2388
4716
  } | {
2389
4717
  kind: "ckan-datastore";
2390
4718
  pageSize: number;
@@ -2392,6 +4720,223 @@ declare const CatalogueIndexSchema: z.ZodObject<{
2392
4720
  kind: "openfema";
2393
4721
  pageSize: number;
2394
4722
  } | undefined;
4723
+ stream?: true | undefined;
4724
+ } | {
4725
+ status: "fetchable";
4726
+ files: {
4727
+ path: string;
4728
+ source: number;
4729
+ archive: {
4730
+ kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
4731
+ members: {
4732
+ path: string;
4733
+ } | {
4734
+ extensions: string[];
4735
+ } | {
4736
+ pattern: string;
4737
+ };
4738
+ inner?: {
4739
+ kind: "xlsx";
4740
+ sheets?: string | undefined;
4741
+ } | undefined;
4742
+ } | {
4743
+ kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
4744
+ files: {
4745
+ path: string;
4746
+ } | {
4747
+ extensions: string[];
4748
+ } | {
4749
+ pattern: string;
4750
+ };
4751
+ inner?: {
4752
+ kind: "gzip";
4753
+ } | undefined;
4754
+ } | {
4755
+ kind: "xlsx" | "xls" | "ods";
4756
+ sheet: string;
4757
+ } | {
4758
+ kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
4759
+ parts: {
4760
+ name: string;
4761
+ member: {
4762
+ path: string;
4763
+ } | {
4764
+ extensions: string[];
4765
+ } | {
4766
+ pattern: string;
4767
+ };
4768
+ }[];
4769
+ } | {
4770
+ kind: "none";
4771
+ } | {
4772
+ kind: "gzip";
4773
+ } | {
4774
+ kind: "bzip2";
4775
+ } | {
4776
+ kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
4777
+ member: {
4778
+ path: string;
4779
+ } | {
4780
+ extensions: string[];
4781
+ } | {
4782
+ pattern: string;
4783
+ };
4784
+ inner?: {
4785
+ kind: "xlsx" | "xls" | "ods";
4786
+ sheet: string;
4787
+ } | {
4788
+ kind: "gzip";
4789
+ } | {
4790
+ kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
4791
+ member: {
4792
+ path: string;
4793
+ } | {
4794
+ extensions: string[];
4795
+ } | {
4796
+ pattern: string;
4797
+ };
4798
+ } | undefined;
4799
+ } | {
4800
+ kind: "shapefile";
4801
+ member: {
4802
+ path: string;
4803
+ } | {
4804
+ extensions: string[];
4805
+ } | {
4806
+ pattern: string;
4807
+ };
4808
+ };
4809
+ }[];
4810
+ parser: {
4811
+ format: "edge-list";
4812
+ encoding: "utf-8" | "latin1";
4813
+ delimiter: "detect" | "whitespace" | "tab" | "comma" | "space";
4814
+ skipLines: number;
4815
+ commentPrefixes: string[];
4816
+ sourceColumn: number;
4817
+ targetColumn: number;
4818
+ keep?: {
4819
+ column: number;
4820
+ values: string[];
4821
+ } | undefined;
4822
+ multiplicityColumn?: number | undefined;
4823
+ mirrored?: true | undefined;
4824
+ where?: {
4825
+ column: number;
4826
+ equals: string;
4827
+ }[] | undefined;
4828
+ } | {
4829
+ format: "hgb";
4830
+ encoding: "utf-8";
4831
+ nodeTypes: string[];
4832
+ linkTypes: {
4833
+ name: string;
4834
+ source: string;
4835
+ target: string;
4836
+ }[];
4837
+ } | {
4838
+ format: "csv-table";
4839
+ encoding: "utf-8" | "latin1";
4840
+ delimiter: "tab" | "comma" | "semicolon";
4841
+ skipLines: number;
4842
+ idColumn: string | null;
4843
+ numericColumns: {
4844
+ column: string;
4845
+ factor: number;
4846
+ }[];
4847
+ columns?: string[] | undefined;
4848
+ nullValues?: string[] | undefined;
4849
+ } | {
4850
+ format: "geojson";
4851
+ encoding: "utf-8";
4852
+ idColumn: string | null;
4853
+ numericColumns: {
4854
+ column: string;
4855
+ factor: number;
4856
+ }[];
4857
+ dateColumns: string[];
4858
+ columns: string[];
4859
+ } | {
4860
+ format: "matrix-market";
4861
+ encoding: "utf-8" | "latin1";
4862
+ } | {
4863
+ format: "user-item-ratings";
4864
+ encoding: "utf-8";
4865
+ delimiter: "tab" | "comma" | "double-colon";
4866
+ skipLines: number;
4867
+ itemType: "movie" | "product";
4868
+ maxRating: number;
4869
+ } | {
4870
+ format: "konect";
4871
+ encoding: "utf-8";
4872
+ weighted: boolean;
4873
+ timestamped: boolean;
4874
+ } | {
4875
+ format: "user-item-counts";
4876
+ encoding: "utf-8";
4877
+ delimiter: "tab";
4878
+ skipLines: number;
4879
+ itemType: "artist";
4880
+ } | {
4881
+ format: "kg-triples";
4882
+ encoding: "utf-8" | "latin1";
4883
+ delimiter: "tab" | "space";
4884
+ order: "head-relation-tail" | "head-tail-relation";
4885
+ header: "none" | "names" | "count";
4886
+ quoted: boolean;
4887
+ } | {
4888
+ format: "gml";
4889
+ encoding: "utf-8" | "latin1";
4890
+ } | {
4891
+ format: "pajek";
4892
+ encoding: "utf-8" | "latin1";
4893
+ } | {
4894
+ format: "ucinet-dl";
4895
+ encoding: "utf-8" | "latin1";
4896
+ matrix: number;
4897
+ } | {
4898
+ format: "gd-contest";
4899
+ encoding: "utf-8" | "latin1";
4900
+ } | {
4901
+ format: "witvliet-synapses";
4902
+ encoding: "utf-8";
4903
+ } | {
4904
+ format: "ogb";
4905
+ encoding: "utf-8";
4906
+ } | {
4907
+ format: "customer-points";
4908
+ encoding: "utf-8" | "latin1";
4909
+ } | {
4910
+ format: "solomon";
4911
+ encoding: "utf-8" | "latin1";
4912
+ } | {
4913
+ format: "top";
4914
+ encoding: "utf-8" | "latin1";
4915
+ } | {
4916
+ format: "toptw";
4917
+ encoding: "utf-8" | "latin1";
4918
+ } | {
4919
+ format: "tsplib";
4920
+ encoding: "utf-8" | "latin1";
4921
+ } | {
4922
+ format: "verolog-2019";
4923
+ encoding: "utf-8";
4924
+ } | {
4925
+ format: "vrp-rep";
4926
+ encoding: "utf-8";
4927
+ } | {
4928
+ format: "hhcrsp";
4929
+ encoding: "utf-8";
4930
+ } | {
4931
+ format: "mankowska";
4932
+ encoding: "utf-8" | "latin1";
4933
+ } | {
4934
+ format: "verolog-2017";
4935
+ encoding: "utf-8" | "latin1";
4936
+ } | {
4937
+ format: "tdc";
4938
+ encoding: "utf-8" | "latin1";
4939
+ };
2395
4940
  } | {
2396
4941
  status: "not-fetchable";
2397
4942
  reason: string;
@@ -2565,6 +5110,8 @@ type Task = z.infer<typeof TaskSchema>;
2565
5110
  /**
2566
5111
  * The tasks/v1 normalisation target: `{ meta, nodes }`, a set of tasks as the nodes it offers to visit or serve, whether it comes from a routing benchmark or from an open data register of permits and complaints. It describes the result `fetchDataset` resolves an entry to, not what a source file may contain. Beyond the field shapes it checks that node ids are unique. It has no arcs: a source that carries a travel matrix or arc list keeps it out of this version.
2567
5112
  */
5113
+ /** The metadata of a tasks/v1 document: a flat record of scalars. */
5114
+ declare const TasksMetaSchema: z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, unknown>;
2568
5115
  declare const TasksV1Schema: z.ZodObject<{
2569
5116
  meta: z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, unknown>;
2570
5117
  nodes: z.ZodArray<z.ZodObject<{
@@ -2627,13 +5174,25 @@ type CategoryTarget = CategoryTargets[CategoryId];
2627
5174
  type CountedKey<Target> = { readonly [Key in keyof Target]: Target[Key] extends readonly unknown[] ? Key : never; }[keyof Target] & string;
2628
5175
  /** What a fetch of a collection entry resolves to: the entry's metadata and one instance per archive member, each a document of the entry's category. */
2629
5176
  type CollectionTarget<Id extends CategoryId = CategoryId> = Id extends CategoryId ? Collection<CategoryTargets[Id]> : never;
2630
- /** One category: its id, what it holds, the schema of its normalisation target (one document), the schema of a collection of such documents derived from it, and which of the target's arrays an entry may record expected counts for. */
5177
+ /** The node a streamed result of each category hands on, for a category whose target is `{ meta, nodes }` and nothing else. */
5178
+ interface StreamedNodes {
5179
+ readonly "tasks/v1": Task;
5180
+ }
5181
+ /** The categories that can be streamed. */
5182
+ type StreamableId = keyof StreamedNodes & CategoryId;
5183
+ /** How a streamed result of a category is checked: its target is meta and nodes with unique ids, so the meta is checked once and each node on its own, and the ids across every node. */
5184
+ interface StreamedShape<Node> {
5185
+ readonly meta: z.ZodType<Record<string, JsonScalar>>;
5186
+ readonly node: z.ZodType<Node>;
5187
+ }
5188
+ /** One category: its id, what it holds, the schema of its normalisation target (one document), the schema of a collection of such documents derived from it, which of the target's arrays an entry may record expected counts for, and for a category whose target is meta and nodes alone the shape a streamed result is checked against. */
2631
5189
  interface CategoryOf<Id extends CategoryId> {
2632
5190
  readonly id: Id;
2633
5191
  readonly description: string;
2634
5192
  readonly target: z.ZodType<CategoryTargets[Id]>;
2635
5193
  readonly collection: z.ZodType<Collection<CategoryTargets[Id]>>;
2636
5194
  readonly counted: readonly CountedKey<CategoryTargets[Id]>[];
5195
+ readonly streamed: Id extends StreamableId ? StreamedShape<StreamedNodes[Id]> : undefined;
2637
5196
  }
2638
5197
  /** A category, or with no argument any of them: a union over the ids, so each category keeps its own target and counted keys. */
2639
5198
  type Category<Id extends CategoryId = CategoryId> = Id extends CategoryId ? CategoryOf<Id> : never;
@@ -2660,6 +5219,18 @@ declare function getTarget(id: string): z.ZodType<CategoryTarget>;
2660
5219
  * @throws UnknownCategoryError when no category has that id.
2661
5220
  */
2662
5221
  declare function getCollectionTarget(id: string): z.ZodType<CollectionTarget>;
5222
+ /**
5223
+ * Whether a category's results can be streamed: its target is meta and nodes alone.
5224
+ * @param id - A category id.
5225
+ * @returns True for a streamable category.
5226
+ */
5227
+ declare function isStreamable(id: CategoryId): id is StreamableId;
5228
+ /**
5229
+ * The shape a streamed result of a category is checked against.
5230
+ * @param id - A streamable category id.
5231
+ * @returns Its meta and node schemas.
5232
+ */
5233
+ declare function getStreamedShape<Id extends StreamableId>(id: Id): StreamedShape<StreamedNodes[Id]>;
2663
5234
  /**
2664
5235
  * The kind of data a category holds: the part of its id before the version.
2665
5236
  * @param id - A category id.
@@ -2683,4 +5254,4 @@ declare function countedKeys(id: CategoryId, collection: boolean): readonly stri
2683
5254
  */
2684
5255
  declare function countTarget(id: CategoryId, target: CategoryTarget | CollectionTarget): ReadonlyMap<string, number>;
2685
5256
  //#endregion
2686
- export { CrosswalkReference as $, Catalogue as A, ManifestSchema as B, JsonScalarSchema as C, parseEntry as Ct, GraphNodeSchema as D, GraphNode as E, NamespaceNode as F, ArchiveMember as G, parseManifest as H, createCatalogue as I, Citation as J, ArchiveMemberSchema as K, Lineage as L, CatalogueIndexSchema as M, Dataset as N, GraphV1 as O, DatasetQuery as P, ColumnNameSchema as Q, LineageSchema as R, JsonScalar as S, WaybackTimestampSchema as St, GraphEdgeSchema as T, AliasSchema as U, SemVerSchema as V, Archive as W, CollectionArchive as X, CitationSchema as Y, CollectionArchiveSchema as Z, TasksV1 as _, Snapshot as _t, CategoryTargets as a, IdSchema as at, Instance as b, SourceSchema as bt, countTarget as c, Namespace as ct, getCollectionTarget as d, ParserSchema as dt, CrosswalkReferenceSchema as et, getTarget as f, PartsArchive as ft, TaskSchema as g, RelativePathSchema as gt, Task as h, RecipeSchema as ht, CategoryTarget as i, HttpUrlSchema as it, CatalogueIndex as j, GraphV1Schema as k, countedKeys as l, NamespaceSchema as lt, listCategories as m, Recipe as mt, CategoryId as n, Entry as nt, CollectionTarget as o, Licence as ot, kindOf as p, RESERVED_META_KEYS as pt, ArchiveSchema as q, CategoryIdSchema as r, EntrySchema as rt, CountedKey as s, LicenceSchema as st, Category as t, DocumentArchive as tt, getCategory as u, Parser as ut, TasksV1Schema as v, SnapshotSchema as vt, GraphEdge as w, waybackUrl as wt, collectionOf as x, SubjectSchema as xt, Collection as y, Source as yt, Manifest as z };
5257
+ export { ArchiveSchema as $, GraphEdge as A, SourceRecipeSchema as At, DatasetQuery as B, TasksV1 as C, Recipe as Ct, collectionOf as D, SnapshotSchema as Dt, Instance as E, Snapshot as Et, GraphV1Schema as F, readsCollection as Ft, Manifest as G, createCatalogue as H, Catalogue as I, waybackUrl as It, parseManifest as J, ManifestSchema as K, CatalogueIndex as L, GraphNode as M, SubjectSchema as Mt, GraphNodeSchema as N, WaybackTimestampSchema as Nt, JsonScalar as O, Source as Ot, GraphV1 as P, parseEntry as Pt, ArchiveMemberSchema as Q, CatalogueIndexSchema as R, TasksMetaSchema as S, RESERVED_META_KEYS as St, Collection as T, RelativePathSchema as Tt, Lineage as U, NamespaceNode as V, LineageSchema as W, Archive as X, AliasSchema as Y, ArchiveMember as Z, isStreamable as _, LicenceSchema as _t, CategoryTargets as a, CollectionFileSchema as at, Task as b, Parser as bt, StreamableId as c, CrosswalkReferenceSchema as ct, countTarget as d, EntrySchema as dt, Citation as et, countedKeys as f, FilesRecipe as ft, getTarget as g, Licence as gt, getStreamedShape as h, IdSchema as ht, CategoryTarget as i, CollectionFile as it, GraphEdgeSchema as j, SourceSchema as jt, JsonScalarSchema as k, SourceRecipe as kt, StreamedNodes as l, DocumentArchive as lt, getCollectionTarget as m, HttpUrlSchema as mt, CategoryId as n, CollectionArchive as nt, CollectionTarget as o, ColumnNameSchema as ot, getCategory as p, FilesRecipeSchema as pt, SemVerSchema as q, CategoryIdSchema as r, CollectionArchiveSchema as rt, CountedKey as s, CrosswalkReference as st, Category as t, CitationSchema as tt, StreamedShape as u, Entry as ut, kindOf as v, Namespace as vt, TasksV1Schema as w, RecipeSchema as wt, TaskSchema as x, ParserSchema as xt, listCategories as y, NamespaceSchema as yt, Dataset as z };