Skip to main content
Skip table of contents

JSON-schema Checklista med poängvärde

JSON
{
	"$schema": "http://json-schema.org/draft-07/schema#",
	"$id": "http://schemas.infopack.io/100gruppen/rexs.checklist-with-value-points.1.schema.json",
	"title": "checklistWithComplianceValue",
	"description": "A schema representing a checklist, which contains a compliance rule, title, and list of items to check where each item has a compliance value.",
	"type": "object",
	"required": ["complianceRule", "items"],
	"properties": {
		"complianceRule": {
			"description": "The compliance rule for this checklist.",
			"oneOf": [{
					"const": "all"
				},
				{
					"type": "integer",
					"minimum": 1
				}
			]
		},
		"checklistTitle": {
			"description": "The optional title of the checklist.",
			"type": "string",
			"minLength": 1
		},
		"items": {
			"description": "The list of checklist items with their compliance values.",
			"type": "array",
			"items": {
				"type": "object",
				"required": ["itemNumber", "definition", "complianceValue"],
				"properties": {
					"itemNumber": {
						"type": "integer",
						"minimum": 1
					},
					"definition": {
						"description": "The definition of what to comply with.",
						"type": "string",
						"minLength": 1
					},
					"complianceValue": {
						"description": "The value assigned when complying with the definition.",
						"type": "integer",
						"minimum": 0
					}
				}
			}
		}
	},
	"additionalProperties": false
}

Relaterad information

Detaljer om Checklista med poängvärde

JavaScript errors detected

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

If this problem persists, please contact our support.