@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,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,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,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,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,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 }
|