{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/cloudflare-kv/json-schema/workers-kv_api-response-common.json",
  "title": "Api Response Common",
  "properties": {
    "errors": {
      "$ref": "#/components/schemas/workers-kv_messages"
    },
    "messages": {
      "$ref": "#/components/schemas/workers-kv_messages"
    },
    "success": {
      "description": "Whether the API call was successful.",
      "enum": [
        true
      ],
      "example": true,
      "type": "boolean"
    }
  },
  "required": [
    "success",
    "errors",
    "messages"
  ],
  "type": "object"
}