export var generateContext = function generateContext(_ref) {
  var type = _ref.type,
    generatorId = _ref.generatorId,
    fileFormat = _ref.fileFormat,
    jiraTaskType = _ref.jiraTaskType,
    _ref$metaAccess = _ref.metaAccess,
    metaAccess = _ref$metaAccess === void 0 ? 'granted' : _ref$metaAccess,
    _ref$metaVisibility = _ref.metaVisibility,
    metaVisibility = _ref$metaVisibility === void 0 ? 'restricted' : _ref$metaVisibility;
  return {
    meta: {
      auth: [],
      definitionId: 'watermelon-object-provider',
      visibility: metaVisibility,
      access: metaAccess,
      key: 'watermelon-object-provider'
    },
    data: {
      '@context': {
        '@vocab': 'https://www.w3.org/ns/activitystreams#',
        atlassian: 'https://schema.atlassian.com/ns/vocabulary#',
        schema: 'http://schema.org/'
      },
      generator: {
        '@id': generatorId,
        '@type': 'Application',
        name: 'Atlas',
        icon: {
          '@type': 'Image',
          url: null
        }
      },
      'atlassian:taskType': jiraTaskType,
      '@type': type,
      url: 'https://project-url',
      name: 'Lorem ipsum dolor sit amet',
      summary: 'Cras ut nisi vitae lectus sagittis mattis. Curabitur a urna feugiat, laoreet enim ac, lobortis diam.',
      preview: {
        '@type': 'Link',
        href: 'https://preview-url'
      },
      'schema:fileFormat': fileFormat,
      attributedTo: [{
        '@type': 'Person',
        icon: null,
        name: 'Aliza'
      }],
      updated: '2022-06-05T16:44:00.000+1000',
      endTime: '2022-07-31T00:00:00.000Z'
    }
  };
};