Skip to content

Commit

Permalink
changing comments to description; fixing types (string vs langString)…
Browse files Browse the repository at this point in the history
… and adding @language:en to context; bringing back imageUrl; splitting UI class to multiple classes for UI for Activity, Field and Protocol
  • Loading branch information
djarecka committed Feb 16, 2024
1 parent cd233a6 commit 62bc4a8
Show file tree
Hide file tree
Showing 5 changed files with 855 additions and 635 deletions.
34 changes: 28 additions & 6 deletions 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-13T08:28:10",
"generation_date": "2024-02-16T13:37:16",
"source": "reproschema.yaml"
},
"@context": {
Expand All @@ -20,6 +20,8 @@
},
"xsd": "http://www.w3.org/2001/XMLSchema#",
"@vocab": "http://example.org/example/",
"@version": 1.1,
"@language": "en",
"about": {
"@id": "schema:about"
},
Expand Down Expand Up @@ -53,7 +55,8 @@
"@container": "@language"
},
"column": {
"@id": "reproschema:column"
"@id": "reproschema:column",
"@type": "xsd:string"
},
"compute": {
"@id": "reproschema:compute"
Expand Down Expand Up @@ -83,13 +86,19 @@
"@type": "@id",
"@id": "schema:image"
},
"imageUrl": {
"@type": "@id",
"@id": "reproschema:imageUrl"
},
"inLanguage": {
"@id": "schema:inLanguage"
},
"inputType": {
"@id": "reproschema:inputType"
"@id": "reproschema:inputType",
"@type": "xsd:string"
},
"isAbout": {
"@type": "@id",
"@id": "reproschema:isAbout"
},
"isPartOf": {
Expand All @@ -103,6 +112,7 @@
"@id": "reproschema:jsExpression"
},
"landingPage": {
"@type": "@id",
"@id": "reproschema:landingPage"
},
"limit": {
Expand Down Expand Up @@ -134,6 +144,7 @@
"@container": "@language"
},
"order": {
"@type": "@id",
"@id": "reproschema:order"
},
"overrideProperties": {
Expand All @@ -160,6 +171,7 @@
"@id": "schema:readonlyValue"
},
"responseOptions": {
"@type": "@id",
"@id": "reproschema:responseOptions"
},
"schedule": {
Expand All @@ -173,7 +185,8 @@
"@id": "reproschema:shuffle"
},
"source": {
"@id": "reproschema:source"
"@id": "reproschema:source",
"@type": "xsd:string"
},
"startedAtTime": {
"@type": "xsd:dateTime",
Expand All @@ -194,9 +207,11 @@
"@id": "reproschema:unitOptions"
},
"url": {
"@type": "@id",
"@id": "schema:url"
},
"used": {
"@type": "@id",
"@id": "prov:used"
},
"value": {
Expand All @@ -207,6 +222,7 @@
"@id": "schema:valueRequired"
},
"valueType": {
"@type": "@id",
"@id": "reproschema:valueType"
},
"variableName": {
Expand Down Expand Up @@ -314,8 +330,14 @@
"TimedOut": {
"@id": "reproschema:TimedOut"
},
"UI": {
"@id": "http://example.org/example/UI"
"UiActivity": {
"@id": "http://example.org/example/UiActivity"
},
"UiField": {
"@id": "http://example.org/example/UiField"
},
"UiProtocol": {
"@id": "http://example.org/example/UiProtocol"
},
"UnitOption": {
"@id": "reproschema:UnitOption"
Expand Down
2 changes: 1 addition & 1 deletion examples/activities/items/item2.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@type": "VideoObject",
"contentUrl": "http://media.freesound.org/data/0/previews/719__elmomo__12oclock_girona_preview.mp4"
},
"image": "http://example.com/sample-image.jpg",
"imageUrl": "http://example.com/sample-image.jpg",
"ui": {
"inputType": "float"
},
Expand Down
Loading

0 comments on commit 62bc4a8

Please sign in to comment.