Skip to content

Commit

Permalink
Regenerate all schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Incicau committed Aug 27, 2024
1 parent dec8312 commit 4d0ea3e
Show file tree
Hide file tree
Showing 13 changed files with 1,124 additions and 295 deletions.
Binary file modified project/excel/omni_schema.xlsx
Binary file not shown.
3 changes: 2 additions & 1 deletion project/graphql/omni_schema.graphql
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# metamodel_version: 1.7.0
type Benchmark
{
id: Uriorcurie!
name: String
description: String
version: String!
benchmarker: String!
softwareBackend: String!
softwareBackend: SoftwareBackendEnum!
storage: String!
storageApi: StorageAPIEnum!
softwareEnvironments: [SoftwareEnvironment]!
Expand Down
105 changes: 92 additions & 13 deletions project/jsonld/omni_schema.context.jsonld
Original file line number Diff line number Diff line change
@@ -1,63 +1,142 @@
{
"comments": {
"description": "Auto generated by LinkML jsonld context generator",
"generation_date": "2024-08-06T14:53:16",
"generation_date": "2024-08-27T15:30:28",
"source": "omni_schema.yaml"
},
"@context": {
"xsd": "http://www.w3.org/2001/XMLSchema#",
"example": "https://example.org/",
"linkml": "https://w3id.org/linkml/",
"omni_schema": "https://w3id.org/omnibenchmark/omni-schema/",
"schema": "http://schema.org/",
"skos": "http://www.w3.org/2004/02/skos/core#",
"@vocab": "https://w3id.org/omnibenchmark/omni-schema/",
"apptainer": {
"@id": "apptainer"
},
"benchmark_yaml_spec": {
"@id": "benchmark_yaml_spec"
},
"benchmarker": {
"@id": "benchmarker"
},
"commit": {
"@id": "commit"
},
"conda": {
"@id": "conda"
},
"description": {
"@id": "schema:description"
},
"easyconfig": {
"@id": "easyconfig"
},
"entries": {
"@type": "@id"
"@type": "@id",
"@id": "entries"
},
"envmodule": {
"@id": "envmodule"
},
"exclude": {
"@type": "@id"
"@type": "@id",
"@id": "exclude"
},
"id": "@id",
"inputs": {
"@type": "@id"
"@type": "@id",
"@id": "inputs"
},
"modules": {
"@type": "@id"
"@type": "@id",
"@id": "modules"
},
"name": {
"@id": "schema:name"
},
"outputs": {
"@type": "@id"
"@type": "@id",
"@id": "outputs"
},
"parameters": {
"@type": "@id"
"@type": "@id",
"@id": "parameters"
},
"path": {
"@id": "path"
},
"repository": {
"@type": "@id"
"@type": "@id",
"@id": "repository"
},
"software_backend": {
"@context": {
"text": "skos:notation",
"description": "skos:prefLabel",
"meaning": "@id"
},
"@id": "software_backend"
},
"software_environment": {
"@type": "@id"
"@type": "@id",
"@id": "software_environment"
},
"software_environments": {
"@type": "@id"
"@type": "@id",
"@id": "software_environments"
},
"stages": {
"@type": "@id"
"@type": "@id",
"@id": "stages"
},
"storage": {
"@id": "storage"
},
"storage_api": {
"@context": {
"@vocab": "@null",
"text": "skos:notation",
"description": "skos:prefLabel",
"meaning": "@id"
}
},
"@id": "storage_api"
},
"url": {
"@id": "url"
},
"values": {
"@id": "values"
},
"version": {
"@id": "version"
},
"Benchmark": {
"@id": "Benchmark"
},
"IdentifiableEntity": {
"@id": "schema:Thing"
},
"InputCollection": {
"@id": "InputCollection"
},
"IOFile": {
"@id": "IOFile"
},
"Module": {
"@id": "Module"
},
"Parameter": {
"@id": "Parameter"
},
"Repository": {
"@id": "Repository"
},
"SoftwareEnvironment": {
"@id": "SoftwareEnvironment"
},
"Stage": {
"@id": "Stage"
}
}
}
42 changes: 29 additions & 13 deletions project/jsonld/omni_schema.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,22 @@
"text": "S3"
}
]
},
{
"name": "SoftwareBackendEnum",
"definition_uri": "https://w3id.org/omnibenchmark/omni-schema/SoftwareBackendEnum",
"from_schema": "https://w3id.org/omnibenchmark/omni-schema",
"permissible_values": [
{
"text": "apptainer"
},
{
"text": "envmodules"
},
{
"text": "conda"
}
]
}
],
"slots": [
Expand Down Expand Up @@ -441,7 +457,7 @@
"domain_of": [
"Benchmark"
],
"range": "string",
"range": "SoftwareBackendEnum",
"required": true,
"@type": "SlotDefinition"
},
Expand Down Expand Up @@ -478,13 +494,13 @@
"definition_uri": "https://w3id.org/omnibenchmark/omni-schema/stages",
"from_schema": "https://w3id.org/omnibenchmark/omni-schema",
"slot_uri": "https://w3id.org/omnibenchmark/omni-schema/stages",
"multivalued": true,
"owner": "Benchmark",
"domain_of": [
"Benchmark"
],
"range": "Stage",
"required": true,
"multivalued": true,
"inlined": true,
"inlined_as_list": true,
"@type": "SlotDefinition"
Expand All @@ -494,13 +510,13 @@
"definition_uri": "https://w3id.org/omnibenchmark/omni-schema/modules",
"from_schema": "https://w3id.org/omnibenchmark/omni-schema",
"slot_uri": "https://w3id.org/omnibenchmark/omni-schema/modules",
"multivalued": true,
"owner": "Stage",
"domain_of": [
"Stage"
],
"range": "Module",
"required": true,
"multivalued": true,
"inlined": true,
"inlined_as_list": true,
"@type": "SlotDefinition"
Expand All @@ -510,12 +526,12 @@
"definition_uri": "https://w3id.org/omnibenchmark/omni-schema/inputs",
"from_schema": "https://w3id.org/omnibenchmark/omni-schema",
"slot_uri": "https://w3id.org/omnibenchmark/omni-schema/inputs",
"multivalued": true,
"owner": "Stage",
"domain_of": [
"Stage"
],
"range": "InputCollection",
"multivalued": true,
"inlined": true,
"inlined_as_list": true,
"@type": "SlotDefinition"
Expand All @@ -525,12 +541,12 @@
"definition_uri": "https://w3id.org/omnibenchmark/omni-schema/outputs",
"from_schema": "https://w3id.org/omnibenchmark/omni-schema",
"slot_uri": "https://w3id.org/omnibenchmark/omni-schema/outputs",
"multivalued": true,
"owner": "Stage",
"domain_of": [
"Stage"
],
"range": "IOFile",
"multivalued": true,
"inlined": true,
"inlined_as_list": true,
"@type": "SlotDefinition"
Expand All @@ -541,12 +557,12 @@
"description": "Ignore these module's outputs as input.",
"from_schema": "https://w3id.org/omnibenchmark/omni-schema",
"slot_uri": "https://w3id.org/omnibenchmark/omni-schema/exclude",
"multivalued": true,
"owner": "Module",
"domain_of": [
"Module"
],
"range": "Module",
"multivalued": true,
"@type": "SlotDefinition"
},
{
Expand All @@ -569,12 +585,12 @@
"definition_uri": "https://w3id.org/omnibenchmark/omni-schema/parameters",
"from_schema": "https://w3id.org/omnibenchmark/omni-schema",
"slot_uri": "https://w3id.org/omnibenchmark/omni-schema/parameters",
"multivalued": true,
"owner": "Module",
"domain_of": [
"Module"
],
"range": "Parameter",
"multivalued": true,
"inlined": true,
"@type": "SlotDefinition"
},
Expand All @@ -584,13 +600,13 @@
"description": "Dictionary of software environments keyed by their identifiers",
"from_schema": "https://w3id.org/omnibenchmark/omni-schema",
"slot_uri": "https://w3id.org/omnibenchmark/omni-schema/software_environments",
"multivalued": true,
"owner": "Benchmark",
"domain_of": [
"Benchmark"
],
"range": "SoftwareEnvironment",
"required": true,
"multivalued": true,
"inlined": true,
"inlined_as_list": true,
"@type": "SlotDefinition"
Expand Down Expand Up @@ -655,25 +671,25 @@
"definition_uri": "https://w3id.org/omnibenchmark/omni-schema/values",
"from_schema": "https://w3id.org/omnibenchmark/omni-schema",
"slot_uri": "https://w3id.org/omnibenchmark/omni-schema/values",
"multivalued": true,
"owner": "Parameter",
"domain_of": [
"Parameter"
],
"range": "string",
"multivalued": true,
"@type": "SlotDefinition"
},
{
"name": "entries",
"definition_uri": "https://w3id.org/omnibenchmark/omni-schema/entries",
"from_schema": "https://w3id.org/omnibenchmark/omni-schema",
"slot_uri": "https://w3id.org/omnibenchmark/omni-schema/entries",
"multivalued": true,
"owner": "InputCollection",
"domain_of": [
"InputCollection"
],
"range": "IOFile",
"multivalued": true,
"@type": "SlotDefinition"
},
{
Expand Down Expand Up @@ -897,9 +913,9 @@
],
"metamodel_version": "1.7.0",
"source_file": "omni_schema.yaml",
"source_file_date": "2024-08-06T14:49:47",
"source_file_size": 5054,
"generation_date": "2024-08-06T14:53:16",
"source_file_date": "2024-08-27T15:15:07",
"source_file_size": 5231,
"generation_date": "2024-08-27T15:30:28",
"@type": "SchemaDefinition",
"@context": [
"project/jsonld/omni_schema.context.jsonld",
Expand Down
Loading

0 comments on commit 4d0ea3e

Please sign in to comment.