import Translate from "@docusaurus/Translate" import { Collapsible, CreateNodes } from "@theme/JSONSchemaViewer/components" import { SchemaHierarchyComponent } from "@theme/JSONSchemaViewer/contexts" import type { JSX } from "react" import type { JSONSchemaNS } from "@theme/JSONSchemaViewer/types" type Props = { schema: JSONSchemaNS.String } export default function ContentSchema(props: Props): JSX.Element { const { schema } = props // Translated Labels const contentSchemaLabel = ( {"Decoded content must be validated against this schema :"} ) // TODO maybe later refactor this name ... const title = "Schema" return (
{contentSchemaLabel}   {title}} detailsProps={{ open: true, }} >
) }