Skip to main content
Skip table of contents

JSON-schema Metod

JSON
{
	"$schema": "http://json-schema.org/draft-07/schema#",
	"$id": "http://schemas.infopack.io/100gruppen/rexs.method.1.schema.json",
	"title": "Method",
	"description": "A schema representing three alternative types of method objects, depending on the value of methodType.",
	"type": "object",
	"required": [
		"metadata",
		"methodType"
	],
	"properties": {
		"metadata": {
			"description": "A reference to another schema that contains metadata about the method.",
			"$ref": "http://schemas.infopack.io/100gruppen/rexs.metadata.1.schema.json"
		},
		"methodType": {
			"description": "The type of the method.",
			"type": "string",
			"enum": [
				"control method",
				"verification method",
				"validation method"
			]
		}
	},
	"dependencies": {
		"methodType": {
			"oneOf": [{
					"properties": {
						"methodType": {
							"const": "control method"
						},
						"controlMethod": {
							"description": "A reference to another schema that describes a control method.",
							"$ref": "http://schemas.infopack.io/100gruppen/rexs.control-method.1.schema.json"
						}
					}
				},
				{
					"properties": {
						"methodType": {
							"const": "verification method"
						},
						"verificationMethod": {
							"description": "A reference to another schema that describes a verification method.",
							"$ref": "http://schemas.infopack.io/100gruppen/rexs.verification-method.1.schema.json"
						}
					}
				},
				{
					"properties": {
						"methodType": {
							"const": "validation method"
						},
						"validationMethod": {
							"description": "A reference to another schema that describes a validation method.",
							"$ref": "http://schemas.infopack.io/100gruppen/rexs.validation-method.1.schema.json"
						}
					}
				}
			]
		}
	},
	"additionalProperties": false
}

Relaterad information

Detaljer om Metod

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.