Skip to content

Commit 5b39c62

Browse files
authored
Merge pull request #158 from linkml/regen-jsonschema-fixes-linkml-1474
Regenerate output products using latest linkml generators.
2 parents bfb6424 + ccf4008 commit 5b39c62

File tree

8 files changed

+2101
-2103
lines changed

8 files changed

+2101
-2103
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ target/
44
/make-venv/
55

66
# Ignore all of linkml_model except the model directory
7-
linkml_model/
8-
!linkml_model/model
7+
#linkml_model/*
8+
#!linkml_model/model/*
99

1010
# Byte-compiled / optimized / DLL files
1111
__pycache__/

linkml_model/jsonld/meta.context.jsonld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"comments": {
33
"description": "Auto generated by LinkML jsonld context generator",
4-
"generation_date": "2023-03-16T10:58:06",
4+
"generation_date": "2023-06-01T09:49:50",
55
"source": "meta.yaml"
66
},
77
"@context": {

linkml_model/jsonschema/meta.schema.json

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

linkml_model/meta.py

Lines changed: 69 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,37 @@
11
# Auto generated from meta.yaml by pythongen.py version: 0.9.0
2-
# Generation date: 2023-03-16T10:58:36
2+
# Generation date: 2023-06-01T09:50:21
33
# Schema: meta
44
#
55
# id: https://w3id.org/linkml/meta
6-
# description: The metamodel for schemas defined using the Linked Data Modeling Language framework. For more
7-
# information on LinkML: * [linkml.io](https://linkml.io) main website *
8-
# [specification](https://w3id.org/linkml/docs/specification/) LinkML is self-describing. Every
9-
# LinkML schema consists of elements that instantiate classes in this metamodel. Core metaclasses: *
10-
# [SchemaDefinition](https://w3id.org/linkml/SchemaDefinition) *
11-
# [ClassDefinition](https://w3id.org/linkml/ClassDefinition) *
12-
# [SlotDefinition](https://w3id.org/linkml/SlotDefinition) *
13-
# [TypeDefinition](https://w3id.org/linkml/TypeDefinition) There are many subsets of *profiles* of
14-
# the metamodel, for different purposes: * [MinimalSubset](https://w3id.org/linkml/MinimalSubset) *
15-
# [BasicSubset](https://w3id.org/linkml/BasicSubset) *
16-
# [BasicSubset](https://w3id.org/linkml/BasicSubset) For canonical reference documentation on any
17-
# metamodel construct, refer to the official URI for each construct, e.g.
18-
# [https://w3id.org/linkml/is_a](https://w3id.org/linkml/is_a)
6+
# description: The metamodel for schemas defined using the Linked Data Modeling Language framework.
7+
#
8+
# For more information on LinkML:
9+
#
10+
# * [linkml.io](https://linkml.io) main website
11+
# * [specification](https://w3id.org/linkml/docs/specification/)
12+
#
13+
# LinkML is self-describing. Every LinkML schema consists of elements
14+
# that instantiate classes in this metamodel.
15+
#
16+
# Core metaclasses:
17+
#
18+
# * [SchemaDefinition](https://w3id.org/linkml/SchemaDefinition)
19+
# * [ClassDefinition](https://w3id.org/linkml/ClassDefinition)
20+
# * [SlotDefinition](https://w3id.org/linkml/SlotDefinition)
21+
# * [TypeDefinition](https://w3id.org/linkml/TypeDefinition)
22+
#
23+
# There are many subsets of *profiles* of the metamodel, for different purposes:
24+
#
25+
# * [MinimalSubset](https://w3id.org/linkml/MinimalSubset)
26+
# * [BasicSubset](https://w3id.org/linkml/BasicSubset)
27+
# * [BasicSubset](https://w3id.org/linkml/BasicSubset)
28+
#
29+
# For canonical reference documentation on any metamodel construct,
30+
# refer to the official URI for each construct, e.g.
31+
# [https://w3id.org/linkml/is_a](https://w3id.org/linkml/is_a)
1932
# license: https://creativecommons.org/publicdomain/zero/1.0/
2033

2134
import dataclasses
22-
import sys
2335
import re
2436
from jsonasobj2 import JsonObj, as_dict
2537
from typing import Optional, List, Union, Dict, ClassVar, Any
@@ -3463,14 +3475,18 @@ class PvFormulaOptions(EnumDefinitionImpl):
34633475
"""
34643476
The formula used to generate the set of permissible values from the code_set values
34653477
"""
3466-
CODE = PermissibleValue(text="CODE",
3467-
description="The permissible values are the set of possible codes in the code set")
3468-
CURIE = PermissibleValue(text="CURIE",
3469-
description="The permissible values are the set of CURIES in the code set")
3470-
URI = PermissibleValue(text="URI",
3471-
description="The permissible values are the set of code URIs in the code set")
3472-
FHIR_CODING = PermissibleValue(text="FHIR_CODING",
3473-
description="The permissible values are the set of FHIR coding elements derived from the code set")
3478+
CODE = PermissibleValue(
3479+
text="CODE",
3480+
description="The permissible values are the set of possible codes in the code set")
3481+
CURIE = PermissibleValue(
3482+
text="CURIE",
3483+
description="The permissible values are the set of CURIES in the code set")
3484+
URI = PermissibleValue(
3485+
text="URI",
3486+
description="The permissible values are the set of code URIs in the code set")
3487+
FHIR_CODING = PermissibleValue(
3488+
text="FHIR_CODING",
3489+
description="The permissible values are the set of FHIR coding elements derived from the code set")
34743490

34753491
_defn = EnumDefinition(
34763492
name="PvFormulaOptions",
@@ -3494,19 +3510,24 @@ class RelationalRoleEnum(EnumDefinitionImpl):
34943510
"""
34953511
enumeration of roles a slot on a relationship class can play
34963512
"""
3497-
SUBJECT = PermissibleValue(text="SUBJECT",
3498-
description="a slot with this role connects a relationship to its subject/source node",
3499-
meaning=RDF.subject)
3500-
OBJECT = PermissibleValue(text="OBJECT",
3501-
description="a slot with this role connects a relationship to its object/target node",
3502-
meaning=RDF.object)
3503-
PREDICATE = PermissibleValue(text="PREDICATE",
3504-
description="a slot with this role connects a relationship to its predicate/property",
3505-
meaning=RDF.predicate)
3506-
NODE = PermissibleValue(text="NODE",
3507-
description="a slot with this role connects a symmetric relationship to a node that represents either subject or object node")
3508-
OTHER_ROLE = PermissibleValue(text="OTHER_ROLE",
3509-
description="a slot with this role connects a relationship to a node that is not subject/object/predicate")
3513+
SUBJECT = PermissibleValue(
3514+
text="SUBJECT",
3515+
description="a slot with this role connects a relationship to its subject/source node",
3516+
meaning=RDF.subject)
3517+
OBJECT = PermissibleValue(
3518+
text="OBJECT",
3519+
description="a slot with this role connects a relationship to its object/target node",
3520+
meaning=RDF.object)
3521+
PREDICATE = PermissibleValue(
3522+
text="PREDICATE",
3523+
description="a slot with this role connects a relationship to its predicate/property",
3524+
meaning=RDF.predicate)
3525+
NODE = PermissibleValue(
3526+
text="NODE",
3527+
description="""a slot with this role connects a symmetric relationship to a node that represents either subject or object node""")
3528+
OTHER_ROLE = PermissibleValue(
3529+
text="OTHER_ROLE",
3530+
description="a slot with this role connects a relationship to a node that is not subject/object/predicate")
35103531

35113532
_defn = EnumDefinition(
35123533
name="RelationalRoleEnum",
@@ -3517,14 +3538,18 @@ class AliasPredicateEnum(EnumDefinitionImpl):
35173538
"""
35183539
permissible values for the relationship between an element and an alias
35193540
"""
3520-
EXACT_SYNONYM = PermissibleValue(text="EXACT_SYNONYM",
3521-
meaning=SKOS.exactMatch)
3522-
RELATED_SYNONYM = PermissibleValue(text="RELATED_SYNONYM",
3523-
meaning=SKOS.relatedMatch)
3524-
BROAD_SYNONYM = PermissibleValue(text="BROAD_SYNONYM",
3525-
meaning=SKOS.broaderMatch)
3526-
NARROW_SYNONYM = PermissibleValue(text="NARROW_SYNONYM",
3527-
meaning=SKOS.narrowerMatch)
3541+
EXACT_SYNONYM = PermissibleValue(
3542+
text="EXACT_SYNONYM",
3543+
meaning=SKOS.exactMatch)
3544+
RELATED_SYNONYM = PermissibleValue(
3545+
text="RELATED_SYNONYM",
3546+
meaning=SKOS.relatedMatch)
3547+
BROAD_SYNONYM = PermissibleValue(
3548+
text="BROAD_SYNONYM",
3549+
meaning=SKOS.broaderMatch)
3550+
NARROW_SYNONYM = PermissibleValue(
3551+
text="NARROW_SYNONYM",
3552+
meaning=SKOS.narrowerMatch)
35283553

35293554
_defn = EnumDefinition(
35303555
name="AliasPredicateEnum",

0 commit comments

Comments
 (0)