Skip to content

Commit

Permalink
Update generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
dalito committed Jan 9, 2025
1 parent 200dea0 commit e19e7ed
Show file tree
Hide file tree
Showing 13 changed files with 537 additions and 522 deletions.
Binary file modified project/excel/pid4cat_model.xlsx
Binary file not shown.
12 changes: 6 additions & 6 deletions project/graphql/pid4cat_model.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ type Agent
name: String
email: String
orcid: String
affiliationRor: String
affiliationRor: Uri
role: PID4CatAgentRole
}

Expand All @@ -87,7 +87,7 @@ type Container

type LogRecord
{
datetimeLog: String
datetimeLog: Datetime
hasAgent: Agent
changedField: ChangeLogField
description: String
Expand All @@ -96,7 +96,7 @@ type LogRecord
type PID4CatRecord
{
id: Uriorcurie!
landingPageUrl: String
landingPageUrl: Uri
status: PID4CatStatus
pidSchemaVersion: String
license: String
Expand All @@ -109,13 +109,13 @@ type PID4CatRecord
type PID4CatRelation
{
relationType: RelationType
relatedIdentifier: String
datetimeLog: String
relatedIdentifier: Uri
datetimeLog: Datetime
}

type RepresentationVariant
{
url: String
url: Uri
mediaType: String
encodingFormat: String
size: Integer
Expand Down
52 changes: 29 additions & 23 deletions project/jsonld/pid4cat_model.context.jsonld
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": "2025-01-05T16:58:06",
"generation_date": "2025-01-09T12:28:44",
"source": "pid4cat_model.yaml"
},
"@context": {
Expand All @@ -11,83 +11,88 @@
"dcterms": "http://purl.org/dc/terms/",
"linkml": "https://w3id.org/linkml/",
"pid4cat_model": "https://w3id.org/nfdi4cat/pid4cat-model/",
"prov": "http://example.org/UNKNOWN/prov/",
"schema": "http://schema.org/",
"skos": "http://www.w3.org/2004/02/skos/core#",
"@vocab": "https://w3id.org/nfdi4cat/pid4cat-model/",
"affiliation_ror": {
"@id": "schema:identifier"
"@type": "xsd:anyURI",
"@id": "affiliation_ror"
},
"change_log": {
"@type": "@id",
"@id": "schema:identifier"
"@id": "change_log"
},
"changed_field": {
"@context": {
"text": "skos:notation",
"description": "skos:prefLabel",
"meaning": "@id"
},
"@id": "schema:identifier"
"@id": "changed_field"
},
"contains_pids": {
"@type": "@id",
"@id": "contains_pids"
},
"curation_contact_email": {
"@id": "schema:email"
"@id": "curation_contact_email"
},
"datetime_log": {
"@id": "schema:DateTime"
"@type": "xsd:dateTime",
"@id": "datetime_log"
},
"description": {
"@id": "schema:description"
"@id": "description"
},
"email": {
"@id": "schema:email"
"@id": "email"
},
"encoding_format": {
"@id": "encoding_format"
},
"has_agent": {
"@type": "@id",
"@id": "schema:Agent"
"@id": "has_agent"
},
"id": "@id",
"label": {
"@id": "schema:name"
"@id": "label"
},
"landing_page_url": {
"@type": "xsd:anyURI",
"@id": "schema:url"
},
"license": {
"@id": "schema:license"
"@id": "license"
},
"media_type": {
"@id": "schema:encodingFormat"
"@id": "media_type"
},
"name": {
"@id": "schema:name"
"@id": "name"
},
"orcid": {
"@id": "schema:identifier"
"@id": "orcid"
},
"pid_schema_version": {
"@id": "schema:identifier"
"@id": "pid_schema_version"
},
"related_identifier": {
"@id": "schema:identifier"
"@type": "xsd:anyURI",
"@id": "related_identifier"
},
"related_identifiers": {
"@type": "@id",
"@id": "schema:identifier"
"@id": "related_identifiers"
},
"relation_type": {
"@context": {
"text": "skos:notation",
"description": "skos:prefLabel",
"meaning": "@id"
},
"@id": "schema:identifier"
"@id": "relation_type"
},
"representation_variants": {
"@type": "@id",
Expand All @@ -99,7 +104,7 @@
"description": "skos:prefLabel",
"meaning": "@id"
},
"@id": "schema:additionalType"
"@id": "resource_category"
},
"resource_info": {
"@type": "@id",
Expand All @@ -111,11 +116,11 @@
"description": "skos:prefLabel",
"meaning": "@id"
},
"@id": "schema:identifier"
"@id": "role"
},
"size": {
"@type": "xsd:integer",
"@id": "schema:fileSize"
"@id": "size"
},
"status": {
"@context": {
Expand All @@ -126,10 +131,11 @@
"@id": "status"
},
"url": {
"@id": "schema:URL"
"@type": "xsd:anyURI",
"@id": "url"
},
"Agent": {
"@id": "Agent"
"@id": "prov:Agent"
},
"Container": {
"@id": "Container"
Expand Down
Loading

0 comments on commit e19e7ed

Please sign in to comment.