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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
data | array | Required within parent | Resources returned in this page. |
data[] | Model | Each item | Expand Retrieve a list of paginated Sunshine Act expenses — response body — data item |
page | Model | Required within parent | Expand 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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
code | string | Required within parent | CMS code representing the spend form. Known values: 1, 2, 3, 4, 5, 6 |
display_name | string | Required within parent | English 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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
code | string | Required within parent | CMS 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_name | string | Required within parent | English description of the spend nature. |
Retrieve a list of paginated Sunshine Act expenses — response body — data item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
card_acceptor | JSON | Optional | |
card_acceptor (anyOf 1) | Model | Alternative | Expand 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) | null | Alternative | |
client_employees | JSON | Required within parent | |
client_employees (anyOf 1) | integer | Alternative | Number of client employees involved. |
client_employees (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
comments | JSON | Optional | |
comments (anyOf 1) | string | Alternative | Additional comments about the expense. |
comments (anyOf 2) | null | Alternative | |
contextual_information | JSON | Optional | |
contextual_information (anyOf 1) | string | Alternative | Contextual information about the expense. |
contextual_information (anyOf 2) | null | Alternative | |
destination | JSON | Optional | |
destination (anyOf 1) | Model | Alternative | Expand Retrieve a list of paginated Sunshine Act expenses — response body — data item destination city, country, state Destination information for the expense. |
destination (anyOf 2) | null | Alternative | |
non_us_currency_code | JSON | Optional | |
non_us_currency_code (anyOf 1) | string | Alternative | Currency code for non-US expenses. |
non_us_currency_code (anyOf 2) | null | Alternative | |
non_us_total_cost | JSON | Optional | |
non_us_total_cost (anyOf 1) | string | Alternative | Total cost in non-US currency. Format: decimal |
non_us_total_cost (anyOf 2) | null | Alternative | |
recipient | Model | Required within parent | Expand Retrieve a list of paginated Sunshine Act expenses — response body — data item recipient Recipient information for the expense. |
related_products | array | Required within parent | List of related products for this expense. |
related_products[] | Model | Each item | Expand Retrieve a list of paginated Sunshine Act expenses — response body — data item related products item |
sales_rep | Model | Required within parent | Expand Retrieve a list of paginated Sunshine Act expenses — response body — data item sales rep Sales representative information. |
spend_date | string | Required within parent | Date of the expense. Format: date-time |
spend_entry_date | string | Required within parent | Date when the expense was entered. Format: date-time |
spend_form | JSON | Optional | |
spend_form (anyOf 1) | Model | Alternative | Expand 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) | null | Alternative | |
spend_id | string | Required within parent | Unique identifier for the expense. |
spend_link | string | Required within parent | URL to the expense details page. |
spend_nature | JSON | Optional | |
spend_nature (anyOf 1) | Model | Alternative | Expand 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) | null | Alternative | |
spend_owner_email | string | Required within parent | Email address of the expense owner. |
spend_type | string | Required within parent | Type of the underlying expense. Either 'transaction' or 'reimbursement'. Known values: reimbursement, transaction |
total_cost | string | Required within parent | Total cost of the expense. Format: decimal |
total_recipients | JSON | Required within parent | |
total_recipients (anyOf 1) | integer | Alternative | Total number of recipients for this expense. |
total_recipients (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
updated_at | string | Required within parent | Most recent update to the expense's attendee or coding data. Format: date-time |
vendor | JSON | Optional | |
vendor (anyOf 1) | string | Alternative | Vendor name relating to the expense. |
vendor (anyOf 2) | null | Alternative |
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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
city | JSON | Optional | |
city (anyOf 1) | string | Alternative | City of the card acceptor. |
city (anyOf 2) | null | Alternative | |
country_code | JSON | Optional | |
country_code (anyOf 1) | string | Alternative | Country code of the card acceptor. |
country_code (anyOf 2) | null | Alternative | |
name | JSON | Optional | |
name (anyOf 1) | string | Alternative | Name of the card acceptor/merchant. |
name (anyOf 2) | null | Alternative | |
postal_code | JSON | Optional | |
postal_code (anyOf 1) | string | Alternative | Postal code of the card acceptor. |
postal_code (anyOf 2) | null | Alternative | |
state | JSON | Optional | |
state (anyOf 1) | string | Alternative | State of the card acceptor. |
state (anyOf 2) | null | Alternative |
Retrieve a list of paginated Sunshine Act expenses — response body — data item destination city, country, state
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
city | JSON | Optional | |
city (anyOf 1) | string | Alternative | City of the travel destination corresponding to the expense, if any. |
city (anyOf 2) | null | Alternative | |
country | JSON | Optional | |
country (anyOf 1) | string | Alternative | Country of the travel destination corresponding to the expense, if any. |
country (anyOf 2) | null | Alternative | |
state | JSON | Optional | |
state (anyOf 1) | string | Alternative | State of the travel destination corresponding to the expense, if any. |
state (anyOf 2) | null | Alternative |
Retrieve a list of paginated Sunshine Act expenses — response body — data item recipient
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
address | JSON | Required within parent | |
address (anyOf 1) | Model | Alternative | Expand 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) | null | Alternative | |
credentials | JSON | Optional | |
credentials (anyOf 1) | string | Alternative | Professional credentials of the recipient. |
credentials (anyOf 2) | null | Alternative | |
first_name | JSON | Optional | |
first_name (anyOf 1) | string | Alternative | First name of the recipient. |
first_name (anyOf 2) | null | Alternative | |
id | JSON | Optional | |
id (anyOf 1) | string | Alternative | Unique identifier for the recipient, nullable for external attendees. |
id (anyOf 2) | null | Alternative | |
last_name | JSON | Optional | |
last_name (anyOf 1) | string | Alternative | Last name of the recipient. |
last_name (anyOf 2) | null | Alternative | |
license | JSON | Optional | |
license (anyOf 1) | Model | Alternative | Expand 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) | null | Alternative | |
middle_name | JSON | Optional | |
middle_name (anyOf 1) | string | Alternative | Middle name of the recipient. |
middle_name (anyOf 2) | null | Alternative | |
npi | JSON | Optional | |
npi (anyOf 1) | string | Alternative | Recipient's National Provider Identifier (NPI) number. |
npi (anyOf 2) | null | Alternative | |
source | Model | Required within parent | Expand 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. |
subtype | JSON | Optional | |
subtype (anyOf 1) | string | Alternative | The display name of the attendee type for external attendees. Null for employees and healthcare providers. |
subtype (anyOf 2) | null | Alternative | |
suffix | JSON | Optional | |
suffix (anyOf 1) | string | Alternative | Suffix of the recipient's name. |
suffix (anyOf 2) | null | Alternative | |
title | JSON | Optional | |
title (anyOf 1) | string | Alternative | Professional title of the recipient. |
title (anyOf 2) | null | Alternative | |
type | string | Required within parent | Recipient'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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
city | JSON | Optional | |
city (anyOf 1) | string | Alternative | City. |
city (anyOf 2) | null | Alternative | |
country_code | JSON | Optional | |
country_code (anyOf 1) | string | Alternative | Country code. |
country_code (anyOf 2) | null | Alternative | |
fax | JSON | Optional | |
fax (anyOf 1) | string | Alternative | Fax number. |
fax (anyOf 2) | null | Alternative | |
first_line | JSON | Optional | |
first_line (anyOf 1) | string | Alternative | First line of the address. |
first_line (anyOf 2) | null | Alternative | |
postal_code | JSON | Optional | |
postal_code (anyOf 1) | string | Alternative | Postal code. |
postal_code (anyOf 2) | null | Alternative | |
second_line | JSON | Optional | |
second_line (anyOf 1) | string | Alternative | Second line of the address. |
second_line (anyOf 2) | null | Alternative | |
state | JSON | Optional | |
state (anyOf 1) | string | Alternative | State. |
state (anyOf 2) | null | Alternative | |
telephone | JSON | Optional | |
telephone (anyOf 1) | string | Alternative | Telephone number. |
telephone (anyOf 2) | null | Alternative |
Retrieve a list of paginated Sunshine Act expenses — response body — data item recipient license code, display name, license number, license state
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
code | JSON | Optional | |
code (anyOf 1) | string | Alternative | Taxonomy code. |
code (anyOf 2) | null | Alternative | |
display_name | JSON | Optional | |
display_name (anyOf 1) | string | Alternative | Name of the field in which the license is held. |
display_name (anyOf 2) | null | Alternative | |
license_number | JSON | Optional | |
license_number (anyOf 1) | string | Alternative | License number of the recipient. |
license_number (anyOf 2) | null | Alternative | |
license_state | JSON | Optional | |
license_state (anyOf 1) | string | Alternative | State where the recipient is licensed. |
license_state (anyOf 2) | null | Alternative |
Retrieve a list of paginated Sunshine Act expenses — response body — data item recipient source
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
provider | string | Required within parent | Data source of the recipient data Known values: medpro, ramp |
recipient_id | JSON | Optional | |
recipient_id (anyOf 1) | string | Alternative | Recipient ID from the data provider. |
recipient_id (anyOf 2) | null | Alternative |
Retrieve a list of paginated Sunshine Act expenses — response body — data item related products item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
area | string | Required within parent | Therapeutic area of the related product. |
id | string | Required within parent | Unique identifier for the related product. |
is_covered | boolean | Required within parent | Whether this product is covered by the Sunshine Act. |
marketed_name | string | Required within parent | Marketed name of the related product. |
national_drug_code | JSON | Optional | |
national_drug_code (anyOf 1) | string | Alternative | National Drug Code (NDC) of the related product, if applicable. |
national_drug_code (anyOf 2) | null | Alternative | |
primary_device_identifier | JSON | Optional | |
primary_device_identifier (anyOf 1) | string | Alternative | Primary Device Identifier (PDI) of the related product, if applicable. |
primary_device_identifier (anyOf 2) | null | Alternative | |
product_type | string | Required within parent | Type 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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
first_name | string | Required within parent | First name of the sales representative. |
id | string | Required within parent | Identifier for the sales representative. |
last_name | string | Required within parent | Last name of the sales representative. |