From 44adf2f4b9c2ec1d1d2edf4e3c5e7ed0156e8157 Mon Sep 17 00:00:00 2001 From: Alex Ioannidis Date: Mon, 19 Feb 2024 14:56:31 +0100 Subject: [PATCH] mappings: add parent.children --- .../mappings/os-v1/communities/communities-v1.0.0.json | 8 ++++++++ .../mappings/os-v2/communities/communities-v1.0.0.json | 8 ++++++++ .../mappings/v7/communities/communities-v1.0.0.json | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/invenio_communities/communities/records/mappings/os-v1/communities/communities-v1.0.0.json b/invenio_communities/communities/records/mappings/os-v1/communities/communities-v1.0.0.json index 8c5934ffe..4c14893e3 100644 --- a/invenio_communities/communities/records/mappings/os-v1/communities/communities-v1.0.0.json +++ b/invenio_communities/communities/records/mappings/os-v1/communities/communities-v1.0.0.json @@ -421,6 +421,14 @@ "enabled": false } } + }, + "children": { + "type": "object", + "properties": { + "allow": { + "type": "boolean" + } + } } } } diff --git a/invenio_communities/communities/records/mappings/os-v2/communities/communities-v1.0.0.json b/invenio_communities/communities/records/mappings/os-v2/communities/communities-v1.0.0.json index 58492a7f2..36d039b21 100644 --- a/invenio_communities/communities/records/mappings/os-v2/communities/communities-v1.0.0.json +++ b/invenio_communities/communities/records/mappings/os-v2/communities/communities-v1.0.0.json @@ -436,6 +436,14 @@ "enabled": false } } + }, + "children": { + "type": "object", + "properties": { + "allow": { + "type": "boolean" + } + } } } } diff --git a/invenio_communities/communities/records/mappings/v7/communities/communities-v1.0.0.json b/invenio_communities/communities/records/mappings/v7/communities/communities-v1.0.0.json index 8c5934ffe..4c14893e3 100644 --- a/invenio_communities/communities/records/mappings/v7/communities/communities-v1.0.0.json +++ b/invenio_communities/communities/records/mappings/v7/communities/communities-v1.0.0.json @@ -421,6 +421,14 @@ "enabled": false } } + }, + "children": { + "type": "object", + "properties": { + "allow": { + "type": "boolean" + } + } } } }