Skip to content

Commit cbcb9d9

Browse files
authored
Merge pull request #44 from linkml/fixed-prefixes
Fix schema IDs to use https://w3id.org/valuesets
2 parents 0522a5a + 91141ba commit cbcb9d9

File tree

93 files changed

+1774
-804
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+1774
-804
lines changed

docs/manuscript/manuscript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ CVS schemas are authored in YAML following LinkML syntax. Each schema file defin
9898

9999
```yaml
100100
name: schema_name
101-
id: https://w3id.org/linkml/valuesets/domain/schema_name
101+
id: https://w3id.org/valuesets/domain/schema_name
102102
prefixes:
103103
ontology_prefix: http://purl.obolibrary.org/obo/ONTOLOGY_
104104

docs/schema/valuesets.yaml

Lines changed: 655 additions & 655 deletions
Large diffs are not rendered by default.

docs/slides/valuesets-slides.pdf

-6 Bytes
Binary file not shown.

docs/slides/valuesets-slides.pptx

0 Bytes
Binary file not shown.

project/jsonschema/valuesets.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10531,7 +10531,7 @@
1053110531
"type": "string"
1053210532
}
1053310533
},
10534-
"$id": "https://w3id.org/linkml/valuesets",
10534+
"$id": "https://w3id.org/valuesets",
1053510535
"$schema": "https://json-schema.org/draft/2019-09/schema",
1053610536
"additionalProperties": true,
1053710537
"metamodel_version": "1.7.0",

scripts/merge_enums_hierarchy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@ def build_hierarchical_schema(schema_dir: Path) -> Dict[str, Any]:
8787

8888
# Initialize the merged schema
8989
merged_schema = {
90-
'id': 'https://w3id.org/linkml/valuesets/merged',
90+
'id': 'https://w3id.org/valuesets/merged',
9191
'name': 'valuesets_merged_hierarchy',
9292
'title': 'Merged Value Sets with Hierarchical Structure',
9393
'description': 'All value sets merged into a single hierarchical structure with is_a relationships',
9494
'license': 'MIT',
9595
'prefixes': {
9696
'linkml': 'https://w3id.org/linkml/',
97-
'valuesets': 'https://w3id.org/linkml/valuesets/',
97+
'valuesets': 'https://w3id.org/valuesets/',
9898
},
9999
'default_prefix': 'valuesets',
100100
'imports': ['linkml:types'],

src/valuesets/datamodel/valuesets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def __contains__(self, key: str) -> bool:
5252
return key in self.root
5353

5454

55-
linkml_meta = LinkMLMeta({'default_prefix': 'valuesets', 'description': 'A collection of commonly used value sets', 'id': 'https://w3id.org/linkml/valuesets', 'name': 'valuesets', 'title': 'valuesets'})
55+
linkml_meta = LinkMLMeta({'default_prefix': 'valuesets', 'description': 'A collection of commonly used value sets', 'id': 'https://w3id.org/valuesets', 'name': 'valuesets', 'title': 'valuesets'})
5656

5757
class RelativeTimeEnum(RichEnum):
5858
"""

0 commit comments

Comments
 (0)