Socket
Socket
Sign inDemoInstall

json-ld-types

Package Overview
Dependencies
1
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    json-ld-types

A set of types for working with JSON LD like a pro.


Version published
Weekly downloads
8.9K
increased by11.05%
Maintainers
1
Install size
915 kB
Created
Weekly downloads
 

Readme

Source

JSON-LD Types

A set of types for working with JSON LD like a pro.

Usage

import { JsonLd } from '@atlassian/json-ld-types';

const file: JsonLd.Object<JsonLd.Meta.Granted, JsonLd.Data.TextDocument> = {
  meta: {
    access: 'granted',
    visibility: 'restricted',
    auth: [],
    definitionId: 'confluence-object-provider',
  },
  data: {
    '@context': {
      '@vocab': 'https://www.w3.org/ns/activitystreams#',
      atlassian: 'https://schema.atlassian.com/ns/vocabulary#',
      schema: 'http://schema.org/',
    },
    generator: {
      '@type': 'Application',
      '@id': 'https://www.atlassian.com/#Confluence',
      name: 'Confluence',
    },
    '@type': ['Document', 'schema:TextDigitalDocument'],
    url: 'https://product-fabric.atlassian.net/wiki/spaces/SL/pages/876610663/Github+Object+provider',
    name: 'Github Object provider',
    summary: 'This page is within the Smart Links space',
  },
};

FAQs

Last updated on 16 Mar 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc