PayPal · Schema
File Reference
The file reference. Can be a file in PayPal MediaServ, PayPal DMS, or another custom store.
BillingCommerceDisputesInvoicesOrdersPaymentsPayoutsSubscriptionsTokensWebhooks
Properties
| Name | Type | Description |
|---|---|---|
| id | string | The ID of the referenced file. |
| reference_url | string | The reference URL for the file. |
| content_type | string | The [Internet Assigned Numbers Authority (IANA) media type of the file](https://www.iana.org/assignments/media-types/media-types.xhtml). |
| create_time | object | The date and time when the file was created, in [Internet date and time format](https://tools.ietf.org/html/rfc3339#section-5.6). |
| size | string | The size of the file, in bytes. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/file_reference",
"title": "File Reference",
"type": "object",
"description": "The file reference. Can be a file in PayPal MediaServ, PayPal DMS, or another custom store.",
"properties": {
"id": {
"type": "string",
"description": "The ID of the referenced file.",
"minLength": 1,
"maxLength": 255
},
"reference_url": {
"type": "string",
"description": "The reference URL for the file.",
"format": "uri",
"minLength": 1,
"maxLength": 2000
},
"content_type": {
"type": "string",
"description": "The [Internet Assigned Numbers Authority (IANA) media type of the file](https://www.iana.org/assignments/media-types/media-types.xhtml)."
},
"create_time": {
"$ref": "#/components/schemas/date_time",
"description": "The date and time when the file was created, in [Internet date and time format](https://tools.ietf.org/html/rfc3339#section-5.6)."
},
"size": {
"type": "string",
"description": "The size of the file, in bytes.",
"pattern": "^[0-9]+$"
}
}
}