All Downloads are FREE. Search and download functionalities are using the official Maven repository.

iglu-client-embedded.schemas.com.snowplowanalytics.iglu.resolver-config.jsonschema.1-0-0 Maven / Gradle / Ivy

The newest version!
{
	"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#",
	"description": "Schema for an Iglu resolver's configuration",
	"self": {
		"vendor": "com.snowplowanalytics.iglu",
		"name": "resolver-config",
		"format": "jsonschema",
		"version": "1-0-0"
	},
	
	"type": "object",

	"properties": {

		"cacheSize": {
			"type": "number"
		},

		"repositories": {
			"type": "array",
			"items": {
				"type": "object",

				"properties": {

					"name": {
						"type": "string"
					},

					"priority": {
						"type": "number"
					},

					"vendorPrefixes": {
						"type": "array",
						"items": {
							"type": "string"
						}
					},

					"connection": {
						"type": "object",
						"oneOf": [
							{
								"properties": {
									"embedded": {
										"type": "object",
										"properties": {
											"path": {
												"type": "string"
											}
										},
										"required": ["path"],
										"additionalProperties": false
									}
								},
								"required": ["embedded"],
								"additionalProperties": false
							},
							{
								"properties": {
									"http": {
										"type": "object",
										"properties": {
											"uri": {
												"type": "string",
												"format": "uri"
											}
										},
										"required": ["uri"],
										"additionalProperties": false
									}
								},
								"required": ["http"],
								"additionalProperties": false
							}
						]
					}
				},
				"required": ["name", "priority", "vendorPrefixes", "connection"],
				"additionalProperties": false
			}
		}

	},

	"required": ["cacheSize", "repositories"],
	"additionalProperties": false
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy