Fix custom cert writes, fix schema

This commit is contained in:
Jamie Curnow
2025-09-15 17:34:00 +10:00
parent 2b88f56d22
commit 68b23938a8
7 changed files with 103 additions and 6 deletions

View File

@@ -0,0 +1,7 @@
{
"type": "array",
"description": "Audit Log list",
"items": {
"$ref": "./audit-log-object.json"
}
}

View File

@@ -1,7 +1,16 @@
{
"type": "object",
"description": "Audit Log object",
"required": ["id", "created_on", "modified_on", "user_id", "object_type", "object_id", "action", "meta"],
"required": [
"id",
"created_on",
"modified_on",
"user_id",
"object_type",
"object_id",
"action",
"meta"
],
"additionalProperties": false,
"properties": {
"id": {
@@ -27,6 +36,9 @@
},
"meta": {
"type": "object"
},
"user": {
"$ref": "./user-object.json"
}
}
}

View File

@@ -31,7 +31,7 @@
},
{
"type": "string",
"format": "ipv4"
"format": "^[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}$"
},
{
"type": "string",