
eedm.advancement-ticket-purchases.v1.0.0.advancement-ticket-purchases.json Maven / Gradle / Ivy
{
"title" : "Advancement Ticket Purchases",
"description" : "Information about ticket purchases relevant to advancement.",
"version" : "1.0.0",
"type" : "object",
"properties" : {
"metadata" : {
"$ref" : "resource:/eedm/metadata.json"
},
"id" : {
"title" : "ID",
"description" : "The global identifier of the advancement ticket purchase.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
},
"ticketReference" : {
"title" : "Ticket Reference",
"description" : "A reference number generated by the originating system.",
"type" : "string"
},
"ticketHolder" : {
"title" : "Ticket Holder",
"description" : "The primary ticket holder associated with the ticket purchase.",
"oneOf" : [ {
"title" : "unregistered",
"description" : "A primary ticket holder who is not registered in the system.",
"type" : "object",
"properties" : {
"unregistered" : {
"title" : "Unregistered",
"description" : "A primary ticket holder who is not registered in the system.",
"type" : "object",
"properties" : {
"name" : {
"title" : "Name",
"description" : "The name of the primary ticket holder.",
"type" : "object",
"properties" : {
"firstName" : {
"title" : "First Name",
"description" : "The first name of the ticket holder.",
"type" : "string"
},
"middleName" : {
"title" : "Middle Name",
"description" : "The middle name of the ticket holder.",
"type" : "string"
},
"lastName" : {
"title" : "Last Name",
"description" : "The last name of the ticket holder.",
"type" : "string",
"minLength" : 1
},
"prefix" : {
"title" : "Prefix",
"description" : "The prefix of the ticket holder.",
"type" : "string"
},
"suffix" : {
"title" : "Suffix",
"description" : "The suffix of the ticket holder.",
"type" : "string"
}
},
"additionalProperties" : false,
"required" : [ "lastName" ]
},
"address" : {
"title" : "Address",
"description" : "The address provided by the ticket holder.",
"type" : "object",
"properties" : {
"addressLines" : {
"title" : "Address Lines",
"description" : "The lines of the address excluding city, state/province, postal/zip code, and country.",
"type" : "array",
"items" : {
"type" : "string"
}
},
"city" : {
"title" : "City",
"description" : "The city of the address.",
"type" : "string"
},
"stateProvince" : {
"title" : "State Province",
"description" : "The state or province of the address.",
"type" : "string"
},
"postalCode" : {
"title" : "Postal Code",
"description" : "The postal code of the address.",
"type" : "string"
},
"county" : {
"title" : "County",
"description" : "The county of the address.",
"type" : "string"
},
"country" : {
"title" : "Country",
"description" : "The country of the address.",
"type" : "string"
}
},
"additionalProperties" : false
},
"email" : {
"title" : "Email",
"description" : "The email provided by the ticket holder.",
"type" : "string"
},
"phone" : {
"title" : "Phone",
"description" : "The phone number provided by the ticker holder.",
"oneOf" : [ {
"type" : "object",
"properties" : {
"number" : {
"title" : "Number",
"description" : "The phone number.",
"type" : "string",
"minLength" : 1
},
"extension" : {
"title" : "Extension",
"description" : "The extension number associated with the phone number.",
"type" : "string"
}
},
"additionalProperties" : false,
"required" : [ "number" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
},
"accountId" : {
"title" : "Account ID",
"description" : "The account ID associated with the ticket holder generated by the originating system..",
"type" : "string"
}
},
"additionalProperties" : false,
"required" : [ "name" ]
}
},
"additionalProperties" : false,
"required" : [ "unregistered" ]
}, {
"title" : "Person",
"description" : "The person registered in the system who is associated with the ticket purchase.",
"type" : "object",
"properties" : {
"person" : {
"title" : "Person",
"description" : "The person registered in the system who is associated with the ticket purchase.",
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Person.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/persons/{id}",
"targetSchema" : {
"$ref" : "persons.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
}
},
"additionalProperties" : false,
"required" : [ "person" ]
}, {
"title" : "Organization",
"description" : "The organization registered in the system which is associated with the ticket purchase.",
"type" : "object",
"properties" : {
"organization" : {
"title" : "Organization",
"description" : "The organization registered in the system which is associated with the ticket purchase.",
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Organization.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/organizations/{id}",
"targetSchema" : {
"$ref" : "organizations.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
}
},
"additionalProperties" : false,
"required" : [ "organization" ]
} ]
},
"ticketType" : {
"title" : "Ticket Type",
"description" : "The ticket type.",
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Ticket Type.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/advancement-ticket-types/{id}",
"targetSchema" : {
"$ref" : "advancement-ticket-types.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
},
"season" : {
"title" : "Season",
"description" : "The season associated with the ticket.",
"oneOf" : [ {
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Season.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/advancement-ticket-seasons/{id}",
"targetSchema" : {
"$ref" : "advancement-ticket-seasons.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
},
"purchaseDate" : {
"title" : "Purchase Date",
"description" : "The date the ticket was purchased.",
"type" : "string",
"format" : "date",
"pattern" : "^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|0[1-9]|[1-2][0-9])$"
},
"numberOfTickets" : {
"title" : "Number Of Tickets",
"description" : "The number of tickets purchased.",
"oneOf" : [ {
"type" : "number"
}, {
"type" : "null"
} ]
},
"amountPaidPerTicket" : {
"title" : "Amount Paid Per Ticket",
"description" : "The amount paid per ticket.",
"oneOf" : [ {
"type" : "object",
"format" : "currency",
"properties" : {
"value" : {
"title" : "Value",
"description" : "The monetary value",
"type" : "number"
},
"currency" : {
"title" : "Currency",
"description" : "The ISO 4217 currency code",
"enum" : [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW", "ZWL" ],
"type" : "string"
}
},
"additionalProperties" : false,
"required" : [ "value", "currency" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
},
"totalAmountPaid" : {
"title" : "Total Amount Paid",
"description" : "The total amount paid, including any taxes or fees.",
"oneOf" : [ {
"type" : "object",
"format" : "currency",
"properties" : {
"value" : {
"title" : "Value",
"description" : "The monetary value",
"type" : "number"
},
"currency" : {
"title" : "Currency",
"description" : "The ISO 4217 currency code",
"enum" : [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW", "ZWL" ],
"type" : "string"
}
},
"additionalProperties" : false,
"required" : [ "value", "currency" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
},
"discount" : {
"title" : "Discount",
"description" : "The discount associated with the ticket purchase.",
"type" : "string"
},
"seatingType" : {
"title" : "Seating Type",
"description" : "The seating type associated with the ticket.",
"oneOf" : [ {
"title" : "Detail",
"description" : "The seating type registered in the system which is associated with the ticket purchase.",
"type" : "object",
"properties" : {
"detail" : {
"title" : "Detail",
"description" : "The seating type registered in the system which is associated with the ticket purchase.",
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Detail.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/advancement-seating-types/{id}",
"targetSchema" : {
"$ref" : "advancement-seating-types.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
}
},
"additionalProperties" : false,
"required" : [ "detail" ]
}, {
"title" : "name",
"description" : "The name of the seating type.",
"type" : "object",
"properties" : {
"name" : {
"title" : "Name",
"description" : "The name of the seating type.",
"type" : "string",
"minLength" : 1
}
},
"additionalProperties" : false,
"required" : [ "name" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
},
"venue" : {
"title" : "Venue",
"description" : "The venue associated with the ticket.",
"oneOf" : [ {
"title" : "detail",
"description" : "The venue registered in the system which is associated with the ticket purchase.",
"type" : "object",
"properties" : {
"detail" : {
"title" : "Detail",
"description" : "The venue registered in the system which is associated with the ticket purchase.",
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Detail.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/venues/{id}",
"targetSchema" : {
"$ref" : "venues.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
}
},
"additionalProperties" : false,
"required" : [ "detail" ]
}, {
"title" : "name",
"description" : "The name of the venue.",
"type" : "object",
"properties" : {
"name" : {
"title" : "Name",
"description" : "The name of the venue.",
"type" : "string",
"minLength" : 1
}
},
"additionalProperties" : false,
"required" : [ "name" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
},
"seating" : {
"title" : "Seating",
"description" : "The seating details associated with the ticket.",
"type" : "object",
"properties" : {
"section" : {
"title" : "Section",
"description" : "The seating section associated with the ticket.",
"type" : "string"
},
"rowDetail" : {
"title" : "Row Detail",
"description" : "The seating row(s) associated with the ticket.",
"type" : "string"
},
"seatDetail" : {
"title" : "Seat Detail",
"description" : "The seat(s) associated with the ticket.",
"type" : "string"
}
},
"additionalProperties" : false
},
"source" : {
"title" : "Source",
"description" : "The source of the ticket purchase.",
"oneOf" : [ {
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Source.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/advancement-sources/{id}",
"targetSchema" : {
"$ref" : "advancement-sources.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
},
"status" : {
"title" : "Status",
"description" : "The status of the ticket purchase (i.e., canceled, refunded, etc).",
"oneOf" : [ {
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Status.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/advancement-statuses/{id}",
"targetSchema" : {
"$ref" : "advancement-statuses.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
},
"comment" : {
"title" : "Comment",
"description" : "The comment associated with the ticket purchase.",
"type" : "string"
}
},
"required" : [ "id", "ticketHolder", "ticketType", "purchaseDate" ],
"additionalProperties" : false
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy