{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/ServiceBody3", "title": "ServiceBody3", "required": [ "message", "data" ], "type": "object", "properties": { "message": { "type": "string", "description": "Service message." }, "data": { "type": "array", "items": { "$ref": "#/components/schemas/Data9" }, "description": "Service data." } }, "example": { "message": "Notes saved successfully", "data": [ { "type": "ERROR", "note": "The package takes time to be shipped", "author": "Oscar Rojas" }, { "type": "COMMENT", "note": "The package was picked up", "author": "Oscar Rojas" } ] } }