{ "$id": "https://altinncdn.no/schemas/json/component/InstanceInformation.schema.v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "InstanceInformation component", "description": "Schema that describes the layout configuration for a InstanceInformation component.", "type": "object", "properties": { "id": { "$ref": "common-defs.schema.v1.json#/$defs/id" }, "type": { "type": "string", "title": "Type", "description": "The component type.", "const": "InstanceInformation" }, "textResourceBindings": { "type": "object", "title": "Text resource bindings", "description": "Text resource bindings for a component.", "properties": { "title": { "type": "string" } }, "required": [ "title" ], "additionalProperties": true }, "elements": { "title": "Instance information choices", "description": "The properties to include in the instanceInformation summary", "type": "object", "properties": { "dateSent": { "title": "Date sent", "description": "Date when the schema was sent.", "type": "boolean", "default": true }, "sender": { "title": "Schema sender", "description": "The sender of the schema.", "type": "boolean", "default": true }, "receiver": { "title": "Schema receiver", "description": "The receiver of the schema.", "type": "boolean", "default": true }, "referenceNumber": { "title": "Schema reference number", "description": "The reference number of the schema gathered from the instance Guid.", "type": "boolean", "default": true } } }, "renderAsSummary": { "title": "Render as summary", "description": "Boolean or expression indicating if the component should be rendered as a summary. Defaults to false.", "default": false, "$ref": "../layout/expression.schema.v1.json#/definitions/boolean" }, "hidden": { "title": "Hidden", "description": "Boolean value or expression indicating if the component should be hidden. Defaults to false.", "default": false, "$ref": "../layout/expression.schema.v1.json#/definitions/boolean" }, "grid": { "type": "object", "title": "Grid", "description": "Settings for the components grid. Used for controlling horizontal alignment.", "$ref": "common-defs.schema.v1.json#/$defs/gridSettings", "examples": [ { "xs": 12 } ] }, "pageBreak": { "$ref": "common-defs.schema.v1.json#/$defs/pageBreak" } }, "required": [ "id", "type", "elements" ], "additionalProperties": false }