diff --git a/contexts/base b/contexts/base deleted file mode 100644 index ac6fb734d8..0000000000 --- a/contexts/base +++ /dev/null @@ -1,18 +0,0 @@ -{ - "@context": { - "@version": 1.1, - "dct": "http://purl.org/dc/terms/", - "owl": "http://www.w3.org/2002/07/owl#", - "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", - "rdfa": "http://www.w3.org/ns/rdfa#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", - "schema": "http://schema.org/", - "xsd": "http://www.w3.org/2001/XMLSchema#", - "skos": "http://www.w3.org/2004/02/skos/core#", - "prov": "http://www.w3.org/ns/prov#", - "pav": "http://purl.org/pav/", - "nidm": "http://purl.org/nidash/nidm#", - "uuid": "http://uuid.repronim.org/", - "reproschema": "http://schema.repronim.org/" - } -} diff --git a/contexts/generic b/contexts/generic deleted file mode 100644 index 8a9ba1b47a..0000000000 --- a/contexts/generic +++ /dev/null @@ -1,279 +0,0 @@ -{ - "@context": [ "base", - { - "@version": 1.1, - "@language": "en", - "description": { - "@id": "schema:description", - "@container": "@language" - }, - "name": { - "@id": "schema:name", - "@container": "@language" - }, - "value": { - "@id": "reproschema:value" - }, - "image": { - "@id": "schema:image" - }, - "imageUrl": { - "@id": "schema:image", - "@type": "@id" - }, - "audio": { - "@id": "schema:audio" - }, - "video": { - "@id": "schema:video" - }, - "contentUrl": { - "@id": "schema:contentUrl", - "@type": "@id" - }, - "VideoObject": "schema:VideoObject", - "AudioObject": "schema:AudioObject", - "inLanguage": { - "@id": "schema:inLanguage" - }, - "url": { - "@id": "schema:url", - "@type": "@id" - }, - "citation": { - "@id": "schema:citation", - "@container": "@language" - }, - "version": { - "@id": "schema:version" - }, - "schemaVersion": { - "@id": "schema:schemaVersion" - }, - "prefLabel": { - "@id": "skos:prefLabel", - "@container": "@language" - }, - "altLabel": { - "@id": "skos:altLabel", - "@container": "@language" - }, - "preamble": { - "@id": "reproschema:preamble", - "@container": "@language" - }, - "valueType": { - "@id": "reproschema:valueType", - "@type": "@id", - "@container": "@set" - }, - "landingPage": { - "@id": "reproschema:landingPage", - "@type": "@id", - "@container": "@set" - }, - "question": { - "@id": "schema:question", - "@container": "@language" - }, - "choices": { - "@id": "reproschema:choices" - }, - "valueRequired": "schema:valueRequired", - "multipleChoice": { - "@id": "reproschema:multipleChoice", - "@type": "schema:Boolean" - }, - "responseOptions": { - "@id": "reproschema:responseOptions", - "@container": "@set", - "@type": "@id" - }, - "dataType": { - "@id": "schema:DataType", - "@type": "@id" - }, - "minValue": { - "@id": "schema:minValue" - }, - "maxValue": { - "@id": "schema:maxValue" - }, - "unitCode": { - "@id": "schema:unitCode", - "@container": "@set" - }, - "unitOptions": { - "@id": "reproschema:unitOptions", - "@container": "@set" - }, - "ui" : "@nest", - "order": { - "@id": "reproschema:order", - "@container": "@list", - "@type": "@id", - "@nest": "ui" - }, - "addProperties": { - "@id": "reproschema:addProperties", - "@type": "reproschema:AdditionalProperty", - "@container": "@set", - "@nest": "ui" - }, - "overrideProperties": { - "@id": "reproschema:overrideProperties", - "@type": "reproschema:OverrideProperty", - "@container": "@set", - "@nest": "ui" - }, - "message": { - "@id": "reproschema:message", - "@container": "@language" - }, - "shuffle": { - "@id": "reproschema:shuffle", - "@type": "schema:Boolean", - "@nest": "ui" - }, - "inputOptions": { - "@id": "reproschema:inputs", - "@container": "@index", - "@nest": "ui" - }, - "inputType": { - "@id": "reproschema:inputType", - "@type": "xsd:string", - "@nest": "ui" - }, - "readonlyValue": { - "@id": "schema:readonlyValue", - "@nest": "ui" - }, - "compute": { - "@id": "reproschema:compute", - "@container": "@set" - }, - "messages": { - "@id": "reproschema:messages", - "@container": "@set" - }, - "jsExpression": { - "@id": "reproschema:jsExpression" - }, - "isVis": { - "@id": "reproschema:isVis" - }, - "variableName": "reproschema:variableName", - "isAbout": { - "@id": "reproschema:isAbout", - "@type": "@id" - }, - "allow": { - "@id": "reproschema:allow", - "@container": "@set", - "@type": "@id", - "@nest": "ui" - }, - "reproschema:Skipped": {"@id": "reproschema:Skipped"}, - "reproschema:DontKnow": {"@id": "reproschema:DontKnow"}, - "reproschema:TimedOut": {"@id": "reproschema:TimedOut"}, - "reproschema:AutoAdvance": {"@id": "reproschema:AutoAdvance"}, - "reproschema:DisableBack": {"@id": "reproschema:DisableBack"}, - "reproschema:AllowExport": {"@id": "reproschema:AllowExport"}, - "reproschema:AllowReplay": {"@id": "reproschema:AllowReplay"}, - "timer": { - "@id": "reproschema:timer", - "@type": "@id", - "@nest": "ui" - }, - "delay": { - "@id": "reproschema:delay", - "@type": "@id", - "@nest": "ui" - }, - "additionalNotesObj": { - "@id": "reproschema:additionalNotesObj", - "@type": "reproschema:AdditionalNoteObj", - "@container": "@set" - }, - "source": { - "@id": "reproschema:source", - "@type": "xsd:string" - }, - "column": { - "@id": "reproschema:column", - "@type": "xsd:string" - }, - "randomMaxDelay": { - "@id": "reproschema:randomMaxDelay" - }, - "schedule": { - "@id": "reproschema:schedule" - }, - "limit": { - "@id": "reproschema:limit" - }, - "maxRetakes": { - "@id": "reproschema:maxRetakes" - }, - "importedFrom": { - "@id": "pav:importedFrom", - "@type": "@id" - }, - "importedBy": { - "@id": "pav:importedBy", - "@type": "@id" - }, - "createdWith": { - "@id": "pav:createdWith", - "@type": "@id" - }, - "createdBy": { - "@id": "pav:createdBy", - "@type": "@id" - }, - "createdOn": { - "@id": "pav:createdOn", - "@type": "xsd:dateTime" - }, - "previousVersion": { - "@id": "pav:previousVersion", - "@type": "@id" - }, - "lastUpdateOn": { - "@id": "pav:lastUpdateOn", - "@type": "xsd:dateTime" - }, - "derivedFrom": { - "@id": "prov:wasDerivedFrom", - "@type": "@id" - }, - "used": { - "@id": "prov:used", - "@container": "@set", - "@type": "@id" - }, - "wasAttributedTo": { - "@id": "prov:wasAttributedTo", - "@type": "reproschema:Participant", - "@container": "@set" - }, - "wasAssociatedWith": { - "@id": "prov:wasAssociatedWith", - "@type": "reproschema:SoftwareAgent", - "@container": "@set" - }, - "subject_id": { - "@id": "nidm:subject_id" - }, - "startedAtTime": { - "@id": "prov:startedAtTime", - "@type": "xsd:dateTime" - }, - "endedAtTime": { - "@id": "prov:endedAtTime", - "@type": "xsd:dateTime" - } - } - ] -} diff --git a/contexts/reproschema_new b/contexts/reproschema similarity index 98% rename from contexts/reproschema_new rename to contexts/reproschema index 0dd506d288..8c7414e359 100644 --- a/contexts/reproschema_new +++ b/contexts/reproschema @@ -186,7 +186,8 @@ "@id": "nidm:subject_id" }, "unitOptions": { - "@type": "@id" + "@type": "@id", + "@container": "@set" }, "url": { "@type": "@id", @@ -194,6 +195,7 @@ }, "used": { "@type": "@id", + "@container": "@set", "@id": "prov:used" }, "valueRequired": { diff --git a/examples/activities/activity1.jsonld b/examples/activities/activity1.jsonld index b7b3e296d3..6ffe5f050b 100644 --- a/examples/activities/activity1.jsonld +++ b/examples/activities/activity1.jsonld @@ -1,5 +1,5 @@ { - "@context": "../../contexts/reproschema_new", + "@context": "../../contexts/reproschema", "@type": "reproschema:Activity", "@id": "activity1.jsonld", "prefLabel": "Example 1", diff --git a/examples/activities/activity1_embed.jsonld b/examples/activities/activity1_embed.jsonld index cdf6e4382d..fc27f7cd35 100644 --- a/examples/activities/activity1_embed.jsonld +++ b/examples/activities/activity1_embed.jsonld @@ -1,5 +1,5 @@ { - "@context": "../../contexts/reproschema_new", + "@context": "../../contexts/reproschema", "@type": "reproschema:Activity", "@id": "activity1.jsonld", "prefLabel": "Example 1", diff --git a/examples/activities/items/activity1_total_score b/examples/activities/items/activity1_total_score index 8174c85962..b384e74fcb 100644 --- a/examples/activities/items/activity1_total_score +++ b/examples/activities/items/activity1_total_score @@ -1,5 +1,5 @@ { - "@context": "../../../contexts/reproschema_new", + "@context": "../../../contexts/reproschema", "@type": "reproschema:Field", "@id": "activity1_total_score", "prefLabel": "activity1_total_score", diff --git a/examples/activities/items/item1.jsonld b/examples/activities/items/item1.jsonld index 569762425f..0584f3bcaa 100644 --- a/examples/activities/items/item1.jsonld +++ b/examples/activities/items/item1.jsonld @@ -1,5 +1,5 @@ { - "@context": "../../../contexts/reproschema_new", + "@context": "../../../contexts/reproschema", "@type": "reproschema:Field", "@id": "item1.jsonld", "prefLabel": "item1", diff --git a/examples/activities/items/item2.jsonld b/examples/activities/items/item2.jsonld index bfcfedd540..d37c68c408 100644 --- a/examples/activities/items/item2.jsonld +++ b/examples/activities/items/item2.jsonld @@ -1,5 +1,5 @@ { - "@context": "../../../contexts/reproschema_new", + "@context": "../../../contexts/reproschema", "@type": "reproschema:Field", "@id": "item2.jsonld", "prefLabel": "item2", diff --git a/examples/protocols/protocol1.jsonld b/examples/protocols/protocol1.jsonld index 54d3d4178a..7af2813101 100644 --- a/examples/protocols/protocol1.jsonld +++ b/examples/protocols/protocol1.jsonld @@ -1,5 +1,5 @@ { - "@context": "../../contexts/reproschema_new", + "@context": "../../contexts/reproschema", "@type": "reproschema:Protocol", "@id": "protocol1.jsonld", "prefLabel": { diff --git a/examples/protocols/protocol1_embed.jsonld b/examples/protocols/protocol1_embed.jsonld index 70ff72f785..3cf1b29e62 100644 --- a/examples/protocols/protocol1_embed.jsonld +++ b/examples/protocols/protocol1_embed.jsonld @@ -1,5 +1,5 @@ { - "@context": "../../contexts/reproschema_new", + "@context": "../../contexts/reproschema", "@type": "reproschema:Protocol", "@id": "protocol1.jsonld", "prefLabel": { diff --git a/examples/responses/response1.jsonld b/examples/responses/response1.jsonld index 936070297c..3dc93014e3 100644 --- a/examples/responses/response1.jsonld +++ b/examples/responses/response1.jsonld @@ -1,5 +1,5 @@ { - "@context": "../../contexts/reproschema_new", + "@context": "../../contexts/reproschema", "@type": "reproschema:Response", "@id": "uuid:fc963765-1f1b-4ad9-bc4b-0d21b9de5acb", "wasAttributedTo": { diff --git a/examples/responses/responseActivity1.jsonld b/examples/responses/responseActivity1.jsonld index df73f87d33..e7b9bbf4d4 100644 --- a/examples/responses/responseActivity1.jsonld +++ b/examples/responses/responseActivity1.jsonld @@ -1,5 +1,5 @@ { - "@context": "../../contexts/reproschema_new", + "@context": "../../contexts/reproschema", "@type": "reproschema:ResponseActivity", "@id": "uuid:96496a96-50d6-4b87-a65e-468420e7c80d", "used": [