text: export const generateContentForDetailType = ({ detailType, description = '', rulesForDetailType, schemaName, schemaVersion, descriptionsForProperties}) => {
  
      return `---
  Title: ${detailType}
  ---
  
  ${description}
  
  ${descriptionsForProperties ? `
  ## Detail Properties
  ${Object.keys(descriptionsForProperties).map(property => `
  - \`${property}\` - ${descriptionsForProperties[property]}
  `)}
  ` : ''}
  
  <br />
  
  ${rulesForDetailType.length > 0 ? `
  ## Event Rules
  ${rulesForDetailType.map(rule => `- \`${rule}\``)}
  ` : ''}
  
  
  <br />
  
  # **Schema details**
  #### Schema name: \`${schemaName}\`
  #### Version: \`${schemaVersion}\`
      `;
  }
  
  
  export const generateSideNotesForDetailType = ({ schema, example }) => {
      return `
  ${example ? `
  #! Event Example
  \`\`\`json
  ${JSON.stringify(example, null, 4)}
  \`\`\`
  ` : ''}
  
  
  #! Event Schema
  \`\`\`json
  ${JSON.stringify(schema, null, 4)}
  \`\`\``;
  }
  
  export const generateSourceMetadata = ({ source, sourceDescription }) => {
      return `---
  Title: ${source}
  ---
  ${sourceDescription}`;
  }