npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@gaia-x/ontology

v0.0.1-develop.9

Published

The Gaia-X ontology package

Downloads

407

Readme

GAIA-X Service Characteristics

This repository contains schema and documentation for developing compliant Gaia-X Credentials (formerly called Gaia-X Self-Descriptions / SDs).

Credentials ensure the fulfillment of the policies and rules agreed by the participants that decide to build a data ecosystem under the governance defined according to the Gaia-X Association.

To build and validate Credentials, the schema is made available through the Gaia-X Compliance Services.

GitLab Structure

Folders:

  • single-point-of-truth: Single point of truth with respect to Self-Description Schema. Schema contains of a hierarchy of classes, called taxonomy and a set of attributes for each class. Attributes are encoded in YAML files.
  • instances: Sample credentials in JSON-LD.
  • toolchain: Scripts and unit tests for our CI/CD pipeline.
  • deprecated: Files pending to convert to LinkML (eventually will be removed).

Documentation

Markdown is a lightweight markup language which uses a simple and readable syntax. You can find the generated markdown documentation of the LinkML model in the repository's Gitlab Pages.

How to Use the Ontology ?

Javascript/Typescript

An NPM package is made available by this repository to allow developers to use Gaia-X entities, shapes and contexts in their Javascript or Typescript project.

You can find this package here 👉 https://www.npmjs.com/package/@gaia-x/ontology.

All you need to do is install the Gaia-X ontology NPM package with your favorite dependency management system.

# NPM
npm install --save @gaia-x/ontology

# Yarn
yarn add @gaia-x/ontology

Versions

As NPM package versioning is done with a <major>.<minor>.<patch> pattern, ontology versions cannot be used. The below table explains version correspondence.

| Ontology version | NPM package version | |------------------|---------------------| | 24.04 | 1.x.x |

How to collaborate

These are the steps you should take if you want to collaborate in the development or maintenance of the working streams that are carried out in the group.

  • Check the list of current open issues or create a new one if necessary. You can do it in the issues section.
  • Describe the issue and add the appropriate label(s) to it. Be sure of tagging the issue status, especially use status:in_progress.
  • Create a new branch to hold your changes and updates. Name of branch should start with the number of the issue, e.g. 195-governance-process for issue #195.
  • Write a YAML file(s) in LinkML format to describe a Gaia-X entity and address your issue ("entity" refers to any good or object of the Gaia-X Ecosystem). Learn how to do it in the Single Point of Truth section.
  • Generate, from this LinkML schema, artifacts expressed in terms of commonly used web standards, such a JSON, OWL and SHACL.

At this point, you can get these artifacts in two main ways.

  • Create a new merge request to merge your branch to target branch develop. This request (also any time you push new changes to your branch) will throw the CI/CD process, that will - among other tasks - generate a zip with these JSON, OWL and SHACL files.
  • Build these files locally using the LinkML generator tool (*).

(*) Due to some constraints related to current LinkML implementation, the process uses Anja Strunk's fork of LinkML.

Once you got the shapes:

  • To check their validity, you need to build and run unit tests. Visit the Unit test section to get more details.
  • To validate JSON instances, take a look at the Toolchain section.

When you have all the work done:

  • Join our Weekly Meeting to present your request for change to the Sub-Working Group's members and discuss it with them. General information about the group and the links to join can be found at the Member's platform.
  • Answer and resolve threads in your Merge Request. Note: Thread may be re-opened by other members.

Guidelines for merge into develop:

  • No unresolved thread, no merge conflicts either.
  • Successfully run CI/CD pipeline (this process also runs automatically every time you push new changes).
  • Presentation of changes in weekly Service Characteristics meeting. The request will require the approval from two members of the group, besides the one from CTO team representative.
  • Only merge requests with label status:ready_for_approval will be approved and merged.

PLEASE NOTE: The author, this means you, is responsible for propagating relevant changes back to other Gaia-X deliverables. This will not happen automatically or by any other member of the community.

CI/CD

These are the stages that will be executed during the continuous integration process:

  • build: build Self-Description artifacts.
  • test: test correctness of Self-Descriptions artefacts.
  • validate: validate Self-Description samples.
  • package: build and publish generated artifacts in package registry.
  • pages: publish a Gitlab Pages website
  • release: automatically create a new release from a tag.

Ontology Version Management

Gaia-X ontology versions need to be easy to distinguish and reference. To do so, the context name contains the referenced version in its URI.

https://w3id.org/gaia-x/{version}#

For example, this is the URI of the 24.04 Gaia-X ontology namespace.

https://w3id.org/gaia-x/2404#

Please notice that the . in the version number has been removed for convenience and technical reasons in the URI.

Releasing

For security reasons, only users with a minimum of Maintainer access level are allowed to create a new release of this project.

Releases are automatically created and published once a tag is created, to do so the following command can be used.

git checkout main
git tag -a v<YOUR_VERSION>

Tags must always be created from the main branch as it houses production ready code. YOUR_VERSION must be replaced with the version you are releasing (ie. 22.10 for October 2022's specification version).

Organization

  • All communication is done via Mailing List. Please use the Member's platform to join our group.
  • We meet weekly on Friday 08:00-09:00 (Central European (Summer) Time).
  • Sources:
  • Lead: Christoph Lange-Bever, Vice-Lead: Anja Strunk.