Skip to content

Commit 88750e2

Browse files
committed
fix: update all generated enum files with proper quote handling
1 parent d2eabd3 commit 88750e2

77 files changed

Lines changed: 502 additions & 508 deletions

File tree

Some content is hidden

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

msgspec_schemaorg/enums/intangible/ActionStatusType.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ class ActionStatusType(str, enum.Enum):
1313
metadata: ClassVar[Dict[str, Dict[str, Any]]] = {
1414
"ActiveActionStatus": {
1515
"id": "schema:ActiveActionStatus",
16-
"comment": "An in-progress action (e.g., while watching the movie, or driving to a location).",
16+
"comment": """An in-progress action (e.g., while watching the movie, or driving to a location).""",
1717
"label": "ActiveActionStatus",
1818
},
1919
"CompletedActionStatus": {
2020
"id": "schema:CompletedActionStatus",
21-
"comment": "An action that has already taken place.",
21+
"comment": """An action that has already taken place.""",
2222
"label": "CompletedActionStatus",
2323
},
2424
"FailedActionStatus": {
2525
"id": "schema:FailedActionStatus",
26-
"comment": "An action that failed to complete. The action's error property and the HTTP return code contain more information about the failure.",
26+
"comment": """An action that failed to complete. The action's error property and the HTTP return code contain more information about the failure.""",
2727
"label": "FailedActionStatus",
2828
},
2929
"PotentialActionStatus": {
3030
"id": "schema:PotentialActionStatus",
31-
"comment": "A description of an action that is supported.",
31+
"comment": """A description of an action that is supported.""",
3232
"label": "PotentialActionStatus",
3333
},
3434
}

msgspec_schemaorg/enums/intangible/AdultOrientedEnumeration.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,52 +19,52 @@ class AdultOrientedEnumeration(str, enum.Enum):
1919
metadata: ClassVar[Dict[str, Dict[str, Any]]] = {
2020
"AlcoholConsideration": {
2121
"id": "schema:AlcoholConsideration",
22-
"comment": "Item contains alcohol or promotes alcohol consumption.",
22+
"comment": """Item contains alcohol or promotes alcohol consumption.""",
2323
"label": "AlcoholConsideration",
2424
},
2525
"DangerousGoodConsideration": {
2626
"id": "schema:DangerousGoodConsideration",
27-
"comment": "The item is dangerous and requires careful handling and/or special training of the user. See also the [UN Model Classification](https://unece.org/DAM/trans/danger/publi/unrec/rev17/English/02EREv17_Part2.pdf) defining the 9 classes of dangerous goods such as explosives, gases, flammables, and more.",
27+
"comment": """The item is dangerous and requires careful handling and/or special training of the user. See also the [UN Model Classification](https://unece.org/DAM/trans/danger/publi/unrec/rev17/English/02EREv17_Part2.pdf) defining the 9 classes of dangerous goods such as explosives, gases, flammables, and more.""",
2828
"label": "DangerousGoodConsideration",
2929
},
3030
"HealthcareConsideration": {
3131
"id": "schema:HealthcareConsideration",
32-
"comment": "Item is a pharmaceutical (e.g., a prescription or OTC drug) or a restricted medical device.",
32+
"comment": """Item is a pharmaceutical (e.g., a prescription or OTC drug) or a restricted medical device.""",
3333
"label": "HealthcareConsideration",
3434
},
3535
"NarcoticConsideration": {
3636
"id": "schema:NarcoticConsideration",
37-
"comment": "Item is a narcotic as defined by the [1961 UN convention](https://www.incb.org/incb/en/narcotic-drugs/Yellowlist/yellow-list.html), for example marijuana or heroin.",
37+
"comment": """Item is a narcotic as defined by the [1961 UN convention](https://www.incb.org/incb/en/narcotic-drugs/Yellowlist/yellow-list.html), for example marijuana or heroin.""",
3838
"label": "NarcoticConsideration",
3939
},
4040
"ReducedRelevanceForChildrenConsideration": {
4141
"id": "schema:ReducedRelevanceForChildrenConsideration",
42-
"comment": "A general code for cases where relevance to children is reduced, e.g. adult education, mortgages, retirement-related products, etc.",
42+
"comment": """A general code for cases where relevance to children is reduced, e.g. adult education, mortgages, retirement-related products, etc.""",
4343
"label": "ReducedRelevanceForChildrenConsideration",
4444
},
4545
"SexualContentConsideration": {
4646
"id": "schema:SexualContentConsideration",
47-
"comment": "The item contains sexually oriented content such as nudity, suggestive or explicit material, or related online services, or is intended to enhance sexual activity. Examples: Erotic videos or magazine, sexual enhancement devices, sex toys.",
47+
"comment": """The item contains sexually oriented content such as nudity, suggestive or explicit material, or related online services, or is intended to enhance sexual activity. Examples: Erotic videos or magazine, sexual enhancement devices, sex toys.""",
4848
"label": "SexualContentConsideration",
4949
},
5050
"TobaccoNicotineConsideration": {
5151
"id": "schema:TobaccoNicotineConsideration",
52-
"comment": "Item contains tobacco and/or nicotine, for example cigars, cigarettes, chewing tobacco, e-cigarettes, or hookahs.",
52+
"comment": """Item contains tobacco and/or nicotine, for example cigars, cigarettes, chewing tobacco, e-cigarettes, or hookahs.""",
5353
"label": "TobaccoNicotineConsideration",
5454
},
5555
"UnclassifiedAdultConsideration": {
5656
"id": "schema:UnclassifiedAdultConsideration",
57-
"comment": "The item is suitable only for adults, without indicating why. Due to widespread use of \"adult\" as a euphemism for \"sexual\", many such items are likely suited also for the SexualContentConsideration code.",
57+
"comment": """The item is suitable only for adults, without indicating why. Due to widespread use of "adult" as a euphemism for "sexual", many such items are likely suited also for the SexualContentConsideration code.""",
5858
"label": "UnclassifiedAdultConsideration",
5959
},
6060
"ViolenceConsideration": {
6161
"id": "schema:ViolenceConsideration",
62-
"comment": "Item shows or promotes violence.",
62+
"comment": """Item shows or promotes violence.""",
6363
"label": "ViolenceConsideration",
6464
},
6565
"WeaponConsideration": {
6666
"id": "schema:WeaponConsideration",
67-
"comment": "The item is intended to induce bodily harm, for example guns, mace, combat knives, brass knuckles, nail or other bombs, and spears.",
67+
"comment": """The item is intended to induce bodily harm, for example guns, mace, combat knives, brass knuckles, nail or other bombs, and spears.""",
6868
"label": "WeaponConsideration",
6969
},
7070
}

msgspec_schemaorg/enums/intangible/BoardingPolicyType.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ class BoardingPolicyType(str, enum.Enum):
1111
metadata: ClassVar[Dict[str, Dict[str, Any]]] = {
1212
"GroupBoardingPolicy": {
1313
"id": "schema:GroupBoardingPolicy",
14-
"comment": "The airline boards by groups based on check-in time, priority, etc.",
14+
"comment": """The airline boards by groups based on check-in time, priority, etc.""",
1515
"label": "GroupBoardingPolicy",
1616
},
1717
"ZoneBoardingPolicy": {
1818
"id": "schema:ZoneBoardingPolicy",
19-
"comment": "The airline boards by zones of the plane.",
19+
"comment": """The airline boards by zones of the plane.""",
2020
"label": "ZoneBoardingPolicy",
2121
},
2222
}

msgspec_schemaorg/enums/intangible/BodyMeasurementTypeEnumeration.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,67 +22,67 @@ class BodyMeasurementTypeEnumeration(str, enum.Enum):
2222
metadata: ClassVar[Dict[str, Dict[str, Any]]] = {
2323
"BodyMeasurementArm": {
2424
"id": "schema:BodyMeasurementArm",
25-
"comment": "Arm length (measured between arms/shoulder line intersection and the prominent wrist bone). Used, for example, to fit shirts.",
25+
"comment": """Arm length (measured between arms/shoulder line intersection and the prominent wrist bone). Used, for example, to fit shirts.""",
2626
"label": "BodyMeasurementArm",
2727
},
2828
"BodyMeasurementBust": {
2929
"id": "schema:BodyMeasurementBust",
30-
"comment": "Maximum girth of bust. Used, for example, to fit women's suits.",
30+
"comment": """Maximum girth of bust. Used, for example, to fit women's suits.""",
3131
"label": "BodyMeasurementBust",
3232
},
3333
"BodyMeasurementChest": {
3434
"id": "schema:BodyMeasurementChest",
35-
"comment": "Maximum girth of chest. Used, for example, to fit men's suits.",
35+
"comment": """Maximum girth of chest. Used, for example, to fit men's suits.""",
3636
"label": "BodyMeasurementChest",
3737
},
3838
"BodyMeasurementFoot": {
3939
"id": "schema:BodyMeasurementFoot",
40-
"comment": "Foot length (measured between end of the most prominent toe and the most prominent part of the heel). Used, for example, to measure socks.",
40+
"comment": """Foot length (measured between end of the most prominent toe and the most prominent part of the heel). Used, for example, to measure socks.""",
4141
"label": "BodyMeasurementFoot",
4242
},
4343
"BodyMeasurementHand": {
4444
"id": "schema:BodyMeasurementHand",
45-
"comment": "Maximum hand girth (measured over the knuckles of the open right hand excluding thumb, fingers together). Used, for example, to fit gloves.",
45+
"comment": """Maximum hand girth (measured over the knuckles of the open right hand excluding thumb, fingers together). Used, for example, to fit gloves.""",
4646
"label": "BodyMeasurementHand",
4747
},
4848
"BodyMeasurementHead": {
4949
"id": "schema:BodyMeasurementHead",
50-
"comment": "Maximum girth of head above the ears. Used, for example, to fit hats.",
50+
"comment": """Maximum girth of head above the ears. Used, for example, to fit hats.""",
5151
"label": "BodyMeasurementHead",
5252
},
5353
"BodyMeasurementHeight": {
5454
"id": "schema:BodyMeasurementHeight",
55-
"comment": "Body height (measured between crown of head and soles of feet). Used, for example, to fit jackets.",
55+
"comment": """Body height (measured between crown of head and soles of feet). Used, for example, to fit jackets.""",
5656
"label": "BodyMeasurementHeight",
5757
},
5858
"BodyMeasurementHips": {
5959
"id": "schema:BodyMeasurementHips",
60-
"comment": "Girth of hips (measured around the buttocks). Used, for example, to fit skirts.",
60+
"comment": """Girth of hips (measured around the buttocks). Used, for example, to fit skirts.""",
6161
"label": "BodyMeasurementHips",
6262
},
6363
"BodyMeasurementInsideLeg": {
6464
"id": "schema:BodyMeasurementInsideLeg",
65-
"comment": "Inside leg (measured between crotch and soles of feet). Used, for example, to fit pants.",
65+
"comment": """Inside leg (measured between crotch and soles of feet). Used, for example, to fit pants.""",
6666
"label": "BodyMeasurementInsideLeg",
6767
},
6868
"BodyMeasurementNeck": {
6969
"id": "schema:BodyMeasurementNeck",
70-
"comment": "Girth of neck. Used, for example, to fit shirts.",
70+
"comment": """Girth of neck. Used, for example, to fit shirts.""",
7171
"label": "BodyMeasurementNeck",
7272
},
7373
"BodyMeasurementUnderbust": {
7474
"id": "schema:BodyMeasurementUnderbust",
75-
"comment": "Girth of body just below the bust. Used, for example, to fit women's swimwear.",
75+
"comment": """Girth of body just below the bust. Used, for example, to fit women's swimwear.""",
7676
"label": "BodyMeasurementUnderbust",
7777
},
7878
"BodyMeasurementWaist": {
7979
"id": "schema:BodyMeasurementWaist",
80-
"comment": "Girth of natural waistline (between hip bones and lower ribs). Used, for example, to fit pants.",
80+
"comment": """Girth of natural waistline (between hip bones and lower ribs). Used, for example, to fit pants.""",
8181
"label": "BodyMeasurementWaist",
8282
},
8383
"BodyMeasurementWeight": {
8484
"id": "schema:BodyMeasurementWeight",
85-
"comment": "Body weight. Used, for example, to measure pantyhose.",
85+
"comment": """Body weight. Used, for example, to measure pantyhose.""",
8686
"label": "BodyMeasurementWeight",
8787
},
8888
}

msgspec_schemaorg/enums/intangible/BookFormatType.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,27 @@ class BookFormatType(str, enum.Enum):
1414
metadata: ClassVar[Dict[str, Dict[str, Any]]] = {
1515
"AudiobookFormat": {
1616
"id": "schema:AudiobookFormat",
17-
"comment": "Book format: Audiobook. This is an enumerated value for use with the bookFormat property. There is also a type 'Audiobook' in the bib extension which includes Audiobook specific properties.",
17+
"comment": """Book format: Audiobook. This is an enumerated value for use with the bookFormat property. There is also a type 'Audiobook' in the bib extension which includes Audiobook specific properties.""",
1818
"label": "AudiobookFormat",
1919
},
2020
"EBook": {
2121
"id": "schema:EBook",
22-
"comment": "Book format: Ebook.",
22+
"comment": """Book format: Ebook.""",
2323
"label": "EBook",
2424
},
2525
"GraphicNovel": {
2626
"id": "schema:GraphicNovel",
27-
"comment": "Book format: GraphicNovel. May represent a bound collection of ComicIssue instances.",
27+
"comment": """Book format: GraphicNovel. May represent a bound collection of ComicIssue instances.""",
2828
"label": "GraphicNovel",
2929
},
3030
"Hardcover": {
3131
"id": "schema:Hardcover",
32-
"comment": "Book format: Hardcover.",
32+
"comment": """Book format: Hardcover.""",
3333
"label": "Hardcover",
3434
},
3535
"Paperback": {
3636
"id": "schema:Paperback",
37-
"comment": "Book format: Paperback.",
37+
"comment": """Book format: Paperback.""",
3838
"label": "Paperback",
3939
},
4040
}

msgspec_schemaorg/enums/intangible/CarUsageType.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ class CarUsageType(str, enum.Enum):
1212
metadata: ClassVar[Dict[str, Dict[str, Any]]] = {
1313
"DrivingSchoolVehicleUsage": {
1414
"id": "schema:DrivingSchoolVehicleUsage",
15-
"comment": "Indicates the usage of the vehicle for driving school.",
15+
"comment": """Indicates the usage of the vehicle for driving school.""",
1616
"label": "DrivingSchoolVehicleUsage",
1717
},
1818
"RentalVehicleUsage": {
1919
"id": "schema:RentalVehicleUsage",
20-
"comment": "Indicates the usage of the vehicle as a rental car.",
20+
"comment": """Indicates the usage of the vehicle as a rental car.""",
2121
"label": "RentalVehicleUsage",
2222
},
2323
"TaxiVehicleUsage": {
2424
"id": "schema:TaxiVehicleUsage",
25-
"comment": "Indicates the usage of the car as a taxi.",
25+
"comment": """Indicates the usage of the car as a taxi.""",
2626
"label": "TaxiVehicleUsage",
2727
},
2828
}

msgspec_schemaorg/enums/intangible/CertificationStatusEnumeration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ class CertificationStatusEnumeration(str, enum.Enum):
1111
metadata: ClassVar[Dict[str, Dict[str, Any]]] = {
1212
"CertificationActive": {
1313
"id": "schema:CertificationActive",
14-
"comment": "Specifies that a certification is active.",
14+
"comment": """Specifies that a certification is active.""",
1515
"label": "CertificationActive",
1616
},
1717
"CertificationInactive": {
1818
"id": "schema:CertificationInactive",
19-
"comment": "Specifies that a certification is inactive (no longer in effect).",
19+
"comment": """Specifies that a certification is inactive (no longer in effect).""",
2020
"label": "CertificationInactive",
2121
},
2222
}

msgspec_schemaorg/enums/intangible/ContactPointOption.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ class ContactPointOption(str, enum.Enum):
1111
metadata: ClassVar[Dict[str, Dict[str, Any]]] = {
1212
"HearingImpairedSupported": {
1313
"id": "schema:HearingImpairedSupported",
14-
"comment": "Uses devices to support users with hearing impairments.",
14+
"comment": """Uses devices to support users with hearing impairments.""",
1515
"label": "HearingImpairedSupported",
1616
},
1717
"TollFree": {
1818
"id": "schema:TollFree",
19-
"comment": "The associated telephone number is toll free.",
19+
"comment": """The associated telephone number is toll free.""",
2020
"label": "TollFree",
2121
},
2222
}

msgspec_schemaorg/enums/intangible/DayOfWeek.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,42 +17,42 @@ class DayOfWeek(str, enum.Enum):
1717
metadata: ClassVar[Dict[str, Dict[str, Any]]] = {
1818
"Friday": {
1919
"id": "schema:Friday",
20-
"comment": "The day of the week between Thursday and Saturday.",
20+
"comment": """The day of the week between Thursday and Saturday.""",
2121
"label": "Friday",
2222
},
2323
"Monday": {
2424
"id": "schema:Monday",
25-
"comment": "The day of the week between Sunday and Tuesday.",
25+
"comment": """The day of the week between Sunday and Tuesday.""",
2626
"label": "Monday",
2727
},
2828
"PublicHolidays": {
2929
"id": "schema:PublicHolidays",
30-
"comment": "This stands for any day that is a public holiday; it is a placeholder for all official public holidays in some particular location. While not technically a \"day of the week\", it can be used with [[OpeningHoursSpecification]]. In the context of an opening hours specification it can be used to indicate opening hours on public holidays, overriding general opening hours for the day of the week on which a public holiday occurs.",
30+
"comment": """This stands for any day that is a public holiday; it is a placeholder for all official public holidays in some particular location. While not technically a "day of the week", it can be used with [[OpeningHoursSpecification]]. In the context of an opening hours specification it can be used to indicate opening hours on public holidays, overriding general opening hours for the day of the week on which a public holiday occurs.""",
3131
"label": "PublicHolidays",
3232
},
3333
"Saturday": {
3434
"id": "schema:Saturday",
35-
"comment": "The day of the week between Friday and Sunday.",
35+
"comment": """The day of the week between Friday and Sunday.""",
3636
"label": "Saturday",
3737
},
3838
"Sunday": {
3939
"id": "schema:Sunday",
40-
"comment": "The day of the week between Saturday and Monday.",
40+
"comment": """The day of the week between Saturday and Monday.""",
4141
"label": "Sunday",
4242
},
4343
"Thursday": {
4444
"id": "schema:Thursday",
45-
"comment": "The day of the week between Wednesday and Friday.",
45+
"comment": """The day of the week between Wednesday and Friday.""",
4646
"label": "Thursday",
4747
},
4848
"Tuesday": {
4949
"id": "schema:Tuesday",
50-
"comment": "The day of the week between Monday and Wednesday.",
50+
"comment": """The day of the week between Monday and Wednesday.""",
5151
"label": "Tuesday",
5252
},
5353
"Wednesday": {
5454
"id": "schema:Wednesday",
55-
"comment": "The day of the week between Tuesday and Thursday.",
55+
"comment": """The day of the week between Tuesday and Thursday.""",
5656
"label": "Wednesday",
5757
},
5858
}

0 commit comments

Comments
 (0)