Box · Schema
Terms of service
The root-level record that is supposed to represent a single Terms of Service.
Cloud StorageCollaborationContent ManagementDocumentsEnterpriseFile Sharing
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/TermsOfService",
"title": "Terms of service",
"type": "object",
"x-box-resource-id": "terms_of_service",
"x-box-variant": "standard",
"description": "The root-level record that is supposed to represent a\nsingle Terms of Service.",
"allOf": [
{
"$ref": "#/components/schemas/TermsOfService--Base"
},
{
"properties": {
"status": {
"description": "Whether these terms are enabled or not",
"type": "string",
"example": "enabled",
"enum": [
"enabled",
"disabled"
]
},
"enterprise": {
"allOf": [
{
"title": "Enterprise",
"type": "object",
"description": "A representation of a Box enterprise",
"properties": {
"id": {
"type": "string",
"description": "The unique identifier for this enterprise.",
"example": "11446498"
},
"type": {
"type": "string",
"description": "`enterprise`",
"example": "enterprise",
"enum": [
"enterprise"
]
},
"name": {
"description": "The name of the enterprise",
"example": "Acme Inc.",
"type": "string"
}
}
},
{
"description": "The enterprise these terms apply to"
}
]
},
"tos_type": {
"description": "Whether to apply these terms to managed users or external users",
"type": "string",
"example": "managed",
"enum": [
"managed",
"external"
]
},
"text": {
"description": "The text for your terms and conditions. This text could be\nempty if the `status` is set to `disabled`.",
"type": "string",
"example": "By using this service, you agree to ..."
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "When the legal item was created",
"example": "2012-12-12T10:53:43-08:00"
},
"modified_at": {
"type": "string",
"format": "date-time",
"description": "When the legal item was modified.",
"example": "2012-12-12T10:53:43-08:00"
}
}
}
]
}