From 4d69ff390a32c942de1e1d7d6b29b04f0f60b153 Mon Sep 17 00:00:00 2001 From: Jonas Dyrlie Date: Mon, 16 Mar 2026 08:39:32 +0100 Subject: [PATCH] chore: update applicationmetadata schema with resourceregistry fields --- .../application-metadata.schema.v1.json | 94 +++++++++++++++++++ 1 file changed, 94 insertions(+) diff --git a/schemas/json/application/application-metadata.schema.v1.json b/schemas/json/application/application-metadata.schema.v1.json index f337c836c7..ac5aa4efd6 100644 --- a/schemas/json/application/application-metadata.schema.v1.json +++ b/schemas/json/application/application-metadata.schema.v1.json @@ -134,9 +134,103 @@ }, "apiScopes": { "$ref": "#/definitions/apiScopesConfiguration" + }, + "access": { + "$ref": "#/definitions/access" + }, + "contactPoints": { + "$ref": "#/definitions/contactPoints", + "title": "Contact points" + }, + "description": { + "$ref": "#/definitions/translatedText", + "title": "Description" + }, + "keywords": { + "type": "array", + "title": "Keywords", + "items": { + "$ref": "#/definitions/keyword" + } + }, + "homepage": { + "type": "string", + "title": "Homepage" } }, "definitions": { + "keyword": { + "type": "object", + "properties": { + "word": { + "type": "string" + }, + "language": { + "type": "string" + } + } + }, + "access": { + "type": "object", + "properties": { + "rightDescription": { + "$ref": "#/definitions/translatedText" + }, + "visible": { + "type": "boolean", + "title": "Visible" + }, + "delegable": { + "type": "boolean", + "title": "Delegable" + } + } + }, + "contactPoints": { + "type": "array", + "items": { + "type": "object", + "properties": { + "category": { + "type": "string", + "title": "Category" + }, + "email": { + "type": "string", + "title": "Email" + }, + "telephone": { + "type": "string", + "title": "Telephone" + }, + "contactPage": { + "type": "string", + "title": "Contact page" + } + } + } + }, + "translatedText": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "Translated text", + "properties": { + "nb": { + "type": "string", + "title": "Norwegian" + }, + "en": { + "type": "string", + "title": "English" + }, + "nn": { + "type": "string", + "title": "Nynorsk" + } + } + }, "onEntry": { "type": "object", "title": "On entry",