Skip to content

adobe/parliament-source-jsonschema

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published