You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					18 lines
				
				278 B
			
		
		
			
		
	
	
					18 lines
				
				278 B
			| 
								 
											3 years ago
										 
									 | 
							
								// Standard YAML's Failsafe schema.
							 | 
						||
| 
								 | 
							
								// http://www.yaml.org/spec/1.2/spec.html#id2802346
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								'use strict';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								var Schema = require('../schema');
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								module.exports = new Schema({
							 | 
						||
| 
								 | 
							
								  explicit: [
							 | 
						||
| 
								 | 
							
								    require('../type/str'),
							 | 
						||
| 
								 | 
							
								    require('../type/seq'),
							 | 
						||
| 
								 | 
							
								    require('../type/map')
							 | 
						||
| 
								 | 
							
								  ]
							 | 
						||
| 
								 | 
							
								});
							 |