Skip to content

Commit

Permalink
Merge pull request #21 from viagogo/sync-openapi-definitions/patch
Browse files Browse the repository at this point in the history
Sync latest changes to OpenAPI definitions
  • Loading branch information
dylan-mcnamara-sh authored Oct 21, 2023
2 parents 7a92cbf + d655b92 commit a55b5dd
Show file tree
Hide file tree
Showing 2 changed files with 133 additions and 126 deletions.
2 changes: 1 addition & 1 deletion static/openapi/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openapi": "3.0.0",
"info": {
"title": "StubHub Catalog API",
"version": "1.0.0.74",
"version": "1.0.0.75",
"x-logo": {
"url": "https://img.vggcdn.net/images/Assets/Icons/bfx/stubhub-logo-merch-purple-mweb.440b3765.svg",
"backgroundColor": "#222222"
Expand Down
257 changes: 132 additions & 125 deletions static/openapi/sales.json
Original file line number Diff line number Diff line change
Expand Up @@ -2801,6 +2801,13 @@
}
]
},
"ticketholders": {
"type": "array",
"nullable": true,
"items": {
"$ref": "#/components/schemas/TicketHolder"
}
},
"venue": {
"description": "The venue where the event is taking place.",
"nullable": true,
Expand Down Expand Up @@ -2935,6 +2942,130 @@
}
}
},
"TicketHolder": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"format": "int32",
"nullable": true
},
"title": {
"type": "string",
"nullable": true
},
"full_name": {
"type": "string",
"nullable": true
},
"date_of_birth": {
"type": "string",
"format": "date-time",
"nullable": true
},
"city_of_birth": {
"type": "string",
"nullable": true
},
"province_of_birth": {
"type": "string",
"nullable": true
},
"city_of_residence": {
"type": "string",
"nullable": true
},
"province_of_residence": {
"type": "string",
"nullable": true
},
"club_issuer": {
"type": "string",
"nullable": true
},
"card_number": {
"type": "string",
"nullable": true
},
"document_type": {
"type": "string",
"nullable": true
},
"document_number": {
"type": "string",
"nullable": true
},
"fiscal_code": {
"type": "string",
"nullable": true
},
"security_code": {
"type": "string",
"nullable": true
},
"generic_answer": {
"type": "string",
"nullable": true
},
"email_address": {
"type": "string",
"nullable": true
},
"_links": {
"nullable": true,
"oneOf": [
{
"$ref": "#/components/schemas/TicketHolderLinks"
}
]
},
"_embedded": {
"nullable": true,
"oneOf": [
{
"$ref": "#/components/schemas/TicketHolderEmbeddedResources"
}
]
}
}
},
"TicketHolderLinks": {
"title": "TicketHolderLinks",
"type": "object",
"properties": {
"self": {
"nullable": true,
"oneOf": [
{
"$ref": "#/components/schemas/Link"
}
]
}
}
},
"TicketHolderEmbeddedResources": {
"title": "TicketHolderEmbeddedResources",
"type": "object",
"properties": {
"document_issuing_country": {
"nullable": true,
"oneOf": [
{
"$ref": "#/components/schemas/Country"
}
]
},
"nationality_country": {
"nullable": true,
"oneOf": [
{
"$ref": "#/components/schemas/Country"
}
]
}
}
},
"EmbeddedVenue": {
"type": "object",
"description": "A venue is a location where an event takes place.",
Expand Down Expand Up @@ -3193,7 +3324,7 @@
},
"mobile_provider": {
"type": "string",
"description": "The vendor being used to transfer the mobile ticket. Can be one of the following values:\nStubHub,\nTicketMaster,\nTicketmasterCa,\nAXS,\nEventbrite,\nLivenation,\nBroadway,\nTelecharge,\nTicketon,\nSeetickets,\nEtix,\nTixr,\nFesticket,\nInsomniac,\nDiceImport,\nMGMResorts,\nTickeri,\nSmithCenterImport,\nStubwire,\nComputicket,",
"description": "The vendor being used to transfer the mobile ticket. Can be one of the following values:\nStubHub,\nViagogo,\nTicketmaster,\nAXS,\nSeatGeek,\nTicketmaster Account Manager,\nMLB Ballpark,\nMPV,\nPaciolan,\nTickets.com,\nTickets.com RDP,\nVivenu,\nTicketmaster CA,\nEventbrite,\nLivenation,\nBroadway,\nTelecharge,\nTicketon,\nSeetickets,\nEtix,\nTixr,\nFesticket,\nInsomniac,\nDiceImport,\nMGMResorts,\nTickeri,\nSmithCenterImport,\nStubwire,\nComputicket,",
"nullable": true
}
}
Expand Down Expand Up @@ -3695,130 +3826,6 @@
]
}
}
},
"TicketHolder": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"format": "int32",
"nullable": true
},
"title": {
"type": "string",
"nullable": true
},
"full_name": {
"type": "string",
"nullable": true
},
"date_of_birth": {
"type": "string",
"format": "date-time",
"nullable": true
},
"city_of_birth": {
"type": "string",
"nullable": true
},
"province_of_birth": {
"type": "string",
"nullable": true
},
"city_of_residence": {
"type": "string",
"nullable": true
},
"province_of_residence": {
"type": "string",
"nullable": true
},
"club_issuer": {
"type": "string",
"nullable": true
},
"card_number": {
"type": "string",
"nullable": true
},
"document_type": {
"type": "string",
"nullable": true
},
"document_number": {
"type": "string",
"nullable": true
},
"fiscal_code": {
"type": "string",
"nullable": true
},
"security_code": {
"type": "string",
"nullable": true
},
"generic_answer": {
"type": "string",
"nullable": true
},
"email_address": {
"type": "string",
"nullable": true
},
"_links": {
"nullable": true,
"oneOf": [
{
"$ref": "#/components/schemas/TicketHolderLinks"
}
]
},
"_embedded": {
"nullable": true,
"oneOf": [
{
"$ref": "#/components/schemas/TicketHolderEmbeddedResources"
}
]
}
}
},
"TicketHolderLinks": {
"title": "TicketHolderLinks",
"type": "object",
"properties": {
"self": {
"nullable": true,
"oneOf": [
{
"$ref": "#/components/schemas/Link"
}
]
}
}
},
"TicketHolderEmbeddedResources": {
"title": "TicketHolderEmbeddedResources",
"type": "object",
"properties": {
"document_issuing_country": {
"nullable": true,
"oneOf": [
{
"$ref": "#/components/schemas/Country"
}
]
},
"nationality_country": {
"nullable": true,
"oneOf": [
{
"$ref": "#/components/schemas/Country"
}
]
}
}
}
},
"responses": {
Expand Down

0 comments on commit a55b5dd

Please sign in to comment.