Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- _id: ObjectId("559d2aa32b22eb0f86ebe0ca"),
- revisionId: "559d2aa32b22eb0f86ebe0ca",
- name: "New document template",
- description: null,
- customerId: "5351090b8fe7f4e7b99d6e67",
- userId: "5357699c9d33da5ee72b45ce",
- createdAt: ISODate("2015-07-08T13:50:27.581Z"),
- updatedAt: ISODate("2015-07-09T14:46:45.295Z"),
- version: 4,
- template: [
- {
- _id: null,
- customerId: null,
- description: null,
- name: null,
- label: "Attachment",
- note: null,
- disabled: false,
- templateId: null,
- createdAt: null,
- updatedAt: null,
- origin: null,
- fieldType: "FILE",
- column: 0,
- row: 0,
- sizeX: null,
- sizeY: null,
- validators: [],
- defaultValue: null
- },
- {
- _id: null,
- customerId: null,
- description: null,
- name: null,
- label: "Text",
- note: null,
- disabled: false,
- templateId: null,
- createdAt: null,
- updatedAt: null,
- origin: null,
- fieldType: "TEXT",
- column: 0,
- row: 4,
- sizeX: null,
- sizeY: null,
- validators: [],
- defaultValue: null
- },
- {
- _id: ObjectId("558be906c4acf639d9101bd1"),
- customerId: "5351090b8fe7f4e7b99d6e67",
- description: "Contains user personal informations",
- name: null,
- label: "Personal data",
- note: null,
- disabled: false,
- templateId: "558be906c4acf639d9101bd0",
- createdAt: null,
- updatedAt: null,
- origin: null,
- fieldType: "COMPOSITE",
- column: 0,
- row: 8,
- sizeX: null,
- sizeY: 19,
- validators: [],
- composite: [
- {
- _id: ObjectId("558be906c4acf639d9101bcb"),
- customerId: null,
- description: null,
- name: null,
- label: "Name",
- note: "enter your first name here",
- disabled: false,
- templateId: null,
- createdAt: null,
- updatedAt: null,
- origin: null,
- fieldType: "TEXT",
- column: 0,
- row: 0,
- sizeX: 3,
- sizeY: 4,
- validators: [
- {
- validatorType: "NOT_EMPTY"
- },
- {
- validatorType: "STRING_LENGTH",
- minValue: 1,
- maxValue: null,
- shouldTrim: false
- }
- ],
- defaultValue: "test"
- },
- {
- _id: ObjectId("558be906c4acf639d9101bcc"),
- customerId: null,
- description: null,
- name: null,
- label: "Surname",
- note: null,
- disabled: false,
- templateId: null,
- createdAt: null,
- updatedAt: null,
- origin: null,
- fieldType: "TEXT",
- column: 3,
- row: 0,
- sizeX: 3,
- sizeY: null,
- validators: [
- {
- validatorType: "NOT_EMPTY"
- },
- {
- validatorType: "STRING_LENGTH",
- minValue: 1,
- maxValue: null,
- shouldTrim: false
- }
- ],
- defaultValue: null
- },
- {
- _id: ObjectId("558be906c4acf639d9101bcd"),
- customerId: null,
- description: null,
- name: null,
- label: "Address",
- note: null,
- disabled: false,
- templateId: null,
- createdAt: null,
- updatedAt: null,
- origin: null,
- fieldType: "TEXT",
- column: 0,
- row: 4,
- sizeX: 6,
- sizeY: 4,
- validators: [
- {
- validatorType: "STRING_LENGTH",
- minValue: 1,
- maxValue: null,
- shouldTrim: false
- },
- {
- validatorType: "NOT_EMPTY"
- }
- ],
- defaultValue: null
- },
- {
- _id: ObjectId("558be906c4acf639d9101bce"),
- customerId: null,
- description: null,
- name: null,
- label: "City",
- note: null,
- disabled: false,
- templateId: null,
- createdAt: null,
- updatedAt: null,
- origin: null,
- fieldType: "TEXT",
- column: 3,
- row: 8,
- sizeX: 3,
- sizeY: null,
- validators: [
- {
- validatorType: "STRING_LENGTH",
- minValue: 1,
- maxValue: null,
- shouldTrim: false
- }
- ],
- defaultValue: null
- },
- {
- _id: ObjectId("558be906c4acf639d9101bcf"),
- customerId: null,
- description: null,
- name: null,
- label: "Postal code",
- note: null,
- disabled: false,
- templateId: null,
- createdAt: null,
- updatedAt: null,
- origin: null,
- fieldType: "TEXT",
- column: 0,
- row: 8,
- sizeX: 3,
- sizeY: null,
- validators: [
- {
- validatorType: "STRING_LENGTH",
- minValue: 4,
- maxValue: null,
- shouldTrim: false
- }
- ],
- defaultValue: null
- },
- {
- _id: null,
- customerId: null,
- description: null,
- name: null,
- label: "Select",
- note: null,
- disabled: false,
- templateId: null,
- createdAt: null,
- updatedAt: null,
- origin: null,
- fieldType: "SELECT",
- column: 0,
- row: 12,
- sizeX: 6,
- sizeY: 4,
- validators: [],
- options: [
- "one",
- "two",
- "three"
- ],
- defaultValue: null
- }
- ]
- }
- ],
- versions: [
- {
- author: "admin@neoteric.eu",
- previousVersion: null,
- timestamp: ISODate("2015-07-08T13:50:27.581Z"),
- version: 1
- },
- {
- author: "admin@neoteric.eu",
- previousVersion: 1,
- timestamp: ISODate("2015-07-08T13:50:39.417Z"),
- version: 2
- },
- {
- author: "admin@neoteric.eu",
- previousVersion: 2,
- timestamp: ISODate("2015-07-09T14:40:41.520Z"),
- version: 3
- },
- {
- author: "admin@neoteric.eu",
- previousVersion: 3,
- timestamp: ISODate("2015-07-09T14:46:45.295Z"),
- version: 4
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement