schema_org-rb 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -83,8 +83,18 @@ module SchemaOrg
83
83
  value: {
84
84
  schema_name: "value",
85
85
  schema_url: "https://schema.org/value",
86
- comment_lines: ["The value of a [[QuantitativeValue]] (including [[Observation]]) or property value node.\\n\\n* For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type for values is 'Number'.\\n* For [[PropertyValue]], it can be 'Text', 'Number', 'Boolean', or 'StructuredValue'.\\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.\\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator."].freeze,
87
- ranges: ["Boolean", "Number", "StructuredValue", "Text"].freeze,
86
+ comment_lines: ["The value of a [[QuantitativeValue]] (including [[Observation]]) or property value node.\\n\\n* For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type for values is 'Number'.\\n* For [[PropertyValue]], it can be 'Text', 'Number', 'Boolean', 'StructuredValue' or 'QualitativeValue'.\\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.\\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator."].freeze,
87
+ ranges: ["Boolean", "Number", "QualitativeValue", "StructuredValue", "Text"].freeze,
88
+ external_ranges: [].freeze,
89
+ inverse_of: nil,
90
+ superseded_by: nil,
91
+ supersedes: nil
92
+ }.freeze,
93
+ value_group: {
94
+ schema_name: "valueGroup",
95
+ schema_url: "https://schema.org/valueGroup",
96
+ comment_lines: ["A header or section name for grouping related property values."].freeze,
97
+ ranges: ["Text"].freeze,
88
98
  external_ranges: [].freeze,
89
99
  inverse_of: nil,
90
100
  superseded_by: nil,
@@ -193,16 +203,26 @@ module SchemaOrg
193
203
  write_property(:unit_text, value)
194
204
  end
195
205
 
196
- # The value of a [[QuantitativeValue]] (including [[Observation]]) or property value node.\n\n* For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type for values is 'Number'.\n* For [[PropertyValue]], it can be 'Text', 'Number', 'Boolean', or 'StructuredValue'.\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.
206
+ # The value of a [[QuantitativeValue]] (including [[Observation]]) or property value node.\n\n* For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type for values is 'Number'.\n* For [[PropertyValue]], it can be 'Text', 'Number', 'Boolean', 'StructuredValue' or 'QualitativeValue'.\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.
197
207
  def value
198
208
  read_property(:value)
199
209
  end
200
210
 
201
- # The value of a [[QuantitativeValue]] (including [[Observation]]) or property value node.\n\n* For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type for values is 'Number'.\n* For [[PropertyValue]], it can be 'Text', 'Number', 'Boolean', or 'StructuredValue'.\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.
211
+ # The value of a [[QuantitativeValue]] (including [[Observation]]) or property value node.\n\n* For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type for values is 'Number'.\n* For [[PropertyValue]], it can be 'Text', 'Number', 'Boolean', 'StructuredValue' or 'QualitativeValue'.\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.
202
212
  def value=(value)
203
213
  write_property(:value, value)
204
214
  end
205
215
 
216
+ # A header or section name for grouping related property values.
217
+ def value_group
218
+ read_property(:value_group)
219
+ end
220
+
221
+ # A header or section name for grouping related property values.
222
+ def value_group=(value)
223
+ write_property(:value_group, value)
224
+ end
225
+
206
226
  # A secondary value that provides additional information on the original value, e.g. a reference temperature or a type of measurement.
207
227
  def value_reference
208
228
  read_property(:value_reference)
@@ -63,8 +63,8 @@ module SchemaOrg
63
63
  value: {
64
64
  schema_name: "value",
65
65
  schema_url: "https://schema.org/value",
66
- comment_lines: ["The value of a [[QuantitativeValue]] (including [[Observation]]) or property value node.\\n\\n* For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type for values is 'Number'.\\n* For [[PropertyValue]], it can be 'Text', 'Number', 'Boolean', or 'StructuredValue'.\\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.\\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator."].freeze,
67
- ranges: ["Boolean", "Number", "StructuredValue", "Text"].freeze,
66
+ comment_lines: ["The value of a [[QuantitativeValue]] (including [[Observation]]) or property value node.\\n\\n* For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type for values is 'Number'.\\n* For [[PropertyValue]], it can be 'Text', 'Number', 'Boolean', 'StructuredValue' or 'QualitativeValue'.\\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.\\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator."].freeze,
67
+ ranges: ["Boolean", "Number", "QualitativeValue", "StructuredValue", "Text"].freeze,
68
68
  external_ranges: [].freeze,
69
69
  inverse_of: nil,
70
70
  superseded_by: nil,
@@ -135,12 +135,12 @@ module SchemaOrg
135
135
  write_property(:unit_text, value)
136
136
  end
137
137
 
138
- # The value of a [[QuantitativeValue]] (including [[Observation]]) or property value node.\n\n* For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type for values is 'Number'.\n* For [[PropertyValue]], it can be 'Text', 'Number', 'Boolean', or 'StructuredValue'.\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.
138
+ # The value of a [[QuantitativeValue]] (including [[Observation]]) or property value node.\n\n* For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type for values is 'Number'.\n* For [[PropertyValue]], it can be 'Text', 'Number', 'Boolean', 'StructuredValue' or 'QualitativeValue'.\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.
139
139
  def value
140
140
  read_property(:value)
141
141
  end
142
142
 
143
- # The value of a [[QuantitativeValue]] (including [[Observation]]) or property value node.\n\n* For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type for values is 'Number'.\n* For [[PropertyValue]], it can be 'Text', 'Number', 'Boolean', or 'StructuredValue'.\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.
143
+ # The value of a [[QuantitativeValue]] (including [[Observation]]) or property value node.\n\n* For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type for values is 'Number'.\n* For [[PropertyValue]], it can be 'Text', 'Number', 'Boolean', 'StructuredValue' or 'QualitativeValue'.\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.
144
144
  def value=(value)
145
145
  write_property(:value, value)
146
146
  end
@@ -40,6 +40,16 @@ module SchemaOrg
40
40
  superseded_by: nil,
41
41
  supersedes: nil
42
42
  }.freeze,
43
+ minimum_order_value: {
44
+ schema_name: "minimumOrderValue",
45
+ schema_url: "https://schema.org/minimumOrderValue",
46
+ comment_lines: ["The minimum order value required for this shipping rate to apply."].freeze,
47
+ ranges: ["MonetaryAmount", "Number", "PriceSpecification"].freeze,
48
+ external_ranges: [].freeze,
49
+ inverse_of: nil,
50
+ superseded_by: nil,
51
+ supersedes: nil
52
+ }.freeze,
43
53
  order_percentage: {
44
54
  schema_name: "orderPercentage",
45
55
  schema_url: "https://schema.org/orderPercentage",
@@ -123,6 +133,16 @@ module SchemaOrg
123
133
  write_property(:is_unlabelled_fallback, value)
124
134
  end
125
135
 
136
+ # The minimum order value required for this shipping rate to apply.
137
+ def minimum_order_value
138
+ read_property(:minimum_order_value)
139
+ end
140
+
141
+ # The minimum order value required for this shipping rate to apply.
142
+ def minimum_order_value=(value)
143
+ write_property(:minimum_order_value, value)
144
+ end
145
+
126
146
  # Value representing the fraction of the value of the order that is charged as shipping cost. Example: 0.10 would mean shipping rate is 10% of the total order value.
127
147
  def order_percentage
128
148
  read_property(:order_percentage)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SchemaOrg
4
- SCHEMA_VERSION = "v30.0"
4
+ SCHEMA_VERSION = "v30.1"
5
5
  end
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Generated Ruby code is licensed under MIT.
4
+ # Schema.org descriptions in comments and metadata are licensed under CC BY-SA 3.0.
5
+ # See LICENSE-SCHEMA-ORG.txt.
6
+ module SchemaOrg
7
+ # https://schema.org/DeclarationOfConformity
8
+ #
9
+ # A Declaration of Conformity (DoC), a formal document issued by a manufacturer declaring that a product meets specific regulatory requirements.
10
+ class DeclarationOfConformity < Base
11
+ include Mixins::DeclarationOfConformity
12
+
13
+ SCHEMA_NAME = "DeclarationOfConformity"
14
+ SCHEMA_TYPES = [self, SchemaOrg::Certification, SchemaOrg::CreativeWork, SchemaOrg::Thing].freeze
15
+
16
+ class << self
17
+ def schema_name
18
+ SCHEMA_NAME
19
+ end
20
+
21
+ def schema_types
22
+ SCHEMA_TYPES
23
+ end
24
+
25
+ def schema_type?(other_type)
26
+ Base.schema_type_argument!(other_type)
27
+ SCHEMA_TYPES.include?(other_type)
28
+ end
29
+
30
+ def new(**properties)
31
+ super
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Generated Ruby code is licensed under MIT.
4
+ # Schema.org descriptions in comments and metadata are licensed under CC BY-SA 3.0.
5
+ # See LICENSE-SCHEMA-ORG.txt.
6
+ module SchemaOrg
7
+ # https://schema.org/DigitalProductPassport
8
+ #
9
+ # A digital product passport (DPP), a record containing information about a product's lifecycle, sustainability, and compliance.
10
+ class DigitalProductPassport < Base
11
+ include Mixins::DigitalProductPassport
12
+
13
+ SCHEMA_NAME = "DigitalProductPassport"
14
+ SCHEMA_TYPES = [self, SchemaOrg::Certification, SchemaOrg::CreativeWork, SchemaOrg::Thing].freeze
15
+
16
+ class << self
17
+ def schema_name
18
+ SCHEMA_NAME
19
+ end
20
+
21
+ def schema_types
22
+ SCHEMA_TYPES
23
+ end
24
+
25
+ def schema_type?(other_type)
26
+ Base.schema_type_argument!(other_type)
27
+ SCHEMA_TYPES.include?(other_type)
28
+ end
29
+
30
+ def new(**properties)
31
+ super
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Generated Ruby code is licensed under MIT.
4
+ # Schema.org descriptions in comments and metadata are licensed under CC BY-SA 3.0.
5
+ # See LICENSE-SCHEMA-ORG.txt.
6
+ module SchemaOrg
7
+ # https://schema.org/EnvironmentalProductDeclaration
8
+ #
9
+ # An Environmental Product Declaration (EPD) that quantifies environmental information on the life cycle of a product.
10
+ class EnvironmentalProductDeclaration < Base
11
+ include Mixins::EnvironmentalProductDeclaration
12
+
13
+ SCHEMA_NAME = "EnvironmentalProductDeclaration"
14
+ SCHEMA_TYPES = [self, SchemaOrg::Certification, SchemaOrg::CreativeWork, SchemaOrg::Thing].freeze
15
+
16
+ class << self
17
+ def schema_name
18
+ SCHEMA_NAME
19
+ end
20
+
21
+ def schema_types
22
+ SCHEMA_TYPES
23
+ end
24
+
25
+ def schema_type?(other_type)
26
+ Base.schema_type_argument!(other_type)
27
+ SCHEMA_TYPES.include?(other_type)
28
+ end
29
+
30
+ def new(**properties)
31
+ super
32
+ end
33
+ end
34
+ end
35
+ end
@@ -6,7 +6,7 @@
6
6
  module SchemaOrg
7
7
  # https://schema.org/ITNonprofitType
8
8
  #
9
- # ITNonprofitType: Non-profit organization type originating from Italy.
9
+ # ITNonprofitType: Non-profit organization type originating from Italy. Most categories are drawn from the Italian Third Sector Code (Legislative Decree No. 117 of 3 July 2017), although some Italian non-profit entities, such as amateur sports entities, are primarily governed by other legislation.
10
10
  class ITNonprofitType < Base
11
11
  include Mixins::ITNonprofitType
12
12
 
@@ -31,13 +31,19 @@ module SchemaOrg
31
31
  super
32
32
  end
33
33
  end
34
+ IT_AMATEUR_SPORTS_CLUB_CHARITY = EnumerationValue.new("ITAmateurSportsClubCharity", [SchemaOrg::ITNonprofitType])
35
+ IT_ASSOCIATIVE_NETWORK_CHARITY = EnumerationValue.new("ITAssociativeNetworkCharity", [SchemaOrg::ITNonprofitType])
34
36
  IT_COOPERATIVE_CHARITY = EnumerationValue.new("ITCooperativeCharity", [SchemaOrg::ITNonprofitType])
35
37
  IT_MUTUAL_AID_CHARITY = EnumerationValue.new("ITMutualAidCharity", [SchemaOrg::ITNonprofitType])
38
+ IT_OTHER_THIRD_SECTOR_ENTITY_CHARITY = EnumerationValue.new("ITOtherThirdSectorEntityCharity", [SchemaOrg::ITNonprofitType])
39
+ IT_PHILANTHROPIC_ENTITY_CHARITY = EnumerationValue.new("ITPhilanthropicEntityCharity", [SchemaOrg::ITNonprofitType])
36
40
  IT_SOCIAL_COMPANY_CHARITY = EnumerationValue.new("ITSocialCompanyCharity", [SchemaOrg::ITNonprofitType])
41
+ IT_SOCIAL_COOPERATIVE_CHARITY = EnumerationValue.new("ITSocialCooperativeCharity", [SchemaOrg::ITNonprofitType])
42
+ IT_SOCIAL_ENTERPRISE_CHARITY = EnumerationValue.new("ITSocialEnterpriseCharity", [SchemaOrg::ITNonprofitType])
37
43
  IT_SOCIAL_PROMOTION_CHARITY = EnumerationValue.new("ITSocialPromotionCharity", [SchemaOrg::ITNonprofitType])
38
44
  IT_SPORT_COMPANY_CHARITY = EnumerationValue.new("ITSportCompanyCharity", [SchemaOrg::ITNonprofitType])
39
45
  IT_VOLUNTEER_ASSOCIATION_CHARITY = EnumerationValue.new("ITVolunteerAssociationCharity", [SchemaOrg::ITNonprofitType])
40
- VALUES = [IT_COOPERATIVE_CHARITY, IT_MUTUAL_AID_CHARITY, IT_SOCIAL_COMPANY_CHARITY, IT_SOCIAL_PROMOTION_CHARITY, IT_SPORT_COMPANY_CHARITY, IT_VOLUNTEER_ASSOCIATION_CHARITY].freeze
46
+ VALUES = [IT_AMATEUR_SPORTS_CLUB_CHARITY, IT_ASSOCIATIVE_NETWORK_CHARITY, IT_COOPERATIVE_CHARITY, IT_MUTUAL_AID_CHARITY, IT_OTHER_THIRD_SECTOR_ENTITY_CHARITY, IT_PHILANTHROPIC_ENTITY_CHARITY, IT_SOCIAL_COMPANY_CHARITY, IT_SOCIAL_COOPERATIVE_CHARITY, IT_SOCIAL_ENTERPRISE_CHARITY, IT_SOCIAL_PROMOTION_CHARITY, IT_SPORT_COMPANY_CHARITY, IT_VOLUNTEER_ASSOCIATION_CHARITY].freeze
41
47
 
42
48
  def self.values
43
49
  VALUES
@@ -32,6 +32,7 @@ module SchemaOrg
32
32
  end
33
33
  end
34
34
  ANESTHESIA = EnumerationValue.new("Anesthesia", [SchemaOrg::MedicalSpecialty])
35
+ AUDIOLOGY = EnumerationValue.new("Audiology", [SchemaOrg::MedicalSpecialty])
35
36
  CARDIOVASCULAR = EnumerationValue.new("Cardiovascular", [SchemaOrg::MedicalSpecialty])
36
37
  COMMUNITY_HEALTH = EnumerationValue.new("CommunityHealth", [SchemaOrg::MedicalSpecialty])
37
38
  DENTISTRY = EnumerationValue.new("Dentistry", [SchemaOrg::MedicalSpecialty])
@@ -53,6 +54,7 @@ module SchemaOrg
53
54
  NURSING = EnumerationValue.new("Nursing", [SchemaOrg::MedicalSpecialty])
54
55
  OBSTETRIC = EnumerationValue.new("Obstetric", [SchemaOrg::MedicalSpecialty])
55
56
  ONCOLOGIC = EnumerationValue.new("Oncologic", [SchemaOrg::MedicalSpecialty])
57
+ OPHTHALMOLOGY = EnumerationValue.new("Ophthalmology", [SchemaOrg::MedicalSpecialty])
56
58
  OPTOMETRIC = EnumerationValue.new("Optometric", [SchemaOrg::MedicalSpecialty])
57
59
  OTOLARYNGOLOGIC = EnumerationValue.new("Otolaryngologic", [SchemaOrg::MedicalSpecialty])
58
60
  PATHOLOGY = EnumerationValue.new("Pathology", [SchemaOrg::MedicalSpecialty])
@@ -73,7 +75,7 @@ module SchemaOrg
73
75
  SURGICAL = EnumerationValue.new("Surgical", [SchemaOrg::MedicalSpecialty])
74
76
  TOXICOLOGIC = EnumerationValue.new("Toxicologic", [SchemaOrg::MedicalSpecialty])
75
77
  UROLOGIC = EnumerationValue.new("Urologic", [SchemaOrg::MedicalSpecialty])
76
- VALUES = [ANESTHESIA, CARDIOVASCULAR, COMMUNITY_HEALTH, DENTISTRY, DERMATOLOGIC, DERMATOLOGY, DIET_NUTRITION, EMERGENCY, ENDOCRINE, GASTROENTEROLOGIC, GENETIC, GERIATRIC, GYNECOLOGIC, HEMATOLOGIC, INFECTIOUS, LABORATORY_SCIENCE, MIDWIFERY, MUSCULOSKELETAL, NEUROLOGIC, NURSING, OBSTETRIC, ONCOLOGIC, OPTOMETRIC, OTOLARYNGOLOGIC, PATHOLOGY, PEDIATRIC, PHARMACY_SPECIALTY, PHYSIOTHERAPY, PLASTIC_SURGERY, PODIATRIC, PRIMARY_CARE, PSYCHIATRIC, PUBLIC_HEALTH, PULMONARY, RADIOGRAPHY, RENAL, RESPIRATORY_THERAPY, RHEUMATOLOGIC, SPEECH_PATHOLOGY, SURGICAL, TOXICOLOGIC, UROLOGIC].freeze
78
+ VALUES = [ANESTHESIA, AUDIOLOGY, CARDIOVASCULAR, COMMUNITY_HEALTH, DENTISTRY, DERMATOLOGIC, DERMATOLOGY, DIET_NUTRITION, EMERGENCY, ENDOCRINE, GASTROENTEROLOGIC, GENETIC, GERIATRIC, GYNECOLOGIC, HEMATOLOGIC, INFECTIOUS, LABORATORY_SCIENCE, MIDWIFERY, MUSCULOSKELETAL, NEUROLOGIC, NURSING, OBSTETRIC, ONCOLOGIC, OPHTHALMOLOGY, OPTOMETRIC, OTOLARYNGOLOGIC, PATHOLOGY, PEDIATRIC, PHARMACY_SPECIALTY, PHYSIOTHERAPY, PLASTIC_SURGERY, PODIATRIC, PRIMARY_CARE, PSYCHIATRIC, PUBLIC_HEALTH, PULMONARY, RADIOGRAPHY, RENAL, RESPIRATORY_THERAPY, RHEUMATOLOGIC, SPEECH_PATHOLOGY, SURGICAL, TOXICOLOGIC, UROLOGIC].freeze
77
79
 
78
80
  def self.values
79
81
  VALUES
@@ -34,12 +34,13 @@ module SchemaOrg
34
34
  INVOICE_PRICE = EnumerationValue.new("InvoicePrice", [SchemaOrg::PriceTypeEnumeration])
35
35
  LIST_PRICE = EnumerationValue.new("ListPrice", [SchemaOrg::PriceTypeEnumeration])
36
36
  MSRP = EnumerationValue.new("MSRP", [SchemaOrg::PriceTypeEnumeration])
37
+ MAXIMUM_RETAIL_PRICE = EnumerationValue.new("MaximumRetailPrice", [SchemaOrg::PriceTypeEnumeration])
37
38
  MINIMUM_ADVERTISED_PRICE = EnumerationValue.new("MinimumAdvertisedPrice", [SchemaOrg::PriceTypeEnumeration])
38
39
  REGULAR_PRICE = EnumerationValue.new("RegularPrice", [SchemaOrg::PriceTypeEnumeration])
39
40
  SRP = EnumerationValue.new("SRP", [SchemaOrg::PriceTypeEnumeration])
40
41
  SALE_PRICE = EnumerationValue.new("SalePrice", [SchemaOrg::PriceTypeEnumeration])
41
42
  STRIKETHROUGH_PRICE = EnumerationValue.new("StrikethroughPrice", [SchemaOrg::PriceTypeEnumeration])
42
- VALUES = [INVOICE_PRICE, LIST_PRICE, MSRP, MINIMUM_ADVERTISED_PRICE, REGULAR_PRICE, SRP, SALE_PRICE, STRIKETHROUGH_PRICE].freeze
43
+ VALUES = [INVOICE_PRICE, LIST_PRICE, MSRP, MAXIMUM_RETAIL_PRICE, MINIMUM_ADVERTISED_PRICE, REGULAR_PRICE, SRP, SALE_PRICE, STRIKETHROUGH_PRICE].freeze
43
44
 
44
45
  def self.values
45
46
  VALUES
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SchemaOrg
4
- VERSION = "0.1.1"
4
+ VERSION = "0.2.0"
5
5
  end