forked from inab/benchmarking-data-model
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathidsolv.json
More file actions
37 lines (37 loc) · 1.16 KB
/
idsolv.json
File metadata and controls
37 lines (37 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"id": "https://www.elixir-europe.org/excelerate/WP2/json-schemas/0.4/idSolv",
"$schema": "http://json-schema.org/draft-04/hyper-schema#",
"title": "Simple Namespace resolver for CURIE ids",
"type": "object",
"properties" : {
"_id": {
"title": "Namespace acronym, corresponds to the namespace part of Curie (ns:id), so it should not contain invalid patterns",
"type": "string"
},
"_schema": {
"title": "The JSON schema absolute URI. It must match the value of 'id' in the JSON schema",
"type": "string",
"format": "uri",
"enum": [ "https://www.elixir-europe.org/excelerate/WP2/json-schemas/0.4/idSolv" ]
},
"description": {
"title": "Long description of the namespace",
"type": "string"
},
"pattern": {
"title": "The validation pattern to be used. The regex group is used to build the equivalent URL"
},
"endpoints": {
"type": "array",
"minLength": 1,
"items": {
"title": "URL mask for transforming ids. {id} is replaced by the id part of Curie (ns:id)",
"type": "string",
"format": "uri-template"
}
}
},
"additionalProperties": true,
"required": ["_id","pattern","endpoints"],
"primary_key": ["_id"]
}