schemaorg-kit 1.0.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  ## Features
10
10
 
11
- - **35+ factory functions** covering all Google-supported rich result types
11
+ - **40+ factory functions** covering all Google-supported rich result types
12
12
  - **Zod v4 validation** with descriptive error messages at runtime
13
13
  - **Full TypeScript autocomplete** — every field, every enum value
14
14
  - **`@graph` support** for multi-entity pages with cross-references
@@ -151,6 +151,7 @@ const event = schema("Event", { name: "Conference", startDate: "2025-09-01"
151
151
  | `createMobileApplication` | `MobileApplication` |
152
152
  | `createWebApplication` | `WebApplication` |
153
153
  | `createMathSolver` | `MathSolver` |
154
+ | `createClaimReview` | `ClaimReview` (Fact Check) |
154
155
 
155
156
  ### Intangibles & Other
156
157
 
@@ -160,7 +161,7 @@ const event = schema("Event", { name: "Conference", startDate: "2025-09-01"
160
161
  | `createImageObject` | `ImageObject` |
161
162
  | `createVideoObject` | `VideoObject` |
162
163
  | `createJobPosting` | `JobPosting` |
163
- | `createQAPage` / `createQuiz` | `QAPage` / `Quiz` |
164
+ | `createQAPage` / `createQuiz` / `createQuestion` | `QAPage` / `Quiz` / `Question` |
164
165
  | `createDiscussionForumPosting` | `DiscussionForumPosting` |
165
166
  | `createProfilePage` | `ProfilePage` |
166
167
  | `createVacationRental` | `VacationRental` |
@@ -265,10 +266,13 @@ src/
265
266
  │ └── graph.ts # SchemaGraph + createGraph()
266
267
  ├── types/
267
268
  │ ├── shared/ # Reusable building blocks
268
- │ │ ├── Offer.ts # Offer, AggregateOffer, MerchantReturnPolicy
269
+ │ │ ├── Offer.ts # Offer, AggregateOffer, MerchantReturnPolicy, UnitPriceSpecification, ItemCondition
269
270
  │ │ ├── ShippingDetails.ts # OfferShippingDetails, DefinedRegion, ShippingDeliveryTime
270
271
  │ │ ├── Rating.ts # Rating, AggregateRating, Review, EmployerAggregateRating
271
- │ │ ├── VideoObject.ts # VideoObject, Clip, BroadcastEvent
272
+ │ │ ├── VideoObject.ts # VideoObject, Clip, BroadcastEvent, SeekToAction
273
+ │ │ ├── InteractionCounter.ts # InteractionCounter (likes, shares, views)
274
+ │ │ ├── MemberProgram.ts # MemberProgram, MemberProgramTier (loyalty)
275
+ │ │ ├── ShippingService.ts # ShippingService, ShippingConditions, ServicePeriod
272
276
  │ │ └── ...
273
277
  │ ├── things/ # Person, Organization, Product, Place, Event, ...
274
278
  │ ├── creative-works/ # Article, WebPage, WebSite, Recipe, Book, ...