Skip to main content

Resource

A resource is a reference to something outside the model — a license, a person, an organization, a publication — identified by a name and a URI. By pairing a human-readable label with a Uniform Resource Identifier, a resource lets an OntoUML model link out into the semantic web.

Structure​

  • JSON type: object
  • Properties (both required):
PropertyTypeDescription
URIstring (uri) or nullThe Uniform Resource Identifier of the resource.
namelanguageString or nullThe name of the resource.

Both properties are always present; when a value is unknown it is written explicitly as null rather than omitted. The name follows the languageString datatype, so a resource can be named in multiple languages.

{
"name": { "en": "CC BY 4.0" },
"URI": "https://creativecommons.org/licenses/by/4.0/"
}

A resource with only a URI and no name:

{
"name": null,
"URI": "https://orcid.org/0000-0002-1825-0097"
}

Where it is used​

resource is used for the metadata properties of a project that point at external entities:

PropertyShapeDescribed in
publisherresource or nullthe Project element
licenseresource or nullthe Project element
creatorsresource[]the Project element
contributorsresource[]the Project element
note

resource is one of the reusable datatypes; the others are id, languageString, pointInTime, and point.