@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.

Readme

Keywords

Package Sidebar

Install

npm i @adobe/parliament-source-jsonschema

Weekly Downloads

4

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