Skip to content

Commit 27d3ce4

Browse files
author
Muhammad Rehan Saeed
committed
Run tool
1 parent eb9add7 commit 27d3ce4

File tree

76 files changed

+130
-101
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+130
-101
lines changed

Source/Schema.NET/auto/enumerations/CarUsageType.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
namespace Schema.NET
22
{
33
using System.Runtime.Serialization;
4+
using Newtonsoft.Json;
5+
using Newtonsoft.Json.Converters;
46

57
/// <summary>
68
/// A value indicating a special usage of a car, e.g. commercial rental, driving school, or as a taxi.
79
/// </summary>
10+
[JsonConverter(typeof(StringEnumConverter))]
811
public enum CarUsageType
912
{
1013
/// <summary>

Source/Schema.NET/core/CreativeWork.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ public partial interface ICreativeWork : IThing
247247
OneOrMany<bool?> IsAccessibleForFree { get; set; }
248248

249249
/// <summary>
250-
/// A resource that was used in the creation of this resource. This term can be repeated for multiple sources. For example, http://example.com/great-multiplication-intro.html.
250+
/// A resource from which this work is derived or from which it is a modification or adaption.
251251
/// </summary>
252252
Values<ICreativeWork, IProduct, Uri>? IsBasedOn { get; set; }
253253

@@ -810,7 +810,7 @@ public partial class CreativeWork : Thing, ICreativeWork
810810
public OneOrMany<bool?> IsAccessibleForFree { get; set; }
811811

812812
/// <summary>
813-
/// A resource that was used in the creation of this resource. This term can be repeated for multiple sources. For example, http://example.com/great-multiplication-intro.html.
813+
/// A resource from which this work is derived or from which it is a modification or adaption.
814814
/// </summary>
815815
[DataMember(Name = "isBasedOn", Order = 153)]
816816
[JsonConverter(typeof(ValuesJsonConverter))]

Source/Schema.NET/core/Dataset.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ public partial interface IDataset : ICreativeWork
3737
/// The variableMeasured property can indicate (repeated as necessary) the variables that are measured in some dataset, either described as text or as pairs of identifier and description using PropertyValue.
3838
/// </summary>
3939
Values<IPropertyValue, string>? VariableMeasured { get; set; }
40+
41+
/// <summary>
42+
/// Originally named &lt;a class="localLink" href="http://schema.org/variablesMeasured"&gt;variablesMeasured&lt;/a&gt;, The &lt;a class="localLink" href="http://schema.org/variableMeasured"&gt;variableMeasured&lt;/a&gt; property can indicate (repeated as necessary) the variables that are measured in some dataset, either described as text or as pairs of identifier and description using PropertyValue.
43+
/// </summary>
44+
Values<IPropertyValue, string>? VariablesMeasured { get; set; }
4045
}
4146

4247
/// <summary>
@@ -89,5 +94,12 @@ public partial class Dataset : CreativeWork, IDataset
8994
[DataMember(Name = "variableMeasured", Order = 210)]
9095
[JsonConverter(typeof(ValuesJsonConverter))]
9196
public Values<IPropertyValue, string>? VariableMeasured { get; set; }
97+
98+
/// <summary>
99+
/// Originally named &lt;a class="localLink" href="http://schema.org/variablesMeasured"&gt;variablesMeasured&lt;/a&gt;, The &lt;a class="localLink" href="http://schema.org/variableMeasured"&gt;variableMeasured&lt;/a&gt; property can indicate (repeated as necessary) the variables that are measured in some dataset, either described as text or as pairs of identifier and description using PropertyValue.
100+
/// </summary>
101+
[DataMember(Name = "variablesMeasured", Order = 211)]
102+
[JsonConverter(typeof(ValuesJsonConverter))]
103+
public Values<IPropertyValue, string>? VariablesMeasured { get; set; }
92104
}
93105
}

Source/Schema.NET/core/ItemList.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace Schema.NET
1+
namespace Schema.NET
22
{
33
using System;
44
using System.Runtime.Serialization;

Source/Schema.NET/core/JobPosting.cs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public partial interface IJobPosting : IIntangible
4242
/// <summary>
4343
/// An estimated salary for a job posting or occupation, based on a variety of variables including, but not limited to industry, job title, and location. Estimated salaries are often computed by outside organizations rather than the hiring organization, who may not have committed to the estimated value.
4444
/// </summary>
45-
OneOrMany<IMonetaryAmountDistribution> EstimatedSalary { get; set; }
45+
Values<IMonetaryAmount, IMonetaryAmountDistribution, decimal?>? EstimatedSalary { get; set; }
4646

4747
/// <summary>
4848
/// Description of skills and experience needed for the position or Occupation.
@@ -80,7 +80,8 @@ public partial interface IJobPosting : IIntangible
8080
OneOrMany<string> JobLocationType { get; set; }
8181

8282
/// <summary>
83-
/// Category or categories describing the job. Use BLS O*NET-SOC taxonomy: http://www.onetcenter.org/taxonomy.html. Ideally includes textual label and formal code, with the property repeated for each applicable value.
83+
/// A category describing the job, preferably using a term from a taxonomy such as &lt;a href="http://www.onetcenter.org/taxonomy.html"&gt;BLS O*NET-SOC&lt;/a&gt;, &lt;a href="https://www.ilo.org/public/english/bureau/stat/isco/isco08/"&gt;ISCO-08&lt;/a&gt; or similar, with the property repeated for each applicable value. Ideally the taxonomy should be identified, and both the textual label and formal code for the category should be provided.&lt;br/&gt;&lt;br/&gt;
84+
/// Note: for historical reasons, any textual label and formal code provided as a literal may be assumed to be from O*NET-SOC.
8485
/// </summary>
8586
OneOrMany<string> OccupationalCategory { get; set; }
8687

@@ -184,7 +185,7 @@ public partial class JobPosting : Intangible, IJobPosting
184185
/// </summary>
185186
[DataMember(Name = "estimatedSalary", Order = 212)]
186187
[JsonConverter(typeof(ValuesJsonConverter))]
187-
public OneOrMany<IMonetaryAmountDistribution> EstimatedSalary { get; set; }
188+
public Values<IMonetaryAmount, IMonetaryAmountDistribution, decimal?>? EstimatedSalary { get; set; }
188189

189190
/// <summary>
190191
/// Description of skills and experience needed for the position or Occupation.
@@ -236,7 +237,8 @@ public partial class JobPosting : Intangible, IJobPosting
236237
public OneOrMany<string> JobLocationType { get; set; }
237238

238239
/// <summary>
239-
/// Category or categories describing the job. Use BLS O*NET-SOC taxonomy: http://www.onetcenter.org/taxonomy.html. Ideally includes textual label and formal code, with the property repeated for each applicable value.
240+
/// A category describing the job, preferably using a term from a taxonomy such as &lt;a href="http://www.onetcenter.org/taxonomy.html"&gt;BLS O*NET-SOC&lt;/a&gt;, &lt;a href="https://www.ilo.org/public/english/bureau/stat/isco/isco08/"&gt;ISCO-08&lt;/a&gt; or similar, with the property repeated for each applicable value. Ideally the taxonomy should be identified, and both the textual label and formal code for the category should be provided.&lt;br/&gt;&lt;br/&gt;
241+
/// Note: for historical reasons, any textual label and formal code provided as a literal may be assumed to be from O*NET-SOC.
240242
/// </summary>
241243
[DataMember(Name = "occupationalCategory", Order = 220)]
242244
[JsonConverter(typeof(ValuesJsonConverter))]

Source/Schema.NET/core/Occupation.cs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,16 @@ public partial interface IOccupation : IIntangible
1717
/// <summary>
1818
/// An estimated salary for a job posting or occupation, based on a variety of variables including, but not limited to industry, job title, and location. Estimated salaries are often computed by outside organizations rather than the hiring organization, who may not have committed to the estimated value.
1919
/// </summary>
20-
OneOrMany<IMonetaryAmountDistribution> EstimatedSalary { get; set; }
20+
Values<IMonetaryAmount, IMonetaryAmountDistribution, decimal?>? EstimatedSalary { get; set; }
2121

2222
/// <summary>
2323
/// Description of skills and experience needed for the position or Occupation.
2424
/// </summary>
2525
OneOrMany<string> ExperienceRequirements { get; set; }
2626

2727
/// <summary>
28-
/// Category or categories describing the job. Use BLS O*NET-SOC taxonomy: http://www.onetcenter.org/taxonomy.html. Ideally includes textual label and formal code, with the property repeated for each applicable value.
28+
/// A category describing the job, preferably using a term from a taxonomy such as &lt;a href="http://www.onetcenter.org/taxonomy.html"&gt;BLS O*NET-SOC&lt;/a&gt;, &lt;a href="https://www.ilo.org/public/english/bureau/stat/isco/isco08/"&gt;ISCO-08&lt;/a&gt; or similar, with the property repeated for each applicable value. Ideally the taxonomy should be identified, and both the textual label and formal code for the category should be provided.&lt;br/&gt;&lt;br/&gt;
29+
/// Note: for historical reasons, any textual label and formal code provided as a literal may be assumed to be from O*NET-SOC.
2930
/// </summary>
3031
OneOrMany<string> OccupationalCategory { get; set; }
3132

@@ -74,7 +75,7 @@ public partial class Occupation : Intangible, IOccupation
7475
/// </summary>
7576
[DataMember(Name = "estimatedSalary", Order = 207)]
7677
[JsonConverter(typeof(ValuesJsonConverter))]
77-
public OneOrMany<IMonetaryAmountDistribution> EstimatedSalary { get; set; }
78+
public Values<IMonetaryAmount, IMonetaryAmountDistribution, decimal?>? EstimatedSalary { get; set; }
7879

7980
/// <summary>
8081
/// Description of skills and experience needed for the position or Occupation.
@@ -84,7 +85,8 @@ public partial class Occupation : Intangible, IOccupation
8485
public OneOrMany<string> ExperienceRequirements { get; set; }
8586

8687
/// <summary>
87-
/// Category or categories describing the job. Use BLS O*NET-SOC taxonomy: http://www.onetcenter.org/taxonomy.html. Ideally includes textual label and formal code, with the property repeated for each applicable value.
88+
/// A category describing the job, preferably using a term from a taxonomy such as &lt;a href="http://www.onetcenter.org/taxonomy.html"&gt;BLS O*NET-SOC&lt;/a&gt;, &lt;a href="https://www.ilo.org/public/english/bureau/stat/isco/isco08/"&gt;ISCO-08&lt;/a&gt; or similar, with the property repeated for each applicable value. Ideally the taxonomy should be identified, and both the textual label and formal code for the category should be provided.&lt;br/&gt;&lt;br/&gt;
89+
/// Note: for historical reasons, any textual label and formal code provided as a literal may be assumed to be from O*NET-SOC.
8890
/// </summary>
8991
[DataMember(Name = "occupationalCategory", Order = 209)]
9092
[JsonConverter(typeof(ValuesJsonConverter))]

Source/Schema.NET/core/PostalAddress.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ public partial interface IPostalAddress : IContactPoint
1515
Values<ICountry, string>? AddressCountry { get; set; }
1616

1717
/// <summary>
18-
/// The locality. For example, Mountain View.
18+
/// The locality in which the street address is, and which is in the region. For example, Mountain View.
1919
/// </summary>
2020
OneOrMany<string> AddressLocality { get; set; }
2121

2222
/// <summary>
23-
/// The region. For example, CA.
23+
/// The region in which the locality is, and which is in the country. For example, California or another appropriate first-level &lt;a href="https://en.wikipedia.org/wiki/List_of_administrative_divisions_by_country"&gt;Administrative division&lt;/a&gt;
2424
/// </summary>
2525
OneOrMany<string> AddressRegion { get; set; }
2626

@@ -60,14 +60,14 @@ public partial class PostalAddress : ContactPoint, IPostalAddress
6060
public Values<ICountry, string>? AddressCountry { get; set; }
6161

6262
/// <summary>
63-
/// The locality. For example, Mountain View.
63+
/// The locality in which the street address is, and which is in the region. For example, Mountain View.
6464
/// </summary>
6565
[DataMember(Name = "addressLocality", Order = 407)]
6666
[JsonConverter(typeof(ValuesJsonConverter))]
6767
public OneOrMany<string> AddressLocality { get; set; }
6868

6969
/// <summary>
70-
/// The region. For example, CA.
70+
/// The region in which the locality is, and which is in the country. For example, California or another appropriate first-level &lt;a href="https://en.wikipedia.org/wiki/List_of_administrative_divisions_by_country"&gt;Administrative division&lt;/a&gt;
7171
/// </summary>
7272
[DataMember(Name = "addressRegion", Order = 408)]
7373
[JsonConverter(typeof(ValuesJsonConverter))]

Source/Schema.NET/core/PublicationIssue.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/// <summary>
88
/// A part of a successively published publication such as a periodical or publication volume, often numbered, usually containing a grouping of works such as articles.&lt;br/&gt;&lt;br/&gt;
9-
/// &lt;a href="http://blog.schema.org/2014/09/schemaorg-support-for-bibliographic_2.html"&gt;blog post&lt;/a&gt;.
9+
/// See also &lt;a href="http://blog.schema.org/2014/09/schemaorg-support-for-bibliographic_2.html"&gt;blog post&lt;/a&gt;.
1010
/// </summary>
1111
public partial interface IPublicationIssue : ICreativeWork
1212
{
@@ -33,7 +33,7 @@ public partial interface IPublicationIssue : ICreativeWork
3333

3434
/// <summary>
3535
/// A part of a successively published publication such as a periodical or publication volume, often numbered, usually containing a grouping of works such as articles.&lt;br/&gt;&lt;br/&gt;
36-
/// &lt;a href="http://blog.schema.org/2014/09/schemaorg-support-for-bibliographic_2.html"&gt;blog post&lt;/a&gt;.
36+
/// See also &lt;a href="http://blog.schema.org/2014/09/schemaorg-support-for-bibliographic_2.html"&gt;blog post&lt;/a&gt;.
3737
/// </summary>
3838
[DataContract]
3939
public partial class PublicationIssue : CreativeWork, IPublicationIssue

Source/Schema.NET/core/PublicationVolume.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66

77
/// <summary>
88
/// A part of a successively published publication such as a periodical or multi-volume work, often numbered. It may represent a time span, such as a year.&lt;br/&gt;&lt;br/&gt;
9-
/// &lt;pre&gt;&lt;code&gt; &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;See also &amp;lt;a href="http://blog.schema.org/2014/09/schemaorg-support-for-bibliographic_2.html"&amp;gt;blog post&amp;lt;/a&amp;gt;.
10-
/// &lt;/code&gt;&lt;/pre&gt;
9+
/// See also &lt;a href="http://blog.schema.org/2014/09/schemaorg-support-for-bibliographic_2.html"&gt;blog post&lt;/a&gt;.
1110
/// </summary>
1211
public partial interface IPublicationVolume : ICreativeWork
1312
{
@@ -34,8 +33,7 @@ public partial interface IPublicationVolume : ICreativeWork
3433

3534
/// <summary>
3635
/// A part of a successively published publication such as a periodical or multi-volume work, often numbered. It may represent a time span, such as a year.&lt;br/&gt;&lt;br/&gt;
37-
/// &lt;pre&gt;&lt;code&gt; &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;See also &amp;lt;a href="http://blog.schema.org/2014/09/schemaorg-support-for-bibliographic_2.html"&amp;gt;blog post&amp;lt;/a&amp;gt;.
38-
/// &lt;/code&gt;&lt;/pre&gt;
36+
/// See also &lt;a href="http://blog.schema.org/2014/09/schemaorg-support-for-bibliographic_2.html"&gt;blog post&lt;/a&gt;.
3937
/// </summary>
4038
[DataContract]
4139
public partial class PublicationVolume : CreativeWork, IPublicationVolume

0 commit comments

Comments
 (0)