diff --git a/jsonld-context-autogen/anatomical_structure.context.jsonld b/jsonld-context-autogen/anatomical_structure.context.jsonld index 432caf3b..b8263786 100644 --- a/jsonld-context-autogen/anatomical_structure.context.jsonld +++ b/jsonld-context-autogen/anatomical_structure.context.jsonld @@ -4,7 +4,6 @@ "source": "anatomical_structure.yaml" }, "@context": { - "ANSRS": "https://w3id.org/my-org/ansrs-schema/", "AnS": "https://w3id.org/my-org/anatomical-structure-schema/", "PATO": { "@id": "http://purl.obolibrary.org/obo/PATO_", @@ -26,10 +25,10 @@ }, "category": { "@type": "@id", - "@id": "ANSRS:category" + "@id": "category" }, "description": { - "@id": "ANSRS:description" + "@id": "description" }, "id": "@id", "unit": { @@ -93,7 +92,7 @@ "@id": "z_size" }, "name": { - "@id": "ANSRS:name" + "@id": "name" }, "internal_identifier": { "@id": "internal_identifier" @@ -166,10 +165,10 @@ }, "revision_of": { "@type": "@id", - "@id": "ANSRS:revision_of" + "@id": "revision_of" }, "version": { - "@id": "ANSRS:version" + "@id": "version" }, "AnatomicalAnnotationSet": { "@id": "AnatomicalAnnotationSet" @@ -181,7 +180,7 @@ "@id": "ImageDataset" }, "NamedThing": { - "@id": "ANSRS:NamedThing" + "@id": "NamedThing" }, "ParcellationAnnotation": { "@id": "ParcellationAnnotation" @@ -208,7 +207,7 @@ "@id": "ParcellationTermSet" }, "VersionedNamedThing": { - "@id": "ANSRS:VersionedNamedThing" + "@id": "VersionedNamedThing" } } } diff --git a/jsonld-context-autogen/anatomical_structure_core.context.jsonld b/jsonld-context-autogen/anatomical_structure_core.context.jsonld index da7a94de..94c214ff 100644 --- a/jsonld-context-autogen/anatomical_structure_core.context.jsonld +++ b/jsonld-context-autogen/anatomical_structure_core.context.jsonld @@ -4,7 +4,7 @@ "source": "anatomical_structure_core.yaml" }, "@context": { - "ANSRS": "https://w3id.org/my-org/ansrs-schema/", + "AnS": "https://w3id.org/my-org/anatomical-structure-schema/", "PATO": { "@id": "http://purl.obolibrary.org/obo/PATO_", "@prefix": true @@ -13,7 +13,7 @@ "example": "https://example.org/", "linkml": "https://w3id.org/linkml/", "schema": "http://schema.org/", - "@vocab": "https://w3id.org/my-org/ansrs-schema/", + "@vocab": "https://w3id.org/my-org/anatomical-structure-schema/", "category": { "@type": "@id", "@id": "category" diff --git a/models_py-autogen/anatomical_structure.py b/models_py-autogen/anatomical_structure.py index a0b360dc..28e4e8f2 100644 --- a/models_py-autogen/anatomical_structure.py +++ b/models_py-autogen/anatomical_structure.py @@ -65,24 +65,24 @@ class DISTANCEUNIT(str, Enum): class NamedThing(ConfiguredBaseModel): """ - Core base entity for ANSRS schema representing an entity with an identifier name and description. + Core base entity for Anatomical Structure schema representing an entity with an identifier name and description. """ id: str = Field(...) name: str = Field(...) description: str = Field(...) - category: List[Literal["https://w3id.org/my-org/ansrs-schema/NamedThing","ANSRS:NamedThing"]] = Field(["ANSRS:NamedThing"]) + category: List[Literal["https://w3id.org/my-org/anatomical-structure-schema/NamedThing","AnS:NamedThing"]] = Field(["AnS:NamedThing"]) class VersionedNamedThing(NamedThing): """ - Core base entity for ANSRS schema representing an versioned named thing. + Core base entity for Anatomical Structure schema representing an versioned named thing. """ version: str = Field(...) revision_of: Optional[str] = Field(None) id: str = Field(...) name: str = Field(...) description: str = Field(...) - category: List[Literal["https://w3id.org/my-org/ansrs-schema/VersionedNamedThing","ANSRS:VersionedNamedThing"]] = Field(["ANSRS:VersionedNamedThing"]) + category: List[Literal["https://w3id.org/my-org/anatomical-structure-schema/VersionedNamedThing","AnS:VersionedNamedThing"]] = Field(["AnS:VersionedNamedThing"]) class ImageDataset(VersionedNamedThing): diff --git a/models_py-autogen/anatomical_structure_core.py b/models_py-autogen/anatomical_structure_core.py index 6ee63c24..6a6d7718 100644 --- a/models_py-autogen/anatomical_structure_core.py +++ b/models_py-autogen/anatomical_structure_core.py @@ -48,24 +48,24 @@ class ConfiguredBaseModel(BaseModel): class NamedThing(ConfiguredBaseModel): """ - Core base entity for ANSRS schema representing an entity with an identifier name and description. + Core base entity for Anatomical Structure schema representing an entity with an identifier name and description. """ id: str = Field(...) name: str = Field(...) description: str = Field(...) - category: List[Literal["https://w3id.org/my-org/ansrs-schema/NamedThing","ANSRS:NamedThing"]] = Field(["ANSRS:NamedThing"]) + category: List[Literal["https://w3id.org/my-org/anatomical-structure-schema/NamedThing","AnS:NamedThing"]] = Field(["AnS:NamedThing"]) class VersionedNamedThing(NamedThing): """ - Core base entity for ANSRS schema representing an versioned named thing. + Core base entity for Anatomical Structure schema representing an versioned named thing. """ version: str = Field(...) revision_of: Optional[str] = Field(None) id: str = Field(...) name: str = Field(...) description: str = Field(...) - category: List[Literal["https://w3id.org/my-org/ansrs-schema/VersionedNamedThing","ANSRS:VersionedNamedThing"]] = Field(["ANSRS:VersionedNamedThing"]) + category: List[Literal["https://w3id.org/my-org/anatomical-structure-schema/VersionedNamedThing","AnS:VersionedNamedThing"]] = Field(["AnS:VersionedNamedThing"]) # Model rebuild