@adobe/parliament-source-jsonschema
v0.0.4
Published
Gatsby source plugin for JSON Schema
Downloads
13
Readme
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.