From ab90cdc066b48a155405b98f3d34ca1ec482b53a Mon Sep 17 00:00:00 2001 From: Hugo Date: Thu, 31 Oct 2019 12:29:07 +0200 Subject: [PATCH 1/2] Fix spelling --- CHANGELOG.md | 2 +- data/schema.rdfa | 16 ++++++++-------- data/v1.owl | 22 +++++++++++----------- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f86d8b3c..991c31e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ ## 2.0.1 -* The generator now relies on embeded schema file to prevent issues with online XML files and allow offline usage +* The generator now relies on embedded schema file to prevent issues with online XML files and allow offline usage * An issue regarding the Inflector namespace has been fixed ## 2.0.0 diff --git a/data/schema.rdfa b/data/schema.rdfa index bc02ec33..9ad8f8e5 100644 --- a/data/schema.rdfa +++ b/data/schema.rdfa @@ -3183,7 +3183,7 @@ The place is __open__ if the [[opens]] property is specified, and __closed__ oth
ReceiveAction - The act of physically/electronically taking delivery of an object thathas been transferred from an origin to a destination. Reciprocal of SendAction.\n\nRelated actions:\n\n* [[SendAction]]: The reciprocal of ReceiveAction.\n* [[TakeAction]]: Unlike TakeAction, ReceiveAction does not imply that the ownership has been transfered (e.g. I can receive a package, but it does not mean the package is now mine). + The act of physically/electronically taking delivery of an object thathas been transferred from an origin to a destination. Reciprocal of SendAction.\n\nRelated actions:\n\n* [[SendAction]]: The reciprocal of ReceiveAction.\n* [[TakeAction]]: Unlike TakeAction, ReceiveAction does not imply that the ownership has been transferred (e.g. I can receive a package, but it does not mean the package is now mine). Subclass of: TransferAction
@@ -3312,7 +3312,7 @@ The place is __open__ if the [[opens]] property is specified, and __closed__ oth
TakeAction - The act of gaining ownership of an object from an origin. Reciprocal of GiveAction.\n\nRelated actions:\n\n* [[GiveAction]]: The reciprocal of TakeAction.\n* [[ReceiveAction]]: Unlike ReceiveAction, TakeAction implies that ownership has been transfered. + The act of gaining ownership of an object from an origin. Reciprocal of GiveAction.\n\nRelated actions:\n\n* [[GiveAction]]: The reciprocal of TakeAction.\n* [[ReceiveAction]]: Unlike ReceiveAction, TakeAction implies that ownership has been transferred. Subclass of: TransferAction
@@ -5142,7 +5142,7 @@ The place is __open__ if the [[opens]] property is specified, and __closed__ oth
gtin13 - The [GTIN-13](http://apps.gs1.org/GDD/glossary/Pages/GTIN-13.aspx) code of the product, or the product to which the offer refers. This is equivalent to 13-digit ISBN codes and EAN UCC-13. Former 12-digit UPC codes can be converted into a GTIN-13 code by simply adding a preceeding zero. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details. + The [GTIN-13](http://apps.gs1.org/GDD/glossary/Pages/GTIN-13.aspx) code of the product, or the product to which the offer refers. This is equivalent to 13-digit ISBN codes and EAN UCC-13. Former 12-digit UPC codes can be converted into a GTIN-13 code by simply adding a preceding zero. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details. Domain: Offer Domain: Product Domain: Demand @@ -6295,7 +6295,7 @@ The place is __open__ if the [[opens]] property is specified, and __closed__ oth
price The offer price of a product, or of a price component when attached to PriceSpecification and its subtypes.\n\nUsage guidelines:\n\n* Use the [[priceCurrency]] property (with [ISO 4217 codes](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) e.g. "USD") instead of - including [ambiguous symbols](http://en.wikipedia.org/wiki/Dollar_sign#Currencies_that_use_the_dollar_or_peso_sign) such as '$' in the value.\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.\n* Note that both [RDFa](http://www.w3.org/TR/xhtml-rdfa-primer/#using-the-content-attribute) and Microdata syntax allow the use of a "content=" attribute for publishing simple machine-readable values alongside more human-friendly formatting.\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similiar Unicode symbols. + including [ambiguous symbols](http://en.wikipedia.org/wiki/Dollar_sign#Currencies_that_use_the_dollar_or_peso_sign) such as '$' in the value.\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.\n* Note that both [RDFa](http://www.w3.org/TR/xhtml-rdfa-primer/#using-the-content-attribute) and Microdata syntax allow the use of a "content=" attribute for publishing simple machine-readable values alongside more human-friendly formatting.\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols. Domain: Offer Domain: PriceSpecification @@ -7274,7 +7274,7 @@ While such policies are most typically expressed in natural language, sometimes
tickerSymbol - The exchange traded instrument associated with a Corporation object. The tickerSymbol is expressed as an exchange and an instrument name separated by a space character. For the exchange component of the tickerSymbol attribute, we reccommend using the controlled vocaulary of Market Identifier Codes (MIC) specified in ISO15022. + The exchange traded instrument associated with a Corporation object. The tickerSymbol is expressed as an exchange and an instrument name separated by a space character. For the exchange component of the tickerSymbol attribute, we recommend using the controlled vocaulary of Market Identifier Codes (MIC) specified in ISO15022. Domain: Corporation Range: Text
@@ -8306,7 +8306,7 @@ postponing for 1.6.
QAPage - A QAPage is a WebPage focussed on a specific Question and its Answer(s), e.g. in a question answering site or documenting Frequently Asked Questions (FAQs). + A QAPage is a WebPage focused on a specific Question and its Answer(s), e.g. in a question answering site or documenting Frequently Asked Questions (FAQs). Subclass of: WebPage
@@ -8851,7 +8851,7 @@ postponing for 1.6.
previousItem - A link to the ListItem that preceeds the current one. + A link to the ListItem that precedes the current one. Domain: ListItem Domain: ListItem
@@ -9751,7 +9751,7 @@ postponing for 1.6.
additionalProperty - A property-value pair representing an additional characteristics of the entitity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.\n\nNote: Publishers should be aware that applications designed to use specific schema.org properties (e.g. http://schema.org/width, http://schema.org/color, http://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism. + A property-value pair representing an additional characteristics of the entity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.\n\nNote: Publishers should be aware that applications designed to use specific schema.org properties (e.g. http://schema.org/width, http://schema.org/color, http://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism. Domain: Product Domain: Place diff --git a/data/v1.owl b/data/v1.owl index c733c482..ba0fc602 100644 --- a/data/v1.owl +++ b/data/v1.owl @@ -528,7 +528,7 @@ Note 3: If the shop re-opens on the same day of the week or set of days of the w The minimal and maximal amount of time that is required between accepting the gr:Offering and the actual usage of the resource or service. This is mostly relevant for offers regarding hotel rooms, the rental of objects, or the provisioning of services. The duration is specified relatively to the beginning of the usage of the contracted object. It is represented by attaching an instance of the class gr:QuantitativeValueInteger. The lower and upper boundaries are specified using the properties gr:hasMinValueInteger and gr:hasMaxValueInteger to that instance. The unit of measurement is specified using the property gr:hasUnitOfMeasurement with a string holding a UN/CEFACT code suitable for durations, e.g. MON (months), DAY (days), HUR (hours), or MIN (minutes). -The difference to the gr:validFrom and gr:validThrough properties is that those specify the interval during which the gr:Offering is valid, while gr:advanceBookingRequirement specifies the acceptable relative amount of time between accepting the offer and the fulfilment or usage. +The difference to the gr:validFrom and gr:validThrough properties is that those specify the interval during which the gr:Offering is valid, while gr:advanceBookingRequirement specifies the acceptable relative amount of time between accepting the offer and the fulfillment or usage. @@ -1288,7 +1288,7 @@ DEPRECATED. Use gr:seeks instead. - This states that an actual product instance (gr:Individual) or a placeholder instance for multiple, unidentified such instances (gr:SomeItems) is one occurence of a particular gr:ProductOrServiceModel. + This states that an actual product instance (gr:Individual) or a placeholder instance for multiple, unidentified such instances (gr:SomeItems) is one occurrence of a particular gr:ProductOrServiceModel. Example: myFordT hasMakeAndModel FordT. @@ -1416,9 +1416,9 @@ Typical unit code(s): GRM for gram, KGM for kilogram, LBR for pound - The EAN·UCC-13 code of the given gr:ProductOrService or gr:Offering. This code is now officially called GTIN-13 (Global Trade Identifier Number) or EAN·UCC-13. Former 12-digit UPC codes can be converted into EAN·UCC-13 code by simply adding a preceeding zero. + The EAN·UCC-13 code of the given gr:ProductOrService or gr:Offering. This code is now officially called GTIN-13 (Global Trade Identifier Number) or EAN·UCC-13. Former 12-digit UPC codes can be converted into EAN·UCC-13 code by simply adding a preceding zero. -Note 1: When using this property for searching by 12-digit UPC codes, you must add a preceeding zero digit. +Note 1: When using this property for searching by 12-digit UPC codes, you must add a preceding zero digit. Note 2: As of January 1, 2007, the former ISBN numbers for books etc. have been integrated into the EAN·UCC-13 code. For each old ISBN-10 code, there exists a proper translation into EAN·UCC-13 by adding "978" or "979" as prefix. Since the old ISBN-10 is now deprecated, GoodRelations does not provide a property for ISBNs. @@ -1559,7 +1559,7 @@ The difference to the gr:validFrom and gr:validThrough properties is that those - The gr:BusinessEntityType representing such agents that are part of the adminstration or owned by the public. + The gr:BusinessEntityType representing such agents that are part of the administration or owned by the public. Public institution (business entity type) @@ -1606,7 +1606,7 @@ Example: Car maintenance could be expressed both as "provide the service car mai - This property indicates that a particular person or business owns a particular product. It can be used to expose the products in one's posession in order to empower recommender systems to suggest matching offers. + This property indicates that a particular person or business owns a particular product. It can be used to expose the products in one's possession in order to empower recommender systems to suggest matching offers. Note that the product must be an instance of the class gr:Individual. @@ -1756,7 +1756,7 @@ Examples: Consumers, Retailers, Wholesalers, or Public InstitutionsLocation A location is a point or area of interest from which a particular product or service is available, e.g. a store, a bus stop, a gas station, or a ticket booth. The difference to gr:BusinessEntity is that the gr:BusinessEntity is the legal entity (e.g. a person or corporation) making the offer, while gr:Location is the store, office, or place. A chain restaurant will e.g. have one legal entity but multiple restaurant locations. Locations are characterized by an address or geographical position and a set of opening hour specifications for various days of the week. -Example: A rental car company may offer the Business Function Lease Out of cars from two locations, one in Fort Myers, Florida, and one in Boston, Massachussetts. Both stations are open 7:00 - 23:00 Mondays through Saturdays. +Example: A rental car company may offer the Business Function Lease Out of cars from two locations, one in Fort Myers, Florida, and one in Boston, Massachusetts. Both stations are open 7:00 - 23:00 Mondays through Saturdays. Note: Typical address standards (vcard) and location data (geo, WGC84) should be attached to a gr:Location node. Since there already exist established vocabularies for this, the GoodRelations ontology does not provide respective attributes. Instead, the use of respective vocabularies is recommended. However, the gr:hasGlobalLocationNumber property is provided for linking to public identifiers for business locations. @@ -1792,7 +1792,7 @@ Examples: VISA, MasterCard, Diners, cash, or bank transfer in advance. - A delivery method is a standardized procedure for transferring the product or service to the destination of fulfilment chosen by the customer. Delivery methods are characterized by the means of transportation used, and by the organization or group that is the contracting party for the sending gr:BusinessEntity (this is important, since the contracted party may subcontract the fulfilment to smaller, regional businesses). + A delivery method is a standardized procedure for transferring the product or service to the destination of fulfillment chosen by the customer. Delivery methods are characterized by the means of transportation used, and by the organization or group that is the contracting party for the sending gr:BusinessEntity (this is important, since the contracted party may subcontract the fulfillment to smaller, regional businesses). Examples: Delivery by mail, delivery by direct download, delivery by UPS @@ -2068,7 +2068,7 @@ Note 2: For Google, attaching a gr:validThrough statement to a gr:UnitPriceSpeci has previous (0..1) - This ordering relation for gr:DayOfWeek indicates that the subject is directly preceeded by the object. + This ordering relation for gr:DayOfWeek indicates that the subject is directly preceded by the object. Example: Tuesday hasPrevious Monday @@ -2195,7 +2195,7 @@ Examples: Monday, Tuesday, Wednesday,... Quantitative value float An instance of this class is an actual float value for a quantitative property of a product. This instance is usually characterized by a minimal value, a maximal value, and a unit of measurement. -Examples: The intervals "between 10.0 and 25.4 kilogramms" or "10.2 and 15.5 milimeters". +Examples: The intervals "between 10.0 and 25.4 kilogramms" or "10.2 and 15.5 millimeters". Compatibility with schema.org: This class is a subclass of http://schema.org/Quantity. @@ -2316,7 +2316,7 @@ Example: An offering may include of 100g of Butter and 1 kg of potatoes, or 1 ce A quantitative value is a numerical interval that represents the range of a certain gr:quantitativeProductOrServiceProperty in terms of the lower and upper bounds for a particular gr:ProductOrService. It is to be interpreted in combination with the respective unit of measurement. Most quantitative values are intervals even if they are in practice often treated as a single point value. -Example: a weight between 10 and 25 kilogramms, a length between 10 and 15 milimeters. +Example: a weight between 10 and 25 kilogramms, a length between 10 and 15 millimeters. Compatibility with schema.org: This class is equivalent to http://schema.org/Quantity. From 1c0b85860d2e6b02123d0f04a0ead6f119ca317d Mon Sep 17 00:00:00 2001 From: Hugo Date: Thu, 31 Oct 2019 13:33:12 +0200 Subject: [PATCH 2/2] Fix typos --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 23367176..3505778e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,11 +10,11 @@ If you happen to find a bug, we kindly request you to report it. However, before * Check the [project documentation available online](https://api-platform.com/docs/) -Then, if it appears that it's a real bug, you may report it using Github by following these 3 points: +Then, if it appears that it's a real bug, you may report it using GitHub by following these 3 points: * Check if the bug is not already reported! * A clear title to resume the issue - * A description of the workflow needed to reproduce the bug, + * A description of the workflow needed to reproduce the bug > _NOTE:_ Don’t hesitate giving as much information as you can (OS, PHP version extensions...)