@nfdi4plants/arctrl 1.0.7 → 1.2.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.
- package/ARC.js +47 -11
- package/Contract/Contract.js +3 -3
- package/Contracts/Contracts.ArcTypes.js +30 -18
- package/Contracts/Contracts.Git.js +4 -4
- package/FileSystem/Commit.js +2 -2
- package/FileSystem/FileSystem.js +4 -4
- package/FileSystem/FileSystemTree.js +8 -8
- package/FileSystem/Path.js +2 -2
- package/FileSystemTree.js +1 -1
- package/ISA/ISA/ArcTypes/ArcTable.js +23 -31
- package/ISA/ISA/ArcTypes/ArcTableAux.js +27 -16
- package/ISA/ISA/ArcTypes/ArcTables.js +11 -11
- package/ISA/ISA/ArcTypes/ArcTypes.js +118 -83
- package/ISA/ISA/ArcTypes/CompositeCell.js +4 -4
- package/ISA/ISA/ArcTypes/CompositeColumn.js +8 -7
- package/ISA/ISA/ArcTypes/CompositeHeader.js +5 -5
- package/ISA/ISA/ArcTypes/CompositeRow.js +1 -1
- package/ISA/ISA/Builder/Types.js +5 -5
- package/ISA/ISA/Fable.js +6 -6
- package/ISA/ISA/Helper.js +15 -13
- package/ISA/ISA/Identifier.js +1 -1
- package/ISA/ISA/JsonTypes/Assay.js +8 -8
- package/ISA/ISA/JsonTypes/AssayMaterials.js +4 -4
- package/ISA/ISA/JsonTypes/ColumnIndex.js +5 -5
- package/ISA/ISA/JsonTypes/Comment.js +3 -3
- package/ISA/ISA/JsonTypes/CommentList.js +4 -4
- package/ISA/ISA/JsonTypes/Component.js +4 -4
- package/ISA/ISA/JsonTypes/Data.js +4 -4
- package/ISA/ISA/JsonTypes/DataFile.js +2 -2
- package/ISA/ISA/JsonTypes/Factor.js +6 -6
- package/ISA/ISA/JsonTypes/FactorValue.js +5 -5
- package/ISA/ISA/JsonTypes/Investigation.js +6 -6
- package/ISA/ISA/JsonTypes/Material.js +5 -5
- package/ISA/ISA/JsonTypes/MaterialAttribute.js +3 -3
- package/ISA/ISA/JsonTypes/MaterialAttributeValue.js +5 -5
- package/ISA/ISA/JsonTypes/MaterialType.js +2 -2
- package/ISA/ISA/JsonTypes/OntologyAnnotation.js +6 -6
- package/ISA/ISA/JsonTypes/OntologySourceReference.js +6 -6
- package/ISA/ISA/JsonTypes/Person.js +23 -8
- package/ISA/ISA/JsonTypes/Process.js +13 -13
- package/ISA/ISA/JsonTypes/ProcessInput.js +5 -5
- package/ISA/ISA/JsonTypes/ProcessOutput.js +5 -5
- package/ISA/ISA/JsonTypes/ProcessParameterValue.js +5 -5
- package/ISA/ISA/JsonTypes/ProcessSequence.js +6 -6
- package/ISA/ISA/JsonTypes/Protocol.js +6 -6
- package/ISA/ISA/JsonTypes/ProtocolParameter.js +3 -3
- package/ISA/ISA/JsonTypes/Publication.js +6 -6
- package/ISA/ISA/JsonTypes/Sample.js +5 -5
- package/ISA/ISA/JsonTypes/Source.js +5 -5
- package/ISA/ISA/JsonTypes/Study.js +8 -8
- package/ISA/ISA/JsonTypes/StudyMaterials.js +4 -4
- package/ISA/ISA/JsonTypes/Value.js +22 -29
- package/ISA/ISA/Regex.js +3 -3
- package/ISA/ISA.Json/ArcTypes/ArcAssay.js +157 -65
- package/ISA/ISA.Json/ArcTypes/ArcInvestigation.js +78 -49
- package/ISA/ISA.Json/ArcTypes/ArcStudy.js +136 -24
- package/ISA/ISA.Json/ArcTypes/ArcTable.js +183 -21
- package/ISA/ISA.Json/ArcTypes/CellTable.js +40 -0
- package/ISA/ISA.Json/ArcTypes/CompositeCell.js +34 -23
- package/ISA/ISA.Json/ArcTypes/CompositeHeader.js +18 -46
- package/ISA/ISA.Json/ArcTypes/IOType.js +11 -13
- package/ISA/ISA.Json/ArcTypes/OATable.js +42 -0
- package/ISA/ISA.Json/Assay.js +71 -47
- package/ISA/ISA.Json/Comment.js +31 -35
- package/ISA/ISA.Json/ConverterOptions.js +19 -1
- package/ISA/ISA.Json/Data.js +119 -137
- package/ISA/ISA.Json/Decode.js +51 -36
- package/ISA/ISA.Json/Factor.js +90 -90
- package/ISA/ISA.Json/GEncode.js +31 -6
- package/ISA/ISA.Json/Investigation.js +54 -79
- package/ISA/ISA.Json/Material.js +103 -104
- package/ISA/ISA.Json/Ontology.js +99 -92
- package/ISA/ISA.Json/Person.js +47 -65
- package/ISA/ISA.Json/Process.js +144 -130
- package/ISA/ISA.Json/Protocol.js +144 -105
- package/ISA/ISA.Json/Publication.js +34 -40
- package/ISA/ISA.Json/StringTable.js +44 -0
- package/ISA/ISA.Json/Study.js +70 -96
- package/ISA/ISA.Json/context/rocrate/isa_assay_context.js +34 -0
- package/ISA/ISA.Json/context/rocrate/isa_comment_context.js +23 -0
- package/ISA/ISA.Json/context/rocrate/isa_component_context.js +24 -0
- package/ISA/ISA.Json/context/rocrate/isa_data_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_factor_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_factor_value_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_investigation_context.js +33 -0
- package/ISA/ISA.Json/context/rocrate/isa_material_attribute_context.js +23 -0
- package/ISA/ISA.Json/context/rocrate/isa_material_attribute_value_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_material_context.js +26 -0
- package/ISA/ISA.Json/context/rocrate/isa_ontology_annotation_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_ontology_source_reference_context.js +26 -0
- package/ISA/ISA.Json/context/rocrate/isa_organization_context.js +22 -0
- package/ISA/ISA.Json/context/rocrate/isa_person_context.js +31 -0
- package/ISA/ISA.Json/context/rocrate/isa_process_context.js +31 -0
- package/ISA/ISA.Json/context/rocrate/isa_process_parameter_value_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_protocol_context.js +30 -0
- package/ISA/ISA.Json/context/rocrate/isa_protocol_parameter_context.js +23 -0
- package/ISA/ISA.Json/context/rocrate/isa_publication_context.js +27 -0
- package/ISA/ISA.Json/context/rocrate/isa_sample_context.js +26 -0
- package/ISA/ISA.Json/context/rocrate/isa_source_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_study_context.js +42 -0
- package/ISA/ISA.Json/context/rocrate/rocrate_context.js +25 -0
- package/ISA/ISA.Spreadsheet/AnnotationTable/ArcTable.js +56 -43
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeCell.js +3 -3
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeColumn.js +11 -11
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeHeader.js +5 -5
- package/ISA/ISA.Spreadsheet/ArcAssay.js +100 -88
- package/ISA/ISA.Spreadsheet/ArcInvestigation.js +12 -12
- package/ISA/ISA.Spreadsheet/ArcStudy.js +36 -24
- package/ISA/ISA.Spreadsheet/CollectionAux.js +8 -8
- package/ISA/ISA.Spreadsheet/Metadata/Assays.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/Comment.js +31 -20
- package/ISA/ISA.Spreadsheet/Metadata/Contacts.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/Conversions.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/DesignDescriptors.js +1 -1
- package/ISA/ISA.Spreadsheet/Metadata/Factors.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/OntologySourceReference.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/Protocols.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/Publication.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/SparseTable.js +28 -23
- package/ISA/ISA.Spreadsheet/Metadata/Study.js +8 -8
- package/README.md +20 -3
- package/SemVer.js +6 -6
- package/Templates/Template.Json.js +43 -36
- package/Templates/Template.Spreadsheet.js +12 -12
- package/Templates/Template.Web.js +4 -4
- package/Templates/Template.js +7 -7
- package/Templates/Templates.js +7 -7
- package/WebRequest/WebRequest.Node.js +15 -0
- package/WebRequest/WebRequest.js +10 -29
- package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +7 -7
- package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +3 -3
- package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +8 -8
- package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Cells/FsCell.fs.js +14 -14
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Cells/FsCellsCollection.fs.js +6 -6
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/CellBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/ColumnBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/DSL.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Expression.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/RowBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/SheetBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/TableBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Transform.fs.js +6 -6
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Types.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/WorkbookBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsAddress.fs +22 -8
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsAddress.fs.js +24 -14
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsColumn.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsRow.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsWorkbook.fs.js +6 -6
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsWorksheet.fs +12 -6
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsWorksheet.fs.js +21 -17
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRange.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeAddress.fs.js +4 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeBase.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeColumn.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeRow.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/SheetBuilder.fs.js +8 -8
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTable.fs.js +7 -7
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTableField.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTableRow.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +3 -3
- package/fable_modules/Thoth.Json.Core.0.2.1/Decode.fs +1390 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Decode.fs.js +1230 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs +233 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs.js +113 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Thoth.Json.Core.fableproj +28 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Types.fs +76 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js +33 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
- package/fable_modules/{Thoth.Json.10.1.0/obj/Release/netstandard2.0/Thoth.Json.AssemblyInfo.fs → Thoth.Json.Core.0.2.1/obj/Debug/netstandard2.0/Thoth.Json.Core.AssemblyInfo.fs} +8 -7
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs +79 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js +85 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs +32 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js +45 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Thoth.Json.JavaScript.fableproj +21 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +18 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Release/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +19 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Array.d.ts +4 -1
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Array.js +124 -86
- package/fable_modules/fable-library-js.4.13.0/CHANGELOG.md +29 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Choice.d.ts +0 -17
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Choice.js +0 -43
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Date.js +3 -2
- package/fable_modules/fable-library-js.4.13.0/FSharp.Core.CompilerServices.d.ts +12 -0
- package/fable_modules/fable-library-js.4.13.0/FSharp.Core.CompilerServices.js +27 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/List.js +3 -3
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Map.js +3 -3
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableMap.js +2 -1
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableSet.js +2 -1
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Random.js +7 -7
- package/fable_modules/fable-library-js.4.13.0/Result.d.ts +37 -0
- package/fable_modules/fable-library-js.4.13.0/Result.js +165 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Set.js +2 -2
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/String.d.ts +1 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/String.js +8 -5
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Collections.Generic.d.ts +15 -7
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Collections.Generic.js +46 -36
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Text.d.ts +9 -1
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Text.js +60 -8
- package/fable_modules/fable-library-js.4.13.0/big.d.ts +338 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/package.json +4 -3
- package/fable_modules/project_cracked.json +1 -1
- package/package.json +1 -1
- package/ISA/ISA.Json/Validation/Fable.js +0 -69
- package/ISA/ISA.Json/Validation/JsonSchemaValidation.js +0 -88
- package/ISA/ISA.Json/Validation/ValidationResult.js +0 -45
- package/fable_modules/Thoth.Json.10.1.0/Decode.fs +0 -1366
- package/fable_modules/Thoth.Json.10.1.0/Decode.fs.js +0 -1798
- package/fable_modules/Thoth.Json.10.1.0/Encode.fs +0 -621
- package/fable_modules/Thoth.Json.10.1.0/Encode.fs.js +0 -472
- package/fable_modules/Thoth.Json.10.1.0/Extra.fs +0 -31
- package/fable_modules/Thoth.Json.10.1.0/Extra.fs.js +0 -8
- package/fable_modules/Thoth.Json.10.1.0/Thoth.Json.fableproj +0 -30
- package/fable_modules/Thoth.Json.10.1.0/Types.fs +0 -59
- package/fable_modules/Thoth.Json.10.1.0/Types.fs.js +0 -98
- package/fable_modules/Thoth.Json.10.1.0/package.json +0 -5
- package/fable_modules/fable-library.4.5.0/CHANGELOG.md +0 -11
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Cells/FsCell.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Cells/FsCellsCollection.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/CellBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/ColumnBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/DSL.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Expression.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Operators.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Operators.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/RowBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/TableBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Transform.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Types.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/WorkbookBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsSpreadsheet.fableproj +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsWorkbook.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRange.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeBase.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTable.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTableField.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTableRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Async.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Async.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/AsyncBuilder.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/AsyncBuilder.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BigInt.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BigInt.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BitConverter.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BitConverter.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Boolean.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Boolean.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Char.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Char.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Date.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOffset.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOffset.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOnly.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOnly.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Decimal.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Decimal.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Double.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Double.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Encoding.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Encoding.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Event.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Event.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Collections.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Collections.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Core.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Core.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Global.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Global.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Guid.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Guid.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Int32.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Int32.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/List.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Long.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Long.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MailboxProcessor.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MailboxProcessor.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Map.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MapUtil.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MapUtil.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableMap.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableSet.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Native.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Native.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Numeric.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Numeric.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Observable.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Observable.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Option.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Option.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/README.md +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Random.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Range.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Range.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Reflection.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Reflection.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/RegExp.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/RegExp.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq2.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq2.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Set.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/SystemException.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/SystemException.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeOnly.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeOnly.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeSpan.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeSpan.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Timer.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Timer.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Types.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Types.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Unicode.13.0.0.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Unicode.13.0.0.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Uri.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Uri.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Util.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Util.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/lib/big.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/lib/big.js +0 -0
package/ISA/ISA.Json/Study.js
CHANGED
|
@@ -1,43 +1,50 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { tryInclude } from "./GEncode.js";
|
|
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
5
|
import { Sample_decoder, Source_decoder, Sample_encoder, Source_encoder } from "./Data.js";
|
|
6
6
|
import { MaterialAttribute_decoder, MaterialAttribute_encoder, Material_decoder, Material_encoder } from "./Material.js";
|
|
7
|
-
import {
|
|
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";
|
|
8
9
|
import { StudyMaterials } from "../ISA/JsonTypes/StudyMaterials.js";
|
|
9
|
-
import { replace } from "../../fable_modules/fable-library.4.
|
|
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";
|
|
10
12
|
import { URIModule_toString } from "../ISA/JsonTypes/URI.js";
|
|
11
|
-
import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library.4.
|
|
12
|
-
import { ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions_$ctor, ConverterOptions__get_IncludeType, ConverterOptions__get_SetID } from "./ConverterOptions.js";
|
|
13
|
-
import {
|
|
14
|
-
import { decoder as
|
|
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";
|
|
15
18
|
import { OntologyAnnotation_decoder, OntologyAnnotation_encoder } from "./Ontology.js";
|
|
16
19
|
import { Protocol_decoder, Protocol_encoder } from "./Protocol.js";
|
|
17
20
|
import { Process_decoder, Process_encoder } from "./Process.js";
|
|
18
21
|
import { Assay_decoder, Assay_encoder } from "./Assay.js";
|
|
19
22
|
import { Factor_decoder, Factor_encoder } from "./Factor.js";
|
|
20
|
-
import { decoder as
|
|
21
|
-
import {
|
|
23
|
+
import { decoder as decoder_3, encoder as encoder_2 } from "./Comment.js";
|
|
24
|
+
import { context_jsonvalue } from "./context/rocrate/isa_study_context.js";
|
|
22
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";
|
|
23
28
|
|
|
24
29
|
export function StudyMaterials_encoder(options, oa) {
|
|
25
|
-
return
|
|
30
|
+
return new Json(5, [choose((tupledArg) => {
|
|
26
31
|
const v = tupledArg[1];
|
|
27
|
-
if (equals(v,
|
|
32
|
+
if (equals(v, new Json(3, []))) {
|
|
28
33
|
return void 0;
|
|
29
34
|
}
|
|
30
35
|
else {
|
|
31
36
|
return [tupledArg[0], v];
|
|
32
37
|
}
|
|
33
|
-
}, ofArray([
|
|
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)]))]);
|
|
34
39
|
}
|
|
35
40
|
|
|
41
|
+
export const StudyMaterials_allowedFields = ofArray(["sources", "samples", "otherMaterials"]);
|
|
42
|
+
|
|
36
43
|
export function StudyMaterials_decoder(options) {
|
|
37
|
-
return (
|
|
38
|
-
let objectArg, objectArg_1, objectArg_2;
|
|
39
|
-
return new StudyMaterials((objectArg = get$.Optional, objectArg.Field("sources",
|
|
40
|
-
}
|
|
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
|
+
});
|
|
41
48
|
}
|
|
42
49
|
|
|
43
50
|
export function Study_genID(s) {
|
|
@@ -60,7 +67,8 @@ export function Study_genID(s) {
|
|
|
60
67
|
}
|
|
61
68
|
}
|
|
62
69
|
else {
|
|
63
|
-
|
|
70
|
+
const n = matchValue_1;
|
|
71
|
+
return remove(replace(n, " ", "_"), 0, 1 + max(n.lastIndexOf("/"), n.lastIndexOf("\\")));
|
|
64
72
|
}
|
|
65
73
|
}
|
|
66
74
|
else {
|
|
@@ -69,54 +77,25 @@ export function Study_genID(s) {
|
|
|
69
77
|
}
|
|
70
78
|
|
|
71
79
|
export function Study_encoder(options, oa) {
|
|
72
|
-
return
|
|
80
|
+
return new Json(5, [choose((tupledArg) => {
|
|
73
81
|
const v = tupledArg[1];
|
|
74
|
-
if (equals(v,
|
|
82
|
+
if (equals(v, new Json(3, []))) {
|
|
75
83
|
return void 0;
|
|
76
84
|
}
|
|
77
85
|
else {
|
|
78
86
|
return [tupledArg[0], v];
|
|
79
87
|
}
|
|
80
|
-
}, toList(delay(() => {
|
|
81
|
-
let
|
|
82
|
-
return append(
|
|
83
|
-
|
|
84
|
-
const value_3 = value_2;
|
|
85
|
-
return (typeof value_3 === "string") ? ((s_2 = value_3, s_2)) : nil;
|
|
86
|
-
}, oa["ID"])), delay(() => {
|
|
87
|
-
let value_5, s_3;
|
|
88
|
-
return append(ConverterOptions__get_IncludeType(options) ? singleton(["@type", (value_5 = "Study", (typeof value_5 === "string") ? ((s_3 = value_5, s_3)) : nil)]) : empty(), delay(() => append(singleton(tryInclude("filename", (value_7) => {
|
|
89
|
-
let s_4;
|
|
90
|
-
const value_8 = value_7;
|
|
91
|
-
return (typeof value_8 === "string") ? ((s_4 = value_8, s_4)) : nil;
|
|
92
|
-
}, oa["FileName"])), delay(() => append(singleton(tryInclude("identifier", (value_10) => {
|
|
93
|
-
let s_5;
|
|
94
|
-
const value_11 = value_10;
|
|
95
|
-
return (typeof value_11 === "string") ? ((s_5 = value_11, s_5)) : nil;
|
|
96
|
-
}, oa["Identifier"])), delay(() => append(singleton(tryInclude("title", (value_13) => {
|
|
97
|
-
let s_6;
|
|
98
|
-
const value_14 = value_13;
|
|
99
|
-
return (typeof value_14 === "string") ? ((s_6 = value_14, s_6)) : nil;
|
|
100
|
-
}, oa["Title"])), delay(() => append(singleton(tryInclude("description", (value_16) => {
|
|
101
|
-
let s_7;
|
|
102
|
-
const value_17 = value_16;
|
|
103
|
-
return (typeof value_17 === "string") ? ((s_7 = value_17, s_7)) : nil;
|
|
104
|
-
}, oa["Description"])), delay(() => append(singleton(tryInclude("submissionDate", (value_19) => {
|
|
105
|
-
let s_8;
|
|
106
|
-
const value_20 = value_19;
|
|
107
|
-
return (typeof value_20 === "string") ? ((s_8 = value_20, s_8)) : nil;
|
|
108
|
-
}, oa["SubmissionDate"])), delay(() => append(singleton(tryInclude("publicReleaseDate", (value_22) => {
|
|
109
|
-
let s_9;
|
|
110
|
-
const value_23 = value_22;
|
|
111
|
-
return (typeof value_23 === "string") ? ((s_9 = value_23, s_9)) : nil;
|
|
112
|
-
}, oa["PublicReleaseDate"])), delay(() => append(singleton(tryInclude("publications", (oa_1) => encoder(options, oa_1), oa["Publications"])), delay(() => append(singleton(tryInclude("people", (oa_2) => encoder_1(options, oa_2), oa["Contacts"])), delay(() => append(singleton(tryInclude("studyDesignDescriptors", (oa_3) => OntologyAnnotation_encoder(options, oa_3), oa["StudyDesignDescriptors"])), delay(() => append(singleton(tryInclude("protocols", (oa_4) => Protocol_encoder(options, oa_4), oa["Protocols"])), delay(() => append(singleton(tryInclude("materials", (oa_5) => StudyMaterials_encoder(options, oa_5), oa["Materials"])), delay(() => append(singleton(tryInclude("processSequence", (oa_6) => Process_encoder(options, oa_6), oa["ProcessSequence"])), delay(() => append(singleton(tryInclude("assays", (oa_7) => Assay_encoder(options, oa_7), oa["Assays"])), delay(() => append(singleton(tryInclude("factors", (oa_8) => Factor_encoder(options, oa_8), oa["Factors"])), delay(() => append(singleton(tryInclude("characteristicCategories", (oa_9) => MaterialAttribute_encoder(options, oa_9), oa["CharacteristicCategories"])), delay(() => append(singleton(tryInclude("unitCategories", (oa_10) => OntologyAnnotation_encoder(options, oa_10), oa["UnitCategories"])), delay(() => singleton(tryInclude("comments", (comment) => encoder_2(options, comment), oa["Comments"]))))))))))))))))))))))))))))))))))));
|
|
113
|
-
}));
|
|
114
|
-
}))));
|
|
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
|
+
})))))))))))))))))))))))))))]);
|
|
115
92
|
}
|
|
116
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
|
+
|
|
117
96
|
export function Study_decoder(options) {
|
|
118
|
-
return (
|
|
119
|
-
let arg_33,
|
|
97
|
+
return object(Study_allowedFields, (get$) => {
|
|
98
|
+
let arg_33, objectArg_16, arg_35, objectArg_17;
|
|
120
99
|
let ID;
|
|
121
100
|
const objectArg = get$.Optional;
|
|
122
101
|
ID = objectArg.Field("@id", uri);
|
|
@@ -139,63 +118,53 @@ export function Study_decoder(options) {
|
|
|
139
118
|
const objectArg_6 = get$.Optional;
|
|
140
119
|
PublicReleaseDate = objectArg_6.Field("publicReleaseDate", string);
|
|
141
120
|
let Publications;
|
|
142
|
-
|
|
143
|
-
const decoder = decoder_10(options);
|
|
144
|
-
arg_15 = ((path_6) => ((value_6) => list_1(uncurry2(decoder), path_6, value_6)));
|
|
121
|
+
const arg_15 = list_1(decoder_1(options));
|
|
145
122
|
const objectArg_7 = get$.Optional;
|
|
146
|
-
Publications = objectArg_7.Field("publications",
|
|
123
|
+
Publications = objectArg_7.Field("publications", arg_15);
|
|
147
124
|
let Contacts;
|
|
148
|
-
|
|
149
|
-
const decoder_1 = decoder_11(options);
|
|
150
|
-
arg_17 = ((path_7) => ((value_7) => list_1(uncurry2(decoder_1), path_7, value_7)));
|
|
125
|
+
const arg_17 = list_1(decoder_2(options));
|
|
151
126
|
const objectArg_8 = get$.Optional;
|
|
152
|
-
Contacts = objectArg_8.Field("people",
|
|
127
|
+
Contacts = objectArg_8.Field("people", arg_17);
|
|
153
128
|
let StudyDesignDescriptors;
|
|
154
|
-
|
|
155
|
-
const decoder_2 = OntologyAnnotation_decoder(options);
|
|
156
|
-
arg_19 = ((path_8) => ((value_8) => list_1(uncurry2(decoder_2), path_8, value_8)));
|
|
129
|
+
const arg_19 = list_1(OntologyAnnotation_decoder(options));
|
|
157
130
|
const objectArg_9 = get$.Optional;
|
|
158
|
-
StudyDesignDescriptors = objectArg_9.Field("studyDesignDescriptors",
|
|
131
|
+
StudyDesignDescriptors = objectArg_9.Field("studyDesignDescriptors", arg_19);
|
|
159
132
|
let Protocols;
|
|
160
|
-
|
|
161
|
-
const decoder_3 = Protocol_decoder(options);
|
|
162
|
-
arg_21 = ((path_9) => ((value_9) => list_1(uncurry2(decoder_3), path_9, value_9)));
|
|
133
|
+
const arg_21 = list_1(Protocol_decoder(options));
|
|
163
134
|
const objectArg_10 = get$.Optional;
|
|
164
|
-
Protocols = objectArg_10.Field("protocols",
|
|
135
|
+
Protocols = objectArg_10.Field("protocols", arg_21);
|
|
165
136
|
let Materials;
|
|
166
137
|
const arg_23 = StudyMaterials_decoder(options);
|
|
167
138
|
const objectArg_11 = get$.Optional;
|
|
168
|
-
Materials = objectArg_11.Field("materials",
|
|
139
|
+
Materials = objectArg_11.Field("materials", arg_23);
|
|
169
140
|
let Assays;
|
|
170
|
-
|
|
171
|
-
const decoder_4 = Assay_decoder(options);
|
|
172
|
-
arg_25 = ((path_10) => ((value_10) => list_1(uncurry2(decoder_4), path_10, value_10)));
|
|
141
|
+
const arg_25 = list_1(Assay_decoder(options));
|
|
173
142
|
const objectArg_12 = get$.Optional;
|
|
174
|
-
Assays = objectArg_12.Field("assays",
|
|
143
|
+
Assays = objectArg_12.Field("assays", arg_25);
|
|
175
144
|
let Factors;
|
|
176
|
-
|
|
177
|
-
const decoder_5 = Factor_decoder(options);
|
|
178
|
-
arg_27 = ((path_11) => ((value_11) => list_1(uncurry2(decoder_5), path_11, value_11)));
|
|
145
|
+
const arg_27 = list_1(Factor_decoder(options));
|
|
179
146
|
const objectArg_13 = get$.Optional;
|
|
180
|
-
Factors = objectArg_13.Field("factors",
|
|
147
|
+
Factors = objectArg_13.Field("factors", arg_27);
|
|
181
148
|
let CharacteristicCategories;
|
|
182
|
-
|
|
183
|
-
const decoder_6 = MaterialAttribute_decoder(options);
|
|
184
|
-
arg_29 = ((path_12) => ((value_12) => list_1(uncurry2(decoder_6), path_12, value_12)));
|
|
149
|
+
const arg_29 = list_1(MaterialAttribute_decoder(options));
|
|
185
150
|
const objectArg_14 = get$.Optional;
|
|
186
|
-
CharacteristicCategories = objectArg_14.Field("characteristicCategories",
|
|
151
|
+
CharacteristicCategories = objectArg_14.Field("characteristicCategories", arg_29);
|
|
187
152
|
let UnitCategories;
|
|
188
|
-
|
|
189
|
-
const decoder_7 = OntologyAnnotation_decoder(options);
|
|
190
|
-
arg_31 = ((path_13) => ((value_13) => list_1(uncurry2(decoder_7), path_13, value_13)));
|
|
153
|
+
const arg_31 = list_1(OntologyAnnotation_decoder(options));
|
|
191
154
|
const objectArg_15 = get$.Optional;
|
|
192
|
-
UnitCategories = objectArg_15.Field("unitCategories",
|
|
193
|
-
return new Study(ID, FileName, Identifier, Title, Description, SubmissionDate, PublicReleaseDate, Publications, Contacts, StudyDesignDescriptors, Protocols, Materials, (arg_33 = (
|
|
194
|
-
}
|
|
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
|
+
});
|
|
195
158
|
}
|
|
196
159
|
|
|
197
160
|
export function Study_fromJsonString(s) {
|
|
198
|
-
|
|
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
|
+
}
|
|
199
168
|
}
|
|
200
169
|
|
|
201
170
|
export function Study_toJsonString(p) {
|
|
@@ -205,8 +174,13 @@ export function Study_toJsonString(p) {
|
|
|
205
174
|
/**
|
|
206
175
|
* exports in json-ld format
|
|
207
176
|
*/
|
|
208
|
-
export function
|
|
177
|
+
export function Study_toJsonldString(s) {
|
|
209
178
|
let returnVal;
|
|
210
179
|
return toString(2, Study_encoder((returnVal = ConverterOptions_$ctor(), ((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), returnVal)), s));
|
|
211
180
|
}
|
|
212
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
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
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, Investigation, identifier, title, description, submissionDate, publicReleaseDate, publications, people, studies, ontologySourceReferences, comments, publications$003F, filename) {
|
|
7
|
+
super();
|
|
8
|
+
this.sdo = sdo;
|
|
9
|
+
this.arc = arc;
|
|
10
|
+
this.Investigation = Investigation;
|
|
11
|
+
this.identifier = identifier;
|
|
12
|
+
this.title = title;
|
|
13
|
+
this.description = description;
|
|
14
|
+
this.submissionDate = submissionDate;
|
|
15
|
+
this.publicReleaseDate = publicReleaseDate;
|
|
16
|
+
this.publications = publications;
|
|
17
|
+
this.people = people;
|
|
18
|
+
this.studies = studies;
|
|
19
|
+
this.ontologySourceReferences = ontologySourceReferences;
|
|
20
|
+
this.comments = comments;
|
|
21
|
+
this["publications?"] = publications$003F;
|
|
22
|
+
this.filename = filename;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export function IContext_$reflection() {
|
|
27
|
+
return record_type("ARCtrl.ISA.Json.ROCrateContext.Investigation.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["Investigation", string_type], ["identifier", string_type], ["title", string_type], ["description", string_type], ["submissionDate", string_type], ["publicReleaseDate", string_type], ["publications", string_type], ["people", string_type], ["studies", string_type], ["ontologySourceReferences", string_type], ["comments", string_type], ["publications?", string_type], ["filename", string_type]]);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export const context_jsonvalue = new Json(5, [[["sdo", new Json(0, ["http://schema.org/"])], ["arc", new Json(0, ["http://purl.org/nfdi4plants/ontology/"])], ["Investigation", new Json(0, ["sdo:Dataset"])], ["identifier", new Json(0, ["sdo:identifier"])], ["title", new Json(0, ["sdo:headline"])], ["description", new Json(0, ["sdo:description"])], ["submissionDate", new Json(0, ["sdo:dateCreated"])], ["publicReleaseDate", new Json(0, ["sdo:datePublished"])], ["publications", new Json(0, ["sdo:citation"])], ["people", new Json(0, ["sdo:creator"])], ["studies", new Json(0, ["sdo:hasPart"])], ["ontologySourceReferences", new Json(0, ["sdo:mentions"])], ["comments", new Json(0, ["sdo:disambiguatingDescription"])], ["publications?", new Json(0, ["sdo:subjectOf?"])], ["filename", new Json(0, ["sdo:alternateName"])]]]);
|
|
31
|
+
|
|
32
|
+
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 \"Investigation\": \"sdo:Dataset\",\r\n\r\n \"identifier\" : \"sdo:identifier\",\r\n \"title\": \"sdo:headline\",\r\n \"description\": \"sdo:description\",\r\n \"submissionDate\": \"sdo:dateCreated\",\r\n \"publicReleaseDate\": \"sdo:datePublished\",\r\n \"publications\": \"sdo:citation\",\r\n \"people\": \"sdo:creator\",\r\n \"studies\": \"sdo:hasPart\",\r\n \"ontologySourceReferences\": \"sdo:mentions\",\r\n \"comments\": \"sdo:disambiguatingDescription\",\r\n\r\n \"publications?\": \"sdo:subjectOf?\",\r\n \"filename\": \"sdo:alternateName\"\r\n }\r\n}\r\n ";
|
|
33
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
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, MaterialAttribute, ArcMaterialAttribute, characteristicType) {
|
|
7
|
+
super();
|
|
8
|
+
this.sdo = sdo;
|
|
9
|
+
this.arc = arc;
|
|
10
|
+
this.MaterialAttribute = MaterialAttribute;
|
|
11
|
+
this.ArcMaterialAttribute = ArcMaterialAttribute;
|
|
12
|
+
this.characteristicType = characteristicType;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export function IContext_$reflection() {
|
|
17
|
+
return record_type("ARCtrl.ISA.Json.ROCrateContext.MaterialAttribute.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["MaterialAttribute", string_type], ["ArcMaterialAttribute", string_type], ["characteristicType", 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/"])], ["MaterialAttribute", new Json(0, ["sdo:Property"])], ["ArcMaterialAttribute", new Json(0, ["arc:ARC#ARC_00000050"])], ["characteristicType", new Json(0, ["arc:ARC#ARC_00000098"])]]]);
|
|
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 \"MaterialAttribute\": \"sdo:Property\",\r\n \"ArcMaterialAttribute\": \"arc:ARC#ARC_00000050\",\r\n\r\n \"characteristicType\": \"arc:ARC#ARC_00000098\"\r\n }\r\n}\r\n ";
|
|
23
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
|