Skip to content

Ramp: Sunshine act schemas

12 Ramp schemas with complete fields and constraints.

← Sunshine act operations · All schemas

Retrieve a list of paginated Sunshine Act expenses — response body

FieldTypePresenceDescription and constraints
$objectRoot
dataarrayRequired within parentResources returned in this page.
data[]ModelEach itemExpand Retrieve a list of paginated Sunshine Act expenses — response body — data item
pageModelRequired within parentExpand List bills — response body — page
Pagination details for this response.

Referenced models: List bills — response body — page, Retrieve a list of paginated Sunshine Act expenses — response body — data item

Retrieve a list of paginated Sunshine Act expenses — response body — data / item / spend_form / code: 1, 2, 3, 4, 5, 6

FieldTypePresenceDescription and constraints
$objectRoot
codestringRequired within parentCMS code representing the spend form.
Known values: 1, 2, 3, 4, 5, 6
display_namestringRequired within parentEnglish description of the spend form.

Retrieve a list of paginated Sunshine Act expenses — response body — data / item / spend_nature / code: 1, 10, 11, 14, 15, 16, 17, 18, 19, 2, 3, 4, 5, 6, 7, 8, 9

FieldTypePresenceDescription and constraints
$objectRoot
codestringRequired within parentCMS code representing the spend nature.
Known values: 1, 10, 11, 14, 15, 16, 17, 18, 19, 2, 3, 4, 5, 6, 7, 8, 9
display_namestringRequired within parentEnglish description of the spend nature.

Retrieve a list of paginated Sunshine Act expenses — response body — data item

FieldTypePresenceDescription and constraints
$objectRoot
card_acceptorJSONOptional
card_acceptor (anyOf 1)ModelAlternativeExpand Retrieve a list of paginated Sunshine Act expenses — response body — data item card acceptor city, country code, name, postal code, state
Card acceptor/merchant information.
card_acceptor (anyOf 2)nullAlternative
client_employeesJSONRequired within parent
client_employees (anyOf 1)integerAlternativeNumber of client employees involved.
client_employees (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
commentsJSONOptional
comments (anyOf 1)stringAlternativeAdditional comments about the expense.
comments (anyOf 2)nullAlternative
contextual_informationJSONOptional
contextual_information (anyOf 1)stringAlternativeContextual information about the expense.
contextual_information (anyOf 2)nullAlternative
destinationJSONOptional
destination (anyOf 1)ModelAlternativeExpand Retrieve a list of paginated Sunshine Act expenses — response body — data item destination city, country, state
Destination information for the expense.
destination (anyOf 2)nullAlternative
non_us_currency_codeJSONOptional
non_us_currency_code (anyOf 1)stringAlternativeCurrency code for non-US expenses.
non_us_currency_code (anyOf 2)nullAlternative
non_us_total_costJSONOptional
non_us_total_cost (anyOf 1)stringAlternativeTotal cost in non-US currency.
Format: decimal
non_us_total_cost (anyOf 2)nullAlternative
recipientModelRequired within parentExpand Retrieve a list of paginated Sunshine Act expenses — response body — data item recipient
Recipient information for the expense.
related_productsarrayRequired within parentList of related products for this expense.
related_products[]ModelEach itemExpand Retrieve a list of paginated Sunshine Act expenses — response body — data item related products item
sales_repModelRequired within parentExpand Retrieve a list of paginated Sunshine Act expenses — response body — data item sales rep
Sales representative information.
spend_datestringRequired within parentDate of the expense.
Format: date-time
spend_entry_datestringRequired within parentDate when the expense was entered.
Format: date-time
spend_formJSONOptional
spend_form (anyOf 1)ModelAlternativeExpand Retrieve a list of paginated Sunshine Act expenses — response body — data / item / spend_form / code: 1, 2, 3, 4, 5, 6
Form of the expense payment, following CMS definitions.
spend_form (anyOf 2)nullAlternative
spend_idstringRequired within parentUnique identifier for the expense.
spend_linkstringRequired within parentURL to the expense details page.
spend_natureJSONOptional
spend_nature (anyOf 1)ModelAlternativeExpand Retrieve a list of paginated Sunshine Act expenses — response body — data / item / spend_nature / code: 1, 10, 11, 14, 15, 16, 17, 18, 19, 2, 3, 4, 5, 6, 7, 8, 9
Nature of the expense payment, following CMS definitions.
spend_nature (anyOf 2)nullAlternative
spend_owner_emailstringRequired within parentEmail address of the expense owner.
spend_typestringRequired within parentType of the underlying expense. Either 'transaction' or 'reimbursement'.
Known values: reimbursement, transaction
total_coststringRequired within parentTotal cost of the expense.
Format: decimal
total_recipientsJSONRequired within parent
total_recipients (anyOf 1)integerAlternativeTotal number of recipients for this expense.
total_recipients (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
updated_atstringRequired within parentMost recent update to the expense's attendee or coding data.
Format: date-time
vendorJSONOptional
vendor (anyOf 1)stringAlternativeVendor name relating to the expense.
vendor (anyOf 2)nullAlternative

Referenced models: Retrieve a list of paginated Sunshine Act expenses — response body — data item card acceptor city, country code, name, postal code, state, Retrieve a list of paginated Sunshine Act expenses — response body — data item destination city, country, state, Retrieve a list of paginated Sunshine Act expenses — response body — data item sales rep, Retrieve a list of paginated Sunshine Act expenses — response body — data item recipient, Retrieve a list of paginated Sunshine Act expenses — response body — data item related products item, Retrieve a list of paginated Sunshine Act expenses — response body — data / item / spend_form / code: 1, 2, 3, 4, 5, 6, Retrieve a list of paginated Sunshine Act expenses — response body — data / item / spend_nature / code: 1, 10, 11, 14, 15, 16, 17, 18, 19, 2, 3, 4, 5, 6, 7, 8, 9

Retrieve a list of paginated Sunshine Act expenses — response body — data item card acceptor city, country code, name, postal code, state

FieldTypePresenceDescription and constraints
$objectRoot
cityJSONOptional
city (anyOf 1)stringAlternativeCity of the card acceptor.
city (anyOf 2)nullAlternative
country_codeJSONOptional
country_code (anyOf 1)stringAlternativeCountry code of the card acceptor.
country_code (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeName of the card acceptor/merchant.
name (anyOf 2)nullAlternative
postal_codeJSONOptional
postal_code (anyOf 1)stringAlternativePostal code of the card acceptor.
postal_code (anyOf 2)nullAlternative
stateJSONOptional
state (anyOf 1)stringAlternativeState of the card acceptor.
state (anyOf 2)nullAlternative

Retrieve a list of paginated Sunshine Act expenses — response body — data item destination city, country, state

FieldTypePresenceDescription and constraints
$objectRoot
cityJSONOptional
city (anyOf 1)stringAlternativeCity of the travel destination corresponding to the expense, if any.
city (anyOf 2)nullAlternative
countryJSONOptional
country (anyOf 1)stringAlternativeCountry of the travel destination corresponding to the expense, if any.
country (anyOf 2)nullAlternative
stateJSONOptional
state (anyOf 1)stringAlternativeState of the travel destination corresponding to the expense, if any.
state (anyOf 2)nullAlternative

Retrieve a list of paginated Sunshine Act expenses — response body — data item recipient

FieldTypePresenceDescription and constraints
$objectRoot
addressJSONRequired within parent
address (anyOf 1)ModelAlternativeExpand Retrieve a list of paginated Sunshine Act expenses — response body — data item recipient address city, country code, fax, first line, postal code, second line, state, telephone
Address information for the recipient.
address (anyOf 2)nullAlternative
credentialsJSONOptional
credentials (anyOf 1)stringAlternativeProfessional credentials of the recipient.
credentials (anyOf 2)nullAlternative
first_nameJSONOptional
first_name (anyOf 1)stringAlternativeFirst name of the recipient.
first_name (anyOf 2)nullAlternative
idJSONOptional
id (anyOf 1)stringAlternativeUnique identifier for the recipient, nullable for external attendees.
id (anyOf 2)nullAlternative
last_nameJSONOptional
last_name (anyOf 1)stringAlternativeLast name of the recipient.
last_name (anyOf 2)nullAlternative
licenseJSONOptional
license (anyOf 1)ModelAlternativeExpand Retrieve a list of paginated Sunshine Act expenses — response body — data item recipient license code, display name, license number, license state
License and taxonomy information for the recipient.
license (anyOf 2)nullAlternative
middle_nameJSONOptional
middle_name (anyOf 1)stringAlternativeMiddle name of the recipient.
middle_name (anyOf 2)nullAlternative
npiJSONOptional
npi (anyOf 1)stringAlternativeRecipient's National Provider Identifier (NPI) number.
npi (anyOf 2)nullAlternative
sourceModelRequired within parentExpand Retrieve a list of paginated Sunshine Act expenses — response body — data item recipient source
Information pertaining to the dataset from which the recipient is retrieved.
subtypeJSONOptional
subtype (anyOf 1)stringAlternativeThe display name of the attendee type for external attendees. Null for employees and healthcare providers.
subtype (anyOf 2)nullAlternative
suffixJSONOptional
suffix (anyOf 1)stringAlternativeSuffix of the recipient's name.
suffix (anyOf 2)nullAlternative
titleJSONOptional
title (anyOf 1)stringAlternativeProfessional title of the recipient.
title (anyOf 2)nullAlternative
typestringRequired within parentRecipient's type.
Known values: EMPLOYEE, EXTERNAL, HEALTHCARE_PROVIDER

Referenced models: Retrieve a list of paginated Sunshine Act expenses — response body — data item recipient address city, country code, fax, first line, postal code, second line, state, telephone, Retrieve a list of paginated Sunshine Act expenses — response body — data item recipient license code, display name, license number, license state, Retrieve a list of paginated Sunshine Act expenses — response body — data item recipient source

Retrieve a list of paginated Sunshine Act expenses — response body — data item recipient address city, country code, fax, first line, postal code, second line, state, telephone

FieldTypePresenceDescription and constraints
$objectRoot
cityJSONOptional
city (anyOf 1)stringAlternativeCity.
city (anyOf 2)nullAlternative
country_codeJSONOptional
country_code (anyOf 1)stringAlternativeCountry code.
country_code (anyOf 2)nullAlternative
faxJSONOptional
fax (anyOf 1)stringAlternativeFax number.
fax (anyOf 2)nullAlternative
first_lineJSONOptional
first_line (anyOf 1)stringAlternativeFirst line of the address.
first_line (anyOf 2)nullAlternative
postal_codeJSONOptional
postal_code (anyOf 1)stringAlternativePostal code.
postal_code (anyOf 2)nullAlternative
second_lineJSONOptional
second_line (anyOf 1)stringAlternativeSecond line of the address.
second_line (anyOf 2)nullAlternative
stateJSONOptional
state (anyOf 1)stringAlternativeState.
state (anyOf 2)nullAlternative
telephoneJSONOptional
telephone (anyOf 1)stringAlternativeTelephone number.
telephone (anyOf 2)nullAlternative

Retrieve a list of paginated Sunshine Act expenses — response body — data item recipient license code, display name, license number, license state

FieldTypePresenceDescription and constraints
$objectRoot
codeJSONOptional
code (anyOf 1)stringAlternativeTaxonomy code.
code (anyOf 2)nullAlternative
display_nameJSONOptional
display_name (anyOf 1)stringAlternativeName of the field in which the license is held.
display_name (anyOf 2)nullAlternative
license_numberJSONOptional
license_number (anyOf 1)stringAlternativeLicense number of the recipient.
license_number (anyOf 2)nullAlternative
license_stateJSONOptional
license_state (anyOf 1)stringAlternativeState where the recipient is licensed.
license_state (anyOf 2)nullAlternative

Retrieve a list of paginated Sunshine Act expenses — response body — data item recipient source

FieldTypePresenceDescription and constraints
$objectRoot
providerstringRequired within parentData source of the recipient data
Known values: medpro, ramp
recipient_idJSONOptional
recipient_id (anyOf 1)stringAlternativeRecipient ID from the data provider.
recipient_id (anyOf 2)nullAlternative

Retrieve a list of paginated Sunshine Act expenses — response body — data item related products item

FieldTypePresenceDescription and constraints
$objectRoot
areastringRequired within parentTherapeutic area of the related product.
idstringRequired within parentUnique identifier for the related product.
is_coveredbooleanRequired within parentWhether this product is covered by the Sunshine Act.
marketed_namestringRequired within parentMarketed name of the related product.
national_drug_codeJSONOptional
national_drug_code (anyOf 1)stringAlternativeNational Drug Code (NDC) of the related product, if applicable.
national_drug_code (anyOf 2)nullAlternative
primary_device_identifierJSONOptional
primary_device_identifier (anyOf 1)stringAlternativePrimary Device Identifier (PDI) of the related product, if applicable.
primary_device_identifier (anyOf 2)nullAlternative
product_typestringRequired within parentType of the product, as a value 1, 2, 3, or 4, corresponding to drug, device, biological, and medical supply, respectively.
Known values: 1, 2, 3, 4

Retrieve a list of paginated Sunshine Act expenses — response body — data item sales rep

FieldTypePresenceDescription and constraints
$objectRoot
first_namestringRequired within parentFirst name of the sales representative.
idstringRequired within parentIdentifier for the sales representative.
last_namestringRequired within parentLast name of the sales representative.

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.