tooluniverse 1.0.11.1__py3-none-any.whl → 1.0.12__py3-none-any.whl
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.
Potentially problematic release.
This version of tooluniverse might be problematic. Click here for more details.
- tooluniverse/alphafold_tool.py +47 -7
- tooluniverse/base_tool.py +9 -1
- tooluniverse/build_optimizer.py +115 -22
- tooluniverse/data/alphafold_tools.json +7 -12
- tooluniverse/data/encode_tools.json +139 -0
- tooluniverse/data/gbif_tools.json +152 -0
- tooluniverse/data/gdc_tools.json +116 -0
- tooluniverse/data/gtex_tools.json +116 -0
- tooluniverse/data/icgc_tools.json +0 -0
- tooluniverse/data/mgnify_tools.json +121 -0
- tooluniverse/data/obis_tools.json +122 -0
- tooluniverse/data/optimizer_tools.json +275 -0
- tooluniverse/data/rnacentral_tools.json +99 -0
- tooluniverse/data/smolagent_tools.json +206 -0
- tooluniverse/data/uniprot_tools.json +13 -5
- tooluniverse/data/wikipathways_tools.json +106 -0
- tooluniverse/default_config.py +12 -0
- tooluniverse/encode_tool.py +245 -0
- tooluniverse/execute_function.py +185 -17
- tooluniverse/gbif_tool.py +166 -0
- tooluniverse/gdc_tool.py +175 -0
- tooluniverse/generate_tools.py +121 -9
- tooluniverse/gtex_tool.py +168 -0
- tooluniverse/mgnify_tool.py +181 -0
- tooluniverse/obis_tool.py +185 -0
- tooluniverse/pypi_package_inspector_tool.py +3 -2
- tooluniverse/python_executor_tool.py +43 -13
- tooluniverse/rnacentral_tool.py +124 -0
- tooluniverse/smcp.py +17 -25
- tooluniverse/smcp_server.py +1 -1
- tooluniverse/smolagent_tool.py +555 -0
- tooluniverse/tools/ArgumentDescriptionOptimizer.py +55 -0
- tooluniverse/tools/ENCODE_list_files.py +59 -0
- tooluniverse/tools/ENCODE_search_experiments.py +67 -0
- tooluniverse/tools/GBIF_search_occurrences.py +67 -0
- tooluniverse/tools/GBIF_search_species.py +55 -0
- tooluniverse/tools/GDC_list_files.py +55 -0
- tooluniverse/tools/GDC_search_cases.py +55 -0
- tooluniverse/tools/GTEx_get_expression_summary.py +49 -0
- tooluniverse/tools/GTEx_query_eqtl.py +59 -0
- tooluniverse/tools/MGnify_list_analyses.py +52 -0
- tooluniverse/tools/MGnify_search_studies.py +55 -0
- tooluniverse/tools/OBIS_search_occurrences.py +59 -0
- tooluniverse/tools/OBIS_search_taxa.py +52 -0
- tooluniverse/tools/RNAcentral_get_by_accession.py +46 -0
- tooluniverse/tools/RNAcentral_search.py +52 -0
- tooluniverse/tools/TestCaseGenerator.py +46 -0
- tooluniverse/tools/ToolDescriptionOptimizer.py +67 -0
- tooluniverse/tools/ToolDiscover.py +4 -0
- tooluniverse/tools/UniProt_search.py +14 -6
- tooluniverse/tools/WikiPathways_get_pathway.py +52 -0
- tooluniverse/tools/WikiPathways_search.py +52 -0
- tooluniverse/tools/__init__.py +43 -1
- tooluniverse/tools/advanced_literature_search_agent.py +46 -0
- tooluniverse/tools/alphafold_get_annotations.py +4 -10
- tooluniverse/tools/download_binary_file.py +3 -6
- tooluniverse/tools/open_deep_research_agent.py +46 -0
- tooluniverse/uniprot_tool.py +51 -4
- tooluniverse/wikipathways_tool.py +122 -0
- {tooluniverse-1.0.11.1.dist-info → tooluniverse-1.0.12.dist-info}/METADATA +3 -1
- {tooluniverse-1.0.11.1.dist-info → tooluniverse-1.0.12.dist-info}/RECORD +65 -24
- {tooluniverse-1.0.11.1.dist-info → tooluniverse-1.0.12.dist-info}/WHEEL +0 -0
- {tooluniverse-1.0.11.1.dist-info → tooluniverse-1.0.12.dist-info}/entry_points.txt +0 -0
- {tooluniverse-1.0.11.1.dist-info → tooluniverse-1.0.12.dist-info}/licenses/LICENSE +0 -0
- {tooluniverse-1.0.11.1.dist-info → tooluniverse-1.0.12.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "GDC_search_cases",
|
|
4
|
+
"type": "GDCCasesTool",
|
|
5
|
+
"description": "Search cancer cohort cases in NCI GDC by project and filters. Use to retrieve case-level metadata for cohort construction and downstream file queries.",
|
|
6
|
+
"parameter": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"project_id": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "GDC project identifier (e.g., 'TCGA-BRCA')."
|
|
12
|
+
},
|
|
13
|
+
"size": {
|
|
14
|
+
"type": "integer",
|
|
15
|
+
"default": 10,
|
|
16
|
+
"minimum": 1,
|
|
17
|
+
"maximum": 100,
|
|
18
|
+
"description": "Number of results (1–100)."
|
|
19
|
+
},
|
|
20
|
+
"offset": {
|
|
21
|
+
"type": "integer",
|
|
22
|
+
"default": 0,
|
|
23
|
+
"minimum": 0,
|
|
24
|
+
"description": "Offset for pagination (0-based)."
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"fields": {
|
|
29
|
+
"endpoint": "https://api.gdc.cancer.gov/cases",
|
|
30
|
+
"format": "json"
|
|
31
|
+
},
|
|
32
|
+
"return_schema": {
|
|
33
|
+
"type": "object",
|
|
34
|
+
"description": "GDC cases response",
|
|
35
|
+
"properties": {
|
|
36
|
+
"status": {"type": "string"},
|
|
37
|
+
"data": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"properties": {
|
|
40
|
+
"hits": {
|
|
41
|
+
"type": "array",
|
|
42
|
+
"items": {"type": "object"}
|
|
43
|
+
},
|
|
44
|
+
"pagination": {"type": "object"}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"url": {"type": "string"}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"test_examples": [
|
|
51
|
+
{"project_id": "TCGA-BRCA", "size": 1}
|
|
52
|
+
],
|
|
53
|
+
"label": ["GDC", "Cases", "Oncogenomics"],
|
|
54
|
+
"metadata": {
|
|
55
|
+
"tags": ["oncogenomics", "cohort", "cases"],
|
|
56
|
+
"estimated_execution_time": "< 3 seconds"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "GDC_list_files",
|
|
61
|
+
"type": "GDCFilesTool",
|
|
62
|
+
"description": "List GDC files filtered by data_type and other fields. Use to identify downloadable artifacts (e.g., expression quantification) for analysis pipelines.",
|
|
63
|
+
"parameter": {
|
|
64
|
+
"type": "object",
|
|
65
|
+
"properties": {
|
|
66
|
+
"data_type": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"description": "Data type filter (e.g., 'Gene Expression Quantification')."
|
|
69
|
+
},
|
|
70
|
+
"size": {
|
|
71
|
+
"type": "integer",
|
|
72
|
+
"default": 10,
|
|
73
|
+
"minimum": 1,
|
|
74
|
+
"maximum": 100,
|
|
75
|
+
"description": "Number of results (1–100)."
|
|
76
|
+
},
|
|
77
|
+
"offset": {
|
|
78
|
+
"type": "integer",
|
|
79
|
+
"default": 0,
|
|
80
|
+
"minimum": 0,
|
|
81
|
+
"description": "Offset for pagination (0-based)."
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"fields": {
|
|
86
|
+
"endpoint": "https://api.gdc.cancer.gov/files",
|
|
87
|
+
"format": "json"
|
|
88
|
+
},
|
|
89
|
+
"return_schema": {
|
|
90
|
+
"type": "object",
|
|
91
|
+
"description": "GDC files response",
|
|
92
|
+
"properties": {
|
|
93
|
+
"status": {"type": "string"},
|
|
94
|
+
"data": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"properties": {
|
|
97
|
+
"hits": {
|
|
98
|
+
"type": "array",
|
|
99
|
+
"items": {"type": "object"}
|
|
100
|
+
},
|
|
101
|
+
"pagination": {"type": "object"}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"url": {"type": "string"}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"test_examples": [
|
|
108
|
+
{"data_type": "Gene Expression Quantification", "size": 1}
|
|
109
|
+
],
|
|
110
|
+
"label": ["GDC", "Files", "Oncogenomics"],
|
|
111
|
+
"metadata": {
|
|
112
|
+
"tags": ["downloads", "files", "expression"],
|
|
113
|
+
"estimated_execution_time": "< 3 seconds"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
]
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "GTEx_get_expression_summary",
|
|
4
|
+
"type": "GTExExpressionTool",
|
|
5
|
+
"description": "Summarize tissue-specific expression (e.g., median TPM) for a gene across GTEx tissues. Use to profile baseline expression patterns for targets/biomarkers.",
|
|
6
|
+
"parameter": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"ensembl_gene_id": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "Ensembl gene identifier (e.g., 'ENSG00000141510' for TP53)."
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"required": ["ensembl_gene_id"]
|
|
15
|
+
},
|
|
16
|
+
"fields": {
|
|
17
|
+
"endpoint": "https://gtexportal.org/api/v2/expression/geneExpression",
|
|
18
|
+
"format": "json"
|
|
19
|
+
},
|
|
20
|
+
"return_schema": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"description": "GTEx expression summary response",
|
|
23
|
+
"properties": {
|
|
24
|
+
"status": {"type": "string"},
|
|
25
|
+
"data": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"properties": {
|
|
28
|
+
"geneExpression": {
|
|
29
|
+
"type": "array",
|
|
30
|
+
"items": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"properties": {
|
|
33
|
+
"tissueSiteDetailId": {"type": "string"},
|
|
34
|
+
"median": {"type": "number"}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"url": {"type": "string"}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"test_examples": [
|
|
44
|
+
{"ensembl_gene_id": "ENSG00000141510"}
|
|
45
|
+
],
|
|
46
|
+
"label": ["GTEx", "Expression", "Summary"],
|
|
47
|
+
"metadata": {
|
|
48
|
+
"tags": ["expression", "tissue", "baseline"],
|
|
49
|
+
"estimated_execution_time": "< 2 seconds"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "GTEx_query_eqtl",
|
|
54
|
+
"type": "GTExEQTLTool",
|
|
55
|
+
"description": "Query GTEx single-tissue eQTL associations for a gene. Use to identify regulatory variants (variantId, pValue, slope) relevant to expression regulation.",
|
|
56
|
+
"parameter": {
|
|
57
|
+
"type": "object",
|
|
58
|
+
"properties": {
|
|
59
|
+
"ensembl_gene_id": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"description": "Ensembl gene identifier (e.g., 'ENSG00000141510')."
|
|
62
|
+
},
|
|
63
|
+
"page": {
|
|
64
|
+
"type": "integer",
|
|
65
|
+
"default": 1,
|
|
66
|
+
"minimum": 1,
|
|
67
|
+
"description": "Page number (1-based)."
|
|
68
|
+
},
|
|
69
|
+
"size": {
|
|
70
|
+
"type": "integer",
|
|
71
|
+
"default": 10,
|
|
72
|
+
"minimum": 1,
|
|
73
|
+
"maximum": 100,
|
|
74
|
+
"description": "Number of records per page (1–100)."
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"required": ["ensembl_gene_id"]
|
|
78
|
+
},
|
|
79
|
+
"fields": {
|
|
80
|
+
"endpoint": "https://gtexportal.org/api/v2/association/singleTissueEqtl",
|
|
81
|
+
"format": "json"
|
|
82
|
+
},
|
|
83
|
+
"return_schema": {
|
|
84
|
+
"type": "object",
|
|
85
|
+
"description": "GTEx eQTL query response",
|
|
86
|
+
"properties": {
|
|
87
|
+
"status": {"type": "string"},
|
|
88
|
+
"data": {
|
|
89
|
+
"type": "object",
|
|
90
|
+
"properties": {
|
|
91
|
+
"singleTissueEqtl": {
|
|
92
|
+
"type": "array",
|
|
93
|
+
"items": {
|
|
94
|
+
"type": "object",
|
|
95
|
+
"properties": {
|
|
96
|
+
"variantId": {"type": "string"},
|
|
97
|
+
"pValue": {"type": "number"},
|
|
98
|
+
"slope": {"type": "number"}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"url": {"type": "string"}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"test_examples": [
|
|
108
|
+
{"ensembl_gene_id": "ENSG00000141510", "page": 1, "size": 5}
|
|
109
|
+
],
|
|
110
|
+
"label": ["GTEx", "eQTL", "Association"],
|
|
111
|
+
"metadata": {
|
|
112
|
+
"tags": ["eqtl", "variant", "regulation"],
|
|
113
|
+
"estimated_execution_time": "< 3 seconds"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
]
|
|
File without changes
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "MGnify_search_studies",
|
|
4
|
+
"type": "MGnifyStudiesTool",
|
|
5
|
+
"description": "Search MGnify metagenomics/microbiome studies by biome/keyword. Use to discover study accessions and attributes for downstream analyses and downloads.",
|
|
6
|
+
"parameter": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"biome": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "Biome identifier (e.g., 'root:Host-associated')."
|
|
12
|
+
},
|
|
13
|
+
"search": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "Keyword to search in study titles/descriptions."
|
|
16
|
+
},
|
|
17
|
+
"size": {
|
|
18
|
+
"type": "integer",
|
|
19
|
+
"default": 10,
|
|
20
|
+
"minimum": 1,
|
|
21
|
+
"maximum": 100,
|
|
22
|
+
"description": "Number of records per page (1–100)."
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"fields": {
|
|
27
|
+
"endpoint": "https://www.ebi.ac.uk/metagenomics/api/latest/studies",
|
|
28
|
+
"format": "json"
|
|
29
|
+
},
|
|
30
|
+
"return_schema": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"description": "MGnify study list response",
|
|
33
|
+
"properties": {
|
|
34
|
+
"status": {"type": "string"},
|
|
35
|
+
"data": {
|
|
36
|
+
"type": "object",
|
|
37
|
+
"properties": {
|
|
38
|
+
"data": {
|
|
39
|
+
"type": "array",
|
|
40
|
+
"items": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"properties": {
|
|
43
|
+
"id": {"type": "string"},
|
|
44
|
+
"type": {"type": "string"},
|
|
45
|
+
"attributes": {"type": "object"}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"url": {"type": "string"}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"test_examples": [
|
|
55
|
+
{"biome": "root:Host-associated", "size": 1}
|
|
56
|
+
],
|
|
57
|
+
"label": ["MGnify", "Microbiome", "Study"],
|
|
58
|
+
"metadata": {
|
|
59
|
+
"tags": ["microbiome", "metagenomics", "study"],
|
|
60
|
+
"estimated_execution_time": "< 2 seconds"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "MGnify_list_analyses",
|
|
65
|
+
"type": "MGnifyAnalysesTool",
|
|
66
|
+
"description": "List analyses associated with a study accession (taxonomic/functional outputs). Use to enumerate available processed results for programmatic retrieval.",
|
|
67
|
+
"parameter": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"properties": {
|
|
70
|
+
"study_accession": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"description": "MGnify study accession (e.g., 'MGYS00000001')."
|
|
73
|
+
},
|
|
74
|
+
"size": {
|
|
75
|
+
"type": "integer",
|
|
76
|
+
"default": 10,
|
|
77
|
+
"minimum": 1,
|
|
78
|
+
"maximum": 100,
|
|
79
|
+
"description": "Number of records per page (1–100)."
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"required": ["study_accession"]
|
|
83
|
+
},
|
|
84
|
+
"fields": {
|
|
85
|
+
"endpoint": "https://www.ebi.ac.uk/metagenomics/api/latest/analyses",
|
|
86
|
+
"format": "json"
|
|
87
|
+
},
|
|
88
|
+
"return_schema": {
|
|
89
|
+
"type": "object",
|
|
90
|
+
"description": "MGnify analyses list response",
|
|
91
|
+
"properties": {
|
|
92
|
+
"status": {"type": "string"},
|
|
93
|
+
"data": {
|
|
94
|
+
"type": "object",
|
|
95
|
+
"properties": {
|
|
96
|
+
"data": {
|
|
97
|
+
"type": "array",
|
|
98
|
+
"items": {
|
|
99
|
+
"type": "object",
|
|
100
|
+
"properties": {
|
|
101
|
+
"id": {"type": "string"},
|
|
102
|
+
"type": {"type": "string"},
|
|
103
|
+
"attributes": {"type": "object"}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"url": {"type": "string"}
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"test_examples": [
|
|
113
|
+
{"study_accession": "MGYS00000001", "size": 1}
|
|
114
|
+
],
|
|
115
|
+
"label": ["MGnify", "Microbiome", "Analysis"],
|
|
116
|
+
"metadata": {
|
|
117
|
+
"tags": ["analysis", "taxonomy", "function"],
|
|
118
|
+
"estimated_execution_time": "< 2 seconds"
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
]
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "OBIS_search_taxa",
|
|
4
|
+
"type": "OBISTaxaTool",
|
|
5
|
+
"description": "Resolve marine taxa in OBIS by scientific name to obtain standardized identifiers (AphiaID), ranks, and names. Use before querying marine occurrences.",
|
|
6
|
+
"parameter": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"scientificname": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "Scientific name query (e.g., 'Gadus')."
|
|
12
|
+
},
|
|
13
|
+
"size": {
|
|
14
|
+
"type": "integer",
|
|
15
|
+
"default": 10,
|
|
16
|
+
"minimum": 1,
|
|
17
|
+
"maximum": 100,
|
|
18
|
+
"description": "Number of records to return (1–100)."
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"required": ["scientificname"]
|
|
22
|
+
},
|
|
23
|
+
"fields": {
|
|
24
|
+
"endpoint": "https://api.obis.org/v3/taxon",
|
|
25
|
+
"format": "json"
|
|
26
|
+
},
|
|
27
|
+
"return_schema": {
|
|
28
|
+
"type": "object",
|
|
29
|
+
"description": "OBIS taxon search response",
|
|
30
|
+
"properties": {
|
|
31
|
+
"status": {"type": "string"},
|
|
32
|
+
"data": {
|
|
33
|
+
"type": "object",
|
|
34
|
+
"properties": {
|
|
35
|
+
"results": {
|
|
36
|
+
"type": "array",
|
|
37
|
+
"items": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"properties": {
|
|
40
|
+
"scientificName": {"type": "string"},
|
|
41
|
+
"aphiaID": {"type": "integer"},
|
|
42
|
+
"rank": {"type": "string"}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"url": {"type": "string"}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"test_examples": [
|
|
52
|
+
{"scientificname": "Gadus", "size": 1}
|
|
53
|
+
],
|
|
54
|
+
"label": ["OBIS", "Taxonomy", "Marine"],
|
|
55
|
+
"metadata": {
|
|
56
|
+
"tags": ["marine", "taxonomy", "aphia"],
|
|
57
|
+
"estimated_execution_time": "< 2 seconds"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "OBIS_search_occurrences",
|
|
62
|
+
"type": "OBISOccurrenceTool",
|
|
63
|
+
"description": "Retrieve marine species occurrence records (with coordinates/time) from OBIS using flexible filters. Use for ocean biodiversity distribution analyses.",
|
|
64
|
+
"parameter": {
|
|
65
|
+
"type": "object",
|
|
66
|
+
"properties": {
|
|
67
|
+
"scientificname": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"description": "Scientific name filter to restrict occurrences."
|
|
70
|
+
},
|
|
71
|
+
"areaid": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"description": "Area identifier filter (per OBIS API)."
|
|
74
|
+
},
|
|
75
|
+
"size": {
|
|
76
|
+
"type": "integer",
|
|
77
|
+
"default": 10,
|
|
78
|
+
"minimum": 1,
|
|
79
|
+
"maximum": 100,
|
|
80
|
+
"description": "Number of records to return (1–100)."
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"fields": {
|
|
85
|
+
"endpoint": "https://api.obis.org/v3/occurrence",
|
|
86
|
+
"format": "json"
|
|
87
|
+
},
|
|
88
|
+
"return_schema": {
|
|
89
|
+
"type": "object",
|
|
90
|
+
"description": "OBIS occurrence search response",
|
|
91
|
+
"properties": {
|
|
92
|
+
"status": {"type": "string"},
|
|
93
|
+
"data": {
|
|
94
|
+
"type": "object",
|
|
95
|
+
"properties": {
|
|
96
|
+
"results": {
|
|
97
|
+
"type": "array",
|
|
98
|
+
"items": {
|
|
99
|
+
"type": "object",
|
|
100
|
+
"properties": {
|
|
101
|
+
"scientificName": {"type": "string"},
|
|
102
|
+
"decimalLatitude": {"type": "number"},
|
|
103
|
+
"decimalLongitude": {"type": "number"},
|
|
104
|
+
"eventDate": {"type": "string"}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"url": {"type": "string"}
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"test_examples": [
|
|
114
|
+
{"size": 1}
|
|
115
|
+
],
|
|
116
|
+
"label": ["OBIS", "Occurrence", "Marine"],
|
|
117
|
+
"metadata": {
|
|
118
|
+
"tags": ["marine", "occurrence", "geospatial"],
|
|
119
|
+
"estimated_execution_time": "< 3 seconds"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
]
|