Skip to content

Commit

Permalink
removing some unnecessary any_of; regenerate context
Browse files Browse the repository at this point in the history
  • Loading branch information
djarecka committed Feb 13, 2024
1 parent b5474b8 commit cd233a6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
11 changes: 10 additions & 1 deletion contexts/reproschema_new
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -27,9 +27,11 @@
"@id": "reproschema:additionalNotesObj"
},
"addProperties": {
"@type": "@id",
"@id": "reproschema:addProperties"
},
"allow": {
"@type": "@id",
"@id": "reproschema:allow"
},
"altLabel": {
Expand Down Expand Up @@ -91,6 +93,7 @@
"@id": "reproschema:isAbout"
},
"isPartOf": {
"@type": "@id",
"@id": "schema:isPartOf"
},
"isVis": {
Expand All @@ -116,12 +119,14 @@
"@container": "@language"
},
"messages": {
"@type": "@id",
"@id": "reproschema:messages"
},
"minValue": {
"@id": "schema:minValue"
},
"multipleChoice": {
"@type": "xsd:boolean",
"@id": "reproschema:multipleChoice"
},
"name": {
Expand All @@ -132,6 +137,7 @@
"@id": "reproschema:order"
},
"overrideProperties": {
"@type": "@id",
"@id": "reproschema:overrideProperties"
},
"preamble": {
Expand All @@ -150,6 +156,7 @@
"@id": "reproschema:randomMaxDelay"
},
"readonlyValue": {
"@type": "xsd:boolean",
"@id": "schema:readonlyValue"
},
"responseOptions": {
Expand All @@ -162,6 +169,7 @@
"@id": "schema:schemaVersion"
},
"shuffle": {
"@type": "xsd:boolean",
"@id": "reproschema:shuffle"
},
"source": {
Expand All @@ -182,6 +190,7 @@
"@id": "reproschema:ui"
},
"unitOptions": {
"@type": "@id",
"@id": "reproschema:unitOptions"
},
"url": {
Expand Down
24 changes: 8 additions & 16 deletions linkml-schema/reproschema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ slots:
and fields.
slot_uri: reproschema:addProperties
multivalued: true
any_of:
- range: AdditionalProperty
range: AdditionalProperty
additionalNotesObj:
title: additional notes
comments:
Expand All @@ -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:
Expand Down Expand Up @@ -149,8 +147,7 @@ slots:
- range: Field
isPartOf:
slot_uri: schema:isPartOf
any_of:
- range: Activity
range: Activity
isVis:
title: visibility
comments:
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -249,8 +244,7 @@ slots:
and fields.
slot_uri: reproschema:overrideProperties
multivalued: true
any_of:
- range: OverrideProperty
range: OverrideProperty
preamble:
title: Preamble
comments:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit cd233a6

Please sign in to comment.