PropelAuth · JSON-LD Context

Propelauth Context

JSON-LD context defining the semantic vocabulary for Propelauth from PropelAuth.

0 Classes 4 Properties 3 Namespaces
View Context View on GitHub

Namespaces

propelauth: https://docs.propelauth.com/reference/api/
schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#

Properties

Property Type Container
User
Organization
ApiKey
MagicLink

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "@vocab": "https://schema.org/",
    "propelauth": "https://docs.propelauth.com/reference/api/",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",

    "User": {
      "@id": "propelauth:User",
      "@context": {
        "user_id": { "@id": "propelauth:User/userId", "@type": "xsd:string" },
        "email": { "@id": "schema:email", "@type": "xsd:string" },
        "email_confirmed": { "@id": "propelauth:User/emailConfirmed", "@type": "xsd:boolean" },
        "username": { "@id": "schema:alternateName", "@type": "xsd:string" },
        "first_name": { "@id": "schema:givenName", "@type": "xsd:string" },
        "last_name": { "@id": "schema:familyName", "@type": "xsd:string" },
        "picture_url": { "@id": "schema:image", "@type": "xsd:anyURI" },
        "locked": { "@id": "propelauth:User/locked", "@type": "xsd:boolean" },
        "enabled": { "@id": "propelauth:User/enabled", "@type": "xsd:boolean" },
        "mfa_enabled": { "@id": "propelauth:User/mfaEnabled", "@type": "xsd:boolean" },
        "created_at": { "@id": "schema:dateCreated", "@type": "xsd:integer" },
        "last_active_at": { "@id": "propelauth:User/lastActiveAt", "@type": "xsd:integer" },
        "legacy_user_id": { "@id": "propelauth:User/legacyUserId", "@type": "xsd:string" },
        "org_id_to_org_info": { "@id": "propelauth:User/orgMemberships", "@container": "@index" }
      }
    },

    "Organization": {
      "@id": "schema:Organization",
      "@context": {
        "org_id": { "@id": "propelauth:Organization/orgId", "@type": "xsd:string" },
        "name": { "@id": "schema:name", "@type": "xsd:string" },
        "url_safe_org_name": { "@id": "propelauth:Organization/urlSafeName", "@type": "xsd:string" },
        "is_saml_configured": { "@id": "propelauth:Organization/samlConfigured", "@type": "xsd:boolean" },
        "max_users": { "@id": "propelauth:Organization/maxUsers", "@type": "xsd:integer" },
        "domain": { "@id": "propelauth:Organization/domain", "@type": "xsd:string" },
        "domain_autojoin": { "@id": "propelauth:Organization/domainAutojoin", "@type": "xsd:boolean" },
        "domain_restrict": { "@id": "propelauth:Organization/domainRestrict", "@type": "xsd:boolean" },
        "created_at": { "@id": "schema:dateCreated", "@type": "xsd:integer" }
      }
    },

    "ApiKey": {
      "@id": "propelauth:ApiKey",
      "@context": {
        "api_key_id": { "@id": "propelauth:ApiKey/id", "@type": "xsd:string" },
        "created_at": { "@id": "schema:dateCreated", "@type": "xsd:integer" },
        "expires_at_seconds": { "@id": "schema:expires", "@type": "xsd:integer" },
        "user_id": { "@id": "propelauth:ApiKey/userId", "@type": "xsd:string" },
        "org_id": { "@id": "propelauth:ApiKey/orgId", "@type": "xsd:string" },
        "type": { "@id": "propelauth:ApiKey/type", "@type": "xsd:string" }
      }
    },

    "MagicLink": {
      "@id": "propelauth:MagicLink",
      "@context": {
        "url": { "@id": "schema:url", "@type": "xsd:anyURI" }
      }
    }
  }
}