-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathveeva-vault-document-structure.json
More file actions
110 lines (110 loc) · 3.05 KB
/
veeva-vault-document-structure.json
File metadata and controls
110 lines (110 loc) · 3.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/veeva/refs/heads/main/json-structure/veeva-vault-document-structure.json",
"name": "Veeva Vault Document",
"description": "A document record in the Veeva Vault platform \u2014 a controlled document with lifecycle, version, and audit trail",
"type": "object",
"properties": {
"id": {
"type": "int32",
"description": "Unique Vault document ID"
},
"name__v": {
"type": "string",
"description": "Document name (required)"
},
"type__v": {
"type": "string",
"description": "Document type API name (e.g., study_protocol__c)"
},
"subtype__v": {
"type": "string",
"description": "Document subtype API name"
},
"classification__v": {
"type": "string",
"description": "Document classification API name"
},
"lifecycle__v": {
"type": "string",
"description": "Document lifecycle API name (controls allowed states and actions)"
},
"status__v": {
"type": "string",
"description": "Current lifecycle state API name"
},
"document_number__v": {
"type": "string",
"description": "Auto-generated document number"
},
"major_version_number__v": {
"type": "int32",
"minimum": 0,
"description": "Major version number (increments on approval)"
},
"minor_version_number__v": {
"type": "int32",
"minimum": 0,
"description": "Minor version number (increments on draft revisions)"
},
"created_by__v": {
"type": "int32",
"description": "User ID of document creator"
},
"last_modified_by__v": {
"type": "int32",
"description": "User ID of last modifier"
},
"created_date__v": {
"type": "datetime",
"description": "Document creation timestamp"
},
"last_modified_date__v": {
"type": "datetime",
"description": "Last modification timestamp"
},
"description__v": {
"type": "string",
"description": "Document description"
},
"size__v": {
"type": "int32",
"minimum": 0,
"description": "Source file size in bytes"
},
"format__v": {
"type": "string",
"description": "MIME type of source file (e.g., application/pdf)"
},
"external_id__v": {
"type": "string",
"description": "External system identifier for integration"
},
"owner__v": {
"type": "int32",
"description": "User ID of document owner"
},
"approver__v": {
"type": "int32",
"description": "User ID of document approver"
},
"effective_date__v": {
"type": "date",
"description": "Date document becomes effective (approved state)"
},
"expiration_date__v": {
"type": "date",
"description": "Document expiration date"
}
},
"required": [
"id",
"name__v",
"type__v",
"lifecycle__v",
"status__v"
],
"additionalProperties": {
"description": "Custom field values (API names ending in __c)"
}
}