toJsonLd method

  1. @override
Map<String, dynamic> toJsonLd()

Serialize SchemaOrganization to JSON-LD

Implementation

@override
Map<String, dynamic> toJsonLd() => removeEmpty({
      '@context': 'https://schema.org',
      '@type': 'Organization',
      'actionableFeedbackPolicy': convertToJsonLd(
          actionableFeedbackPolicy, [SchemaCreativeWork, String]),
      'address': convertToJsonLd(address, [SchemaPostalAddress, String]),
      'agentInteractionStatistic': convertToJsonLd(
          agentInteractionStatistic, [SchemaInteractionCounter]),
      'aggregateRating':
          convertToJsonLd(aggregateRating, [SchemaAggregateRating]),
      'alumni': convertToJsonLd(alumni, [SchemaPerson]),
      'areaServed': convertToJsonLd(areaServed,
          [SchemaAdministrativeArea, SchemaGeoShape, SchemaPlace, String]),
      'award': convertToJsonLd(award, [String]),
      'awards': convertToJsonLd(awards, [String]),
      'brand': convertToJsonLd(brand, [SchemaBrand, SchemaOrganization]),
      'contactPoint': convertToJsonLd(contactPoint, [SchemaContactPoint]),
      'contactPoints': convertToJsonLd(contactPoints, [SchemaContactPoint]),
      'correctionsPolicy':
          convertToJsonLd(correctionsPolicy, [SchemaCreativeWork, String]),
      'department': convertToJsonLd(department, [SchemaOrganization]),
      'dissolutionDate': convertToJsonLd(dissolutionDate, [String]),
      'diversityPolicy':
          convertToJsonLd(diversityPolicy, [SchemaCreativeWork, String]),
      'diversityStaffingReport':
          convertToJsonLd(diversityStaffingReport, [SchemaArticle, String]),
      'duns': convertToJsonLd(duns, [String]),
      'email': convertToJsonLd(email, [String]),
      'employee': convertToJsonLd(employee, [SchemaPerson]),
      'employees': convertToJsonLd(employees, [SchemaPerson]),
      'ethicsPolicy':
          convertToJsonLd(ethicsPolicy, [SchemaCreativeWork, String]),
      'event': convertToJsonLd(event, [SchemaEvent]),
      'events': convertToJsonLd(events, [SchemaEvent]),
      'faxNumber': convertToJsonLd(faxNumber, [String]),
      'founder': convertToJsonLd(founder, [SchemaPerson]),
      'founders': convertToJsonLd(founders, [SchemaPerson]),
      'foundingDate': convertToJsonLd(foundingDate, [String]),
      'foundingLocation': convertToJsonLd(foundingLocation, [SchemaPlace]),
      'funder': convertToJsonLd(funder, [SchemaOrganization, SchemaPerson]),
      'funding': convertToJsonLd(funding, [SchemaGrant]),
      'globalLocationNumber': convertToJsonLd(globalLocationNumber, [String]),
      'hasCertification':
          convertToJsonLd(hasCertification, [SchemaCertification]),
      'hasCredential': convertToJsonLd(
          hasCredential, [SchemaEducationalOccupationalCredential]),
      'hasMerchantReturnPolicy': convertToJsonLd(
          hasMerchantReturnPolicy, [SchemaMerchantReturnPolicy]),
      'hasOfferCatalog':
          convertToJsonLd(hasOfferCatalog, [SchemaOfferCatalog]),
      'hasPOS': convertToJsonLd(hasPOS, [SchemaPlace]),
      'interactionStatistic':
          convertToJsonLd(interactionStatistic, [SchemaInteractionCounter]),
      'isicV4': convertToJsonLd(isicV4, [String]),
      'iso6523Code': convertToJsonLd(iso6523Code, [String]),
      'keywords':
          convertToJsonLd(keywords, [SchemaDefinedTerm, String, String]),
      'knowsAbout':
          convertToJsonLd(knowsAbout, [String, String, SchemaThing]),
      'knowsLanguage':
          convertToJsonLd(knowsLanguage, [SchemaLanguage, String]),
      'legalName': convertToJsonLd(legalName, [String]),
      'leiCode': convertToJsonLd(leiCode, [String]),
      'location': convertToJsonLd(location,
          [SchemaPlace, SchemaPostalAddress, String, SchemaVirtualLocation]),
      'logo': convertToJsonLd(logo, [SchemaImageObject, String]),
      'makesOffer': convertToJsonLd(makesOffer, [SchemaOffer]),
      'member': convertToJsonLd(member, [SchemaOrganization, SchemaPerson]),
      'memberOf': convertToJsonLd(
          memberOf, [SchemaOrganization, SchemaProgramMembership]),
      'members': convertToJsonLd(members, [SchemaOrganization, SchemaPerson]),
      'naics': convertToJsonLd(naics, [String]),
      'nonprofitStatus':
          convertToJsonLd(nonprofitStatus, [SchemaNonprofitType]),
      'numberOfEmployees':
          convertToJsonLd(numberOfEmployees, [SchemaQuantitativeValue]),
      'ownershipFundingInfo': convertToJsonLd(ownershipFundingInfo,
          [SchemaAboutPage, SchemaCreativeWork, String, String]),
      'owns': convertToJsonLd(owns, [SchemaOwnershipInfo, SchemaProduct]),
      'parentOrganization':
          convertToJsonLd(parentOrganization, [SchemaOrganization]),
      'publishingPrinciples':
          convertToJsonLd(publishingPrinciples, [SchemaCreativeWork, String]),
      'review': convertToJsonLd(review, [SchemaReview]),
      'reviews': convertToJsonLd(reviews, [SchemaReview]),
      'seeks': convertToJsonLd(seeks, [SchemaDemand]),
      'serviceArea': convertToJsonLd(serviceArea,
          [SchemaAdministrativeArea, SchemaGeoShape, SchemaPlace]),
      'slogan': convertToJsonLd(slogan, [String]),
      'sponsor': convertToJsonLd(sponsor, [SchemaOrganization, SchemaPerson]),
      'subOrganization':
          convertToJsonLd(subOrganization, [SchemaOrganization]),
      'taxID': convertToJsonLd(taxID, [String]),
      'telephone': convertToJsonLd(telephone, [String]),
      'unnamedSourcesPolicy':
          convertToJsonLd(unnamedSourcesPolicy, [SchemaCreativeWork, String]),
      'vatID': convertToJsonLd(vatID, [String]),
      'additionalType': convertToJsonLd(additionalType, [String, String]),
      'alternateName': convertToJsonLd(alternateName, [String]),
      'description': convertToJsonLd(description, [String, SchemaTextObject]),
      'disambiguatingDescription':
          convertToJsonLd(disambiguatingDescription, [String]),
      'identifier':
          convertToJsonLd(identifier, [SchemaPropertyValue, String, String]),
      'image': convertToJsonLd(image, [SchemaImageObject, String]),
      'mainEntityOfPage':
          convertToJsonLd(mainEntityOfPage, [SchemaCreativeWork, String]),
      'name': convertToJsonLd(name, [String]),
      'potentialAction': convertToJsonLd(potentialAction, [SchemaAction]),
      'sameAs': convertToJsonLd(sameAs, [String]),
      'subjectOf':
          convertToJsonLd(subjectOf, [SchemaCreativeWork, SchemaEvent]),
      'url': convertToJsonLd(url, [String]),
    });