mirror of
				https://github.com/RetroDECK/ES-DE.git
				synced 2025-04-10 19:15:13 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			693 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			693 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
[
 | 
						|
    {
 | 
						|
        "description": "minItems validation",
 | 
						|
        "schema": {"minItems": 1},
 | 
						|
        "tests": [
 | 
						|
            {
 | 
						|
                "description": "longer is valid",
 | 
						|
                "data": [1, 2],
 | 
						|
                "valid": true
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "description": "exact length is valid",
 | 
						|
                "data": [1],
 | 
						|
                "valid": true
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "description": "too short is invalid",
 | 
						|
                "data": [],
 | 
						|
                "valid": false
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "description": "ignores non-arrays",
 | 
						|
                "data": "",
 | 
						|
                "valid": true
 | 
						|
            }
 | 
						|
        ]
 | 
						|
    }
 | 
						|
]
 |