@nfdi4plants/arctrl 1.2.0 → 2.0.0-alpha.2

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.
Files changed (366) hide show
  1. package/ARC.js +53 -35
  2. package/{Contracts/Contracts.ARCtrl.js → Contract/ARC.js} +4 -2
  3. package/Contract/ArcAssay.js +102 -0
  4. package/Contract/ArcInvestigation.js +78 -0
  5. package/Contract/ArcStudy.js +102 -0
  6. package/Contract/Contract.js +3 -3
  7. package/{Contracts/Contracts.Git.js → Contract/Git.js} +5 -5
  8. package/{ISA/ISA/ArcTypes → Core}/ArcTypes.js +307 -295
  9. package/Core/Comment.js +97 -0
  10. package/{ISA/ISA/JsonTypes → Core}/CommentList.js +12 -18
  11. package/Core/Conversion.js +1056 -0
  12. package/Core/Helper/Collections.js +318 -0
  13. package/Core/Helper/HashCodes.js +39 -0
  14. package/{ISA/ISA → Core/Helper}/Identifier.js +67 -2
  15. package/{ISA/ISA → Core/Helper}/Regex.js +3 -3
  16. package/{SemVer.js → Core/Helper/SemVer.js} +8 -8
  17. package/{ISA/ISA/ArcTypes → Core}/IdentifierSetters.js +1 -1
  18. package/Core/OntologyAnnotation.js +186 -0
  19. package/Core/OntologySourceReference.js +92 -0
  20. package/Core/Person.js +194 -0
  21. package/Core/Process/ColumnIndex.js +248 -0
  22. package/Core/Process/Component.js +188 -0
  23. package/{ISA/ISA/JsonTypes → Core/Process}/Data.js +8 -8
  24. package/{ISA/ISA/JsonTypes → Core/Process}/DataFile.js +3 -3
  25. package/Core/Process/Factor.js +109 -0
  26. package/{ISA/ISA/JsonTypes → Core/Process}/FactorValue.js +32 -13
  27. package/{ISA/ISA/JsonTypes → Core/Process}/Material.js +9 -9
  28. package/{ISA/ISA/JsonTypes → Core/Process}/MaterialAttribute.js +17 -17
  29. package/{ISA/ISA/JsonTypes → Core/Process}/MaterialAttributeValue.js +35 -16
  30. package/{ISA/ISA/JsonTypes → Core/Process}/MaterialType.js +3 -3
  31. package/{ISA/ISA/JsonTypes → Core/Process}/Process.js +46 -79
  32. package/{ISA/ISA/JsonTypes → Core/Process}/ProcessInput.js +42 -42
  33. package/{ISA/ISA/JsonTypes → Core/Process}/ProcessOutput.js +36 -36
  34. package/{ISA/ISA/JsonTypes → Core/Process}/ProcessParameterValue.js +26 -7
  35. package/{ISA/ISA/JsonTypes → Core/Process}/ProcessSequence.js +21 -25
  36. package/{ISA/ISA/JsonTypes → Core/Process}/Protocol.js +26 -57
  37. package/{ISA/ISA/JsonTypes → Core/Process}/ProtocolParameter.js +10 -10
  38. package/{ISA/ISA/JsonTypes → Core/Process}/Sample.js +12 -12
  39. package/{ISA/ISA/JsonTypes → Core/Process}/Source.js +9 -9
  40. package/{ISA/ISA/JsonTypes → Core/Process}/Value.js +13 -13
  41. package/Core/Publication.js +116 -0
  42. package/{ISA/ISA/ArcTypes → Core/Table}/ArcTable.js +43 -149
  43. package/Core/Table/ArcTableAux.js +532 -0
  44. package/{ISA/ISA/ArcTypes → Core/Table}/ArcTables.js +20 -32
  45. package/{ISA/ISA/ArcTypes → Core/Table}/CompositeCell.js +19 -76
  46. package/{ISA/ISA/ArcTypes → Core/Table}/CompositeColumn.js +6 -6
  47. package/{ISA/ISA/ArcTypes → Core/Table}/CompositeHeader.js +14 -34
  48. package/{Templates → Core}/Template.js +16 -17
  49. package/Core/Templates.js +84 -0
  50. package/FileSystem/Commit.js +2 -2
  51. package/FileSystem/FileSystem.js +4 -4
  52. package/FileSystem/FileSystemTree.js +46 -8
  53. package/FileSystem/Path.js +10 -2
  54. package/Json/ARC.js +25 -0
  55. package/Json/Assay.js +202 -0
  56. package/Json/Comment.js +130 -0
  57. package/Json/ConverterOptions.js +18 -0
  58. package/Json/Decode.js +128 -0
  59. package/Json/Encode.js +45 -0
  60. package/Json/Investigation.js +220 -0
  61. package/Json/OntologyAnnotation.js +169 -0
  62. package/Json/OntologySourceReference.js +122 -0
  63. package/Json/Person.js +250 -0
  64. package/Json/Process/AssayMaterials.js +22 -0
  65. package/Json/Process/Component.js +79 -0
  66. package/Json/Process/Data.js +102 -0
  67. package/Json/Process/DataFile.js +81 -0
  68. package/Json/Process/Factor.js +48 -0
  69. package/Json/Process/FactorValue.js +53 -0
  70. package/Json/Process/Material.js +107 -0
  71. package/Json/Process/MaterialAttribute.js +45 -0
  72. package/Json/Process/MaterialAttributeValue.js +70 -0
  73. package/Json/Process/MaterialType.js +60 -0
  74. package/Json/Process/Process.js +107 -0
  75. package/Json/Process/ProcessInput.js +59 -0
  76. package/Json/Process/ProcessOutput.js +71 -0
  77. package/Json/Process/ProcessParameterValue.js +69 -0
  78. package/Json/Process/ProcessSequence.js +53 -0
  79. package/Json/Process/PropertyValue.js +82 -0
  80. package/Json/Process/Protocol.js +147 -0
  81. package/Json/Process/ProtocolParameter.js +45 -0
  82. package/Json/Process/Sample.js +134 -0
  83. package/Json/Process/Source.js +101 -0
  84. package/Json/Process/StudyMaterials.js +24 -0
  85. package/Json/Process/Value.js +42 -0
  86. package/Json/Publication.js +142 -0
  87. package/Json/StringTable.js +44 -0
  88. package/Json/Study.js +306 -0
  89. package/{ISA/ISA.Json/ArcTypes → Json/Table}/ArcTable.js +53 -49
  90. package/Json/Table/CellTable.js +40 -0
  91. package/Json/Table/CompositeCell.js +65 -0
  92. package/{ISA/ISA.Json/ArcTypes → Json/Table}/CompositeHeader.js +22 -19
  93. package/Json/Table/Compression.js +38 -0
  94. package/Json/Table/IOType.js +37 -0
  95. package/Json/Table/OATable.js +40 -0
  96. package/Json/Table/Templates.js +107 -0
  97. package/Json/context/rocrate/isa_assay_context.js +32 -0
  98. package/Json/context/rocrate/isa_comment_context.js +23 -0
  99. package/Json/context/rocrate/isa_component_context.js +24 -0
  100. package/Json/context/rocrate/isa_data_context.js +25 -0
  101. package/Json/context/rocrate/isa_factor_context.js +25 -0
  102. package/Json/context/rocrate/isa_factor_value_context.js +23 -0
  103. package/{ISA/ISA.Json → Json}/context/rocrate/isa_investigation_context.js +5 -5
  104. package/{ISA/ISA.Json → Json}/context/rocrate/isa_material_attribute_context.js +4 -4
  105. package/Json/context/rocrate/isa_material_attribute_value_context.js +23 -0
  106. package/Json/context/rocrate/isa_material_context.js +26 -0
  107. package/Json/context/rocrate/isa_ontology_annotation_context.js +23 -0
  108. package/Json/context/rocrate/isa_ontology_source_reference_context.js +26 -0
  109. package/Json/context/rocrate/isa_organization_context.js +22 -0
  110. package/Json/context/rocrate/isa_person_context.js +33 -0
  111. package/Json/context/rocrate/isa_process_context.js +29 -0
  112. package/Json/context/rocrate/isa_process_parameter_value_context.js +23 -0
  113. package/Json/context/rocrate/isa_protocol_context.js +28 -0
  114. package/{ISA/ISA.Json → Json}/context/rocrate/isa_protocol_parameter_context.js +4 -4
  115. package/Json/context/rocrate/isa_publication_context.js +25 -0
  116. package/Json/context/rocrate/isa_sample_context.js +24 -0
  117. package/Json/context/rocrate/isa_source_context.js +25 -0
  118. package/Json/context/rocrate/isa_study_context.js +40 -0
  119. package/Json/context/rocrate/property_value_context.js +4 -0
  120. package/Json/context/rocrate/rocrate_context.js +23 -0
  121. package/Json.js +193 -0
  122. package/README.md +33 -12
  123. package/{ISA/ISA.Spreadsheet → Spreadsheet}/AnnotationTable/ArcTable.js +12 -12
  124. package/{ISA/ISA.Spreadsheet → Spreadsheet}/AnnotationTable/CompositeCell.js +8 -7
  125. package/{ISA/ISA.Spreadsheet → Spreadsheet}/AnnotationTable/CompositeColumn.js +10 -10
  126. package/{ISA/ISA.Spreadsheet → Spreadsheet}/AnnotationTable/CompositeHeader.js +10 -10
  127. package/{ISA/ISA.Spreadsheet → Spreadsheet}/ArcAssay.js +11 -11
  128. package/{ISA/ISA.Spreadsheet → Spreadsheet}/ArcInvestigation.js +34 -37
  129. package/{ISA/ISA.Spreadsheet → Spreadsheet}/ArcStudy.js +12 -12
  130. package/{ISA/ISA.Spreadsheet → Spreadsheet}/CollectionAux.js +7 -7
  131. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Assays.js +32 -32
  132. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Comment.js +5 -5
  133. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Contacts.js +28 -30
  134. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Conversions.js +22 -16
  135. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/DesignDescriptors.js +1 -1
  136. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Factors.js +23 -22
  137. package/Spreadsheet/Metadata/OntologyAnnotation.js +64 -0
  138. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/OntologySourceReference.js +22 -24
  139. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Protocols.js +17 -17
  140. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Publication.js +29 -31
  141. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/SparseTable.js +23 -22
  142. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Study.js +38 -40
  143. package/{Templates/Template.Spreadsheet.js → Spreadsheet/Template.js} +31 -31
  144. package/Template.Web.js +27 -0
  145. package/WebRequest/WebRequest.Node.js +2 -2
  146. package/WebRequest/WebRequest.js +2 -2
  147. package/Xlsx.js +85 -0
  148. package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +7 -7
  149. package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +3 -3
  150. package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +8 -8
  151. package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +2 -2
  152. package/fable_modules/FsSpreadsheet.5.1.3/Cells/FsCell.fs.js +14 -14
  153. package/fable_modules/FsSpreadsheet.5.1.3/Cells/FsCellsCollection.fs.js +6 -6
  154. package/fable_modules/FsSpreadsheet.5.1.3/DSL/CellBuilder.fs.js +4 -4
  155. package/fable_modules/FsSpreadsheet.5.1.3/DSL/ColumnBuilder.fs.js +3 -3
  156. package/fable_modules/FsSpreadsheet.5.1.3/DSL/DSL.fs.js +2 -2
  157. package/fable_modules/FsSpreadsheet.5.1.3/DSL/Expression.fs.js +1 -1
  158. package/fable_modules/FsSpreadsheet.5.1.3/DSL/RowBuilder.fs.js +3 -3
  159. package/fable_modules/FsSpreadsheet.5.1.3/DSL/SheetBuilder.fs.js +3 -3
  160. package/fable_modules/FsSpreadsheet.5.1.3/DSL/TableBuilder.fs.js +3 -3
  161. package/fable_modules/FsSpreadsheet.5.1.3/DSL/Transform.fs.js +6 -6
  162. package/fable_modules/FsSpreadsheet.5.1.3/DSL/Types.fs.js +4 -4
  163. package/fable_modules/FsSpreadsheet.5.1.3/DSL/WorkbookBuilder.fs.js +3 -3
  164. package/fable_modules/FsSpreadsheet.5.1.3/FsAddress.fs.js +8 -8
  165. package/fable_modules/FsSpreadsheet.5.1.3/FsColumn.fs.js +3 -3
  166. package/fable_modules/FsSpreadsheet.5.1.3/FsRow.fs.js +3 -3
  167. package/fable_modules/FsSpreadsheet.5.1.3/FsWorkbook.fs.js +6 -6
  168. package/fable_modules/FsSpreadsheet.5.1.3/FsWorksheet.fs.js +9 -9
  169. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRange.fs.js +3 -3
  170. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeAddress.fs.js +3 -3
  171. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeBase.fs.js +3 -3
  172. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeColumn.fs.js +3 -3
  173. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeRow.fs.js +1 -1
  174. package/fable_modules/FsSpreadsheet.5.1.3/SheetBuilder.fs.js +8 -8
  175. package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTable.fs.js +7 -7
  176. package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTableField.fs.js +4 -4
  177. package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTableRow.fs.js +1 -1
  178. package/fable_modules/Thoth.Json.Core.0.2.1/Decode.fs.js +19 -19
  179. package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs.js +5 -5
  180. package/fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js +2 -2
  181. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js +1 -1
  182. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js +2 -2
  183. package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Boolean.js +2 -2
  184. package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/CHANGELOG.md +18 -0
  185. package/fable_modules/fable-library-js.4.16.0/ConditionalWeakTable.d.ts +9 -0
  186. package/fable_modules/fable-library-js.4.16.0/ConditionalWeakTable.js +21 -0
  187. package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Date.js +337 -40
  188. package/fable_modules/fable-library-js.4.16.0/MapUtil.d.ts +12 -0
  189. package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MapUtil.js +15 -0
  190. package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Util.d.ts +6 -3
  191. package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Util.js +2 -13
  192. package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/package.json +1 -1
  193. package/fable_modules/project_cracked.json +1 -1
  194. package/index.js +14 -12
  195. package/package.json +1 -1
  196. package/Contracts/Contracts.ArcTypes.js +0 -268
  197. package/FileSystemTree.js +0 -51
  198. package/ISA/ISA/ArcTypes/ArcTableAux.js +0 -1155
  199. package/ISA/ISA/ArcTypes/CompositeRow.js +0 -111
  200. package/ISA/ISA/Builder/Types.js +0 -243
  201. package/ISA/ISA/Fable.js +0 -123
  202. package/ISA/ISA/Helper.js +0 -505
  203. package/ISA/ISA/JsonTypes/Assay.js +0 -620
  204. package/ISA/ISA/JsonTypes/AssayMaterials.js +0 -39
  205. package/ISA/ISA/JsonTypes/ColumnIndex.js +0 -246
  206. package/ISA/ISA/JsonTypes/Comment.js +0 -58
  207. package/ISA/ISA/JsonTypes/Component.js +0 -165
  208. package/ISA/ISA/JsonTypes/Factor.js +0 -128
  209. package/ISA/ISA/JsonTypes/Investigation.js +0 -204
  210. package/ISA/ISA/JsonTypes/OntologyAnnotation.js +0 -196
  211. package/ISA/ISA/JsonTypes/OntologySourceReference.js +0 -85
  212. package/ISA/ISA/JsonTypes/Person.js +0 -152
  213. package/ISA/ISA/JsonTypes/Publication.js +0 -105
  214. package/ISA/ISA/JsonTypes/Study.js +0 -942
  215. package/ISA/ISA/JsonTypes/StudyMaterials.js +0 -45
  216. package/ISA/ISA/UIHelper.js +0 -19
  217. package/ISA/ISA.Json/ArcTypes/ArcAssay.js +0 -303
  218. package/ISA/ISA.Json/ArcTypes/ArcInvestigation.js +0 -122
  219. package/ISA/ISA.Json/ArcTypes/ArcStudy.js +0 -203
  220. package/ISA/ISA.Json/ArcTypes/CellTable.js +0 -40
  221. package/ISA/ISA.Json/ArcTypes/CompositeCell.js +0 -62
  222. package/ISA/ISA.Json/ArcTypes/IOType.js +0 -33
  223. package/ISA/ISA.Json/ArcTypes/OATable.js +0 -42
  224. package/ISA/ISA.Json/Assay.js +0 -129
  225. package/ISA/ISA.Json/Comment.js +0 -80
  226. package/ISA/ISA.Json/ConverterOptions.js +0 -51
  227. package/ISA/ISA.Json/Data.js +0 -253
  228. package/ISA/ISA.Json/Decode.js +0 -61
  229. package/ISA/ISA.Json/Factor.js +0 -194
  230. package/ISA/ISA.Json/GEncode.js +0 -40
  231. package/ISA/ISA.Json/Investigation.js +0 -89
  232. package/ISA/ISA.Json/Material.js +0 -232
  233. package/ISA/ISA.Json/Ontology.js +0 -200
  234. package/ISA/ISA.Json/Person.js +0 -186
  235. package/ISA/ISA.Json/Process.js +0 -305
  236. package/ISA/ISA.Json/Protocol.js +0 -281
  237. package/ISA/ISA.Json/Publication.js +0 -86
  238. package/ISA/ISA.Json/StringTable.js +0 -44
  239. package/ISA/ISA.Json/Study.js +0 -186
  240. package/ISA/ISA.Json/context/rocrate/isa_assay_context.js +0 -34
  241. package/ISA/ISA.Json/context/rocrate/isa_comment_context.js +0 -23
  242. package/ISA/ISA.Json/context/rocrate/isa_component_context.js +0 -24
  243. package/ISA/ISA.Json/context/rocrate/isa_data_context.js +0 -25
  244. package/ISA/ISA.Json/context/rocrate/isa_factor_context.js +0 -25
  245. package/ISA/ISA.Json/context/rocrate/isa_factor_value_context.js +0 -25
  246. package/ISA/ISA.Json/context/rocrate/isa_material_attribute_value_context.js +0 -25
  247. package/ISA/ISA.Json/context/rocrate/isa_material_context.js +0 -26
  248. package/ISA/ISA.Json/context/rocrate/isa_ontology_annotation_context.js +0 -25
  249. package/ISA/ISA.Json/context/rocrate/isa_ontology_source_reference_context.js +0 -26
  250. package/ISA/ISA.Json/context/rocrate/isa_organization_context.js +0 -22
  251. package/ISA/ISA.Json/context/rocrate/isa_person_context.js +0 -31
  252. package/ISA/ISA.Json/context/rocrate/isa_process_context.js +0 -31
  253. package/ISA/ISA.Json/context/rocrate/isa_process_parameter_value_context.js +0 -25
  254. package/ISA/ISA.Json/context/rocrate/isa_protocol_context.js +0 -30
  255. package/ISA/ISA.Json/context/rocrate/isa_publication_context.js +0 -27
  256. package/ISA/ISA.Json/context/rocrate/isa_sample_context.js +0 -26
  257. package/ISA/ISA.Json/context/rocrate/isa_source_context.js +0 -25
  258. package/ISA/ISA.Json/context/rocrate/isa_study_context.js +0 -42
  259. package/ISA/ISA.Json/context/rocrate/rocrate_context.js +0 -25
  260. package/ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.js +0 -65
  261. package/Path.js +0 -10
  262. package/Templates/Template.Json.js +0 -90
  263. package/Templates/Template.Web.js +0 -27
  264. package/Templates/Templates.js +0 -82
  265. package/fable_modules/fable-library-js.4.13.0/MapUtil.d.ts +0 -10
  266. /package/{ISA/ISA/JsonTypes → Core}/URI.js +0 -0
  267. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Array.d.ts +0 -0
  268. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Array.js +0 -0
  269. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Async.d.ts +0 -0
  270. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Async.js +0 -0
  271. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/AsyncBuilder.d.ts +0 -0
  272. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/AsyncBuilder.js +0 -0
  273. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/BigInt.d.ts +0 -0
  274. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/BigInt.js +0 -0
  275. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/BitConverter.d.ts +0 -0
  276. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/BitConverter.js +0 -0
  277. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Boolean.d.ts +0 -0
  278. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Char.d.ts +0 -0
  279. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Char.js +0 -0
  280. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Choice.d.ts +0 -0
  281. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Choice.js +0 -0
  282. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Date.d.ts +0 -0
  283. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/DateOffset.d.ts +0 -0
  284. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/DateOffset.js +0 -0
  285. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/DateOnly.d.ts +0 -0
  286. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/DateOnly.js +0 -0
  287. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Decimal.d.ts +0 -0
  288. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Decimal.js +0 -0
  289. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Double.d.ts +0 -0
  290. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Double.js +0 -0
  291. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Encoding.d.ts +0 -0
  292. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Encoding.js +0 -0
  293. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Event.d.ts +0 -0
  294. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Event.js +0 -0
  295. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Collections.d.ts +0 -0
  296. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Collections.js +0 -0
  297. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Core.CompilerServices.d.ts +0 -0
  298. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Core.CompilerServices.js +0 -0
  299. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Core.d.ts +0 -0
  300. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Core.js +0 -0
  301. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Global.d.ts +0 -0
  302. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Global.js +0 -0
  303. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Guid.d.ts +0 -0
  304. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Guid.js +0 -0
  305. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Int32.d.ts +0 -0
  306. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Int32.js +0 -0
  307. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/List.d.ts +0 -0
  308. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/List.js +0 -0
  309. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Long.d.ts +0 -0
  310. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Long.js +0 -0
  311. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MailboxProcessor.d.ts +0 -0
  312. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MailboxProcessor.js +0 -0
  313. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Map.d.ts +0 -0
  314. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Map.js +0 -0
  315. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MutableMap.d.ts +0 -0
  316. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MutableMap.js +0 -0
  317. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MutableSet.d.ts +0 -0
  318. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MutableSet.js +0 -0
  319. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Native.d.ts +0 -0
  320. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Native.js +0 -0
  321. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Numeric.d.ts +0 -0
  322. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Numeric.js +0 -0
  323. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Observable.d.ts +0 -0
  324. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Observable.js +0 -0
  325. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Option.d.ts +0 -0
  326. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Option.js +0 -0
  327. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/README.md +0 -0
  328. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Random.d.ts +0 -0
  329. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Random.js +0 -0
  330. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Range.d.ts +0 -0
  331. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Range.js +0 -0
  332. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Reflection.d.ts +0 -0
  333. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Reflection.js +0 -0
  334. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/RegExp.d.ts +0 -0
  335. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/RegExp.js +0 -0
  336. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Result.d.ts +0 -0
  337. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Result.js +0 -0
  338. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Seq.d.ts +0 -0
  339. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Seq.js +0 -0
  340. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Seq2.d.ts +0 -0
  341. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Seq2.js +0 -0
  342. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Set.d.ts +0 -0
  343. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Set.js +0 -0
  344. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/String.d.ts +0 -0
  345. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/String.js +0 -0
  346. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/System.Collections.Generic.d.ts +0 -0
  347. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/System.Collections.Generic.js +0 -0
  348. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/System.Text.d.ts +0 -0
  349. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/System.Text.js +0 -0
  350. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/SystemException.d.ts +0 -0
  351. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/SystemException.js +0 -0
  352. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/TimeOnly.d.ts +0 -0
  353. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/TimeOnly.js +0 -0
  354. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/TimeSpan.d.ts +0 -0
  355. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/TimeSpan.js +0 -0
  356. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Timer.d.ts +0 -0
  357. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Timer.js +0 -0
  358. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Types.d.ts +0 -0
  359. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Types.js +0 -0
  360. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Unicode.13.0.0.d.ts +0 -0
  361. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Unicode.13.0.0.js +0 -0
  362. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Uri.d.ts +0 -0
  363. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Uri.js +0 -0
  364. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/big.d.ts +0 -0
  365. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/lib/big.d.ts +0 -0
  366. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/lib/big.js +0 -0
@@ -1,86 +0,0 @@
1
- import { printf, toText, replace } from "../../fable_modules/fable-library-js.4.13.0/String.js";
2
- import { ofArray, choose } from "../../fable_modules/fable-library-js.4.13.0/List.js";
3
- import { equals } from "../../fable_modules/fable-library-js.4.13.0/Util.js";
4
- import { Json } from "../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
5
- import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library-js.4.13.0/Seq.js";
6
- import { ConverterOptions__set_IncludeContext_Z1FBCCD16, ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions_$ctor, ConverterOptions__get_IncludeContext, ConverterOptions__get_IncludeType, ConverterOptions__get_SetID } from "./ConverterOptions.js";
7
- import { tryIncludeArray, tryInclude } from "./GEncode.js";
8
- import { OntologyAnnotation_decoder, OntologyAnnotation_encoder } from "./Ontology.js";
9
- import { decoder as decoder_2, encoder as encoder_1 } from "./Comment.js";
10
- import { context_jsonvalue } from "./context/rocrate/isa_publication_context.js";
11
- import { uri, object } from "./Decode.js";
12
- import { array, string } from "../../fable_modules/Thoth.Json.Core.0.2.1/Decode.fs.js";
13
- import { Publication } from "../ISA/JsonTypes/Publication.js";
14
- import { fromString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js";
15
- import { toString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js";
16
-
17
- export function genID(p) {
18
- const matchValue = p.DOI;
19
- if (matchValue == null) {
20
- const matchValue_1 = p.PubMedID;
21
- if (matchValue_1 == null) {
22
- const matchValue_2 = p.Title;
23
- if (matchValue_2 == null) {
24
- return "#EmptyPublication";
25
- }
26
- else {
27
- return "#Pub_" + replace(matchValue_2, " ", "_");
28
- }
29
- }
30
- else {
31
- return matchValue_1;
32
- }
33
- }
34
- else {
35
- return matchValue;
36
- }
37
- }
38
-
39
- export function encoder(options, oa) {
40
- return new Json(5, [choose((tupledArg) => {
41
- const v = tupledArg[1];
42
- if (equals(v, new Json(3, []))) {
43
- return void 0;
44
- }
45
- else {
46
- return [tupledArg[0], v];
47
- }
48
- }, toList(delay(() => append(ConverterOptions__get_SetID(options) ? singleton(["@id", new Json(0, [genID(oa)])]) : empty(), delay(() => append(ConverterOptions__get_IncludeType(options) ? singleton(["@type", new Json(0, ["Publication"])]) : empty(), delay(() => append(singleton(tryInclude("pubMedID", (value_2) => (new Json(0, [value_2])), oa.PubMedID)), delay(() => append(singleton(tryInclude("doi", (value_4) => (new Json(0, [value_4])), oa.DOI)), delay(() => append(singleton(tryInclude("authorList", (value_6) => (new Json(0, [value_6])), oa.Authors)), delay(() => append(singleton(tryInclude("title", (value_8) => (new Json(0, [value_8])), oa.Title)), delay(() => append(singleton(tryInclude("status", (oa_1) => OntologyAnnotation_encoder(options, oa_1), oa.Status)), delay(() => append(singleton(tryIncludeArray("comments", (comment) => encoder_1(options, comment), oa.Comments)), delay(() => (ConverterOptions__get_IncludeContext(options) ? singleton(["@context", context_jsonvalue]) : empty()))))))))))))))))))))]);
49
- }
50
-
51
- export const allowedFields = ofArray(["@id", "pubMedID", "doi", "authorList", "title", "status", "comments", "@type", "@context"]);
52
-
53
- export function decoder(options) {
54
- return object(allowedFields, (get$) => {
55
- let objectArg, objectArg_1, objectArg_2, objectArg_3, arg_9, objectArg_4, arg_11, objectArg_5;
56
- return new Publication((objectArg = get$.Optional, objectArg.Field("pubMedID", uri)), (objectArg_1 = get$.Optional, objectArg_1.Field("doi", string)), (objectArg_2 = get$.Optional, objectArg_2.Field("authorList", string)), (objectArg_3 = get$.Optional, objectArg_3.Field("title", string)), (arg_9 = OntologyAnnotation_decoder(options), (objectArg_4 = get$.Optional, objectArg_4.Field("status", arg_9))), (arg_11 = array(decoder_2(options)), (objectArg_5 = get$.Optional, objectArg_5.Field("comments", arg_11))));
57
- });
58
- }
59
-
60
- export function fromJsonString(s) {
61
- const matchValue = fromString(decoder(ConverterOptions_$ctor()), s);
62
- if (matchValue.tag === 1) {
63
- throw new Error(toText(printf("Error decoding string: %O"))(matchValue.fields[0]));
64
- }
65
- else {
66
- return matchValue.fields[0];
67
- }
68
- }
69
-
70
- export function toJsonString(p) {
71
- return toString(2, encoder(ConverterOptions_$ctor(), p));
72
- }
73
-
74
- /**
75
- * exports in json-ld format
76
- */
77
- export function toJsonldString(p) {
78
- let returnVal;
79
- return toString(2, encoder((returnVal = ConverterOptions_$ctor(), ((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), returnVal)), p));
80
- }
81
-
82
- export function toJsonldStringWithContext(a) {
83
- let returnVal;
84
- return toString(2, encoder((returnVal = ConverterOptions_$ctor(), (((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), ConverterOptions__set_IncludeContext_Z1FBCCD16(returnVal, true)), returnVal)), a));
85
- }
86
-
@@ -1,44 +0,0 @@
1
- import { item, map, setItem, fill } from "../../fable_modules/fable-library-js.4.13.0/Array.js";
2
- import { iterate } from "../../fable_modules/fable-library-js.4.13.0/Seq.js";
3
- import { Json } from "../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
4
- import { int, string, array as array_1 } from "../../fable_modules/Thoth.Json.Core.0.2.1/Decode.fs.js";
5
- import { Dict_tryFind } from "../ISA/Helper.js";
6
- import { addToDict } from "../../fable_modules/fable-library-js.4.13.0/MapUtil.js";
7
- import { FSharpResult$2 } from "../../fable_modules/fable-library-js.4.13.0/Result.js";
8
-
9
- export function StringTable_arrayFromMap(otm) {
10
- const a = fill(new Array(otm.size), 0, otm.size, "");
11
- iterate((kv) => {
12
- setItem(a, kv[1], kv[0]);
13
- }, otm);
14
- return a;
15
- }
16
-
17
- export function StringTable_encoder(ot) {
18
- return new Json(6, [map((value) => (new Json(0, [value])), ot)]);
19
- }
20
-
21
- export const StringTable_decoder = array_1(string);
22
-
23
- export function StringTable_encodeString(otm, s) {
24
- const matchValue = Dict_tryFind(s, otm);
25
- if (matchValue == null) {
26
- const i_1 = otm.size | 0;
27
- addToDict(otm, s, i_1);
28
- return new Json(7, [i_1 >>> 0]);
29
- }
30
- else {
31
- const i = matchValue | 0;
32
- return new Json(7, [i >>> 0]);
33
- }
34
- }
35
-
36
- export function StringTable_decodeString(ot) {
37
- return {
38
- Decode(s, json) {
39
- const matchValue = int.Decode(s, json);
40
- return (matchValue.tag === 1) ? (new FSharpResult$2(1, [matchValue.fields[0]])) : (new FSharpResult$2(0, [item(matchValue.fields[0], ot)]));
41
- },
42
- };
43
- }
44
-
@@ -1,186 +0,0 @@
1
- import { ofArray, choose } from "../../fable_modules/fable-library-js.4.13.0/List.js";
2
- import { equals } from "../../fable_modules/fable-library-js.4.13.0/Util.js";
3
- import { Json } from "../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
4
- import { tryInclude, tryIncludeList } from "./GEncode.js";
5
- import { Sample_decoder, Source_decoder, Sample_encoder, Source_encoder } from "./Data.js";
6
- import { MaterialAttribute_decoder, MaterialAttribute_encoder, Material_decoder, Material_encoder } from "./Material.js";
7
- import { uri, object } from "./Decode.js";
8
- import { string, list as list_1 } from "../../fable_modules/Thoth.Json.Core.0.2.1/Decode.fs.js";
9
- import { StudyMaterials } from "../ISA/JsonTypes/StudyMaterials.js";
10
- import { printf, toText, remove, replace } from "../../fable_modules/fable-library-js.4.13.0/String.js";
11
- import { max } from "../../fable_modules/fable-library-js.4.13.0/Double.js";
12
- import { URIModule_toString } from "../ISA/JsonTypes/URI.js";
13
- import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library-js.4.13.0/Seq.js";
14
- import { ConverterOptions__set_IncludeContext_Z1FBCCD16, ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions_$ctor, ConverterOptions__get_IncludeContext, ConverterOptions__get_IsRoCrate, ConverterOptions__get_IncludeType, ConverterOptions__get_SetID } from "./ConverterOptions.js";
15
- import { list as list_2 } from "../../fable_modules/Thoth.Json.Core.0.2.1/Encode.fs.js";
16
- import { decoder as decoder_1, encoder } from "./Publication.js";
17
- import { decoder as decoder_2, encoder as encoder_1 } from "./Person.js";
18
- import { OntologyAnnotation_decoder, OntologyAnnotation_encoder } from "./Ontology.js";
19
- import { Protocol_decoder, Protocol_encoder } from "./Protocol.js";
20
- import { Process_decoder, Process_encoder } from "./Process.js";
21
- import { Assay_decoder, Assay_encoder } from "./Assay.js";
22
- import { Factor_decoder, Factor_encoder } from "./Factor.js";
23
- import { decoder as decoder_3, encoder as encoder_2 } from "./Comment.js";
24
- import { context_jsonvalue } from "./context/rocrate/isa_study_context.js";
25
- import { Study } from "../ISA/JsonTypes/Study.js";
26
- import { fromString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js";
27
- import { toString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js";
28
-
29
- export function StudyMaterials_encoder(options, oa) {
30
- return new Json(5, [choose((tupledArg) => {
31
- const v = tupledArg[1];
32
- if (equals(v, new Json(3, []))) {
33
- return void 0;
34
- }
35
- else {
36
- return [tupledArg[0], v];
37
- }
38
- }, ofArray([tryIncludeList("sources", (oa_1) => Source_encoder(options, oa_1), oa.Sources), tryIncludeList("samples", (oa_2) => Sample_encoder(options, oa_2), oa.Samples), tryIncludeList("otherMaterials", (oa_3) => Material_encoder(options, oa_3), oa.OtherMaterials)]))]);
39
- }
40
-
41
- export const StudyMaterials_allowedFields = ofArray(["sources", "samples", "otherMaterials"]);
42
-
43
- export function StudyMaterials_decoder(options) {
44
- return object(StudyMaterials_allowedFields, (get$) => {
45
- let arg_1, objectArg, arg_3, objectArg_1, arg_5, objectArg_2;
46
- return new StudyMaterials((arg_1 = list_1(Source_decoder(options)), (objectArg = get$.Optional, objectArg.Field("sources", arg_1))), (arg_3 = list_1(Sample_decoder(options)), (objectArg_1 = get$.Optional, objectArg_1.Field("samples", arg_3))), (arg_5 = list_1(Material_decoder(options)), (objectArg_2 = get$.Optional, objectArg_2.Field("otherMaterials", arg_5))));
47
- });
48
- }
49
-
50
- export function Study_genID(s) {
51
- const matchValue = s.ID;
52
- if (matchValue == null) {
53
- const matchValue_1 = s.FileName;
54
- if (matchValue_1 == null) {
55
- const matchValue_2 = s.Identifier;
56
- if (matchValue_2 == null) {
57
- const matchValue_3 = s.Title;
58
- if (matchValue_3 == null) {
59
- return "#EmptyStudy";
60
- }
61
- else {
62
- return "#Study_" + replace(matchValue_3, " ", "_");
63
- }
64
- }
65
- else {
66
- return "#Study_" + replace(matchValue_2, " ", "_");
67
- }
68
- }
69
- else {
70
- const n = matchValue_1;
71
- return remove(replace(n, " ", "_"), 0, 1 + max(n.lastIndexOf("/"), n.lastIndexOf("\\")));
72
- }
73
- }
74
- else {
75
- return URIModule_toString(matchValue);
76
- }
77
- }
78
-
79
- export function Study_encoder(options, oa) {
80
- return new Json(5, [choose((tupledArg) => {
81
- const v = tupledArg[1];
82
- if (equals(v, new Json(3, []))) {
83
- return void 0;
84
- }
85
- else {
86
- return [tupledArg[0], v];
87
- }
88
- }, toList(delay(() => append(ConverterOptions__get_SetID(options) ? singleton(["@id", new Json(0, [Study_genID(oa)])]) : singleton(tryInclude("@id", (value_1) => (new Json(0, [value_1])), oa.ID)), delay(() => append(ConverterOptions__get_IncludeType(options) ? singleton(["@type", list_2(ofArray([new Json(0, ["Study"]), new Json(0, ["ArcStudy"])]))]) : empty(), delay(() => append(singleton(tryInclude("filename", (value_5) => (new Json(0, [value_5])), oa.FileName)), delay(() => append(singleton(tryInclude("identifier", (value_7) => (new Json(0, [value_7])), oa.Identifier)), delay(() => append(singleton(tryInclude("title", (value_9) => (new Json(0, [value_9])), oa.Title)), delay(() => append(singleton(tryInclude("description", (value_11) => (new Json(0, [value_11])), oa.Description)), delay(() => append(singleton(tryInclude("submissionDate", (value_13) => (new Json(0, [value_13])), oa.SubmissionDate)), delay(() => append(singleton(tryInclude("publicReleaseDate", (value_15) => (new Json(0, [value_15])), oa.PublicReleaseDate)), delay(() => append(singleton(tryIncludeList("publications", (oa_1) => encoder(options, oa_1), oa.Publications)), delay(() => append(singleton(tryIncludeList("people", (oa_2) => encoder_1(options, oa_2), oa.Contacts)), delay(() => append(singleton(tryIncludeList("studyDesignDescriptors", (oa_3) => OntologyAnnotation_encoder(options, oa_3), oa.StudyDesignDescriptors)), delay(() => append(!ConverterOptions__get_IsRoCrate(options) ? singleton(tryIncludeList("protocols", (oa_4) => Protocol_encoder(options, void 0, void 0, void 0, oa_4), oa.Protocols)) : empty(), delay(() => {
89
- let matchValue, m;
90
- return append(ConverterOptions__get_IsRoCrate(options) ? ((matchValue = oa.Materials, (matchValue == null) ? (empty()) : ((m = matchValue, append(singleton(tryIncludeList("samples", (oa_5) => Sample_encoder(options, oa_5), m.Samples)), delay(() => append(singleton(tryIncludeList("sources", (oa_6) => Source_encoder(options, oa_6), m.Sources)), delay(() => singleton(tryIncludeList("materials", (oa_7) => Material_encoder(options, oa_7), m.OtherMaterials)))))))))) : empty(), delay(() => append(!ConverterOptions__get_IsRoCrate(options) ? singleton(tryInclude("materials", (oa_8) => StudyMaterials_encoder(options, oa_8), oa.Materials)) : empty(), delay(() => append(singleton(tryIncludeList("processSequence", (oa_9) => Process_encoder(options, oa.Identifier, void 0, oa_9), oa.ProcessSequence)), delay(() => append(singleton(tryIncludeList("assays", (oa_10) => Assay_encoder(options, oa.Identifier, oa_10), oa.Assays)), delay(() => append(singleton(tryIncludeList("factors", (oa_11) => Factor_encoder(options, oa_11), oa.Factors)), delay(() => append(singleton(tryIncludeList("characteristicCategories", (oa_12) => MaterialAttribute_encoder(options, oa_12), oa.CharacteristicCategories)), delay(() => append(singleton(tryIncludeList("unitCategories", (oa_13) => OntologyAnnotation_encoder(options, oa_13), oa.UnitCategories)), delay(() => append(singleton(tryIncludeList("comments", (comment) => encoder_2(options, comment), oa.Comments)), delay(() => (ConverterOptions__get_IncludeContext(options) ? singleton(["@context", context_jsonvalue]) : empty())))))))))))))))));
91
- })))))))))))))))))))))))))))]);
92
- }
93
-
94
- export const Study_allowedFields = ofArray(["@id", "filename", "identifier", "title", "description", "submissionDate", "publicReleaseDate", "publications", "people", "studyDesignDescriptors", "protocols", "materials", "assays", "factors", "characteristicCategories", "unitCategories", "processSequence", "comments", "@type", "@context"]);
95
-
96
- export function Study_decoder(options) {
97
- return object(Study_allowedFields, (get$) => {
98
- let arg_33, objectArg_16, arg_35, objectArg_17;
99
- let ID;
100
- const objectArg = get$.Optional;
101
- ID = objectArg.Field("@id", uri);
102
- let FileName;
103
- const objectArg_1 = get$.Optional;
104
- FileName = objectArg_1.Field("filename", string);
105
- let Identifier;
106
- const objectArg_2 = get$.Optional;
107
- Identifier = objectArg_2.Field("identifier", string);
108
- let Title;
109
- const objectArg_3 = get$.Optional;
110
- Title = objectArg_3.Field("title", string);
111
- let Description;
112
- const objectArg_4 = get$.Optional;
113
- Description = objectArg_4.Field("description", string);
114
- let SubmissionDate;
115
- const objectArg_5 = get$.Optional;
116
- SubmissionDate = objectArg_5.Field("submissionDate", string);
117
- let PublicReleaseDate;
118
- const objectArg_6 = get$.Optional;
119
- PublicReleaseDate = objectArg_6.Field("publicReleaseDate", string);
120
- let Publications;
121
- const arg_15 = list_1(decoder_1(options));
122
- const objectArg_7 = get$.Optional;
123
- Publications = objectArg_7.Field("publications", arg_15);
124
- let Contacts;
125
- const arg_17 = list_1(decoder_2(options));
126
- const objectArg_8 = get$.Optional;
127
- Contacts = objectArg_8.Field("people", arg_17);
128
- let StudyDesignDescriptors;
129
- const arg_19 = list_1(OntologyAnnotation_decoder(options));
130
- const objectArg_9 = get$.Optional;
131
- StudyDesignDescriptors = objectArg_9.Field("studyDesignDescriptors", arg_19);
132
- let Protocols;
133
- const arg_21 = list_1(Protocol_decoder(options));
134
- const objectArg_10 = get$.Optional;
135
- Protocols = objectArg_10.Field("protocols", arg_21);
136
- let Materials;
137
- const arg_23 = StudyMaterials_decoder(options);
138
- const objectArg_11 = get$.Optional;
139
- Materials = objectArg_11.Field("materials", arg_23);
140
- let Assays;
141
- const arg_25 = list_1(Assay_decoder(options));
142
- const objectArg_12 = get$.Optional;
143
- Assays = objectArg_12.Field("assays", arg_25);
144
- let Factors;
145
- const arg_27 = list_1(Factor_decoder(options));
146
- const objectArg_13 = get$.Optional;
147
- Factors = objectArg_13.Field("factors", arg_27);
148
- let CharacteristicCategories;
149
- const arg_29 = list_1(MaterialAttribute_decoder(options));
150
- const objectArg_14 = get$.Optional;
151
- CharacteristicCategories = objectArg_14.Field("characteristicCategories", arg_29);
152
- let UnitCategories;
153
- const arg_31 = list_1(OntologyAnnotation_decoder(options));
154
- const objectArg_15 = get$.Optional;
155
- UnitCategories = objectArg_15.Field("unitCategories", arg_31);
156
- return new Study(ID, FileName, Identifier, Title, Description, SubmissionDate, PublicReleaseDate, Publications, Contacts, StudyDesignDescriptors, Protocols, Materials, (arg_33 = list_1(Process_decoder(options)), (objectArg_16 = get$.Optional, objectArg_16.Field("processSequence", arg_33))), Assays, Factors, CharacteristicCategories, UnitCategories, (arg_35 = list_1(decoder_3(options)), (objectArg_17 = get$.Optional, objectArg_17.Field("comments", arg_35))));
157
- });
158
- }
159
-
160
- export function Study_fromJsonString(s) {
161
- const matchValue = fromString(Study_decoder(ConverterOptions_$ctor()), s);
162
- if (matchValue.tag === 1) {
163
- throw new Error(toText(printf("Error decoding string: %O"))(matchValue.fields[0]));
164
- }
165
- else {
166
- return matchValue.fields[0];
167
- }
168
- }
169
-
170
- export function Study_toJsonString(p) {
171
- return toString(2, Study_encoder(ConverterOptions_$ctor(), p));
172
- }
173
-
174
- /**
175
- * exports in json-ld format
176
- */
177
- export function Study_toJsonldString(s) {
178
- let returnVal;
179
- return toString(2, Study_encoder((returnVal = ConverterOptions_$ctor(), ((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), returnVal)), s));
180
- }
181
-
182
- export function Study_toJsonldStringWithContext(a) {
183
- let returnVal;
184
- return toString(2, Study_encoder((returnVal = ConverterOptions_$ctor(), (((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), ConverterOptions__set_IncludeContext_Z1FBCCD16(returnVal, true)), returnVal)), a));
185
- }
186
-
@@ -1,34 +0,0 @@
1
- import { Record } from "../../../../fable_modules/fable-library-js.4.13.0/Types.js";
2
- import { record_type, string_type } from "../../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
3
- import { Json } from "../../../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
4
-
5
- export class IContext extends Record {
6
- constructor(sdo, arc, Assay, ArcAssay, measurementType, technologyType, technologyPlatform, dataFiles, materials, otherMaterials, samples, characteristicCategories, processSequences, unitCategories, comments, filename) {
7
- super();
8
- this.sdo = sdo;
9
- this.arc = arc;
10
- this.Assay = Assay;
11
- this.ArcAssay = ArcAssay;
12
- this.measurementType = measurementType;
13
- this.technologyType = technologyType;
14
- this.technologyPlatform = technologyPlatform;
15
- this.dataFiles = dataFiles;
16
- this.materials = materials;
17
- this.otherMaterials = otherMaterials;
18
- this.samples = samples;
19
- this.characteristicCategories = characteristicCategories;
20
- this.processSequences = processSequences;
21
- this.unitCategories = unitCategories;
22
- this.comments = comments;
23
- this.filename = filename;
24
- }
25
- }
26
-
27
- export function IContext_$reflection() {
28
- return record_type("ARCtrl.ISA.Json.ROCrateContext.Assay.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["Assay", string_type], ["ArcAssay", string_type], ["measurementType", string_type], ["technologyType", string_type], ["technologyPlatform", string_type], ["dataFiles", string_type], ["materials", string_type], ["otherMaterials", string_type], ["samples", string_type], ["characteristicCategories", string_type], ["processSequences", string_type], ["unitCategories", string_type], ["comments", string_type], ["filename", string_type]]);
29
- }
30
-
31
- export const context_jsonvalue = new Json(5, [[["sdo", new Json(0, ["http://schema.org/"])], ["arc", new Json(0, ["http://purl.org/nfdi4plants/ontology/"])], ["Assay", new Json(0, ["sdo:Dataset"])], ["ArcAssay", new Json(0, ["arc:ARC#ARC_00000042"])], ["measurementType", new Json(0, ["sdo:variableMeasured"])], ["technologyType", new Json(0, ["sdo:measurementTechnique"])], ["technologyPlatform", new Json(0, ["sdo:instrument"])], ["dataFiles", new Json(0, ["sdo:hasPart"])], ["materials", new Json(0, ["arc:ARC#ARC_00000074"])], ["otherMaterials", new Json(0, ["arc:ARC#ARC_00000074"])], ["samples", new Json(0, ["arc:ARC#ARC_00000074"])], ["characteristicCategories", new Json(0, ["arc:ARC#ARC_00000049"])], ["processSequences", new Json(0, ["arc:ARC#ARC_00000047"])], ["unitCategories", new Json(0, ["arc:ARC#ARC_00000051"])], ["comments", new Json(0, ["sdo:disambiguatingDescription"])], ["filename", new Json(0, ["sdo:url"])]]]);
32
-
33
- export const context_str = "\r\n{\r\n \"@context\": {\r\n \"sdo\": \"https://schema.org/\",\r\n \"arc\": \"http://purl.org/nfdi4plants/ontology/\",\r\n\r\n \"Assay\": \"sdo:Dataset\",\r\n \"ArcAssay\": \"arc:ARC#ARC_00000042\",\r\n\r\n \"measurementType\": \"sdo:variableMeasured\",\r\n \"technologyType\": \"sdo:measurementTechnique\",\r\n \"technologyPlatform\": \"sdo:instrument\",\r\n \"dataFiles\": \"sdo:hasPart\",\r\n\r\n \"materials\": \"arc:ARC#ARC_00000074\",\r\n \"otherMaterials\": \"arc:ARC#ARC_00000074\",\r\n \"samples\": \"arc:ARC#ARC_00000074\",\r\n \"characteristicCategories\": \"arc:ARC#ARC_00000049\",\r\n \"processSequences\": \"arc:ARC#ARC_00000047\",\r\n \"unitCategories\": \"arc:ARC#ARC_00000051\",\r\n\r\n \"comments\": \"sdo:disambiguatingDescription\",\r\n \"filename\": \"sdo:url\"\r\n }\r\n}\r\n ";
34
-
@@ -1,23 +0,0 @@
1
- import { Record } from "../../../../fable_modules/fable-library-js.4.13.0/Types.js";
2
- import { record_type, string_type } from "../../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
3
- import { Json } from "../../../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
4
-
5
- export class IContext extends Record {
6
- constructor(sdo, arc, Comment$, name, value) {
7
- super();
8
- this.sdo = sdo;
9
- this.arc = arc;
10
- this.Comment = Comment$;
11
- this.name = name;
12
- this.value = value;
13
- }
14
- }
15
-
16
- export function IContext_$reflection() {
17
- return record_type("ARCtrl.ISA.Json.ROCrateContext.Comment.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["Comment", string_type], ["name", string_type], ["value", string_type]]);
18
- }
19
-
20
- export const context_jsonvalue = new Json(5, [[["sdo", new Json(0, ["http://schema.org/"])], ["arc", new Json(0, ["http://purl.org/nfdi4plants/ontology/"])], ["Comment", new Json(0, ["sdo:Comment"])], ["name", new Json(0, ["sdo:name"])], ["value", new Json(0, ["sdo:value"])]]]);
21
-
22
- export const context_str = "\r\n{\r\n \"@context\": {\r\n \"sdo\": \"http://schema.org/\",\r\n \"arc\": \"http://purl.org/nfdi4plants/ontology/\",\r\n \r\n \"Comment\": \"sdo:Comment\",\r\n \"name\": \"sdo:name\",\r\n \"value\": \"sdo:value\"\r\n }\r\n}\r\n ";
23
-
@@ -1,24 +0,0 @@
1
- import { Record } from "../../../../fable_modules/fable-library-js.4.13.0/Types.js";
2
- import { record_type, string_type } from "../../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
3
- import { Json } from "../../../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
4
-
5
- export class IContext extends Record {
6
- constructor(sdo, arc, Component, ArcComponent, componentName, componentType) {
7
- super();
8
- this.sdo = sdo;
9
- this.arc = arc;
10
- this.Component = Component;
11
- this.ArcComponent = ArcComponent;
12
- this.componentName = componentName;
13
- this.componentType = componentType;
14
- }
15
- }
16
-
17
- export function IContext_$reflection() {
18
- return record_type("ARCtrl.ISA.Json.ROCrateContext.Component.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["Component", string_type], ["ArcComponent", string_type], ["componentName", string_type], ["componentType", string_type]]);
19
- }
20
-
21
- export const context_jsonvalue = new Json(5, [[["sdo", new Json(0, ["http://schema.org/"])], ["arc", new Json(0, ["http://purl.org/nfdi4plants/ontology/"])], ["Component", new Json(0, ["sdo:Thing"])], ["ArcComponent", new Json(0, ["arc:ARC#ARC_00000065"])], ["componentName", new Json(0, ["arc:ARC#ARC_00000019"])], ["componentType", new Json(0, ["arc:ARC#ARC_00000102"])]]]);
22
-
23
- export const context_str = "\r\n{\r\n \"@context\": {\r\n \"sdo\": \"http://schema.org/\",\r\n \"arc\": \"http://purl.org/nfdi4plants/ontology/\",\r\n \r\n \"Component\": \"sdo:Thing\",\r\n \"ArcComponent\": \"arc:ARC#ARC_00000065\",\r\n\r\n \"componentName\": \"arc:ARC#ARC_00000019\",\r\n \"componentType\": \"arc:ARC#ARC_00000102\"\r\n }\r\n}\r\n ";
24
-
@@ -1,25 +0,0 @@
1
- import { Record } from "../../../../fable_modules/fable-library-js.4.13.0/Types.js";
2
- import { record_type, string_type } from "../../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
3
- import { Json } from "../../../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
4
-
5
- export class IContext extends Record {
6
- constructor(sdo, arc, Data, ArcData, type, name, comments) {
7
- super();
8
- this.sdo = sdo;
9
- this.arc = arc;
10
- this.Data = Data;
11
- this.ArcData = ArcData;
12
- this.type = type;
13
- this.name = name;
14
- this.comments = comments;
15
- }
16
- }
17
-
18
- export function IContext_$reflection() {
19
- return record_type("ARCtrl.ISA.Json.ROCrateContext.Data.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["Data", string_type], ["ArcData", string_type], ["type", string_type], ["name", string_type], ["comments", string_type]]);
20
- }
21
-
22
- export const context_jsonvalue = new Json(5, [[["sdo", new Json(0, ["http://schema.org/"])], ["arc", new Json(0, ["http://purl.org/nfdi4plants/ontology/"])], ["Data", new Json(0, ["sdo:MediaObject"])], ["ArcData", new Json(0, ["arc:ARC#ARC_00000076"])], ["type", new Json(0, ["arc:ARC#ARC_00000107"])], ["name", new Json(0, ["sdo:name"])], ["comments", new Json(0, ["sdo:disambiguatingDescription"])]]]);
23
-
24
- export const context_str = "\r\n{\r\n \"@context\": {\r\n \"sdo\": \"http://schema.org/\",\r\n \"arc\": \"http://purl.org/nfdi4plants/ontology/\",\r\n\r\n \"Data\": \"sdo:MediaObject\",\r\n \"ArcData\": \"arc:ARC#ARC_00000076\",\r\n\r\n \"type\": \"arc:ARC#ARC_00000107\",\r\n\r\n \"name\": \"sdo:name\",\r\n \"comments\": \"sdo:disambiguatingDescription\"\r\n }\r\n}\r\n ";
25
-
@@ -1,25 +0,0 @@
1
- import { Record } from "../../../../fable_modules/fable-library-js.4.13.0/Types.js";
2
- import { record_type, string_type } from "../../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
3
- import { Json } from "../../../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
4
-
5
- export class IContext extends Record {
6
- constructor(sdo, arc, Factor, ArcFactor, factorName, factorType, comments) {
7
- super();
8
- this.sdo = sdo;
9
- this.arc = arc;
10
- this.Factor = Factor;
11
- this.ArcFactor = ArcFactor;
12
- this.factorName = factorName;
13
- this.factorType = factorType;
14
- this.comments = comments;
15
- }
16
- }
17
-
18
- export function IContext_$reflection() {
19
- return record_type("ARCtrl.ISA.Json.ROCrateContext.Factor.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["Factor", string_type], ["ArcFactor", string_type], ["factorName", string_type], ["factorType", string_type], ["comments", string_type]]);
20
- }
21
-
22
- export const context_jsonvalue = new Json(5, [[["sdo", new Json(0, ["http://schema.org/"])], ["arc", new Json(0, ["http://purl.org/nfdi4plants/ontology/"])], ["Factor", new Json(0, ["sdo:Thing"])], ["ArcFactor", new Json(0, ["arc:ARC#ARC_00000044"])], ["factorName", new Json(0, ["arc:ARC#ARC_00000019"])], ["factorType", new Json(0, ["arc:ARC#ARC_00000078"])], ["comments", new Json(0, ["sdo:disambiguatingDescription"])]]]);
23
-
24
- export const context_str = "\r\n{\r\n \"@context\": {\r\n \"sdo\": \"http://schema.org/\",\r\n \"arc\": \"http://purl.org/nfdi4plants/ontology/\",\r\n\r\n \"Factor\": \"sdo:Thing\",\r\n \"ArcFactor\": \"arc:ARC#ARC_00000044\",\r\n\r\n \"factorName\": \"arc:ARC#ARC_00000019\",\r\n \"factorType\": \"arc:ARC#ARC_00000078\",\r\n\r\n \"comments\": \"sdo:disambiguatingDescription\"\r\n }\r\n}\r\n ";
25
-
@@ -1,25 +0,0 @@
1
- import { Record } from "../../../../fable_modules/fable-library-js.4.13.0/Types.js";
2
- import { record_type, string_type } from "../../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
3
- import { Json } from "../../../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
4
-
5
- export class IContext extends Record {
6
- constructor(sdo, arc, FactorValue, ArcFactorValue, category, value, unit) {
7
- super();
8
- this.sdo = sdo;
9
- this.arc = arc;
10
- this.FactorValue = FactorValue;
11
- this.ArcFactorValue = ArcFactorValue;
12
- this.category = category;
13
- this.value = value;
14
- this.unit = unit;
15
- }
16
- }
17
-
18
- export function IContext_$reflection() {
19
- return record_type("ARCtrl.ISA.Json.ROCrateContext.FactorValue.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["FactorValue", string_type], ["ArcFactorValue", string_type], ["category", string_type], ["value", string_type], ["unit", string_type]]);
20
- }
21
-
22
- export const context_jsonvalue = new Json(5, [[["sdo", new Json(0, ["http://schema.org/"])], ["arc", new Json(0, ["http://purl.org/nfdi4plants/ontology/"])], ["FactorValue", new Json(0, ["sdo:PropertyValue"])], ["ArcFactorValue", new Json(0, ["arc:ARC#ARC_00000084"])], ["category", new Json(0, ["arc:category"])], ["value", new Json(0, ["arc:ARC#ARC_00000044"])], ["unit", new Json(0, ["arc:ARC#ARC_00000106"])]]]);
23
-
24
- export const context_str = "\r\n{\r\n \"@context\": {\r\n \"sdo\": \"http://schema.org/\",\r\n \"arc\": \"http://purl.org/nfdi4plants/ontology/\",\r\n\r\n \"FactorValue\": \"sdo:PropertyValue\",\r\n \"ArcFactorValue\": \"arc:ARC#ARC_00000084\",\r\n\r\n \"category\": \"arc:category\",\r\n \"value\": \"arc:ARC#ARC_00000044\",\r\n \"unit\": \"arc:ARC#ARC_00000106\"\r\n }\r\n}\r\n ";
25
-
@@ -1,25 +0,0 @@
1
- import { Record } from "../../../../fable_modules/fable-library-js.4.13.0/Types.js";
2
- import { record_type, string_type } from "../../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
3
- import { Json } from "../../../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
4
-
5
- export class IContext extends Record {
6
- constructor(sdo, arc, MaterialAttributeValue, ArcMaterialAttributeValue, category, value, unit) {
7
- super();
8
- this.sdo = sdo;
9
- this.arc = arc;
10
- this.MaterialAttributeValue = MaterialAttributeValue;
11
- this.ArcMaterialAttributeValue = ArcMaterialAttributeValue;
12
- this.category = category;
13
- this.value = value;
14
- this.unit = unit;
15
- }
16
- }
17
-
18
- export function IContext_$reflection() {
19
- return record_type("ARCtrl.ISA.Json.ROCrateContext.MaterialAttributeValue.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["MaterialAttributeValue", string_type], ["ArcMaterialAttributeValue", string_type], ["category", string_type], ["value", string_type], ["unit", string_type]]);
20
- }
21
-
22
- export const context_jsonvalue = new Json(5, [[["sdo", new Json(0, ["http://schema.org/"])], ["arc", new Json(0, ["http://purl.org/nfdi4plants/ontology/"])], ["MaterialAttributeValue", new Json(0, ["sdo:PropertyValue"])], ["ArcMaterialAttributeValue", new Json(0, ["arc:ARC#ARC_00000079"])], ["category", new Json(0, ["arc:ARC#ARC_00000049"])], ["value", new Json(0, ["arc:ARC#ARC_00000036"])], ["unit", new Json(0, ["arc:ARC#ARC_00000106"])]]]);
23
-
24
- export const context_str = "\r\n{\r\n \"@context\": {\r\n \"sdo\": \"http://schema.org/\",\r\n \"arc\": \"http://purl.org/nfdi4plants/ontology/\",\r\n\r\n \"MaterialAttributeValue\": \"sdo:PropertyValue\",\r\n \"ArcMaterialAttributeValue\": \"arc:ARC#ARC_00000079\",\r\n\r\n \"category\": \"arc:ARC#ARC_00000049\",\r\n \"value\": \"arc:ARC#ARC_00000036\",\r\n \"unit\": \"arc:ARC#ARC_00000106\"\r\n }\r\n}\r\n ";
25
-
@@ -1,26 +0,0 @@
1
- import { Record } from "../../../../fable_modules/fable-library-js.4.13.0/Types.js";
2
- import { record_type, string_type } from "../../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
3
- import { Json } from "../../../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
4
-
5
- export class IContext extends Record {
6
- constructor(sdo, arc, Material, ArcMaterial, type, name, characteristics, derivesFrom) {
7
- super();
8
- this.sdo = sdo;
9
- this.arc = arc;
10
- this.Material = Material;
11
- this.ArcMaterial = ArcMaterial;
12
- this.type = type;
13
- this.name = name;
14
- this.characteristics = characteristics;
15
- this.derivesFrom = derivesFrom;
16
- }
17
- }
18
-
19
- export function IContext_$reflection() {
20
- return record_type("ARCtrl.ISA.Json.ROCrateContext.Material.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["Material", string_type], ["ArcMaterial", string_type], ["type", string_type], ["name", string_type], ["characteristics", string_type], ["derivesFrom", string_type]]);
21
- }
22
-
23
- export const context_jsonvalue = new Json(5, [[["sdo", new Json(0, ["http://schema.org/"])], ["arc", new Json(0, ["http://purl.org/nfdi4plants/ontology/"])], ["ArcMaterial", new Json(0, ["arc:ARC#ARC_00000108"])], ["Material", new Json(0, ["sdo:Thing"])], ["type", new Json(0, ["arc:ARC#ARC_00000085"])], ["name", new Json(0, ["arc:ARC#ARC_00000019"])], ["characteristics", new Json(0, ["arc:ARC#ARC_00000080"])], ["derivesFrom", new Json(0, ["arc:ARC#ARC_00000082"])]]]);
24
-
25
- export const context_str = "\r\n{\r\n \"@context\": {\r\n \"sdo\": \"http://schema.org/\",\r\n \"arc\": \"http://purl.org/nfdi4plants/ontology/\",\r\n\r\n \"ArcMaterial\": \"arc:ARC#ARC_00000108\",\r\n \"Material\": \"sdo:Thing\",\r\n\r\n \"type\": \"arc:ARC#ARC_00000085\",\r\n \"name\": \"arc:ARC#ARC_00000019\",\r\n \"characteristics\": \"arc:ARC#ARC_00000080\",\r\n \"derivesFrom\": \"arc:ARC#ARC_00000082\"\r\n }\r\n}\r\n ";
26
-
@@ -1,25 +0,0 @@
1
- import { Record } from "../../../../fable_modules/fable-library-js.4.13.0/Types.js";
2
- import { record_type, string_type } from "../../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
3
- import { Json } from "../../../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
4
-
5
- export class IContext extends Record {
6
- constructor(sdo, arc, OntologyAnnotation, annotationValue, termSource, termAccession, comments) {
7
- super();
8
- this.sdo = sdo;
9
- this.arc = arc;
10
- this.OntologyAnnotation = OntologyAnnotation;
11
- this.annotationValue = annotationValue;
12
- this.termSource = termSource;
13
- this.termAccession = termAccession;
14
- this.comments = comments;
15
- }
16
- }
17
-
18
- export function IContext_$reflection() {
19
- return record_type("ARCtrl.ISA.Json.ROCrateContext.OntologyAnnotation.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["OntologyAnnotation", string_type], ["annotationValue", string_type], ["termSource", string_type], ["termAccession", string_type], ["comments", string_type]]);
20
- }
21
-
22
- export const context_jsonvalue = new Json(5, [[["sdo", new Json(0, ["http://schema.org/"])], ["arc", new Json(0, ["http://purl.org/nfdi4plants/ontology/"])], ["OntologyAnnotation", new Json(0, ["sdo:DefinedTerm"])], ["annotationValue", new Json(0, ["sdo:name"])], ["termSource", new Json(0, ["sdo:inDefinedTermSet"])], ["termAccession", new Json(0, ["sdo:termCode"])], ["comments", new Json(0, ["sdo:disambiguatingDescription"])]]]);
23
-
24
- export const context_str = "\r\n{\r\n \"@context\": {\r\n \"sdo\": \"http://schema.org/\",\r\n \"arc\": \"http://purl.org/nfdi4plants/ontology/\",\r\n\r\n \"OntologyAnnotation\": \"sdo:DefinedTerm\",\r\n \r\n \"annotationValue\": \"sdo:name\",\r\n \"termSource\": \"sdo:inDefinedTermSet\",\r\n \"termAccession\": \"sdo:termCode\",\r\n \"comments\": \"sdo:disambiguatingDescription\"\r\n }\r\n}\r\n ";
25
-
@@ -1,26 +0,0 @@
1
- import { Record } from "../../../../fable_modules/fable-library-js.4.13.0/Types.js";
2
- import { record_type, string_type } from "../../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
3
- import { Json } from "../../../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
4
-
5
- export class IContext extends Record {
6
- constructor(sdo, arc, OntologySourceReference, description, name, file, version, comments) {
7
- super();
8
- this.sdo = sdo;
9
- this.arc = arc;
10
- this.OntologySourceReference = OntologySourceReference;
11
- this.description = description;
12
- this.name = name;
13
- this.file = file;
14
- this.version = version;
15
- this.comments = comments;
16
- }
17
- }
18
-
19
- export function IContext_$reflection() {
20
- return record_type("ARCtrl.ISA.Json.ROCrateContext.OntologySourceReference.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["OntologySourceReference", string_type], ["description", string_type], ["name", string_type], ["file", string_type], ["version", string_type], ["comments", string_type]]);
21
- }
22
-
23
- export const context_jsonvalue = new Json(5, [[["sdo", new Json(0, ["http://schema.org/"])], ["arc", new Json(0, ["http://purl.org/nfdi4plants/ontology/"])], ["OntologySourceReference", new Json(0, ["sdo:DefinedTermSet"])], ["description", new Json(0, ["sdo:description"])], ["name", new Json(0, ["sdo:name"])], ["file", new Json(0, ["sdo:url"])], ["version", new Json(0, ["sdo:version"])], ["comments", new Json(0, ["sdo:disambiguatingDescription"])]]]);
24
-
25
- export const context_str = "\r\n{\r\n \"@context\": {\r\n \"sdo\": \"http://schema.org/\",\r\n \"arc\": \"http://purl.org/nfdi4plants/ontology/\",\r\n\r\n \"OntologySourceReference\": \"sdo:DefinedTermSet\",\r\n \r\n \"description\": \"sdo:description\",\r\n \"name\": \"sdo:name\",\r\n \"file\": \"sdo:url\",\r\n \"version\": \"sdo:version\",\r\n \"comments\": \"sdo:disambiguatingDescription\"\r\n }\r\n}\r\n ";
26
-
@@ -1,22 +0,0 @@
1
- import { Record } from "../../../../fable_modules/fable-library-js.4.13.0/Types.js";
2
- import { record_type, string_type } from "../../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
3
- import { Json } from "../../../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
4
-
5
- export class IContext extends Record {
6
- constructor(sdo, arc, Organization, name) {
7
- super();
8
- this.sdo = sdo;
9
- this.arc = arc;
10
- this.Organization = Organization;
11
- this.name = name;
12
- }
13
- }
14
-
15
- export function IContext_$reflection() {
16
- return record_type("ARCtrl.ISA.Json.ROCrateContext.Organization.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["Organization", string_type], ["name", string_type]]);
17
- }
18
-
19
- export const context_jsonvalue = new Json(5, [[["sdo", new Json(0, ["http://schema.org/"])], ["arc", new Json(0, ["http://purl.org/nfdi4plants/ontology/"])], ["Organization", new Json(0, ["sdo:Organization"])], ["name", new Json(0, ["sdo:name"])]]]);
20
-
21
- export const context_str = "\r\n{\r\n \"@context\": {\r\n \"sdo\": \"http://schema.org/\",\r\n \"arc\": \"http://purl.org/nfdi4plants/ontology/\",\r\n\r\n \"Organization\": \"sdo:Organization\",\r\n \r\n \"name\": \"sdo:name\"\r\n }\r\n}\r\n ";
22
-