Ingests JSON Schema files into the GraphQL database.
yarn add @adobe/parliament-source-jsonschema
module.exports = {
plugins: [
{
resolve: `@adobe/parliament-source-jsonschema`,
options: {
path: `${process.env.LOCAL_PROJECT_DIRECTORY}`,
patterns: `**/*`,
},
},
],
};
{
allParliamentJsonSchema {
edges {
node {
id
_id
_schema
slug
title
description
properties
_defs
}
}
}
}
Contributions are welcomed! Read the Contributing Guide for more information.
This project is licensed under the Apache V2 License. See LICENSE for more information.