@adobe/parliament-source-jsonschema

0.0.4 • Public • Published

parliament-source-jsonschema

Ingests JSON Schema files into the GraphQL database.

Install

yarn add @adobe/parliament-source-jsonschema

How to use

module.exports = {
  plugins: [
    {
      resolve: `@adobe/parliament-source-jsonschema`,
      options: {
        path: `${process.env.LOCAL_PROJECT_DIRECTORY}`,
        patterns: `**/*`,
      },
    },
  ],
};

How to query

{
  allParliamentJsonSchema {
    edges {
      node {
        id
        _id
        _schema
        slug
        title
        description
        properties
        _defs
      }
    }
  }
}

Contributing

Contributions are welcomed! Read the Contributing Guide for more information.

Licensing

This project is licensed under the Apache V2 License. See LICENSE for more information.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    1
  • 0.0.3
    0
  • 0.0.2
    0

Package Sidebar

Install

npm i @adobe/parliament-source-jsonschema

Weekly Downloads

1

Version

0.0.4

License

Apache-2.0

Unpacked Size

36.2 kB

Total Files

21

Last publish

Collaborators

  • dylandepass
  • djaeggi
  • adobehalls
  • fullcolorcoder
  • marbec
  • tripod
  • garthdb
  • lazd
  • adobe-admin
  • patrickfulton
  • trieloff
  • shazron
  • krisnye
  • dcpfsdk
  • natebaldwin
  • devongovett
  • aspro83
  • symanovi
  • dpfister
  • stefan-guggisberg
  • korra
  • rofe
  • kptdobe