From cd233a6f6f24481727006b9aacdebd1aca8bd3fd Mon Sep 17 00:00:00 2001 From: Dorota Jarecka Date: Tue, 13 Feb 2024 08:38:25 -0500 Subject: [PATCH] =?UTF-8?q?removing=20some=20unnecessary=C2=A0any=5Fof;=20?= =?UTF-8?q?regenerate=20context?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- contexts/reproschema_new | 11 ++++++++++- linkml-schema/reproschema.yaml | 24 ++++++++---------------- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/contexts/reproschema_new b/contexts/reproschema_new index 1245533e3..f46ee4e82 100644 --- a/contexts/reproschema_new +++ b/contexts/reproschema_new @@ -1,7 +1,7 @@ { "comments": { "description": "Auto generated by LinkML jsonld context generator", - "generation_date": "2024-02-01T19:27:43", + "generation_date": "2024-02-13T08:28:10", "source": "reproschema.yaml" }, "@context": { @@ -27,9 +27,11 @@ "@id": "reproschema:additionalNotesObj" }, "addProperties": { + "@type": "@id", "@id": "reproschema:addProperties" }, "allow": { + "@type": "@id", "@id": "reproschema:allow" }, "altLabel": { @@ -91,6 +93,7 @@ "@id": "reproschema:isAbout" }, "isPartOf": { + "@type": "@id", "@id": "schema:isPartOf" }, "isVis": { @@ -116,12 +119,14 @@ "@container": "@language" }, "messages": { + "@type": "@id", "@id": "reproschema:messages" }, "minValue": { "@id": "schema:minValue" }, "multipleChoice": { + "@type": "xsd:boolean", "@id": "reproschema:multipleChoice" }, "name": { @@ -132,6 +137,7 @@ "@id": "reproschema:order" }, "overrideProperties": { + "@type": "@id", "@id": "reproschema:overrideProperties" }, "preamble": { @@ -150,6 +156,7 @@ "@id": "reproschema:randomMaxDelay" }, "readonlyValue": { + "@type": "xsd:boolean", "@id": "schema:readonlyValue" }, "responseOptions": { @@ -162,6 +169,7 @@ "@id": "schema:schemaVersion" }, "shuffle": { + "@type": "xsd:boolean", "@id": "reproschema:shuffle" }, "source": { @@ -182,6 +190,7 @@ "@id": "reproschema:ui" }, "unitOptions": { + "@type": "@id", "@id": "reproschema:unitOptions" }, "url": { diff --git a/linkml-schema/reproschema.yaml b/linkml-schema/reproschema.yaml index bccd37855..758e53ee9 100644 --- a/linkml-schema/reproschema.yaml +++ b/linkml-schema/reproschema.yaml @@ -27,8 +27,7 @@ slots: and fields. slot_uri: reproschema:addProperties multivalued: true - any_of: - - range: AdditionalProperty + range: AdditionalProperty additionalNotesObj: title: additional notes comments: @@ -44,8 +43,7 @@ slots: - 'An array of items indicating properties allowed on an activity or protocol ' slot_uri: reproschema:allow multivalued: true - any_of: - - range: Thing + range: Thing altLabel: title: alternate label comments: @@ -149,8 +147,7 @@ slots: - range: Field isPartOf: slot_uri: schema:isPartOf - any_of: - - range: Activity + range: Activity isVis: title: visibility comments: @@ -211,8 +208,7 @@ slots: - An array of objects to define conditional messages in an activity or protocol. slot_uri: reproschema:messages multivalued: true - any_of: - - range: MessageSpecification + range: MessageSpecification minValue: slot_uri: schema:minValue any_of: @@ -223,8 +219,7 @@ slots: comments: - Indicates (by bool) if response for the Field item has one or more answer. slot_uri: reproschema:multipleChoice - any_of: - - range: boolean + range: boolean name: multivalued: true any_of: @@ -249,8 +244,7 @@ slots: and fields. slot_uri: reproschema:overrideProperties multivalued: true - any_of: - - range: OverrideProperty + range: OverrideProperty preamble: title: Preamble comments: @@ -312,8 +306,7 @@ slots: comments: - An element (bool) to determine if the list of items is shuffled or in order. slot_uri: reproschema:shuffle - any_of: - - range: boolean + range: boolean source: title: source comments: @@ -347,8 +340,7 @@ slots: value for units. slot_uri: reproschema:unitOptions multivalued: true - any_of: - - range: UnitOption + range: UnitOption url: slot_uri: schema:url used: