fix Odmdb search + schema/articles misformated json

This commit is contained in:
2025-03-29 11:52:12 +01:00
parent 38587df7e9
commit ae9d7fd127
2 changed files with 141 additions and 134 deletions

View File

@@ -85,140 +85,143 @@
"minimum": 0,
"maximum": 4
}
},
"articlevalue": {
"type": "float",
"minimum": 0,
"maximum": 4
},
"followupdate": {
"type": "array",
"items": {
"title": "alias",
"type": "string"
}
},
"comments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"comments": {
"type": "string",
"maxLength": 250
},
"dt_create": {
"title": "Creation date",
"type": "string",
"format": "date-time"
},
"alias": {
"type": "string"
},
"commenthash": {
"type": "string"
},
"answerto": {
"type": "integer",
"title": "position of the comments of this response comment"
}
}
}
},
"publiccontent": {
"type": "string"
},
"privatecontent": {
}
},
"articlevalue": {
"type": "float",
"minimum": 0,
"maximum": 4
},
"followupdate": {
"type": "array",
"items": {
"title": "alias",
"type": "string"
}
},
"required": [
"articleid",
"owner",
"title",
"description"
],
"additionalProperties": true,
"apxref": [],
"apxid": "articleid",
"apxuniquekey": [
"articleid"
],
"apxidx": [
{
"name": "lst_articleid",
"type": "array",
"keyval": "articleid"
},
{
"name": "lst_author",
"type": "array",
"keyval": "author"
},
{
"name": "articleid",
"type": "view",
"keyval": "articleid",
"objkey": [
"articleid",
"title",
"description",
"imgseo",
"url",
"author",
"dt_create",
"dt_update",
"dt_publish",
"manualkeywords",
"autokeywords"
],
"filter": ""
},
{
"name": "author_articleid",
"type": "distribution",
"keyval": "author",
"filter": ""
},
{
"name": "manualkeywords_articleid",
"type": "distribution",
"keyval": "manualkeywords",
"filter": ""
}
],
"apxaccessrights": {
"owner": {
"C": [],
"D": [],
"R": [],
"U": [
"title",
"description",
"imgseo",
"url",
"author",
"dt_publish",
"manualkeywords",
"publiccontent",
"privatecontent"
]
},
"persons": {
"R": [
"articleid",
"title",
"description",
"imgseo",
"url",
"author",
"dt_publish",
"manualkeywords",
"publiccontent",
"comments",
"articlevalue"
]
"comments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"comments": {
"type": "string",
"maxLength": 250
},
"dt_create": {
"title": "Creation date",
"type": "string",
"format": "date-time"
},
"alias": {
"type": "string"
},
"commenthash": {
"type": "string"
},
"answerto": {
"type": "integer",
"title": "position of the comments of this response comment"
}
}
}
},
"publiccontent": {
"type": "string"
},
"privatecontent": {
"type": "string"
}
},
"required": [
"articleid",
"owner",
"title",
"description"
],
"additionalProperties": true,
"apxref": [],
"apxid": "articleid",
"apxuniquekey": [
"articleid"
],
"apxidx": [
{
"name": "lst_articleid",
"type": "array",
"keyval": "articleid"
},
{
"name": "lst_author",
"type": "array",
"keyval": "author"
},
{
"name": "articleid",
"type": "view",
"keyval": "articleid",
"objkey": [
"articleid",
"title",
"description",
"imgseo",
"url",
"author",
"dt_create",
"dt_update",
"dt_publish",
"manualkeywords",
"autokeywords"
],
"filter": ""
},
{
"name": "author_articleid",
"type": "distribution",
"keyval": "author",
"filter": ""
},
{
"name": "manualkeywords_articleid",
"type": "distribution",
"keyval": "manualkeywords",
"filter": ""
}
],
"apxaccessrights": {
"owner": {
"C": [],
"D": [],
"R": [],
"U": [
"title",
"description",
"imgseo",
"url",
"author",
"dt_publish",
"manualkeywords",
"publiccontent",
"privatecontent"
]
},
"anonymous": {
"R": [
"articleid",
"title",
"description",
"imgseo",
"url",
"author",
"dt_publish",
"manualkeywords",
"autokeywords",
"articleevaluations",
"publiccontent",
"privatecontent",
"comments",
"articlevalue"
]
}
}
}