[DOCS-7131] Comment on: "manual/core/document-validation.txt" Created: 10/Feb/16  Updated: 04/Jan/23  Resolved: 12/Oct/18

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Docs Collector User (Inactive) Assignee: Isabella Siu (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: https://docs.mongodb.org/manual/core/document-validation/
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.103 Safari/537.36
Referrer: https://docs.mongodb.org/manual/security/
Screen Resolution: 1680 x 1050
repo: docs
source: core/document-validation


Participants:
Days since reply: 5 years, 17 weeks, 5 days ago
Story Points: 0.25

 Description   

Add an example of using document validation with embedded documents.

For example, a user might want to validate that a document looks like the following:

{
   "_id": "125876",
   "name": "Anne",
   "phone": "+1 555 123 456",
   "address": {
      "city": "London",
      "street": "SW1A 0AA"
   },
   "status": "Complete"
}



 Comments   
Comment by Githook User [ 12/Oct/18 ]

Author:

{'name': 'Isabella Siu', 'email': 'isabellasiu@Isabellas-MacBook.local'}

Message: DOCS-7131 add embedded document example of document validation
Branch: v3.6
https://github.com/mongodb/docs/commit/cb862d0003b95ce5b1c23651d6ce8a093346eb57

Comment by Githook User [ 12/Oct/18 ]

Author:

{'name': 'Isabella Siu', 'email': 'isabellasiu@Isabellas-MacBook.local'}

Message: DOCS-7131 add embedded document example of document validation
Branch: v4.0
https://github.com/mongodb/docs/commit/2bf85d0230b63d5f0d499e92df42e27d1c99a326

Comment by Githook User [ 12/Oct/18 ]

Author:

{'name': 'Isabella Siu', 'email': 'isabellasiu@Isabellas-MacBook.local'}

Message: DOCS-7131 add embedded document example of document validation
Branch: master
https://github.com/mongodb/docs/commit/17d331daa6b1a024adc4be18d8b1e1fbb6129de0

Generated at Thu Feb 08 07:53:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.