diff --git a/.schema/config.schema.json b/.schema/config.schema.json index a8d2b7b50..db483ffe6 100644 --- a/.schema/config.schema.json +++ b/.schema/config.schema.json @@ -4,13 +4,16 @@ "title": "ORY Keto Configuration", "type": "object", "definitions": { + "$schema": { + "type": "string", + "format": "uri-reference", + "description": "Add this to allow defining the schema, useful for IDE integration" + }, "namespace": { "type": "object", "properties": { "$schema": { - "type": "string", - "format": "uri-reference", - "description": "Add this to allow defining the schema, useful for IDE integration" + "$ref": "#/definitions/$schema" }, "name": { "type": "string", @@ -170,6 +173,9 @@ "required": ["dsn"], "additionalProperties": false, "properties": { + "$schema": { + "$ref": "#/definitions/$schema" + }, "dsn": { "title": "Data Source Name", "type": "string", @@ -267,6 +273,34 @@ "$ref": "#/definitions/tlsx" } } + }, + "opl": { + "type": "object", + "title": "Ory Permission Language Syntax API (http and gRPC)", + "additionalProperties": false, + "properties": { + "port": { + "type": "integer", + "default": 4469, + "title": "Port", + "description": "The port to listen on.", + "minimum": 0, + "maximum": 65535 + }, + "host": { + "type": "string", + "default": "", + "examples": ["localhost", "127.0.0.1"], + "title": "Host", + "description": "The network interface to listen on." + }, + "cors": { + "$ref": "#/definitions/cors" + }, + "tls": { + "$ref": "#/definitions/tlsx" + } + } } } }, @@ -277,10 +311,10 @@ "enum": ["cpu", "mem", ""] }, "log": { - "$ref": "https://raw.githubusercontent.com/ory/x/v0.0.473/logrusx/config.schema.json" + "$ref": "https://raw.githubusercontent.com/ory/x/v0.0.496/logrusx/config.schema.json" }, "tracing": { - "$ref": "https://raw.githubusercontent.com/ory/x/v0.0.473/tracing/config.schema.json" + "$ref": "https://raw.githubusercontent.com/ory/x/v0.0.496/tracing/config.schema.json" }, "namespaces": { "description": "Namespace configuration or it's location.", diff --git a/embedx/config.schema.json b/embedx/config.schema.json index e957e4a85..005afd051 100644 --- a/embedx/config.schema.json +++ b/embedx/config.schema.json @@ -4,13 +4,16 @@ "title": "ORY Keto Configuration", "type": "object", "definitions": { + "$schema": { + "type": "string", + "format": "uri-reference", + "description": "Add this to allow defining the schema, useful for IDE integration" + }, "namespace": { "type": "object", "properties": { "$schema": { - "type": "string", - "format": "uri-reference", - "description": "Add this to allow defining the schema, useful for IDE integration" + "$ref": "#/definitions/$schema" }, "name": { "type": "string", @@ -170,6 +173,9 @@ "required": ["dsn"], "additionalProperties": false, "properties": { + "$schema": { + "$ref": "#/definitions/$schema" + }, "dsn": { "title": "Data Source Name", "type": "string",