@xylabs/react-rich-result 2.14.5

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.
Files changed (355) hide show
  1. package/LICENSE +165 -0
  2. package/README.md +96 -0
  3. package/babel.config.json +5 -0
  4. package/dist/cjs/RichResult.d.ts +6 -0
  5. package/dist/cjs/RichResult.js +12 -0
  6. package/dist/cjs/RichResult.js.map +1 -0
  7. package/dist/cjs/index.d.ts +2 -0
  8. package/dist/cjs/index.js +6 -0
  9. package/dist/cjs/index.js.map +1 -0
  10. package/dist/cjs/jsonld/Action.d.ts +24 -0
  11. package/dist/cjs/jsonld/Action.js +3 -0
  12. package/dist/cjs/jsonld/Action.js.map +1 -0
  13. package/dist/cjs/jsonld/ActionStatusType.d.ts +7 -0
  14. package/dist/cjs/jsonld/ActionStatusType.js +12 -0
  15. package/dist/cjs/jsonld/ActionStatusType.js.map +1 -0
  16. package/dist/cjs/jsonld/AdministrativeArea.d.ts +3 -0
  17. package/dist/cjs/jsonld/AdministrativeArea.js +3 -0
  18. package/dist/cjs/jsonld/AdministrativeArea.js.map +1 -0
  19. package/dist/cjs/jsonld/AggrigateRating.d.ts +8 -0
  20. package/dist/cjs/jsonld/AggrigateRating.js +3 -0
  21. package/dist/cjs/jsonld/AggrigateRating.js.map +1 -0
  22. package/dist/cjs/jsonld/Article.d.ts +14 -0
  23. package/dist/cjs/jsonld/Article.js +3 -0
  24. package/dist/cjs/jsonld/Article.js.map +1 -0
  25. package/dist/cjs/jsonld/Base.d.ts +4 -0
  26. package/dist/cjs/jsonld/Base.js +3 -0
  27. package/dist/cjs/jsonld/Base.js.map +1 -0
  28. package/dist/cjs/jsonld/Brand.d.ts +10 -0
  29. package/dist/cjs/jsonld/Brand.js +3 -0
  30. package/dist/cjs/jsonld/Brand.js.map +1 -0
  31. package/dist/cjs/jsonld/Class.d.ts +7 -0
  32. package/dist/cjs/jsonld/Class.js +3 -0
  33. package/dist/cjs/jsonld/Class.js.map +1 -0
  34. package/dist/cjs/jsonld/ContactPoint.d.ts +19 -0
  35. package/dist/cjs/jsonld/ContactPoint.js +3 -0
  36. package/dist/cjs/jsonld/ContactPoint.js.map +1 -0
  37. package/dist/cjs/jsonld/ContactPointOption.d.ts +5 -0
  38. package/dist/cjs/jsonld/ContactPointOption.js +10 -0
  39. package/dist/cjs/jsonld/ContactPointOption.js.map +1 -0
  40. package/dist/cjs/jsonld/Country.d.ts +3 -0
  41. package/dist/cjs/jsonld/Country.js +3 -0
  42. package/dist/cjs/jsonld/Country.js.map +1 -0
  43. package/dist/cjs/jsonld/CreativeWork.d.ts +122 -0
  44. package/dist/cjs/jsonld/CreativeWork.js +3 -0
  45. package/dist/cjs/jsonld/CreativeWork.js.map +1 -0
  46. package/dist/cjs/jsonld/DateTime.d.ts +2 -0
  47. package/dist/cjs/jsonld/DateTime.js +3 -0
  48. package/dist/cjs/jsonld/DateTime.js.map +1 -0
  49. package/dist/cjs/jsonld/EntryPoint.d.ts +13 -0
  50. package/dist/cjs/jsonld/EntryPoint.js +4 -0
  51. package/dist/cjs/jsonld/EntryPoint.js.map +1 -0
  52. package/dist/cjs/jsonld/Enumeration.d.ts +7 -0
  53. package/dist/cjs/jsonld/Enumeration.js +3 -0
  54. package/dist/cjs/jsonld/Enumeration.js.map +1 -0
  55. package/dist/cjs/jsonld/GeoShape.d.ts +15 -0
  56. package/dist/cjs/jsonld/GeoShape.js +3 -0
  57. package/dist/cjs/jsonld/GeoShape.js.map +1 -0
  58. package/dist/cjs/jsonld/GeospatialGeometry.d.ts +15 -0
  59. package/dist/cjs/jsonld/GeospatialGeometry.js +4 -0
  60. package/dist/cjs/jsonld/GeospatialGeometry.js.map +1 -0
  61. package/dist/cjs/jsonld/ImageObject.d.ts +9 -0
  62. package/dist/cjs/jsonld/ImageObject.js +3 -0
  63. package/dist/cjs/jsonld/ImageObject.js.map +1 -0
  64. package/dist/cjs/jsonld/Intangible.d.ts +3 -0
  65. package/dist/cjs/jsonld/Intangible.js +3 -0
  66. package/dist/cjs/jsonld/Intangible.js.map +1 -0
  67. package/dist/cjs/jsonld/Integer.d.ts +2 -0
  68. package/dist/cjs/jsonld/Integer.js +3 -0
  69. package/dist/cjs/jsonld/Integer.js.map +1 -0
  70. package/dist/cjs/jsonld/ItemAvailability.d.ts +21 -0
  71. package/dist/cjs/jsonld/ItemAvailability.js +26 -0
  72. package/dist/cjs/jsonld/ItemAvailability.js.map +1 -0
  73. package/dist/cjs/jsonld/Language.d.ts +3 -0
  74. package/dist/cjs/jsonld/Language.js +3 -0
  75. package/dist/cjs/jsonld/Language.js.map +1 -0
  76. package/dist/cjs/jsonld/Map.d.ts +6 -0
  77. package/dist/cjs/jsonld/Map.js +3 -0
  78. package/dist/cjs/jsonld/Map.js.map +1 -0
  79. package/dist/cjs/jsonld/MapCategoryType.d.ts +7 -0
  80. package/dist/cjs/jsonld/MapCategoryType.js +12 -0
  81. package/dist/cjs/jsonld/MapCategoryType.js.map +1 -0
  82. package/dist/cjs/jsonld/MediaObject.d.ts +10 -0
  83. package/dist/cjs/jsonld/MediaObject.js +3 -0
  84. package/dist/cjs/jsonld/MediaObject.js.map +1 -0
  85. package/dist/cjs/jsonld/MobileApplication.d.ts +6 -0
  86. package/dist/cjs/jsonld/MobileApplication.js +3 -0
  87. package/dist/cjs/jsonld/MobileApplication.js.map +1 -0
  88. package/dist/cjs/jsonld/Offer.d.ts +64 -0
  89. package/dist/cjs/jsonld/Offer.js +3 -0
  90. package/dist/cjs/jsonld/Offer.js.map +1 -0
  91. package/dist/cjs/jsonld/Organization.d.ts +77 -0
  92. package/dist/cjs/jsonld/Organization.js +3 -0
  93. package/dist/cjs/jsonld/Organization.js.map +1 -0
  94. package/dist/cjs/jsonld/Person.d.ts +71 -0
  95. package/dist/cjs/jsonld/Person.js +4 -0
  96. package/dist/cjs/jsonld/Person.js.map +1 -0
  97. package/dist/cjs/jsonld/Photograph.d.ts +3 -0
  98. package/dist/cjs/jsonld/Photograph.js +4 -0
  99. package/dist/cjs/jsonld/Photograph.js.map +1 -0
  100. package/dist/cjs/jsonld/Place.d.ts +42 -0
  101. package/dist/cjs/jsonld/Place.js +4 -0
  102. package/dist/cjs/jsonld/Place.js.map +1 -0
  103. package/dist/cjs/jsonld/PostalAddress.d.ts +12 -0
  104. package/dist/cjs/jsonld/PostalAddress.js +3 -0
  105. package/dist/cjs/jsonld/PostalAddress.js.map +1 -0
  106. package/dist/cjs/jsonld/Product.d.ts +56 -0
  107. package/dist/cjs/jsonld/Product.js +3 -0
  108. package/dist/cjs/jsonld/Product.js.map +1 -0
  109. package/dist/cjs/jsonld/Property.d.ts +10 -0
  110. package/dist/cjs/jsonld/Property.js +3 -0
  111. package/dist/cjs/jsonld/Property.js.map +1 -0
  112. package/dist/cjs/jsonld/PropertyValue.d.ts +16 -0
  113. package/dist/cjs/jsonld/PropertyValue.js +3 -0
  114. package/dist/cjs/jsonld/PropertyValue.js.map +1 -0
  115. package/dist/cjs/jsonld/QualitativeValue.d.ts +15 -0
  116. package/dist/cjs/jsonld/QualitativeValue.js +3 -0
  117. package/dist/cjs/jsonld/QualitativeValue.js.map +1 -0
  118. package/dist/cjs/jsonld/QuantitativeValue.d.ts +15 -0
  119. package/dist/cjs/jsonld/QuantitativeValue.js +3 -0
  120. package/dist/cjs/jsonld/QuantitativeValue.js.map +1 -0
  121. package/dist/cjs/jsonld/Rating.d.ts +10 -0
  122. package/dist/cjs/jsonld/Rating.js +3 -0
  123. package/dist/cjs/jsonld/Rating.js.map +1 -0
  124. package/dist/cjs/jsonld/Review.d.ts +10 -0
  125. package/dist/cjs/jsonld/Review.js +3 -0
  126. package/dist/cjs/jsonld/Review.js.map +1 -0
  127. package/dist/cjs/jsonld/Service.d.ts +38 -0
  128. package/dist/cjs/jsonld/Service.js +3 -0
  129. package/dist/cjs/jsonld/Service.js.map +1 -0
  130. package/dist/cjs/jsonld/SoftwareApplication.d.ts +28 -0
  131. package/dist/cjs/jsonld/SoftwareApplication.js +3 -0
  132. package/dist/cjs/jsonld/SoftwareApplication.js.map +1 -0
  133. package/dist/cjs/jsonld/StructuredValue.d.ts +3 -0
  134. package/dist/cjs/jsonld/StructuredValue.js +3 -0
  135. package/dist/cjs/jsonld/StructuredValue.js.map +1 -0
  136. package/dist/cjs/jsonld/Text.d.ts +2 -0
  137. package/dist/cjs/jsonld/Text.js +3 -0
  138. package/dist/cjs/jsonld/Text.js.map +1 -0
  139. package/dist/cjs/jsonld/Thing.d.ts +22 -0
  140. package/dist/cjs/jsonld/Thing.js +3 -0
  141. package/dist/cjs/jsonld/Thing.js.map +1 -0
  142. package/dist/cjs/jsonld/Time.d.ts +2 -0
  143. package/dist/cjs/jsonld/Time.js +3 -0
  144. package/dist/cjs/jsonld/Time.js.map +1 -0
  145. package/dist/cjs/jsonld/URL.d.ts +2 -0
  146. package/dist/cjs/jsonld/URL.js +3 -0
  147. package/dist/cjs/jsonld/URL.js.map +1 -0
  148. package/dist/cjs/jsonld/VirtualLocation.d.ts +3 -0
  149. package/dist/cjs/jsonld/VirtualLocation.js +4 -0
  150. package/dist/cjs/jsonld/VirtualLocation.js.map +1 -0
  151. package/dist/cjs/jsonld/index.d.ts +47 -0
  152. package/dist/cjs/jsonld/index.js +51 -0
  153. package/dist/cjs/jsonld/index.js.map +1 -0
  154. package/dist/docs.json +7 -0
  155. package/dist/esm/RichResult.d.ts +6 -0
  156. package/dist/esm/RichResult.js +8 -0
  157. package/dist/esm/RichResult.js.map +1 -0
  158. package/dist/esm/index.d.ts +2 -0
  159. package/dist/esm/index.js +3 -0
  160. package/dist/esm/index.js.map +1 -0
  161. package/dist/esm/jsonld/Action.d.ts +24 -0
  162. package/dist/esm/jsonld/Action.js +2 -0
  163. package/dist/esm/jsonld/Action.js.map +1 -0
  164. package/dist/esm/jsonld/ActionStatusType.d.ts +7 -0
  165. package/dist/esm/jsonld/ActionStatusType.js +9 -0
  166. package/dist/esm/jsonld/ActionStatusType.js.map +1 -0
  167. package/dist/esm/jsonld/AdministrativeArea.d.ts +3 -0
  168. package/dist/esm/jsonld/AdministrativeArea.js +2 -0
  169. package/dist/esm/jsonld/AdministrativeArea.js.map +1 -0
  170. package/dist/esm/jsonld/AggrigateRating.d.ts +8 -0
  171. package/dist/esm/jsonld/AggrigateRating.js +2 -0
  172. package/dist/esm/jsonld/AggrigateRating.js.map +1 -0
  173. package/dist/esm/jsonld/Article.d.ts +14 -0
  174. package/dist/esm/jsonld/Article.js +2 -0
  175. package/dist/esm/jsonld/Article.js.map +1 -0
  176. package/dist/esm/jsonld/Base.d.ts +4 -0
  177. package/dist/esm/jsonld/Base.js +2 -0
  178. package/dist/esm/jsonld/Base.js.map +1 -0
  179. package/dist/esm/jsonld/Brand.d.ts +10 -0
  180. package/dist/esm/jsonld/Brand.js +2 -0
  181. package/dist/esm/jsonld/Brand.js.map +1 -0
  182. package/dist/esm/jsonld/Class.d.ts +7 -0
  183. package/dist/esm/jsonld/Class.js +2 -0
  184. package/dist/esm/jsonld/Class.js.map +1 -0
  185. package/dist/esm/jsonld/ContactPoint.d.ts +19 -0
  186. package/dist/esm/jsonld/ContactPoint.js +2 -0
  187. package/dist/esm/jsonld/ContactPoint.js.map +1 -0
  188. package/dist/esm/jsonld/ContactPointOption.d.ts +5 -0
  189. package/dist/esm/jsonld/ContactPointOption.js +7 -0
  190. package/dist/esm/jsonld/ContactPointOption.js.map +1 -0
  191. package/dist/esm/jsonld/Country.d.ts +3 -0
  192. package/dist/esm/jsonld/Country.js +2 -0
  193. package/dist/esm/jsonld/Country.js.map +1 -0
  194. package/dist/esm/jsonld/CreativeWork.d.ts +122 -0
  195. package/dist/esm/jsonld/CreativeWork.js +2 -0
  196. package/dist/esm/jsonld/CreativeWork.js.map +1 -0
  197. package/dist/esm/jsonld/DateTime.d.ts +2 -0
  198. package/dist/esm/jsonld/DateTime.js +2 -0
  199. package/dist/esm/jsonld/DateTime.js.map +1 -0
  200. package/dist/esm/jsonld/EntryPoint.d.ts +13 -0
  201. package/dist/esm/jsonld/EntryPoint.js +3 -0
  202. package/dist/esm/jsonld/EntryPoint.js.map +1 -0
  203. package/dist/esm/jsonld/Enumeration.d.ts +7 -0
  204. package/dist/esm/jsonld/Enumeration.js +2 -0
  205. package/dist/esm/jsonld/Enumeration.js.map +1 -0
  206. package/dist/esm/jsonld/GeoShape.d.ts +15 -0
  207. package/dist/esm/jsonld/GeoShape.js +2 -0
  208. package/dist/esm/jsonld/GeoShape.js.map +1 -0
  209. package/dist/esm/jsonld/GeospatialGeometry.d.ts +15 -0
  210. package/dist/esm/jsonld/GeospatialGeometry.js +3 -0
  211. package/dist/esm/jsonld/GeospatialGeometry.js.map +1 -0
  212. package/dist/esm/jsonld/ImageObject.d.ts +9 -0
  213. package/dist/esm/jsonld/ImageObject.js +2 -0
  214. package/dist/esm/jsonld/ImageObject.js.map +1 -0
  215. package/dist/esm/jsonld/Intangible.d.ts +3 -0
  216. package/dist/esm/jsonld/Intangible.js +2 -0
  217. package/dist/esm/jsonld/Intangible.js.map +1 -0
  218. package/dist/esm/jsonld/Integer.d.ts +2 -0
  219. package/dist/esm/jsonld/Integer.js +2 -0
  220. package/dist/esm/jsonld/Integer.js.map +1 -0
  221. package/dist/esm/jsonld/ItemAvailability.d.ts +21 -0
  222. package/dist/esm/jsonld/ItemAvailability.js +23 -0
  223. package/dist/esm/jsonld/ItemAvailability.js.map +1 -0
  224. package/dist/esm/jsonld/Language.d.ts +3 -0
  225. package/dist/esm/jsonld/Language.js +2 -0
  226. package/dist/esm/jsonld/Language.js.map +1 -0
  227. package/dist/esm/jsonld/Map.d.ts +6 -0
  228. package/dist/esm/jsonld/Map.js +2 -0
  229. package/dist/esm/jsonld/Map.js.map +1 -0
  230. package/dist/esm/jsonld/MapCategoryType.d.ts +7 -0
  231. package/dist/esm/jsonld/MapCategoryType.js +9 -0
  232. package/dist/esm/jsonld/MapCategoryType.js.map +1 -0
  233. package/dist/esm/jsonld/MediaObject.d.ts +10 -0
  234. package/dist/esm/jsonld/MediaObject.js +2 -0
  235. package/dist/esm/jsonld/MediaObject.js.map +1 -0
  236. package/dist/esm/jsonld/MobileApplication.d.ts +6 -0
  237. package/dist/esm/jsonld/MobileApplication.js +2 -0
  238. package/dist/esm/jsonld/MobileApplication.js.map +1 -0
  239. package/dist/esm/jsonld/Offer.d.ts +64 -0
  240. package/dist/esm/jsonld/Offer.js +2 -0
  241. package/dist/esm/jsonld/Offer.js.map +1 -0
  242. package/dist/esm/jsonld/Organization.d.ts +77 -0
  243. package/dist/esm/jsonld/Organization.js +2 -0
  244. package/dist/esm/jsonld/Organization.js.map +1 -0
  245. package/dist/esm/jsonld/Person.d.ts +71 -0
  246. package/dist/esm/jsonld/Person.js +3 -0
  247. package/dist/esm/jsonld/Person.js.map +1 -0
  248. package/dist/esm/jsonld/Photograph.d.ts +3 -0
  249. package/dist/esm/jsonld/Photograph.js +3 -0
  250. package/dist/esm/jsonld/Photograph.js.map +1 -0
  251. package/dist/esm/jsonld/Place.d.ts +42 -0
  252. package/dist/esm/jsonld/Place.js +3 -0
  253. package/dist/esm/jsonld/Place.js.map +1 -0
  254. package/dist/esm/jsonld/PostalAddress.d.ts +12 -0
  255. package/dist/esm/jsonld/PostalAddress.js +2 -0
  256. package/dist/esm/jsonld/PostalAddress.js.map +1 -0
  257. package/dist/esm/jsonld/Product.d.ts +56 -0
  258. package/dist/esm/jsonld/Product.js +2 -0
  259. package/dist/esm/jsonld/Product.js.map +1 -0
  260. package/dist/esm/jsonld/Property.d.ts +10 -0
  261. package/dist/esm/jsonld/Property.js +2 -0
  262. package/dist/esm/jsonld/Property.js.map +1 -0
  263. package/dist/esm/jsonld/PropertyValue.d.ts +16 -0
  264. package/dist/esm/jsonld/PropertyValue.js +2 -0
  265. package/dist/esm/jsonld/PropertyValue.js.map +1 -0
  266. package/dist/esm/jsonld/QualitativeValue.d.ts +15 -0
  267. package/dist/esm/jsonld/QualitativeValue.js +2 -0
  268. package/dist/esm/jsonld/QualitativeValue.js.map +1 -0
  269. package/dist/esm/jsonld/QuantitativeValue.d.ts +15 -0
  270. package/dist/esm/jsonld/QuantitativeValue.js +2 -0
  271. package/dist/esm/jsonld/QuantitativeValue.js.map +1 -0
  272. package/dist/esm/jsonld/Rating.d.ts +10 -0
  273. package/dist/esm/jsonld/Rating.js +2 -0
  274. package/dist/esm/jsonld/Rating.js.map +1 -0
  275. package/dist/esm/jsonld/Review.d.ts +10 -0
  276. package/dist/esm/jsonld/Review.js +2 -0
  277. package/dist/esm/jsonld/Review.js.map +1 -0
  278. package/dist/esm/jsonld/Service.d.ts +38 -0
  279. package/dist/esm/jsonld/Service.js +2 -0
  280. package/dist/esm/jsonld/Service.js.map +1 -0
  281. package/dist/esm/jsonld/SoftwareApplication.d.ts +28 -0
  282. package/dist/esm/jsonld/SoftwareApplication.js +2 -0
  283. package/dist/esm/jsonld/SoftwareApplication.js.map +1 -0
  284. package/dist/esm/jsonld/StructuredValue.d.ts +3 -0
  285. package/dist/esm/jsonld/StructuredValue.js +2 -0
  286. package/dist/esm/jsonld/StructuredValue.js.map +1 -0
  287. package/dist/esm/jsonld/Text.d.ts +2 -0
  288. package/dist/esm/jsonld/Text.js +2 -0
  289. package/dist/esm/jsonld/Text.js.map +1 -0
  290. package/dist/esm/jsonld/Thing.d.ts +22 -0
  291. package/dist/esm/jsonld/Thing.js +2 -0
  292. package/dist/esm/jsonld/Thing.js.map +1 -0
  293. package/dist/esm/jsonld/Time.d.ts +2 -0
  294. package/dist/esm/jsonld/Time.js +2 -0
  295. package/dist/esm/jsonld/Time.js.map +1 -0
  296. package/dist/esm/jsonld/URL.d.ts +2 -0
  297. package/dist/esm/jsonld/URL.js +2 -0
  298. package/dist/esm/jsonld/URL.js.map +1 -0
  299. package/dist/esm/jsonld/VirtualLocation.d.ts +3 -0
  300. package/dist/esm/jsonld/VirtualLocation.js +3 -0
  301. package/dist/esm/jsonld/VirtualLocation.js.map +1 -0
  302. package/dist/esm/jsonld/index.d.ts +47 -0
  303. package/dist/esm/jsonld/index.js +48 -0
  304. package/dist/esm/jsonld/index.js.map +1 -0
  305. package/package.json +72 -0
  306. package/src/RichResult.tsx +18 -0
  307. package/src/index.ts +2 -0
  308. package/src/jsonld/Action.ts +27 -0
  309. package/src/jsonld/ActionStatusType.ts +8 -0
  310. package/src/jsonld/AdministrativeArea.ts +6 -0
  311. package/src/jsonld/AggrigateRating.ts +11 -0
  312. package/src/jsonld/Article.ts +17 -0
  313. package/src/jsonld/Base.ts +5 -0
  314. package/src/jsonld/Brand.ts +12 -0
  315. package/src/jsonld/Class.ts +10 -0
  316. package/src/jsonld/ContactPoint.ts +22 -0
  317. package/src/jsonld/ContactPointOption.ts +6 -0
  318. package/src/jsonld/Country.ts +6 -0
  319. package/src/jsonld/CreativeWork.ts +126 -0
  320. package/src/jsonld/DateTime.ts +3 -0
  321. package/src/jsonld/EntryPoint.ts +17 -0
  322. package/src/jsonld/Enumeration.ts +10 -0
  323. package/src/jsonld/GeoShape.ts +18 -0
  324. package/src/jsonld/GeospatialGeometry.ts +19 -0
  325. package/src/jsonld/ImageObject.ts +12 -0
  326. package/src/jsonld/Intangible.ts +6 -0
  327. package/src/jsonld/Integer.ts +3 -0
  328. package/src/jsonld/ItemAvailability.ts +22 -0
  329. package/src/jsonld/Language.ts +6 -0
  330. package/src/jsonld/Map.ts +9 -0
  331. package/src/jsonld/MapCategoryType.ts +8 -0
  332. package/src/jsonld/MediaObject.ts +13 -0
  333. package/src/jsonld/MobileApplication.ts +8 -0
  334. package/src/jsonld/Offer.ts +67 -0
  335. package/src/jsonld/Organization.ts +81 -0
  336. package/src/jsonld/Person.ts +75 -0
  337. package/src/jsonld/Photograph.ts +7 -0
  338. package/src/jsonld/Place.ts +46 -0
  339. package/src/jsonld/PostalAddress.ts +15 -0
  340. package/src/jsonld/Product.ts +60 -0
  341. package/src/jsonld/Property.ts +13 -0
  342. package/src/jsonld/PropertyValue.ts +19 -0
  343. package/src/jsonld/QualitativeValue.ts +18 -0
  344. package/src/jsonld/QuantitativeValue.ts +18 -0
  345. package/src/jsonld/Rating.ts +13 -0
  346. package/src/jsonld/Review.ts +13 -0
  347. package/src/jsonld/Service.ts +42 -0
  348. package/src/jsonld/SoftwareApplication.ts +32 -0
  349. package/src/jsonld/StructuredValue.ts +6 -0
  350. package/src/jsonld/Text.ts +3 -0
  351. package/src/jsonld/Thing.ts +25 -0
  352. package/src/jsonld/Time.ts +3 -0
  353. package/src/jsonld/URL.ts +3 -0
  354. package/src/jsonld/VirtualLocation.ts +7 -0
  355. package/src/jsonld/index.ts +47 -0
@@ -0,0 +1,17 @@
1
+ /* eslint-disable import/no-cycle */
2
+
3
+ import { Intangible } from './Intangible'
4
+ import { SoftwareApplication } from './SoftwareApplication'
5
+ import { Text } from './Text'
6
+ import { URL } from './URL'
7
+
8
+ interface EntryPoint extends Intangible {
9
+ actionApplication?: SoftwareApplication
10
+ actionPlatform?: Text | URL
11
+ contentType?: Text
12
+ encodingType?: Text
13
+ httpMethod?: Text
14
+ urlTemplate?: Text
15
+ }
16
+
17
+ export type { EntryPoint }
@@ -0,0 +1,10 @@
1
+ /* eslint-disable import/no-cycle */
2
+ import { Class } from './Class'
3
+ import { Intangible } from './Intangible'
4
+ import { Property } from './Property'
5
+
6
+ interface Enumeration extends Intangible {
7
+ supersededBy?: Class | Enumeration | Property
8
+ }
9
+
10
+ export type { Enumeration }
@@ -0,0 +1,18 @@
1
+ /* eslint-disable import/no-cycle */
2
+ import { Country } from './Country'
3
+ import { PostalAddress } from './PostalAddress'
4
+ import { Text } from './Text'
5
+ import { Thing } from './Thing'
6
+
7
+ interface GeoShape extends Thing {
8
+ address?: PostalAddress | Text
9
+ addressCountry?: Country | Text
10
+ box?: Text
11
+ circle?: Text
12
+ elevation?: number | Text
13
+ line?: Text
14
+ polygon?: Text
15
+ postalCode?: Text
16
+ }
17
+
18
+ export type { GeoShape }
@@ -0,0 +1,19 @@
1
+ /* eslint-disable import/no-cycle */
2
+
3
+ import { Intangible } from './Intangible'
4
+ import { Place } from './Place'
5
+
6
+ interface GeospatialGeometry extends Intangible {
7
+ geoContains?: Place | GeospatialGeometry
8
+ geoCoveredBy?: Place | GeospatialGeometry
9
+ geoCovers?: Place | GeospatialGeometry
10
+ geoCrosses?: Place | GeospatialGeometry
11
+ geoDisjoint?: Place | GeospatialGeometry
12
+ geoEquals?: Place | GeospatialGeometry
13
+ geoIntersects?: Place | GeospatialGeometry
14
+ geoOverlaps?: Place | GeospatialGeometry
15
+ geoTouches?: Place | GeospatialGeometry
16
+ geoWithin?: Place | GeospatialGeometry
17
+ }
18
+
19
+ export type { GeospatialGeometry }
@@ -0,0 +1,12 @@
1
+ /* eslint-disable import/no-cycle */
2
+ import { MediaObject } from './MediaObject'
3
+ import { Text } from './Text'
4
+
5
+ interface ImageObject extends MediaObject {
6
+ caption?: Text
7
+ exifData?: Text
8
+ representativeOfPage?: boolean
9
+ thumbnail?: ImageObject
10
+ }
11
+
12
+ export type { ImageObject }
@@ -0,0 +1,6 @@
1
+ /* eslint-disable import/no-cycle */
2
+ import { Thing } from './Thing'
3
+
4
+ type Intangible = Thing
5
+
6
+ export type { Intangible }
@@ -0,0 +1,3 @@
1
+ type Integer = number
2
+
3
+ export type { Integer }
@@ -0,0 +1,22 @@
1
+ enum ItemAvailability {
2
+ /** Indicates that the item has been discontinued. */
3
+ Discontinued = 'https://schema.org/Discontinued',
4
+ /** Indicates that the item is in stock. */
5
+ InStock = 'https://schema.org/InStock',
6
+ /** Indicates that the item is available only at physical locations. */
7
+ InStoreOnly = 'https://schema.org/InStoreOnly',
8
+ /** Indicates that the item has limited availability. */
9
+ LimitedAvailability = 'https://schema.org/LimitedAvailability',
10
+ /** Indicates that the item is available only online. */
11
+ OnlineOnly = 'https://schema.org/OnlineOnly',
12
+ /** Indicates that the item is out of stock. */
13
+ OutOfStock = 'https://schema.org/OutOfStock',
14
+ /** Indicates that the item is available for pre-order. */
15
+ PreOrder = 'https://schema.org/PreOrder',
16
+ /** Indicates that the item is available for ordering and delivery before general availability. */
17
+ PreSale = 'https://schema.org/PreSale',
18
+ /** Indicates that the item has sold out. */
19
+ SoldOut = 'https://schema.org/SoldOut',
20
+ }
21
+
22
+ export { ItemAvailability }
@@ -0,0 +1,6 @@
1
+ /* eslint-disable import/no-cycle */
2
+ import { Intangible } from './Intangible'
3
+
4
+ type Language = Intangible
5
+
6
+ export type { Language }
@@ -0,0 +1,9 @@
1
+ /* eslint-disable import/no-cycle */
2
+ import { CreativeWork } from './CreativeWork'
3
+ import { MapCategoryType } from './MapCategoryType'
4
+
5
+ interface Map extends CreativeWork {
6
+ mapType?: MapCategoryType
7
+ }
8
+
9
+ export type { Map }
@@ -0,0 +1,8 @@
1
+ enum MapCategoryType {
2
+ ParkingMap = 'ParkingMap',
3
+ SeatingMap = 'SeatingMap',
4
+ TransitMap = 'TransitMap',
5
+ VenueMap = 'VenueMap',
6
+ }
7
+
8
+ export { MapCategoryType }
@@ -0,0 +1,13 @@
1
+ /* eslint-disable import/no-cycle */
2
+ import { CreativeWork } from './CreativeWork'
3
+ import { Text } from './Text'
4
+ import { URL } from './URL'
5
+
6
+ interface MediaObject extends CreativeWork {
7
+ contentSize?: Text
8
+ contentUrl?: URL
9
+ height?: unknown
10
+ width?: unknown
11
+ }
12
+
13
+ export type { MediaObject }
@@ -0,0 +1,8 @@
1
+ import { SoftwareApplication } from './SoftwareApplication'
2
+ import { Text } from './Text'
3
+
4
+ interface MobileApplication extends SoftwareApplication {
5
+ carrierRequirements?: Text
6
+ }
7
+
8
+ export type { MobileApplication }
@@ -0,0 +1,67 @@
1
+ /* eslint-disable import/no-cycle */
2
+ import { AdministrativeArea } from './AdministrativeArea'
3
+ import { AggregateRating } from './AggrigateRating'
4
+ import { CreativeWork } from './CreativeWork'
5
+ import { DateTime } from './DateTime'
6
+ import { GeoShape } from './GeoShape'
7
+ import { Intangible } from './Intangible'
8
+ import { ItemAvailability } from './ItemAvailability'
9
+ import { Organization } from './Organization'
10
+ import { Person } from './Person'
11
+ import { Place } from './Place'
12
+ import { Product } from './Product'
13
+ import { QuantitativeValue } from './QuantitativeValue'
14
+ import { Review } from './Review'
15
+ import { Service } from './Service'
16
+ import { Text } from './Text'
17
+ import { Thing } from './Thing'
18
+ import { Time } from './Time'
19
+ import { URL } from './URL'
20
+
21
+ interface Offer extends Intangible {
22
+ acceptedPaymentMethod?: unknown
23
+ addOn?: Offer
24
+ advanceBookingRequirement?: QuantitativeValue
25
+ aggrigateRating?: AggregateRating
26
+ areaServed?: AdministrativeArea | GeoShape | Place | Text
27
+ availability?: ItemAvailability
28
+ availabilityAtOrFrom?: Place
29
+ availabilityEnds?: DateTime | Time
30
+ availabilityStarts?: DateTime | Time
31
+ availableDeliveryMethod?: unknown
32
+ businessFunction?: unknown
33
+ category?: unknown | Text | Thing | URL
34
+ deliveryLeadTime?: QuantitativeValue
35
+ eligibleCustomerType?: unknown
36
+ eligibleDuration?: QuantitativeValue
37
+ eligibleQuantity?: QuantitativeValue
38
+ eligibleRegion?: GeoShape | Place | Text
39
+ eligibleTransactionVolume?: unknown
40
+ gtin?: Text
41
+ gtin12?: Text
42
+ gtin13?: Text
43
+ gtin14?: Text
44
+ gtin8?: Text
45
+ includesObject?: unknown
46
+ ineligibleRegion?: GeoShape | Place | Text
47
+ inventoryLevel?: QuantitativeValue
48
+ itemCondition?: unknown
49
+ itemOffered?: unknown | CreativeWork | Event | unknown | Product | Service | unknown
50
+ leaseLength?: unknown | QuantitativeValue
51
+ mpn?: Text
52
+ offeredBy?: Organization | Person
53
+ price?: number | Text
54
+ priceCurrency?: Text
55
+ priceSpecification?: unknown
56
+ priceValidUntil?: DateTime
57
+ review?: Review
58
+ seller?: Organization | Person
59
+ serialNumber?: Text
60
+ shippingDetails?: unknown
61
+ sku?: Text
62
+ validFrom?: DateTime
63
+ validThrough?: DateTime
64
+ warranty?: unknown
65
+ }
66
+
67
+ export type { Offer }
@@ -0,0 +1,81 @@
1
+ /* eslint-disable import/no-cycle */
2
+ import { AdministrativeArea } from './AdministrativeArea'
3
+ import { AggregateRating } from './AggrigateRating'
4
+ import { Article } from './Article'
5
+ import { Brand } from './Brand'
6
+ import { ContactPoint } from './ContactPoint'
7
+ import { CreativeWork } from './CreativeWork'
8
+ import { DateTime } from './DateTime'
9
+ import { GeoShape } from './GeoShape'
10
+ import { Language } from './Language'
11
+ import { Offer } from './Offer'
12
+ import { Person } from './Person'
13
+ import { Place } from './Place'
14
+ import { PostalAddress } from './PostalAddress'
15
+ import { Product } from './Product'
16
+ import { QuantitativeValue } from './QuantitativeValue'
17
+ import { Review } from './Review'
18
+ import { Text } from './Text'
19
+ import { Thing } from './Thing'
20
+ import { VirtualLocation } from './VirtualLocation'
21
+
22
+ //TODO: Resolve Anys
23
+ interface Organization extends Thing {
24
+ actionableFeedbackPolicy?: CreativeWork | URL
25
+ address?: PostalAddress | Text
26
+ aggregateRating?: AggregateRating
27
+ alumni?: Person
28
+ areaServed?: AdministrativeArea | GeoShape | Place | Text
29
+ award?: Text
30
+ brand?: Brand
31
+ contactPoint?: ContactPoint
32
+ correctionsPolicy?: CreativeWork | URL
33
+ department?: Organization
34
+ dissolutionDate?: DateTime
35
+ diversityPolicy?: CreativeWork | URL
36
+ diversityStaffingReport?: Article | URL
37
+ duns?: Text
38
+ email?: Text
39
+ employee?: Person | Person[]
40
+ ethicsPolicy?: CreativeWork | URL
41
+ event?: Event
42
+ faxNumber?: Text
43
+ founder?: Person | Text
44
+ founders?: (Person | Text)[]
45
+ foundingDate?: DateTime
46
+ foundingLocation?: Place
47
+ funder?: Organization | Person
48
+ globalLocationNumber?: Text
49
+ hasCredential?: unknown
50
+ hasMerchantReturnPolicy?: unknown
51
+ hasOfferCatalog?: unknown
52
+ hasPOS?: Place
53
+ interactionStatistic?: unknown
54
+ isicV4?: Text
55
+ knowsAbout?: Text | Thing | URL
56
+ knowsLanguage?: Language | Text
57
+ legalName?: Text
58
+ location?: Place | PostalAddress | Text | VirtualLocation
59
+ logo?: unknown
60
+ makesOffer?: Offer
61
+ member?: Organization | Person
62
+ memberOf?: Organization | unknown
63
+ naics?: Text
64
+ nonprofitStatus?: unknown
65
+ numberOfEmployees?: QuantitativeValue
66
+ ownershipFundingInfo?: unknown | CreativeWork | Text | URL
67
+ owns?: unknown | Product
68
+ parentOrganization?: Organization
69
+ publishingPrinciples?: CreativeWork | URL
70
+ review?: Review
71
+ seeks?: unknown
72
+ slogan?: Text
73
+ sponsor?: Organization | Person
74
+ subOrganization?: Organization
75
+ taxID?: Text
76
+ telephone?: Text
77
+ unnamedSourcesPolicy?: CreativeWork | URL
78
+ vatID?: Text
79
+ }
80
+
81
+ export type { Organization }
@@ -0,0 +1,75 @@
1
+ /* eslint-disable import/no-cycle */
2
+
3
+ import { Brand } from './Brand'
4
+ import { ContactPoint } from './ContactPoint'
5
+ import { Country } from './Country'
6
+ import { CreativeWork } from './CreativeWork'
7
+ import { Language } from './Language'
8
+ import { Offer } from './Offer'
9
+ import { Organization } from './Organization'
10
+ import { Place } from './Place'
11
+ import { PostalAddress } from './PostalAddress'
12
+ import { Product } from './Product'
13
+ import { Thing } from './Thing'
14
+
15
+ interface Person extends Thing {
16
+ additionalName?: string
17
+ address?: string | PostalAddress
18
+ affiliation?: Organization | Organization[]
19
+ alumniOf?: Organization | Organization[]
20
+ award?: string | string[]
21
+ birthDate?: string | Date
22
+ birthPlace?: string | Place
23
+ brand?: Brand | Organization
24
+ callSign?: string
25
+ children?: Person | Person[]
26
+ colleague?: Person | string | (Person | string)[]
27
+ contactPoint?: ContactPoint
28
+ deathDate?: string | Date
29
+ deathPlace?: string | Place
30
+ duns?: string
31
+ email?: string
32
+ familyName?: string
33
+ faxNumber?: string
34
+ follows?: Person | Person[]
35
+ funder?: Organization | Person | (Organization | Person)[]
36
+ gender?: string
37
+ givenName?: string
38
+ globalLocationNumber?: string
39
+ hasCredential?: unknown
40
+ hasOccupation?: unknown
41
+ hasOfferCatalog?: unknown
42
+ hasPOS?: Place
43
+ height?: unknown
44
+ homeLocation?: ContactPoint | Place
45
+ honorificPrefix?: string
46
+ honorificSuffix?: string
47
+ interactionStatistic?: unknown
48
+ isicV4?: string
49
+ jobTitle?: string
50
+ knows?: Person | Person[]
51
+ knowsAbout?: string | Thing | (string | Thing)[]
52
+ knowsLanguage?: Language | string | (Language | string)[]
53
+ makesOffer?: Offer | Offer[]
54
+ memberOf?: Organization | unknown | (Organization | unknown)[]
55
+ naics?: string
56
+ nationality?: Country
57
+ netWorth?: unknown
58
+ owns?: Product | unknown | (Product | unknown)[]
59
+ parent?: Person | Person[]
60
+ performerIn?: Event | CreativeWork | string | (Event | CreativeWork | string)[]
61
+ publishingPrinciples?: CreativeWork | string
62
+ relatedTo?: Person | Person[]
63
+ seeks?: unknown
64
+ sibling?: Person | Person[]
65
+ sponsor?: Organization | Person | (Organization | Person)[]
66
+ spouse?: Person
67
+ taxID?: string
68
+ telephone?: string
69
+ vatID?: string
70
+ weight?: unknown
71
+ workLocation?: ContactPoint | Place | (ContactPoint | Place)[]
72
+ worksFor?: Organization | Organization[]
73
+ }
74
+
75
+ export type { Person }
@@ -0,0 +1,7 @@
1
+ /* eslint-disable import/no-cycle */
2
+
3
+ import { CreativeWork } from './CreativeWork'
4
+
5
+ type Photograph = CreativeWork
6
+
7
+ export type { Photograph }
@@ -0,0 +1,46 @@
1
+ /* eslint-disable import/no-cycle */
2
+
3
+ import { AggregateRating } from './AggrigateRating'
4
+ import { GeospatialGeometry } from './GeospatialGeometry'
5
+ import { ImageObject } from './ImageObject'
6
+ import { Integer } from './Integer'
7
+ import { Map } from './Map'
8
+ import { Photograph } from './Photograph'
9
+ import { PostalAddress } from './PostalAddress'
10
+ import { PropertyValue } from './PropertyValue'
11
+ import { Review } from './Review'
12
+ import { Text } from './Text'
13
+ import { Thing } from './Thing'
14
+ import { URL } from './URL'
15
+
16
+ interface Place extends Thing, GeospatialGeometry {
17
+ additionalProperty?: PropertyValue
18
+ address?: PostalAddress | Text
19
+ aggrigateRating?: AggregateRating
20
+ amenityFeature?: unknown
21
+ branchCode?: Text
22
+ containedInPlace?: Place
23
+ containsPlace?: Place
24
+ event?: Event
25
+ geo?: unknown
26
+ geoLocationNumber?: Text
27
+ hasDriveThroughService?: boolean
28
+ hasMap?: Map | URL
29
+ isAccessibleForFree?: boolean
30
+ isicV4?: Text
31
+ latitude?: number | Text
32
+ logo?: ImageObject | URL
33
+ longitude?: number | Text
34
+ maximumAttendeeCapacity?: Integer
35
+ openingHoursSpecification?: unknown
36
+ photo?: ImageObject | Photograph
37
+ publicAccess?: boolean
38
+ review?: Review
39
+ slogan?: Text
40
+ smokingAllowed?: boolean
41
+ specialOpeningHoursSpecification?: unknown
42
+ telephone?: Text
43
+ tourBookingPage?: URL
44
+ }
45
+
46
+ export type { Place }
@@ -0,0 +1,15 @@
1
+ /* eslint-disable import/no-cycle */
2
+ import { ContactPoint } from './ContactPoint'
3
+ import { Country } from './Country'
4
+ import { Text } from './Text'
5
+
6
+ interface PostalAddress extends ContactPoint {
7
+ addressCountry?: Country | Text
8
+ addressLocality?: Text
9
+ addressRegion?: Text
10
+ postOfficeBoxNumber?: Text
11
+ postalCode?: Text
12
+ streetAddress?: Text
13
+ }
14
+
15
+ export type { PostalAddress }
@@ -0,0 +1,60 @@
1
+ /* eslint-disable import/no-cycle */
2
+ import { AggregateRating } from './AggrigateRating'
3
+ import { Brand } from './Brand'
4
+ import { DateTime } from './DateTime'
5
+ import { ImageObject } from './ImageObject'
6
+ import { Offer } from './Offer'
7
+ import { Organization } from './Organization'
8
+ import { PropertyValue } from './PropertyValue'
9
+ import { QuantitativeValue } from './QuantitativeValue'
10
+ import { Review } from './Review'
11
+ import { Service } from './Service'
12
+ import { Text } from './Text'
13
+ import { Thing } from './Thing'
14
+ import { URL } from './URL'
15
+
16
+ //TODO: Resolve Anys
17
+ interface Product extends Thing {
18
+ additionalProperty?: PropertyValue
19
+ aggregateRating?: AggregateRating
20
+ audience?: unknown
21
+ award?: Text
22
+ brand?: Brand | Organization
23
+ category?: unknown | Text | Thing | URL
24
+ color?: Text
25
+ depth?: unknown | QuantitativeValue
26
+ gtin?: Text
27
+ gtin12?: Text
28
+ gtin13?: Text
29
+ gtin14?: Text
30
+ gtin8?: Text
31
+ hasEnergyConsumptionDetails?: unknown
32
+ hasMerchantReturnPolicy?: unknown
33
+ height?: unknown | QuantitativeValue
34
+ inAccessoryOrSparePartFor?: Product
35
+ inProductGroupWithId?: Text
36
+ isConsumableFor?: Product
37
+ isRelatedTo?: Product | Service
38
+ isSimilarTo?: Product | Service
39
+ isVariantOf?: unknown
40
+ itemCondition?: unknown
41
+ logo?: ImageObject | URL
42
+ manufacturer?: Organization
43
+ material?: Product | Text | URL
44
+ model?: unknown | Text
45
+ mpn?: Text
46
+ nsn?: Text
47
+ offers?: Offer[]
48
+ pattern?: unknown | Text
49
+ productID?: Text
50
+ productionDate?: DateTime
51
+ purchaseDate?: DateTime
52
+ review?: Review
53
+ size?: unknown | QuantitativeValue | Text
54
+ sku?: Text
55
+ slogan?: Text
56
+ weight?: QuantitativeValue
57
+ width?: unknown | QuantitativeValue
58
+ }
59
+
60
+ export type { Product }
@@ -0,0 +1,13 @@
1
+ /* eslint-disable import/no-cycle */
2
+ import { Class } from './Class'
3
+ import { Enumeration } from './Enumeration'
4
+ import { Intangible } from './Intangible'
5
+
6
+ interface Property extends Intangible {
7
+ domainIncludes?: Class
8
+ inverseOf?: Property
9
+ rangeIncludes?: Class
10
+ supersededBy?: Class | Enumeration | Property
11
+ }
12
+
13
+ export type { Property }
@@ -0,0 +1,19 @@
1
+ /* eslint-disable import/no-cycle */
2
+ import { Enumeration } from './Enumeration'
3
+ import { QualitativeValue } from './QualitativeValue'
4
+ import { QuantitativeValue } from './QuantitativeValue'
5
+ import { StructuredValue } from './StructuredValue'
6
+ import { URL } from './URL'
7
+
8
+ interface PropertyValue extends StructuredValue {
9
+ maxValue?: number
10
+ measurementTechnique?: string | URL
11
+ minValue?: number
12
+ propertyId?: string | URL
13
+ unitCode?: string | URL
14
+ unitText?: string
15
+ value?: boolean | number | StructuredValue | string
16
+ valueReference?: Enumeration | PropertyValue | QualitativeValue | QuantitativeValue | StructuredValue
17
+ }
18
+
19
+ export type { PropertyValue }
@@ -0,0 +1,18 @@
1
+ /* eslint-disable import/no-cycle */
2
+ import { Enumeration } from './Enumeration'
3
+ import { PropertyValue } from './PropertyValue'
4
+ import { QuantitativeValue } from './QuantitativeValue'
5
+ import { StructuredValue } from './StructuredValue'
6
+
7
+ interface QualitativeValue extends Enumeration {
8
+ additionalProperty?: PropertyValue
9
+ equal?: QualitativeValue
10
+ greater?: QualitativeValue
11
+ greaterOrEqual?: QualitativeValue
12
+ lesser?: QualitativeValue
13
+ lesserOrEqual?: QualitativeValue
14
+ nonEqual?: QualitativeValue
15
+ valueReference?: Enumeration | PropertyValue | QualitativeValue | QuantitativeValue | StructuredValue
16
+ }
17
+
18
+ export type { QualitativeValue }
@@ -0,0 +1,18 @@
1
+ /* eslint-disable import/no-cycle */
2
+ import { Enumeration } from './Enumeration'
3
+ import { PropertyValue } from './PropertyValue'
4
+ import { QualitativeValue } from './QualitativeValue'
5
+ import { StructuredValue } from './StructuredValue'
6
+ import { URL } from './URL'
7
+
8
+ interface QuantitativeValue extends Enumeration {
9
+ additionalProperty?: PropertyValue
10
+ maxValue?: number
11
+ minValue?: number
12
+ unitCode?: string | URL
13
+ unitText?: string
14
+ value?: boolean | number | StructuredValue | string
15
+ valueReference?: Enumeration | PropertyValue | QualitativeValue | QuantitativeValue | StructuredValue
16
+ }
17
+
18
+ export type { QuantitativeValue }
@@ -0,0 +1,13 @@
1
+ /* eslint-disable import/no-cycle */
2
+ import { Intangible } from './Intangible'
3
+ import { Text } from './Text'
4
+
5
+ interface Rating extends Intangible {
6
+ bestRating?: number
7
+ ratingExplaination?: Text
8
+ ratingValue?: number
9
+ reviewAspect?: Text
10
+ worstRating?: number
11
+ }
12
+
13
+ export type { Rating }
@@ -0,0 +1,13 @@
1
+ /* eslint-disable import/no-cycle */
2
+ import { CreativeWork } from './CreativeWork'
3
+ import { Rating } from './Rating'
4
+ import { Thing } from './Thing'
5
+
6
+ interface Review extends CreativeWork {
7
+ itemReviewed?: Thing
8
+ reviewAspect?: Text
9
+ reviewBody?: Text
10
+ reviewRating?: Rating
11
+ }
12
+
13
+ export type { Review }
@@ -0,0 +1,42 @@
1
+ /* eslint-disable import/no-cycle */
2
+ import { AdministrativeArea } from './AdministrativeArea'
3
+ import { AggregateRating } from './AggrigateRating'
4
+ import { GeoShape } from './GeoShape'
5
+ import { ImageObject } from './ImageObject'
6
+ import { Intangible } from './Intangible'
7
+ import { Offer } from './Offer'
8
+ import { Organization } from './Organization'
9
+ import { Person } from './Person'
10
+ import { Place } from './Place'
11
+ import { Product } from './Product'
12
+ import { Review } from './Review'
13
+ import { Text } from './Text'
14
+ import { Thing } from './Thing'
15
+ import { URL } from './URL'
16
+
17
+ //TODO: Resolve Anys
18
+ interface Service extends Intangible {
19
+ aggregateRating?: AggregateRating
20
+ areaServed?: AdministrativeArea | GeoShape | Place | Text
21
+ audience?: unknown
22
+ availableChannel?: unknown
23
+ award?: Text
24
+ brand?: unknown | Organization
25
+ broker?: Organization | Person
26
+ category?: unknown | Text | Thing | URL
27
+ hasOfferCatalog?: unknown
28
+ hoursAvailable?: unknown
29
+ isRelatedTo?: Product | Service
30
+ isSimilarTo?: Product | Service
31
+ logo?: ImageObject | URL
32
+ offers?: Offer[]
33
+ provider?: Organization | Person
34
+ providerMobility?: Text
35
+ review?: Review
36
+ serviceOutput?: Thing
37
+ serviceType?: unknown | Text
38
+ slogan?: Text
39
+ termsOfService?: Text | URL
40
+ }
41
+
42
+ export type { Service }