mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
49 lines
2.2 KiB
JSON
49 lines
2.2 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
|
|
"import": [
|
|
"css:config/util/representation-conversion/converters/content-type-replacer.json",
|
|
"css:config/util/representation-conversion/converters/dynamic-json-template.json",
|
|
"css:config/util/representation-conversion/converters/errors.json",
|
|
"css:config/util/representation-conversion/converters/form-to-json.json",
|
|
"css:config/util/representation-conversion/converters/markdown.json",
|
|
"css:config/util/representation-conversion/converters/quad-to-rdf.json",
|
|
"css:config/util/representation-conversion/converters/rdf-to-quad.json"
|
|
],
|
|
"@graph": [
|
|
{
|
|
"comment": "Handles data conversion when required.",
|
|
"@id": "urn:solid-server:default:RepresentationConverter",
|
|
"@type": "WaterfallHandler",
|
|
"handlers": [
|
|
{ "@id": "urn:solid-server:default:DynamicJsonToTemplateConverter" },
|
|
{
|
|
"comment": "Automatically finds a path through a set of converters from one type to another.",
|
|
"@id": "urn:solid-server:default:ChainedConverter",
|
|
"@type": "ChainedConverter",
|
|
"converters": [
|
|
{ "@id": "urn:solid-server:default:ContentTypeReplacer" },
|
|
{ "@id": "urn:solid-server:default:RdfToQuadConverter" },
|
|
{ "@id": "urn:solid-server:default:QuadToRdfConverter" },
|
|
{ "@id": "urn:solid-server:default:ContainerToTemplateConverter" },
|
|
{ "@id": "urn:solid-server:default:ErrorToJsonConverter" },
|
|
{ "@id": "urn:solid-server:default:ErrorToQuadConverter" },
|
|
{ "@id": "urn:solid-server:default:ErrorToTemplateConverter" },
|
|
{ "@id": "urn:solid-server:default:MarkdownToHtmlConverter" },
|
|
{ "@id": "urn:solid-server:default:FormToJsonConverter" }
|
|
]
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
"comment": "Converts either to a default UI or to a representation.",
|
|
"@id": "urn:solid-server:default:UiEnabledConverter",
|
|
"@type": "WaterfallHandler",
|
|
"handlers": [
|
|
{ "@id": "urn:solid-server:default:DefaultUiConverter" },
|
|
{ "@id": "urn:solid-server:default:RepresentationConverter" }
|
|
]
|
|
}
|
|
]
|
|
}
|