github.com/miguelangel-nubla/oauth2commander@v0.3.7/schema.json (about) 1 { 2 "$schema": "http://json-schema.org/draft-07/schema#", 3 "type": "object", 4 "required": ["clientID", "clientSecret", "oidcIssuer", "callbackURL", "endpoints"], 5 "properties": { 6 "clientID": { "type": "string" }, 7 "clientSecret": { "type": "string" }, 8 "oidcIssuer": { "type": "string" }, 9 "callbackURL": { "type": "string" }, 10 "listenAddr": { 11 "type": "string", 12 "default": ":8080" 13 }, 14 "tlsCert": { 15 "type": "string" 16 }, 17 "tlsKey": { 18 "type": "string" 19 }, 20 "endpoints": { 21 "type": "array", 22 "items": { 23 "type": "object", 24 "required": ["path", "command", "htmlFile"], 25 "properties": { 26 "path": { "type": "string" }, 27 "protected": { "type": "boolean" }, 28 "requiredGroups": { 29 "type": "array", 30 "items": { "type": "string" } 31 }, 32 "command": { 33 "type": "array", 34 "items": { "type": "string" } 35 }, 36 "binaryOutput": { "type": "boolean" }, 37 "htmlFile": { "type": "string" } 38 } 39 } 40 } 41 } 42 }