1Password · JSON-LD Context

1Password Context

JSON-LD context defining the semantic vocabulary for 1Password from 1Password.

0 Classes 8 Properties 4 Namespaces
View Context View on GitHub

Namespaces

onepassword: https://developer.1password.com/schemas/
schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/

Properties

Property Type Container
Vault
Item
Field
Section
SignInAttempt
ItemUsage
AuditEvent
Account

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "onepassword": "https://developer.1password.com/schemas/",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",

    "Vault": {
      "@id": "onepassword:Vault",
      "@context": {
        "id": "schema:identifier",
        "name": "schema:name",
        "description": "schema:description",
        "attributeVersion": "onepassword:attributeVersion",
        "contentVersion": "onepassword:contentVersion",
        "items": "onepassword:itemCount",
        "type": "onepassword:vaultType",
        "createdAt": {
          "@id": "dcterms:created",
          "@type": "xsd:dateTime"
        },
        "updatedAt": {
          "@id": "dcterms:modified",
          "@type": "xsd:dateTime"
        }
      }
    },

    "Item": {
      "@id": "onepassword:Item",
      "@context": {
        "id": "schema:identifier",
        "title": "schema:name",
        "category": "onepassword:itemCategory",
        "favorite": "onepassword:isFavorite",
        "tags": {
          "@id": "schema:keywords",
          "@container": "@set"
        },
        "version": "schema:version",
        "state": "onepassword:itemState",
        "fields": {
          "@id": "onepassword:hasField",
          "@container": "@set"
        },
        "sections": {
          "@id": "onepassword:hasSection",
          "@container": "@set"
        },
        "urls": {
          "@id": "schema:url",
          "@container": "@set"
        },
        "createdAt": {
          "@id": "dcterms:created",
          "@type": "xsd:dateTime"
        },
        "updatedAt": {
          "@id": "dcterms:modified",
          "@type": "xsd:dateTime"
        },
        "lastEditedBy": "onepassword:lastEditedBy"
      }
    },

    "Field": {
      "@id": "onepassword:Field",
      "@context": {
        "id": "schema:identifier",
        "type": "onepassword:fieldType",
        "purpose": "onepassword:fieldPurpose",
        "label": "schema:name",
        "value": "schema:value"
      }
    },

    "Section": {
      "@id": "onepassword:Section",
      "@context": {
        "id": "schema:identifier",
        "label": "schema:name"
      }
    },

    "SignInAttempt": {
      "@id": "onepassword:SignInAttempt",
      "@context": {
        "uuid": "schema:identifier",
        "timestamp": {
          "@id": "schema:dateCreated",
          "@type": "xsd:dateTime"
        },
        "category": "onepassword:attemptCategory",
        "type": "onepassword:attemptType",
        "country": "schema:addressCountry",
        "target_user": "onepassword:targetUser",
        "client": "onepassword:clientApplication"
      }
    },

    "ItemUsage": {
      "@id": "onepassword:ItemUsage",
      "@context": {
        "uuid": "schema:identifier",
        "timestamp": {
          "@id": "schema:dateCreated",
          "@type": "xsd:dateTime"
        },
        "action": "schema:actionStatus",
        "vault_uuid": "onepassword:vaultIdentifier",
        "item_uuid": "onepassword:itemIdentifier",
        "user": "schema:agent"
      }
    },

    "AuditEvent": {
      "@id": "onepassword:AuditEvent",
      "@context": {
        "uuid": "schema:identifier",
        "timestamp": {
          "@id": "schema:dateCreated",
          "@type": "xsd:dateTime"
        },
        "actor_uuid": "onepassword:actorIdentifier",
        "action": "schema:actionStatus",
        "object_type": "onepassword:objectType",
        "object_uuid": "onepassword:objectIdentifier"
      }
    },

    "Account": {
      "@id": "onepassword:PartnerAccount",
      "@context": {
        "account_uid": "schema:identifier",
        "account_type": "onepassword:accountType",
        "domain": {
          "@id": "schema:domainIncludes",
          "@type": "@id"
        },
        "status": "onepassword:accountStatus",
        "activation_token": "onepassword:activationToken",
        "ends_at": {
          "@id": "schema:expires",
          "@type": "xsd:dateTime"
        },
        "created_at": {
          "@id": "dcterms:created",
          "@type": "xsd:dateTime"
        }
      }
    }
  }
}