mirror of
				https://github.com/hyperion-project/hyperion.ng.git
				synced 2025-03-01 10:33:28 +00:00 
			
		
		
		
	* Led Matrix Layout (#669) * fix: ledConfig object missing Co-authored-by: brindosch <edeltraud70@gmx.de>
		
			
				
	
	
		
			123 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			123 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
| 	"type" : "object",
 | |
| 	"properties" :
 | |
| 	{
 | |
| 		"classic" :
 | |
| 		{
 | |
| 			"type":"object",
 | |
| 			"required" : true,
 | |
| 			"properties":
 | |
| 			{
 | |
| 				"top" :
 | |
| 				{
 | |
| 					"type" : "integer",
 | |
| 					"minimum" : 0,
 | |
| 					"default" : 8
 | |
| 				},
 | |
| 				"bottom" :
 | |
| 				{
 | |
| 					"type" : "integer",
 | |
| 					"minimum" : 0,
 | |
| 					"default" : 8
 | |
| 				},
 | |
| 				"left" :
 | |
| 				{
 | |
| 					"type" : "integer",
 | |
| 					"minimum" : 0,
 | |
| 					"default" : 5
 | |
| 				},
 | |
| 				"right" :
 | |
| 				{
 | |
| 					"type" : "integer",
 | |
| 					"minimum" : 0,
 | |
| 					"default" : 5
 | |
| 				},
 | |
| 				"glength" :
 | |
| 				{
 | |
| 					"type" : "integer",
 | |
| 					"minimum" : 0,
 | |
| 					"default" : 0
 | |
| 				},
 | |
| 				"gpos" :
 | |
| 				{
 | |
| 					"type" : "integer",
 | |
| 					"minimum" : 0,
 | |
| 					"default" : 0
 | |
| 				},
 | |
| 				"position" :
 | |
| 				{
 | |
| 					"type" : "integer",
 | |
| 					"default" : 0
 | |
| 				},
 | |
| 				"reverse" :
 | |
| 				{
 | |
| 					"type" : "boolean",
 | |
| 					"default" : false
 | |
| 				},
 | |
| 				"hdepth" :
 | |
| 				{
 | |
| 					"type" : "integer",
 | |
| 					"minimum" : 1,
 | |
| 					"maximum" : 100,
 | |
| 					"default" : 8
 | |
| 				},
 | |
| 				"vdepth" :
 | |
| 				{
 | |
| 					"type" : "integer",
 | |
| 					"minimum" : 1,
 | |
| 					"maximum" : 100,
 | |
| 					"default" : 5
 | |
| 				},
 | |
| 				"overlap" :
 | |
| 				{
 | |
| 					"type" : "integer",
 | |
| 					"minimum" : 0,
 | |
| 					"default" : 0
 | |
| 				},
 | |
| 				"edgegap" :
 | |
| 				{
 | |
| 					"type" : "integer",
 | |
| 					"minimum" : 0,
 | |
| 					"maximum" : 50,
 | |
| 					"default" : 0
 | |
| 				}
 | |
| 			},
 | |
| 			"additionalProperties" : false
 | |
| 		},
 | |
| 		"matrix" :
 | |
| 		{
 | |
| 			"type":"object",
 | |
| 			"required" : true,
 | |
| 			"properties":
 | |
| 			{
 | |
| 				"ledshoriz" :
 | |
| 				{
 | |
| 					"type" : "integer",
 | |
| 					"minimum" : 0,
 | |
| 					"maximum" : 50,
 | |
| 					"default" : 0
 | |
| 				},
 | |
| 				"ledsvert" :
 | |
| 				{
 | |
| 					"type" : "integer",
 | |
| 					"minimum" : 0,
 | |
| 					"maximum" : 50,
 | |
| 					"default" : 0
 | |
| 				},
 | |
| 				"cabling" :
 | |
| 					{
 | |
| 					"type": "string",
 | |
| 					"enum" : ["snake", "parallel"]
 | |
| 					},
 | |
| 				"start" :
 | |
| 					{
 | |
| 					"type": "string",
 | |
| 					"enum" : ["top-left", "top-right", "bottom-left", "bottom-right"]
 | |
| 					}
 | |
| 			},
 | |
| 			"additionalProperties" : false
 | |
| 		}
 | |
| 	},
 | |
| 	"additionalProperties" : true
 | |
| }
 |