@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.
- package/LICENSE +165 -0
- package/README.md +96 -0
- package/babel.config.json +5 -0
- package/dist/cjs/RichResult.d.ts +6 -0
- package/dist/cjs/RichResult.js +12 -0
- package/dist/cjs/RichResult.js.map +1 -0
- package/dist/cjs/index.d.ts +2 -0
- package/dist/cjs/index.js +6 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/jsonld/Action.d.ts +24 -0
- package/dist/cjs/jsonld/Action.js +3 -0
- package/dist/cjs/jsonld/Action.js.map +1 -0
- package/dist/cjs/jsonld/ActionStatusType.d.ts +7 -0
- package/dist/cjs/jsonld/ActionStatusType.js +12 -0
- package/dist/cjs/jsonld/ActionStatusType.js.map +1 -0
- package/dist/cjs/jsonld/AdministrativeArea.d.ts +3 -0
- package/dist/cjs/jsonld/AdministrativeArea.js +3 -0
- package/dist/cjs/jsonld/AdministrativeArea.js.map +1 -0
- package/dist/cjs/jsonld/AggrigateRating.d.ts +8 -0
- package/dist/cjs/jsonld/AggrigateRating.js +3 -0
- package/dist/cjs/jsonld/AggrigateRating.js.map +1 -0
- package/dist/cjs/jsonld/Article.d.ts +14 -0
- package/dist/cjs/jsonld/Article.js +3 -0
- package/dist/cjs/jsonld/Article.js.map +1 -0
- package/dist/cjs/jsonld/Base.d.ts +4 -0
- package/dist/cjs/jsonld/Base.js +3 -0
- package/dist/cjs/jsonld/Base.js.map +1 -0
- package/dist/cjs/jsonld/Brand.d.ts +10 -0
- package/dist/cjs/jsonld/Brand.js +3 -0
- package/dist/cjs/jsonld/Brand.js.map +1 -0
- package/dist/cjs/jsonld/Class.d.ts +7 -0
- package/dist/cjs/jsonld/Class.js +3 -0
- package/dist/cjs/jsonld/Class.js.map +1 -0
- package/dist/cjs/jsonld/ContactPoint.d.ts +19 -0
- package/dist/cjs/jsonld/ContactPoint.js +3 -0
- package/dist/cjs/jsonld/ContactPoint.js.map +1 -0
- package/dist/cjs/jsonld/ContactPointOption.d.ts +5 -0
- package/dist/cjs/jsonld/ContactPointOption.js +10 -0
- package/dist/cjs/jsonld/ContactPointOption.js.map +1 -0
- package/dist/cjs/jsonld/Country.d.ts +3 -0
- package/dist/cjs/jsonld/Country.js +3 -0
- package/dist/cjs/jsonld/Country.js.map +1 -0
- package/dist/cjs/jsonld/CreativeWork.d.ts +122 -0
- package/dist/cjs/jsonld/CreativeWork.js +3 -0
- package/dist/cjs/jsonld/CreativeWork.js.map +1 -0
- package/dist/cjs/jsonld/DateTime.d.ts +2 -0
- package/dist/cjs/jsonld/DateTime.js +3 -0
- package/dist/cjs/jsonld/DateTime.js.map +1 -0
- package/dist/cjs/jsonld/EntryPoint.d.ts +13 -0
- package/dist/cjs/jsonld/EntryPoint.js +4 -0
- package/dist/cjs/jsonld/EntryPoint.js.map +1 -0
- package/dist/cjs/jsonld/Enumeration.d.ts +7 -0
- package/dist/cjs/jsonld/Enumeration.js +3 -0
- package/dist/cjs/jsonld/Enumeration.js.map +1 -0
- package/dist/cjs/jsonld/GeoShape.d.ts +15 -0
- package/dist/cjs/jsonld/GeoShape.js +3 -0
- package/dist/cjs/jsonld/GeoShape.js.map +1 -0
- package/dist/cjs/jsonld/GeospatialGeometry.d.ts +15 -0
- package/dist/cjs/jsonld/GeospatialGeometry.js +4 -0
- package/dist/cjs/jsonld/GeospatialGeometry.js.map +1 -0
- package/dist/cjs/jsonld/ImageObject.d.ts +9 -0
- package/dist/cjs/jsonld/ImageObject.js +3 -0
- package/dist/cjs/jsonld/ImageObject.js.map +1 -0
- package/dist/cjs/jsonld/Intangible.d.ts +3 -0
- package/dist/cjs/jsonld/Intangible.js +3 -0
- package/dist/cjs/jsonld/Intangible.js.map +1 -0
- package/dist/cjs/jsonld/Integer.d.ts +2 -0
- package/dist/cjs/jsonld/Integer.js +3 -0
- package/dist/cjs/jsonld/Integer.js.map +1 -0
- package/dist/cjs/jsonld/ItemAvailability.d.ts +21 -0
- package/dist/cjs/jsonld/ItemAvailability.js +26 -0
- package/dist/cjs/jsonld/ItemAvailability.js.map +1 -0
- package/dist/cjs/jsonld/Language.d.ts +3 -0
- package/dist/cjs/jsonld/Language.js +3 -0
- package/dist/cjs/jsonld/Language.js.map +1 -0
- package/dist/cjs/jsonld/Map.d.ts +6 -0
- package/dist/cjs/jsonld/Map.js +3 -0
- package/dist/cjs/jsonld/Map.js.map +1 -0
- package/dist/cjs/jsonld/MapCategoryType.d.ts +7 -0
- package/dist/cjs/jsonld/MapCategoryType.js +12 -0
- package/dist/cjs/jsonld/MapCategoryType.js.map +1 -0
- package/dist/cjs/jsonld/MediaObject.d.ts +10 -0
- package/dist/cjs/jsonld/MediaObject.js +3 -0
- package/dist/cjs/jsonld/MediaObject.js.map +1 -0
- package/dist/cjs/jsonld/MobileApplication.d.ts +6 -0
- package/dist/cjs/jsonld/MobileApplication.js +3 -0
- package/dist/cjs/jsonld/MobileApplication.js.map +1 -0
- package/dist/cjs/jsonld/Offer.d.ts +64 -0
- package/dist/cjs/jsonld/Offer.js +3 -0
- package/dist/cjs/jsonld/Offer.js.map +1 -0
- package/dist/cjs/jsonld/Organization.d.ts +77 -0
- package/dist/cjs/jsonld/Organization.js +3 -0
- package/dist/cjs/jsonld/Organization.js.map +1 -0
- package/dist/cjs/jsonld/Person.d.ts +71 -0
- package/dist/cjs/jsonld/Person.js +4 -0
- package/dist/cjs/jsonld/Person.js.map +1 -0
- package/dist/cjs/jsonld/Photograph.d.ts +3 -0
- package/dist/cjs/jsonld/Photograph.js +4 -0
- package/dist/cjs/jsonld/Photograph.js.map +1 -0
- package/dist/cjs/jsonld/Place.d.ts +42 -0
- package/dist/cjs/jsonld/Place.js +4 -0
- package/dist/cjs/jsonld/Place.js.map +1 -0
- package/dist/cjs/jsonld/PostalAddress.d.ts +12 -0
- package/dist/cjs/jsonld/PostalAddress.js +3 -0
- package/dist/cjs/jsonld/PostalAddress.js.map +1 -0
- package/dist/cjs/jsonld/Product.d.ts +56 -0
- package/dist/cjs/jsonld/Product.js +3 -0
- package/dist/cjs/jsonld/Product.js.map +1 -0
- package/dist/cjs/jsonld/Property.d.ts +10 -0
- package/dist/cjs/jsonld/Property.js +3 -0
- package/dist/cjs/jsonld/Property.js.map +1 -0
- package/dist/cjs/jsonld/PropertyValue.d.ts +16 -0
- package/dist/cjs/jsonld/PropertyValue.js +3 -0
- package/dist/cjs/jsonld/PropertyValue.js.map +1 -0
- package/dist/cjs/jsonld/QualitativeValue.d.ts +15 -0
- package/dist/cjs/jsonld/QualitativeValue.js +3 -0
- package/dist/cjs/jsonld/QualitativeValue.js.map +1 -0
- package/dist/cjs/jsonld/QuantitativeValue.d.ts +15 -0
- package/dist/cjs/jsonld/QuantitativeValue.js +3 -0
- package/dist/cjs/jsonld/QuantitativeValue.js.map +1 -0
- package/dist/cjs/jsonld/Rating.d.ts +10 -0
- package/dist/cjs/jsonld/Rating.js +3 -0
- package/dist/cjs/jsonld/Rating.js.map +1 -0
- package/dist/cjs/jsonld/Review.d.ts +10 -0
- package/dist/cjs/jsonld/Review.js +3 -0
- package/dist/cjs/jsonld/Review.js.map +1 -0
- package/dist/cjs/jsonld/Service.d.ts +38 -0
- package/dist/cjs/jsonld/Service.js +3 -0
- package/dist/cjs/jsonld/Service.js.map +1 -0
- package/dist/cjs/jsonld/SoftwareApplication.d.ts +28 -0
- package/dist/cjs/jsonld/SoftwareApplication.js +3 -0
- package/dist/cjs/jsonld/SoftwareApplication.js.map +1 -0
- package/dist/cjs/jsonld/StructuredValue.d.ts +3 -0
- package/dist/cjs/jsonld/StructuredValue.js +3 -0
- package/dist/cjs/jsonld/StructuredValue.js.map +1 -0
- package/dist/cjs/jsonld/Text.d.ts +2 -0
- package/dist/cjs/jsonld/Text.js +3 -0
- package/dist/cjs/jsonld/Text.js.map +1 -0
- package/dist/cjs/jsonld/Thing.d.ts +22 -0
- package/dist/cjs/jsonld/Thing.js +3 -0
- package/dist/cjs/jsonld/Thing.js.map +1 -0
- package/dist/cjs/jsonld/Time.d.ts +2 -0
- package/dist/cjs/jsonld/Time.js +3 -0
- package/dist/cjs/jsonld/Time.js.map +1 -0
- package/dist/cjs/jsonld/URL.d.ts +2 -0
- package/dist/cjs/jsonld/URL.js +3 -0
- package/dist/cjs/jsonld/URL.js.map +1 -0
- package/dist/cjs/jsonld/VirtualLocation.d.ts +3 -0
- package/dist/cjs/jsonld/VirtualLocation.js +4 -0
- package/dist/cjs/jsonld/VirtualLocation.js.map +1 -0
- package/dist/cjs/jsonld/index.d.ts +47 -0
- package/dist/cjs/jsonld/index.js +51 -0
- package/dist/cjs/jsonld/index.js.map +1 -0
- package/dist/docs.json +7 -0
- package/dist/esm/RichResult.d.ts +6 -0
- package/dist/esm/RichResult.js +8 -0
- package/dist/esm/RichResult.js.map +1 -0
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/jsonld/Action.d.ts +24 -0
- package/dist/esm/jsonld/Action.js +2 -0
- package/dist/esm/jsonld/Action.js.map +1 -0
- package/dist/esm/jsonld/ActionStatusType.d.ts +7 -0
- package/dist/esm/jsonld/ActionStatusType.js +9 -0
- package/dist/esm/jsonld/ActionStatusType.js.map +1 -0
- package/dist/esm/jsonld/AdministrativeArea.d.ts +3 -0
- package/dist/esm/jsonld/AdministrativeArea.js +2 -0
- package/dist/esm/jsonld/AdministrativeArea.js.map +1 -0
- package/dist/esm/jsonld/AggrigateRating.d.ts +8 -0
- package/dist/esm/jsonld/AggrigateRating.js +2 -0
- package/dist/esm/jsonld/AggrigateRating.js.map +1 -0
- package/dist/esm/jsonld/Article.d.ts +14 -0
- package/dist/esm/jsonld/Article.js +2 -0
- package/dist/esm/jsonld/Article.js.map +1 -0
- package/dist/esm/jsonld/Base.d.ts +4 -0
- package/dist/esm/jsonld/Base.js +2 -0
- package/dist/esm/jsonld/Base.js.map +1 -0
- package/dist/esm/jsonld/Brand.d.ts +10 -0
- package/dist/esm/jsonld/Brand.js +2 -0
- package/dist/esm/jsonld/Brand.js.map +1 -0
- package/dist/esm/jsonld/Class.d.ts +7 -0
- package/dist/esm/jsonld/Class.js +2 -0
- package/dist/esm/jsonld/Class.js.map +1 -0
- package/dist/esm/jsonld/ContactPoint.d.ts +19 -0
- package/dist/esm/jsonld/ContactPoint.js +2 -0
- package/dist/esm/jsonld/ContactPoint.js.map +1 -0
- package/dist/esm/jsonld/ContactPointOption.d.ts +5 -0
- package/dist/esm/jsonld/ContactPointOption.js +7 -0
- package/dist/esm/jsonld/ContactPointOption.js.map +1 -0
- package/dist/esm/jsonld/Country.d.ts +3 -0
- package/dist/esm/jsonld/Country.js +2 -0
- package/dist/esm/jsonld/Country.js.map +1 -0
- package/dist/esm/jsonld/CreativeWork.d.ts +122 -0
- package/dist/esm/jsonld/CreativeWork.js +2 -0
- package/dist/esm/jsonld/CreativeWork.js.map +1 -0
- package/dist/esm/jsonld/DateTime.d.ts +2 -0
- package/dist/esm/jsonld/DateTime.js +2 -0
- package/dist/esm/jsonld/DateTime.js.map +1 -0
- package/dist/esm/jsonld/EntryPoint.d.ts +13 -0
- package/dist/esm/jsonld/EntryPoint.js +3 -0
- package/dist/esm/jsonld/EntryPoint.js.map +1 -0
- package/dist/esm/jsonld/Enumeration.d.ts +7 -0
- package/dist/esm/jsonld/Enumeration.js +2 -0
- package/dist/esm/jsonld/Enumeration.js.map +1 -0
- package/dist/esm/jsonld/GeoShape.d.ts +15 -0
- package/dist/esm/jsonld/GeoShape.js +2 -0
- package/dist/esm/jsonld/GeoShape.js.map +1 -0
- package/dist/esm/jsonld/GeospatialGeometry.d.ts +15 -0
- package/dist/esm/jsonld/GeospatialGeometry.js +3 -0
- package/dist/esm/jsonld/GeospatialGeometry.js.map +1 -0
- package/dist/esm/jsonld/ImageObject.d.ts +9 -0
- package/dist/esm/jsonld/ImageObject.js +2 -0
- package/dist/esm/jsonld/ImageObject.js.map +1 -0
- package/dist/esm/jsonld/Intangible.d.ts +3 -0
- package/dist/esm/jsonld/Intangible.js +2 -0
- package/dist/esm/jsonld/Intangible.js.map +1 -0
- package/dist/esm/jsonld/Integer.d.ts +2 -0
- package/dist/esm/jsonld/Integer.js +2 -0
- package/dist/esm/jsonld/Integer.js.map +1 -0
- package/dist/esm/jsonld/ItemAvailability.d.ts +21 -0
- package/dist/esm/jsonld/ItemAvailability.js +23 -0
- package/dist/esm/jsonld/ItemAvailability.js.map +1 -0
- package/dist/esm/jsonld/Language.d.ts +3 -0
- package/dist/esm/jsonld/Language.js +2 -0
- package/dist/esm/jsonld/Language.js.map +1 -0
- package/dist/esm/jsonld/Map.d.ts +6 -0
- package/dist/esm/jsonld/Map.js +2 -0
- package/dist/esm/jsonld/Map.js.map +1 -0
- package/dist/esm/jsonld/MapCategoryType.d.ts +7 -0
- package/dist/esm/jsonld/MapCategoryType.js +9 -0
- package/dist/esm/jsonld/MapCategoryType.js.map +1 -0
- package/dist/esm/jsonld/MediaObject.d.ts +10 -0
- package/dist/esm/jsonld/MediaObject.js +2 -0
- package/dist/esm/jsonld/MediaObject.js.map +1 -0
- package/dist/esm/jsonld/MobileApplication.d.ts +6 -0
- package/dist/esm/jsonld/MobileApplication.js +2 -0
- package/dist/esm/jsonld/MobileApplication.js.map +1 -0
- package/dist/esm/jsonld/Offer.d.ts +64 -0
- package/dist/esm/jsonld/Offer.js +2 -0
- package/dist/esm/jsonld/Offer.js.map +1 -0
- package/dist/esm/jsonld/Organization.d.ts +77 -0
- package/dist/esm/jsonld/Organization.js +2 -0
- package/dist/esm/jsonld/Organization.js.map +1 -0
- package/dist/esm/jsonld/Person.d.ts +71 -0
- package/dist/esm/jsonld/Person.js +3 -0
- package/dist/esm/jsonld/Person.js.map +1 -0
- package/dist/esm/jsonld/Photograph.d.ts +3 -0
- package/dist/esm/jsonld/Photograph.js +3 -0
- package/dist/esm/jsonld/Photograph.js.map +1 -0
- package/dist/esm/jsonld/Place.d.ts +42 -0
- package/dist/esm/jsonld/Place.js +3 -0
- package/dist/esm/jsonld/Place.js.map +1 -0
- package/dist/esm/jsonld/PostalAddress.d.ts +12 -0
- package/dist/esm/jsonld/PostalAddress.js +2 -0
- package/dist/esm/jsonld/PostalAddress.js.map +1 -0
- package/dist/esm/jsonld/Product.d.ts +56 -0
- package/dist/esm/jsonld/Product.js +2 -0
- package/dist/esm/jsonld/Product.js.map +1 -0
- package/dist/esm/jsonld/Property.d.ts +10 -0
- package/dist/esm/jsonld/Property.js +2 -0
- package/dist/esm/jsonld/Property.js.map +1 -0
- package/dist/esm/jsonld/PropertyValue.d.ts +16 -0
- package/dist/esm/jsonld/PropertyValue.js +2 -0
- package/dist/esm/jsonld/PropertyValue.js.map +1 -0
- package/dist/esm/jsonld/QualitativeValue.d.ts +15 -0
- package/dist/esm/jsonld/QualitativeValue.js +2 -0
- package/dist/esm/jsonld/QualitativeValue.js.map +1 -0
- package/dist/esm/jsonld/QuantitativeValue.d.ts +15 -0
- package/dist/esm/jsonld/QuantitativeValue.js +2 -0
- package/dist/esm/jsonld/QuantitativeValue.js.map +1 -0
- package/dist/esm/jsonld/Rating.d.ts +10 -0
- package/dist/esm/jsonld/Rating.js +2 -0
- package/dist/esm/jsonld/Rating.js.map +1 -0
- package/dist/esm/jsonld/Review.d.ts +10 -0
- package/dist/esm/jsonld/Review.js +2 -0
- package/dist/esm/jsonld/Review.js.map +1 -0
- package/dist/esm/jsonld/Service.d.ts +38 -0
- package/dist/esm/jsonld/Service.js +2 -0
- package/dist/esm/jsonld/Service.js.map +1 -0
- package/dist/esm/jsonld/SoftwareApplication.d.ts +28 -0
- package/dist/esm/jsonld/SoftwareApplication.js +2 -0
- package/dist/esm/jsonld/SoftwareApplication.js.map +1 -0
- package/dist/esm/jsonld/StructuredValue.d.ts +3 -0
- package/dist/esm/jsonld/StructuredValue.js +2 -0
- package/dist/esm/jsonld/StructuredValue.js.map +1 -0
- package/dist/esm/jsonld/Text.d.ts +2 -0
- package/dist/esm/jsonld/Text.js +2 -0
- package/dist/esm/jsonld/Text.js.map +1 -0
- package/dist/esm/jsonld/Thing.d.ts +22 -0
- package/dist/esm/jsonld/Thing.js +2 -0
- package/dist/esm/jsonld/Thing.js.map +1 -0
- package/dist/esm/jsonld/Time.d.ts +2 -0
- package/dist/esm/jsonld/Time.js +2 -0
- package/dist/esm/jsonld/Time.js.map +1 -0
- package/dist/esm/jsonld/URL.d.ts +2 -0
- package/dist/esm/jsonld/URL.js +2 -0
- package/dist/esm/jsonld/URL.js.map +1 -0
- package/dist/esm/jsonld/VirtualLocation.d.ts +3 -0
- package/dist/esm/jsonld/VirtualLocation.js +3 -0
- package/dist/esm/jsonld/VirtualLocation.js.map +1 -0
- package/dist/esm/jsonld/index.d.ts +47 -0
- package/dist/esm/jsonld/index.js +48 -0
- package/dist/esm/jsonld/index.js.map +1 -0
- package/package.json +72 -0
- package/src/RichResult.tsx +18 -0
- package/src/index.ts +2 -0
- package/src/jsonld/Action.ts +27 -0
- package/src/jsonld/ActionStatusType.ts +8 -0
- package/src/jsonld/AdministrativeArea.ts +6 -0
- package/src/jsonld/AggrigateRating.ts +11 -0
- package/src/jsonld/Article.ts +17 -0
- package/src/jsonld/Base.ts +5 -0
- package/src/jsonld/Brand.ts +12 -0
- package/src/jsonld/Class.ts +10 -0
- package/src/jsonld/ContactPoint.ts +22 -0
- package/src/jsonld/ContactPointOption.ts +6 -0
- package/src/jsonld/Country.ts +6 -0
- package/src/jsonld/CreativeWork.ts +126 -0
- package/src/jsonld/DateTime.ts +3 -0
- package/src/jsonld/EntryPoint.ts +17 -0
- package/src/jsonld/Enumeration.ts +10 -0
- package/src/jsonld/GeoShape.ts +18 -0
- package/src/jsonld/GeospatialGeometry.ts +19 -0
- package/src/jsonld/ImageObject.ts +12 -0
- package/src/jsonld/Intangible.ts +6 -0
- package/src/jsonld/Integer.ts +3 -0
- package/src/jsonld/ItemAvailability.ts +22 -0
- package/src/jsonld/Language.ts +6 -0
- package/src/jsonld/Map.ts +9 -0
- package/src/jsonld/MapCategoryType.ts +8 -0
- package/src/jsonld/MediaObject.ts +13 -0
- package/src/jsonld/MobileApplication.ts +8 -0
- package/src/jsonld/Offer.ts +67 -0
- package/src/jsonld/Organization.ts +81 -0
- package/src/jsonld/Person.ts +75 -0
- package/src/jsonld/Photograph.ts +7 -0
- package/src/jsonld/Place.ts +46 -0
- package/src/jsonld/PostalAddress.ts +15 -0
- package/src/jsonld/Product.ts +60 -0
- package/src/jsonld/Property.ts +13 -0
- package/src/jsonld/PropertyValue.ts +19 -0
- package/src/jsonld/QualitativeValue.ts +18 -0
- package/src/jsonld/QuantitativeValue.ts +18 -0
- package/src/jsonld/Rating.ts +13 -0
- package/src/jsonld/Review.ts +13 -0
- package/src/jsonld/Service.ts +42 -0
- package/src/jsonld/SoftwareApplication.ts +32 -0
- package/src/jsonld/StructuredValue.ts +6 -0
- package/src/jsonld/Text.ts +3 -0
- package/src/jsonld/Thing.ts +25 -0
- package/src/jsonld/Time.ts +3 -0
- package/src/jsonld/URL.ts +3 -0
- package/src/jsonld/VirtualLocation.ts +7 -0
- package/src/jsonld/index.ts +47 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { AdministrativeArea } from './AdministrativeArea';
|
|
2
|
+
import { AggregateRating } from './AggrigateRating';
|
|
3
|
+
import { GeoShape } from './GeoShape';
|
|
4
|
+
import { ImageObject } from './ImageObject';
|
|
5
|
+
import { Intangible } from './Intangible';
|
|
6
|
+
import { Offer } from './Offer';
|
|
7
|
+
import { Organization } from './Organization';
|
|
8
|
+
import { Person } from './Person';
|
|
9
|
+
import { Place } from './Place';
|
|
10
|
+
import { Product } from './Product';
|
|
11
|
+
import { Review } from './Review';
|
|
12
|
+
import { Text } from './Text';
|
|
13
|
+
import { Thing } from './Thing';
|
|
14
|
+
import { URL } from './URL';
|
|
15
|
+
interface Service extends Intangible {
|
|
16
|
+
aggregateRating?: AggregateRating;
|
|
17
|
+
areaServed?: AdministrativeArea | GeoShape | Place | Text;
|
|
18
|
+
audience?: unknown;
|
|
19
|
+
availableChannel?: unknown;
|
|
20
|
+
award?: Text;
|
|
21
|
+
brand?: unknown | Organization;
|
|
22
|
+
broker?: Organization | Person;
|
|
23
|
+
category?: unknown | Text | Thing | URL;
|
|
24
|
+
hasOfferCatalog?: unknown;
|
|
25
|
+
hoursAvailable?: unknown;
|
|
26
|
+
isRelatedTo?: Product | Service;
|
|
27
|
+
isSimilarTo?: Product | Service;
|
|
28
|
+
logo?: ImageObject | URL;
|
|
29
|
+
offers?: Offer[];
|
|
30
|
+
provider?: Organization | Person;
|
|
31
|
+
providerMobility?: Text;
|
|
32
|
+
review?: Review;
|
|
33
|
+
serviceOutput?: Thing;
|
|
34
|
+
serviceType?: unknown | Text;
|
|
35
|
+
slogan?: Text;
|
|
36
|
+
termsOfService?: Text | URL;
|
|
37
|
+
}
|
|
38
|
+
export type { Service };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Service.js","sourceRoot":"","sources":["../../../src/jsonld/Service.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { CreativeWork } from './CreativeWork';
|
|
2
|
+
import { ImageObject } from './ImageObject';
|
|
3
|
+
import { Text } from './Text';
|
|
4
|
+
import { URL } from './URL';
|
|
5
|
+
interface SoftwareApplication extends CreativeWork {
|
|
6
|
+
applicationCategory?: Text | URL;
|
|
7
|
+
applicationSubCategory?: Text | URL;
|
|
8
|
+
applicationSuite?: Text;
|
|
9
|
+
availableOnDevice?: Text;
|
|
10
|
+
countriesNotSupported?: Text;
|
|
11
|
+
countriesSupported?: Text;
|
|
12
|
+
downloadUrl?: URL;
|
|
13
|
+
featureList?: Text | URL;
|
|
14
|
+
installUrl?: URL;
|
|
15
|
+
memoryRequirements?: Text | URL;
|
|
16
|
+
operatingSystem?: Text;
|
|
17
|
+
permissions?: Text;
|
|
18
|
+
processorRequiremewnts?: Text;
|
|
19
|
+
releaseNotes?: Text | URL;
|
|
20
|
+
screenshot?: ImageObject | URL;
|
|
21
|
+
softwareAddOn?: SoftwareApplication;
|
|
22
|
+
softwareHelp?: CreativeWork;
|
|
23
|
+
softwareRequirements?: Text | URL;
|
|
24
|
+
softwareVersion?: Text;
|
|
25
|
+
storageRequirements?: Text | URL;
|
|
26
|
+
supportingData?: unknown;
|
|
27
|
+
}
|
|
28
|
+
export type { SoftwareApplication };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SoftwareApplication.js","sourceRoot":"","sources":["../../../src/jsonld/SoftwareApplication.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StructuredValue.js","sourceRoot":"","sources":["../../../src/jsonld/StructuredValue.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.js","sourceRoot":"","sources":["../../../src/jsonld/Text.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Action } from './Action';
|
|
2
|
+
import { Base } from './Base';
|
|
3
|
+
import { CreativeWork } from './CreativeWork';
|
|
4
|
+
import { ImageObject } from './ImageObject';
|
|
5
|
+
import { PropertyValue } from './PropertyValue';
|
|
6
|
+
import { Text } from './Text';
|
|
7
|
+
import { URL } from './URL';
|
|
8
|
+
interface Thing extends Base {
|
|
9
|
+
additionalType?: URL;
|
|
10
|
+
alternateName?: Text;
|
|
11
|
+
description?: Text;
|
|
12
|
+
disambiguatingDescription?: Text;
|
|
13
|
+
identifier?: PropertyValue | Text | URL;
|
|
14
|
+
image?: ImageObject | URL;
|
|
15
|
+
mainIdentityOfPage?: CreativeWork | URL;
|
|
16
|
+
name?: Text;
|
|
17
|
+
potentialAction?: Action;
|
|
18
|
+
sameAs?: URL;
|
|
19
|
+
subjectOf?: CreativeWork | Event;
|
|
20
|
+
url?: URL;
|
|
21
|
+
}
|
|
22
|
+
export type { Thing };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Thing.js","sourceRoot":"","sources":["../../../src/jsonld/Thing.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Time.js","sourceRoot":"","sources":["../../../src/jsonld/Time.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"URL.js","sourceRoot":"","sources":["../../../src/jsonld/URL.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VirtualLocation.js","sourceRoot":"","sources":["../../../src/jsonld/VirtualLocation.ts"],"names":[],"mappings":"AAAA,oCAAoC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export * from './Action';
|
|
2
|
+
export * from './ActionStatusType';
|
|
3
|
+
export * from './AdministrativeArea';
|
|
4
|
+
export * from './AggrigateRating';
|
|
5
|
+
export * from './Article';
|
|
6
|
+
export * from './Base';
|
|
7
|
+
export * from './Brand';
|
|
8
|
+
export * from './Class';
|
|
9
|
+
export * from './ContactPoint';
|
|
10
|
+
export * from './ContactPointOption';
|
|
11
|
+
export * from './Country';
|
|
12
|
+
export * from './CreativeWork';
|
|
13
|
+
export * from './DateTime';
|
|
14
|
+
export * from './EntryPoint';
|
|
15
|
+
export * from './Enumeration';
|
|
16
|
+
export * from './GeoShape';
|
|
17
|
+
export * from './GeospatialGeometry';
|
|
18
|
+
export * from './ImageObject';
|
|
19
|
+
export * from './Intangible';
|
|
20
|
+
export * from './Integer';
|
|
21
|
+
export * from './ItemAvailability';
|
|
22
|
+
export * from './Language';
|
|
23
|
+
export * from './Map';
|
|
24
|
+
export * from './MapCategoryType';
|
|
25
|
+
export * from './MediaObject';
|
|
26
|
+
export * from './MobileApplication';
|
|
27
|
+
export * from './Offer';
|
|
28
|
+
export * from './Organization';
|
|
29
|
+
export * from './Person';
|
|
30
|
+
export * from './Photograph';
|
|
31
|
+
export * from './Place';
|
|
32
|
+
export * from './PostalAddress';
|
|
33
|
+
export * from './Product';
|
|
34
|
+
export * from './Property';
|
|
35
|
+
export * from './PropertyValue';
|
|
36
|
+
export * from './QualitativeValue';
|
|
37
|
+
export * from './QuantitativeValue';
|
|
38
|
+
export * from './Rating';
|
|
39
|
+
export * from './Review';
|
|
40
|
+
export * from './Service';
|
|
41
|
+
export * from './SoftwareApplication';
|
|
42
|
+
export * from './StructuredValue';
|
|
43
|
+
export * from './Text';
|
|
44
|
+
export * from './Thing';
|
|
45
|
+
export * from './Time';
|
|
46
|
+
export * from './URL';
|
|
47
|
+
export * from './VirtualLocation';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export * from './Action';
|
|
2
|
+
export * from './ActionStatusType';
|
|
3
|
+
export * from './AdministrativeArea';
|
|
4
|
+
export * from './AggrigateRating';
|
|
5
|
+
export * from './Article';
|
|
6
|
+
export * from './Base';
|
|
7
|
+
export * from './Brand';
|
|
8
|
+
export * from './Class';
|
|
9
|
+
export * from './ContactPoint';
|
|
10
|
+
export * from './ContactPointOption';
|
|
11
|
+
export * from './Country';
|
|
12
|
+
export * from './CreativeWork';
|
|
13
|
+
export * from './DateTime';
|
|
14
|
+
export * from './EntryPoint';
|
|
15
|
+
export * from './Enumeration';
|
|
16
|
+
export * from './GeoShape';
|
|
17
|
+
export * from './GeospatialGeometry';
|
|
18
|
+
export * from './ImageObject';
|
|
19
|
+
export * from './Intangible';
|
|
20
|
+
export * from './Integer';
|
|
21
|
+
export * from './ItemAvailability';
|
|
22
|
+
export * from './Language';
|
|
23
|
+
export * from './Map';
|
|
24
|
+
export * from './MapCategoryType';
|
|
25
|
+
export * from './MediaObject';
|
|
26
|
+
export * from './MobileApplication';
|
|
27
|
+
export * from './Offer';
|
|
28
|
+
export * from './Organization';
|
|
29
|
+
export * from './Person';
|
|
30
|
+
export * from './Photograph';
|
|
31
|
+
export * from './Place';
|
|
32
|
+
export * from './PostalAddress';
|
|
33
|
+
export * from './Product';
|
|
34
|
+
export * from './Property';
|
|
35
|
+
export * from './PropertyValue';
|
|
36
|
+
export * from './QualitativeValue';
|
|
37
|
+
export * from './QuantitativeValue';
|
|
38
|
+
export * from './Rating';
|
|
39
|
+
export * from './Review';
|
|
40
|
+
export * from './Service';
|
|
41
|
+
export * from './SoftwareApplication';
|
|
42
|
+
export * from './StructuredValue';
|
|
43
|
+
export * from './Text';
|
|
44
|
+
export * from './Thing';
|
|
45
|
+
export * from './Time';
|
|
46
|
+
export * from './URL';
|
|
47
|
+
export * from './VirtualLocation';
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/jsonld/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,WAAW,CAAA;AACzB,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,sBAAsB,CAAA;AACpC,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,sBAAsB,CAAA;AACpC,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,YAAY,CAAA;AAC1B,cAAc,OAAO,CAAA;AACrB,cAAc,mBAAmB,CAAA;AACjC,cAAc,eAAe,CAAA;AAC7B,cAAc,qBAAqB,CAAA;AACnC,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA;AACjC,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA;AACvB,cAAc,QAAQ,CAAA;AACtB,cAAc,OAAO,CAAA;AACrB,cAAc,mBAAmB,CAAA"}
|
package/package.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@xylabs/react-rich-result",
|
|
3
|
+
"author": {
|
|
4
|
+
"email": "support@xylabs.com",
|
|
5
|
+
"name": "XY Labs Development Team",
|
|
6
|
+
"url": "https://xylabs.com"
|
|
7
|
+
},
|
|
8
|
+
"bugs": {
|
|
9
|
+
"email": "support@xylabs.com",
|
|
10
|
+
"url": "https://github.com/xylabs/sdk-react/issues"
|
|
11
|
+
},
|
|
12
|
+
"workspaces": [
|
|
13
|
+
"packages/*"
|
|
14
|
+
],
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"react": "^18.2.0"
|
|
17
|
+
},
|
|
18
|
+
"description": "Common React library for all XY Labs projects that use React",
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@babel/core": "^7.18.6",
|
|
21
|
+
"@babel/preset-env": "^7.18.6",
|
|
22
|
+
"@types/react": "^18.0.15",
|
|
23
|
+
"@xylabs/eslint-config-react": "^2.1.7",
|
|
24
|
+
"@xylabs/ts-scripts": "^1.0.66",
|
|
25
|
+
"@xylabs/tsconfig": "^1.0.14",
|
|
26
|
+
"ts-node": "^10.8.2",
|
|
27
|
+
"typescript": "^4.7.4"
|
|
28
|
+
},
|
|
29
|
+
"resolutions": {
|
|
30
|
+
"react": "^18.2.0",
|
|
31
|
+
"react-dom": "^18.2.0"
|
|
32
|
+
},
|
|
33
|
+
"browser": "dist/esm/index.js",
|
|
34
|
+
"docs": "dist/docs.json",
|
|
35
|
+
"exports": {
|
|
36
|
+
".": {
|
|
37
|
+
"node": {
|
|
38
|
+
"import": "./dist/esm/index.js",
|
|
39
|
+
"require": "./dist/cjs/index.js"
|
|
40
|
+
},
|
|
41
|
+
"browser": {
|
|
42
|
+
"import": "./dist/esm/index.js",
|
|
43
|
+
"require": "./dist/cjs/index.js"
|
|
44
|
+
},
|
|
45
|
+
"default": "./dist/esm/index.js"
|
|
46
|
+
},
|
|
47
|
+
"./dist/docs.json": {
|
|
48
|
+
"default": "./dist/docs.json"
|
|
49
|
+
},
|
|
50
|
+
"./package.json": "./package.json"
|
|
51
|
+
},
|
|
52
|
+
"main": "dist/cjs/index.js",
|
|
53
|
+
"module": "dist/esm/index.js",
|
|
54
|
+
"homepage": "https://xylabs.com",
|
|
55
|
+
"keywords": [
|
|
56
|
+
"utility",
|
|
57
|
+
"typescript",
|
|
58
|
+
"react"
|
|
59
|
+
],
|
|
60
|
+
"license": "LGPL-3.0",
|
|
61
|
+
"publishConfig": {
|
|
62
|
+
"access": "public"
|
|
63
|
+
},
|
|
64
|
+
"repository": {
|
|
65
|
+
"type": "git",
|
|
66
|
+
"url": "https://github.com/xylabs/sdk-react.git"
|
|
67
|
+
},
|
|
68
|
+
"sideEffects": false,
|
|
69
|
+
"types": "dist/esm/index.d.ts",
|
|
70
|
+
"version": "2.14.5",
|
|
71
|
+
"packageManager": "yarn@3.1.1"
|
|
72
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
import { Base, Thing } from './jsonld'
|
|
4
|
+
|
|
5
|
+
type WithContext<T extends Base> = T & {
|
|
6
|
+
'@context': 'https://schema.org'
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface RichResultProps {
|
|
10
|
+
thing: Thing
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const RichResult: React.FC<RichResultProps> = (props) => {
|
|
14
|
+
const { thing } = props
|
|
15
|
+
const thingWithContext = thing as WithContext<Thing>
|
|
16
|
+
thingWithContext['@context'] = 'https://schema.org'
|
|
17
|
+
return <script type="application/ld+json">{JSON.stringify(thingWithContext)}</script>
|
|
18
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* eslint-disable import/no-cycle */
|
|
2
|
+
import { ActionStatusType } from './ActionStatusType'
|
|
3
|
+
import { DateTime } from './DateTime'
|
|
4
|
+
import { EntryPoint } from './EntryPoint'
|
|
5
|
+
import { Organization } from './Organization'
|
|
6
|
+
import { Person } from './Person'
|
|
7
|
+
import { Place } from './Place'
|
|
8
|
+
import { PostalAddress } from './PostalAddress'
|
|
9
|
+
import { Thing } from './Thing'
|
|
10
|
+
import { Time } from './Time'
|
|
11
|
+
import { VirtualLocation } from './VirtualLocation'
|
|
12
|
+
|
|
13
|
+
interface Action extends Thing {
|
|
14
|
+
actionStatus?: ActionStatusType
|
|
15
|
+
agent?: Organization | Person
|
|
16
|
+
endTime?: DateTime | Time
|
|
17
|
+
error?: Thing
|
|
18
|
+
instrument?: Thing
|
|
19
|
+
location?: Place | PostalAddress | string | VirtualLocation
|
|
20
|
+
object?: Thing
|
|
21
|
+
participant?: Organization | Person
|
|
22
|
+
result?: Thing
|
|
23
|
+
startTime?: DateTime | Time
|
|
24
|
+
target?: EntryPoint
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type { Action }
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* eslint-disable import/no-cycle */
|
|
2
|
+
import { Rating } from './Rating'
|
|
3
|
+
import { Thing } from './Thing'
|
|
4
|
+
|
|
5
|
+
interface AggregateRating extends Rating {
|
|
6
|
+
itemReviewed?: Thing
|
|
7
|
+
ratingCount?: number
|
|
8
|
+
reviewCount?: number
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export type { AggregateRating }
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* eslint-disable import/no-cycle */
|
|
2
|
+
import { CreativeWork } from './CreativeWork'
|
|
3
|
+
import { Integer } from './Integer'
|
|
4
|
+
import { Text } from './Text'
|
|
5
|
+
|
|
6
|
+
interface Article extends CreativeWork {
|
|
7
|
+
articleBody?: Text
|
|
8
|
+
articleSection?: Text
|
|
9
|
+
backstory?: CreativeWork | Text
|
|
10
|
+
pageEnd?: Integer | Text
|
|
11
|
+
pageStart?: Integer | Text
|
|
12
|
+
pagination?: Text
|
|
13
|
+
speakable?: unknown | URL
|
|
14
|
+
wordCount?: Integer
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export type { Article }
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* eslint-disable import/no-cycle */
|
|
2
|
+
import { AggregateRating } from './AggrigateRating'
|
|
3
|
+
import { ImageObject } from './ImageObject'
|
|
4
|
+
import { Intangible } from './Intangible'
|
|
5
|
+
import { Review } from './Review'
|
|
6
|
+
|
|
7
|
+
export interface Brand extends Intangible {
|
|
8
|
+
aggregateRating?: AggregateRating
|
|
9
|
+
logo?: ImageObject | URL
|
|
10
|
+
review?: Review
|
|
11
|
+
slogan?: Text
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* eslint-disable import/no-cycle */
|
|
2
|
+
import { Enumeration } from './Enumeration'
|
|
3
|
+
import { Intangible } from './Intangible'
|
|
4
|
+
import { Property } from './Property'
|
|
5
|
+
|
|
6
|
+
interface Class extends Intangible {
|
|
7
|
+
supersededBy?: Class | Enumeration | Property
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export type { Class }
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* eslint-disable import/no-cycle */
|
|
2
|
+
import { AdministrativeArea } from './AdministrativeArea'
|
|
3
|
+
import { ContactPointOption } from './ContactPointOption'
|
|
4
|
+
import { GeoShape } from './GeoShape'
|
|
5
|
+
import { Language } from './Language'
|
|
6
|
+
import { Place } from './Place'
|
|
7
|
+
import { Product } from './Product'
|
|
8
|
+
import { Text } from './Text'
|
|
9
|
+
import { Thing } from './Thing'
|
|
10
|
+
|
|
11
|
+
interface ContactPoint extends Thing {
|
|
12
|
+
areaServed?: AdministrativeArea | GeoShape | Place | Text
|
|
13
|
+
availableLanguages?: Language | Text
|
|
14
|
+
contactOption?: ContactPointOption
|
|
15
|
+
contactType?: Text
|
|
16
|
+
email?: Text
|
|
17
|
+
hoursAvailable?: unknown
|
|
18
|
+
productsSupported?: Product | Text
|
|
19
|
+
telephone?: Text
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export type { ContactPoint }
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
/* eslint-disable import/no-cycle */
|
|
2
|
+
import { AggregateRating } from './AggrigateRating'
|
|
3
|
+
import { DateTime } from './DateTime'
|
|
4
|
+
import { Integer } from './Integer'
|
|
5
|
+
import { Language } from './Language'
|
|
6
|
+
import { MediaObject } from './MediaObject'
|
|
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 { QuantitativeValue } from './QuantitativeValue'
|
|
13
|
+
import { Rating } from './Rating'
|
|
14
|
+
import { Review } from './Review'
|
|
15
|
+
import { Text } from './Text'
|
|
16
|
+
import { Thing } from './Thing'
|
|
17
|
+
import { URL } from './URL'
|
|
18
|
+
|
|
19
|
+
//TODO: Resolve Anys
|
|
20
|
+
interface CreativeWork extends Thing {
|
|
21
|
+
about?: Thing
|
|
22
|
+
abstract?: Text
|
|
23
|
+
accessMode?: Text
|
|
24
|
+
accessModeSufficient?: unknown
|
|
25
|
+
accessibilityAPI?: Text
|
|
26
|
+
accessibilityControl?: Text
|
|
27
|
+
accessibilityFeature?: Text
|
|
28
|
+
accessibilityHazard?: Text
|
|
29
|
+
accessibilitySummary?: Text
|
|
30
|
+
accountablePerson?: Person
|
|
31
|
+
acquireLicensePage?: CreativeWork | URL
|
|
32
|
+
aggregateRating?: AggregateRating
|
|
33
|
+
alternativeHeading?: Text
|
|
34
|
+
assesses?: unknown | Text
|
|
35
|
+
associatedMedia?: MediaObject
|
|
36
|
+
audience?: unknown
|
|
37
|
+
audio?: unknown | unknown | unknown
|
|
38
|
+
author?: Organization | Person
|
|
39
|
+
award?: Text
|
|
40
|
+
character?: Person
|
|
41
|
+
citation?: CreativeWork | Text
|
|
42
|
+
comment?: unknown
|
|
43
|
+
commentCount?: Integer
|
|
44
|
+
conditionsOfAccess?: Text
|
|
45
|
+
contentLocation?: Place
|
|
46
|
+
contentRating?: Rating | Text
|
|
47
|
+
contentReferenceTime?: DateTime
|
|
48
|
+
contributor?: Organization | Person
|
|
49
|
+
copyrightHolder?: Organization | Person
|
|
50
|
+
copyrightNotice?: Text
|
|
51
|
+
copyrightYear?: number
|
|
52
|
+
correction?: unknown | Text | URL
|
|
53
|
+
creativeWorkStatus?: unknown | Text
|
|
54
|
+
creator?: Organization | Person
|
|
55
|
+
creditText?: Text
|
|
56
|
+
dateCreated?: DateTime
|
|
57
|
+
dateModified?: DateTime
|
|
58
|
+
datePublished?: DateTime
|
|
59
|
+
discussionUrl?: URL
|
|
60
|
+
editEIDR?: Text | URL
|
|
61
|
+
editor?: Person
|
|
62
|
+
educationalAlignment?: unknown
|
|
63
|
+
educationalLevel?: unknown | Text | URL
|
|
64
|
+
educationalUse?: unknown | Text
|
|
65
|
+
encoding?: MediaObject
|
|
66
|
+
encodingFormat?: Text | URL
|
|
67
|
+
exampleOfWork?: CreativeWork
|
|
68
|
+
expires?: DateTime
|
|
69
|
+
funder?: Organization | Person
|
|
70
|
+
genre?: Text | URL
|
|
71
|
+
hasPart?: CreativeWork
|
|
72
|
+
headline?: Text
|
|
73
|
+
inLanguage?: Language | Text
|
|
74
|
+
interactionStatistic?: unknown
|
|
75
|
+
interactiveityType?: Text
|
|
76
|
+
isAccessibleForFree?: boolean
|
|
77
|
+
isBasedOn?: CreativeWork | Product | URL
|
|
78
|
+
isFamilyFriendly?: boolean
|
|
79
|
+
isPartOf?: CreativeWork | URL
|
|
80
|
+
keywords?: unknown | Text | URL
|
|
81
|
+
learningResourceType?: unknown | Text
|
|
82
|
+
license?: CreativeWork | URL
|
|
83
|
+
locationCreated?: Place
|
|
84
|
+
mainEntry?: Thing
|
|
85
|
+
maintainer?: Organization | Person
|
|
86
|
+
material?: Product | Text | URL
|
|
87
|
+
materialExtent?: QuantitativeValue | Text
|
|
88
|
+
mentions?: Thing
|
|
89
|
+
offers?: unknown | Offer[]
|
|
90
|
+
pattern?: unknown | Text
|
|
91
|
+
position?: Integer | Text
|
|
92
|
+
producer?: Organization | Person
|
|
93
|
+
provider?: Organization | Person
|
|
94
|
+
publication?: unknown
|
|
95
|
+
publisher?: Organization | Person
|
|
96
|
+
publisherImprint?: Organization
|
|
97
|
+
publishingPrinciples?: CreativeWork | URL
|
|
98
|
+
recordedAt?: Event
|
|
99
|
+
releasedEvent?: unknown
|
|
100
|
+
review?: Review
|
|
101
|
+
schemaVersion?: Text | URL
|
|
102
|
+
sdDatePublished?: DateTime
|
|
103
|
+
sdLicense?: CreativeWork | URL
|
|
104
|
+
sdPublisher?: Organization | Person
|
|
105
|
+
size?: unknown | QuantitativeValue | Text
|
|
106
|
+
sourceOrganization?: Organization
|
|
107
|
+
spatial?: Place
|
|
108
|
+
spatialCoverage?: Place
|
|
109
|
+
sponsor?: Organization | Person
|
|
110
|
+
teaches?: unknown | Text
|
|
111
|
+
temporal?: DateTime | Text
|
|
112
|
+
temporalCoverage?: DateTime | Text | URL
|
|
113
|
+
text?: Text
|
|
114
|
+
thumbnailUrl?: URL
|
|
115
|
+
timeRequired?: unknown
|
|
116
|
+
translationOfWork?: CreativeWork
|
|
117
|
+
translator?: Organization | Person
|
|
118
|
+
typicalAgeRange?: Text
|
|
119
|
+
usageInfo?: CreativeWork | URL
|
|
120
|
+
version?: number | Text
|
|
121
|
+
video?: unknown
|
|
122
|
+
workExample?: CreativeWork
|
|
123
|
+
workTranslation?: CreativeWork
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export type { CreativeWork }
|