Skip to content

Commit b0c409b

Browse files
authored
Merge pull request #174 from puja-trivedi/issue168_contenturl_to_bicancore
resolving issue168: moving 'content_url' definition to bican_core
2 parents 8d52453 + 54e6d43 commit b0c409b

File tree

18 files changed

+861
-132
lines changed

18 files changed

+861
-132
lines changed

erdiagram-autogen/library_generation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
erDiagram
33
DigitalAsset {
44
stringList digest
5-
string content_url
5+
stringList content_url
66
string data_type
77
string id
88
iri_type iri

json-schema-autogen/library_generation.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1530,8 +1530,11 @@
15301530
]
15311531
},
15321532
"content_url": {
1533+
"items": {
1534+
"type": "string"
1535+
},
15331536
"type": [
1534-
"string",
1537+
"array",
15351538
"null"
15361539
]
15371540
},

jsonld-context-autogen/anatomical_structure.context.jsonld

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,9 @@
209209
"value": {
210210
"@id": "value"
211211
},
212+
"content_url": {
213+
"@id": "schema:url"
214+
},
212215
"creation_date": {
213216
"@type": "xsd:date",
214217
"@id": "biolink:creation_date"

jsonld-context-autogen/genome_annotation.context.jsonld

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,10 @@
324324
"@type": "@id",
325325
"@id": "biolink:related_to_at_instance_level"
326326
},
327+
"revision_of": {
328+
"@type": "@id",
329+
"@id": "revision_of"
330+
},
327331
"rights": {
328332
"@id": "biolink:rights"
329333
},
@@ -444,6 +448,9 @@
444448
},
445449
"ThingWithTaxon": {
446450
"@id": "biolink:ThingWithTaxon"
451+
},
452+
"VersionedNamedThing": {
453+
"@id": "VersionedNamedThing"
447454
}
448455
}
449456
}

jsonld-context-autogen/library_generation.context.jsonld

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@
257257
"@id": "value"
258258
},
259259
"content_url": {
260-
"@id": "content_url"
260+
"@id": "schema:url"
261261
},
262262
"creation_date": {
263263
"@type": "xsd:date",
@@ -463,6 +463,10 @@
463463
"@type": "@id",
464464
"@id": "biolink:related_to_at_instance_level"
465465
},
466+
"revision_of": {
467+
"@type": "@id",
468+
"@id": "revision_of"
469+
},
466470
"rights": {
467471
"@id": "biolink:rights"
468472
},
@@ -657,6 +661,9 @@
657661
},
658662
"TissueSample": {
659663
"@id": "TissueSample"
664+
},
665+
"VersionedNamedThing": {
666+
"@id": "VersionedNamedThing"
660667
}
661668
}
662669
}

linkml-schema/bican_core.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ slots:
5353
checksum algorithm:
5454
description: The type of cryptographic hash function used to calculate the checksum value.
5555
range: DigestType
56+
57+
content_url:
58+
slot_uri: schema:url
59+
multivalued: true
5660

5761
enums:
5862
DigestType:

linkml-schema/bke_taxonomy.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ id: https:/w3id.org/brain-bican/bke-taxonomy
66
imports:
77
- bican_biolink
88
- bican_prov
9+
- bican_core
910
- genome_annotation
1011
- anatomical_structure
1112
- linkml:types
@@ -467,6 +468,7 @@ classes:
467468
local_names:
468469
local_name_value: url
469470
local_name_source: allen
471+
from_schema: bican_core
470472
xref:
471473
local_names:
472474
local_name_value: unique_id
@@ -574,6 +576,7 @@ classes:
574576
local_names:
575577
local_name_value: url
576578
local_name_source: allen
579+
from_schema: bican_core
577580
xref:
578581
local_names:
579582
local_name_value: unique_id

linkml-schema/genome_annotation.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,6 @@ slots:
8585
- range: BioType
8686
- range: string
8787

88-
content_url:
89-
slot_uri: schema:url
90-
multivalued: true
91-
9288
authority:
9389
description: The organization responsible for publishing the data.
9490
range: AuthorityType

linkml-schema/library_generation.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1822,9 +1822,6 @@ enums:
18221822
years:
18231823
description: years
18241824
meaning: NIMP:PD-AVAVEV39
1825-
slots:
1826-
content_url:
1827-
from_schema: https://identifiers.org/brain-bican/library-generation-schema
18281825
classes:
18291826
Donor:
18301827
description: A person or organism that is the source of a biological sample for
@@ -2962,7 +2959,8 @@ classes:
29622959
range: LibraryPool
29632960
digest:
29642961
from_schema: bican_core
2965-
content_url: {}
2962+
content_url:
2963+
from_schema: bican_core
29662964
attributes:
29672965
data_type:
29682966
description: The type of data in the file.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Schema uri Description Schema Prefix Imports Title
22
> schema id description default_prefix imports title
33
> internal_separator: "|"
4-
BKETaxonomy https:/w3id.org/brain-bican/bke-taxonomy The BKE Taxonomy Schema represents the structure of classifications of cell types and their hierarchical relationships in the mammalian brain. bican bican_biolink|bican_prov|genome_annotation|anatomical_structure BKE Taxonomy Schema
4+
BKETaxonomy https:/w3id.org/brain-bican/bke-taxonomy The BKE Taxonomy Schema represents the structure of classifications of cell types and their hierarchical relationships in the mammalian brain. bican bican_biolink|bican_prov|bican_core|genome_annotation|anatomical_structure BKE Taxonomy Schema

0 commit comments

Comments
 (0)