SSH · JSON-LD Context

Ssh Context

JSON-LD context defining the semantic vocabulary for Ssh from SSH.

15 Classes 6 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
ssh: https://www.openssh.com/vocab/
sec: https://w3id.org/security#
xsd: http://www.w3.org/2001/XMLSchema#

Classes

SSHKey SSHCertificate KnownHost AuthorizedKey id keyType publicKey fingerprint comment certificate serialNumber certType hostname username options

Properties

Property Type Container
userId reference
createdAt dateTime
lastUsedAt dateTime
principals list
validAfter dateTime
validBefore dateTime

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "ssh": "https://www.openssh.com/vocab/",
    "sec": "https://w3id.org/security#",
    "xsd": "http://www.w3.org/2001/XMLSchema#",

    "SSHKey": "sec:Key",
    "SSHCertificate": "sec:Certificate",
    "KnownHost": "ssh:KnownHost",
    "AuthorizedKey": "ssh:AuthorizedKey",

    "id": "schema:identifier",
    "userId": {
      "@id": "ssh:owner",
      "@type": "@id"
    },
    "keyType": "sec:algorithm",
    "publicKey": "sec:publicKeyPem",
    "fingerprint": "sec:fingerprint",
    "comment": "schema:description",
    "createdAt": {
      "@id": "schema:dateCreated",
      "@type": "xsd:dateTime"
    },
    "lastUsedAt": {
      "@id": "ssh:lastUsed",
      "@type": "xsd:dateTime"
    },

    "certificate": "sec:certificate",
    "serialNumber": "sec:serialNumber",
    "principals": {
      "@id": "ssh:authorizedPrincipals",
      "@container": "@list"
    },
    "validAfter": {
      "@id": "schema:validFrom",
      "@type": "xsd:dateTime"
    },
    "validBefore": {
      "@id": "schema:validThrough",
      "@type": "xsd:dateTime"
    },
    "certType": "ssh:certificateType",

    "hostname": "schema:name",
    "username": "schema:identifier",
    "options": "ssh:authorizedKeyOptions"
  }
}