{
  "openapi": "3.0.0",
  "info": {
    "title": "ms-templates",
    "version": "0.0.1",
    "description": "AdaloveDevelop",
    "contact": {
      "name": "Luis Marin",
      "email": "tsuluismarin@gmail.com"
    }
  },
  "paths": {
    "/api/v1/cache/clean": {
      "post": {
        "x-controller-name": "CacheController",
        "x-operation-name": "cleanCache",
        "tags": [
          "CacheController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Clean cache"
                }
              }
            }
          }
        },
        "operationId": "CacheController.cleanCache"
      }
    },
    "/api/v1/categories/{id}": {
      "patch": {
        "x-controller-name": "CategoriesController",
        "x-operation-name": "updateById",
        "tags": [
          "CategoriesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Categories PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CategoryPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CategoriesController.updateById"
      },
      "get": {
        "x-controller-name": "CategoriesController",
        "x-operation-name": "findById",
        "tags": [
          "CategoriesController"
        ],
        "responses": {
          "200": {
            "description": "Categories model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CategoryWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/categories.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CategoriesController.findById"
      }
    },
    "/api/v1/categories": {
      "post": {
        "x-controller-name": "CategoriesController",
        "x-operation-name": "create",
        "tags": [
          "CategoriesController"
        ],
        "responses": {
          "200": {
            "description": "Categories model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Category"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCategories"
              }
            }
          }
        },
        "operationId": "CategoriesController.create"
      },
      "get": {
        "x-controller-name": "CategoriesController",
        "x-operation-name": "find",
        "tags": [
          "CategoriesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Categories model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CategoryWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/categories.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "CategoriesController.find"
      }
    },
    "/api/v1/channels/filter": {
      "post": {
        "x-controller-name": "ChannelsController",
        "x-operation-name": "getChannelsFilter",
        "tags": [
          "ChannelsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Channel model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Channel"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "pageSize": {
                    "type": "number"
                  },
                  "pageNumber": {
                    "type": "number"
                  },
                  "orderBy": {
                    "type": "string"
                  },
                  "order": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "object"
                  },
                  "where": {
                    "type": "object"
                  }
                }
              }
            }
          },
          "description": "Filter for search whit where",
          "required": false
        },
        "operationId": "ChannelsController.getChannelsFilter"
      }
    },
    "/api/v1/channels": {
      "get": {
        "x-controller-name": "ChannelsController",
        "x-operation-name": "getChannels",
        "tags": [
          "ChannelsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Channel model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Channel"
                }
              }
            }
          }
        },
        "operationId": "ChannelsController.getChannels"
      }
    },
    "/api/v1/languages/{id}": {
      "patch": {
        "x-controller-name": "LanguagesController",
        "x-operation-name": "updateById",
        "tags": [
          "LanguagesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Language PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LanguagePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LanguagesController.updateById"
      },
      "get": {
        "x-controller-name": "LanguagesController",
        "x-operation-name": "findById",
        "tags": [
          "LanguagesController"
        ],
        "responses": {
          "200": {
            "description": "Language model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LanguageWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/language.Filter"
                }
              }
            }
          }
        ],
        "operationId": "LanguagesController.findById"
      }
    },
    "/api/v1/languages": {
      "post": {
        "x-controller-name": "LanguagesController",
        "x-operation-name": "create",
        "tags": [
          "LanguagesController"
        ],
        "responses": {
          "200": {
            "description": "Language model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Language"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLanguage"
              }
            }
          }
        },
        "operationId": "LanguagesController.create"
      },
      "get": {
        "x-controller-name": "LanguagesController",
        "x-operation-name": "find",
        "tags": [
          "LanguagesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Language model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LanguageWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/language.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "LanguagesController.find"
      }
    },
    "/api/v1/templates/channel/{id}": {
      "get": {
        "x-controller-name": "TemplatesController",
        "x-operation-name": "findByChannelId",
        "tags": [
          "TemplatesController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Templates model instance"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TemplatesController.findByChannelId"
      }
    },
    "/api/v1/templates/enable/{id}": {
      "post": {
        "x-controller-name": "TemplatesController",
        "x-operation-name": "enableById",
        "tags": [
          "TemplatesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Templates Enable/Disable success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TemplatesController.enableById"
      }
    },
    "/api/v1/templates/filter": {
      "post": {
        "x-controller-name": "TemplatesController",
        "x-operation-name": "findByLanguage",
        "tags": [
          "TemplatesController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Array of Templates model instances"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "pageSize": {
                    "type": "number",
                    "minimum": 1,
                    "default": 10
                  },
                  "pageNumber": {
                    "type": "number",
                    "minimum": 1,
                    "default": 1
                  },
                  "orderBy": {
                    "type": "string"
                  },
                  "order": {
                    "enum": [
                      "desc",
                      "asc"
                    ],
                    "type": "string"
                  },
                  "fields": {
                    "type": "object",
                    "required": [],
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "channelId": {
                        "type": "number"
                      },
                      "language": {
                        "type": "string"
                      },
                      "enable": {
                        "type": "boolean"
                      }
                    }
                  }
                }
              }
            }
          },
          "description": "Filter for Menu Item",
          "required": true
        },
        "operationId": "TemplatesController.findByLanguage"
      }
    },
    "/api/v1/templates/many/channel/{id}": {
      "get": {
        "x-controller-name": "TemplatesController",
        "x-operation-name": "findManyByChannelId",
        "tags": [
          "TemplatesController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Templates model instance"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TemplatesController.findManyByChannelId"
      }
    },
    "/api/v1/templates/{name}/channels/{channelId}/verify": {
      "get": {
        "x-controller-name": "TemplatesController",
        "x-operation-name": "verifyChannelsActives",
        "tags": [
          "TemplatesController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Array of Templates model instances"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "channelId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TemplatesController.verifyChannelsActives"
      }
    },
    "/api/v1/templates/{id}": {
      "patch": {
        "x-controller-name": "TemplatesController",
        "x-operation-name": "updateById",
        "tags": [
          "TemplatesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Templates PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TemplatesPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TemplatesController.updateById"
      },
      "get": {
        "x-controller-name": "TemplatesController",
        "x-operation-name": "findById",
        "tags": [
          "TemplatesController"
        ],
        "responses": {
          "200": {
            "description": "Templates model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TemplatesWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/templates.Filter"
                }
              }
            }
          }
        ],
        "operationId": "TemplatesController.findById"
      }
    },
    "/api/v1/templates": {
      "post": {
        "x-controller-name": "TemplatesController",
        "x-operation-name": "create",
        "tags": [
          "TemplatesController"
        ],
        "responses": {
          "200": {
            "description": "Templates model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Templates"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTemplates"
              }
            }
          }
        },
        "operationId": "TemplatesController.create"
      },
      "get": {
        "x-controller-name": "TemplatesController",
        "x-operation-name": "find",
        "tags": [
          "TemplatesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Templates model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TemplatesWithRelations"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "pageSize",
                  "pageNumber"
                ],
                "properties": {
                  "pageSize": {
                    "type": "number",
                    "minimum": 1
                  },
                  "pageNumber": {
                    "type": "number",
                    "minimum": 1
                  },
                  "orderBy": {
                    "type": "string"
                  },
                  "order": {
                    "enum": [
                      "desc",
                      "asc"
                    ],
                    "type": "string"
                  }
                }
              }
            }
          },
          "description": "Filter for Menu Item",
          "required": true
        },
        "operationId": "TemplatesController.find"
      }
    },
    "/ping": {
      "get": {
        "x-controller-name": "PingController",
        "x-operation-name": "ping",
        "tags": [
          "PingController"
        ],
        "responses": {
          "200": {
            "description": "Ping Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PingResponse"
                }
              }
            }
          }
        },
        "operationId": "PingController.ping"
      }
    }
  },
  "servers": [
    {
      "url": "https://mstemplates.cashea-qa.adacx.ai"
    }
  ],
  "components": {
    "schemas": {
      "Category": {
        "title": "Category",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "name",
          "description"
        ],
        "additionalProperties": false
      },
      "NewCategories": {
        "title": "NewCategories",
        "type": "object",
        "description": "(tsType: Omit<Category, 'id'>, schemaOptions: { title: 'NewCategories', exclude: [ 'id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "name",
          "description"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Category, 'id'>"
      },
      "CategoryWithRelations": {
        "title": "CategoryWithRelations",
        "type": "object",
        "description": "(tsType: CategoryWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "name",
          "description"
        ],
        "additionalProperties": false,
        "x-typescript-type": "CategoryWithRelations"
      },
      "CategoryPartial": {
        "title": "CategoryPartial",
        "type": "object",
        "description": "(tsType: Partial<Category>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Category>"
      },
      "Channel": {
        "title": "Channel",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "channel": {
            "type": "string"
          },
          "hostname": {
            "type": "string"
          },
          "index": {
            "type": "number",
            "nullable": true
          },
          "externalName": {
            "type": "string",
            "nullable": true
          },
          "servicePort": {
            "type": "number",
            "nullable": true
          },
          "image": {
            "type": "string",
            "nullable": true
          }
        },
        "required": [
          "channel",
          "hostname"
        ],
        "additionalProperties": false
      },
      "Language": {
        "title": "Language",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "code": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "favorite": {
            "type": "boolean"
          }
        },
        "required": [
          "code",
          "description"
        ],
        "additionalProperties": false
      },
      "NewLanguage": {
        "title": "NewLanguage",
        "type": "object",
        "description": "(tsType: Omit<Language, 'id'>, schemaOptions: { title: 'NewLanguage', exclude: [ 'id' ] })",
        "properties": {
          "code": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "favorite": {
            "type": "boolean"
          }
        },
        "required": [
          "code",
          "description"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Language, 'id'>"
      },
      "LanguageWithRelations": {
        "title": "LanguageWithRelations",
        "type": "object",
        "description": "(tsType: LanguageWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "code": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "favorite": {
            "type": "boolean"
          }
        },
        "required": [
          "code",
          "description"
        ],
        "additionalProperties": false,
        "x-typescript-type": "LanguageWithRelations"
      },
      "LanguagePartial": {
        "title": "LanguagePartial",
        "type": "object",
        "description": "(tsType: Partial<Language>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "code": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "favorite": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Language>"
      },
      "Templates": {
        "title": "Templates",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "categoryId": {
            "type": "number"
          },
          "languageId": {
            "type": "number"
          },
          "description": {
            "type": "string"
          },
          "mediaType": {
            "type": "string",
            "enum": [
              "image",
              "video",
              "document"
            ]
          },
          "enable": {
            "type": "boolean"
          },
          "channelId": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "name",
          "categoryId",
          "languageId",
          "description",
          "channelId"
        ],
        "additionalProperties": false
      },
      "NewTemplates": {
        "title": "NewTemplates",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Templates, 'id' | 'created' | 'updated'>, 'mediaType'>, schemaOptions: { title: 'NewTemplates', exclude: [ 'id', 'created', 'updated' ], optional: [ 'mediaType' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "categoryId": {
            "type": "number"
          },
          "languageId": {
            "type": "number"
          },
          "description": {
            "type": "string"
          },
          "mediaType": {
            "type": "string",
            "enum": [
              "image",
              "video",
              "document"
            ]
          },
          "enable": {
            "type": "boolean"
          },
          "channelId": {
            "type": "number"
          }
        },
        "required": [
          "name",
          "categoryId",
          "languageId",
          "description",
          "channelId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Templates, 'id' | 'created' | 'updated'>, 'mediaType'>"
      },
      "TemplatesWithRelations": {
        "title": "TemplatesWithRelations",
        "type": "object",
        "description": "(tsType: TemplatesWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "categoryId": {
            "type": "number"
          },
          "languageId": {
            "type": "number"
          },
          "description": {
            "type": "string"
          },
          "mediaType": {
            "type": "string",
            "enum": [
              "image",
              "video",
              "document"
            ]
          },
          "enable": {
            "type": "boolean"
          },
          "channelId": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "name",
          "categoryId",
          "languageId",
          "description",
          "channelId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "TemplatesWithRelations"
      },
      "TemplatesPartial": {
        "title": "TemplatesPartial",
        "type": "object",
        "description": "(tsType: Partial<Templates>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "categoryId": {
            "type": "number"
          },
          "languageId": {
            "type": "number"
          },
          "description": {
            "type": "string"
          },
          "mediaType": {
            "type": "string",
            "enum": [
              "image",
              "video",
              "document"
            ]
          },
          "enable": {
            "type": "boolean"
          },
          "channelId": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Templates>"
      },
      "categories.Filter": {
        "type": "object",
        "title": "categories.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "description",
                    "created",
                    "updated"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "categories.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Category>"
      },
      "categories.Filter1": {
        "type": "object",
        "title": "categories.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "categories.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "description",
                    "created",
                    "updated"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "categories.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Category>"
      },
      "language.Filter": {
        "type": "object",
        "title": "language.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "code": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "favorite": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "code",
                    "description",
                    "favorite"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "language.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Language>"
      },
      "language.Filter1": {
        "type": "object",
        "title": "language.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "language.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "code": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "favorite": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "code",
                    "description",
                    "favorite"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "language.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Language>"
      },
      "templates.Filter": {
        "type": "object",
        "title": "templates.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "categoryId": {
                    "type": "boolean"
                  },
                  "languageId": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "mediaType": {
                    "type": "boolean"
                  },
                  "enable": {
                    "type": "boolean"
                  },
                  "channelId": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "categoryId",
                    "languageId",
                    "description",
                    "mediaType",
                    "enable",
                    "channelId",
                    "created",
                    "updated"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "templates.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Templates>"
      },
      "PingResponse": {
        "type": "object",
        "title": "PingResponse",
        "properties": {
          "greeting": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "headers": {
            "type": "object",
            "properties": {
              "Content-Type": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        }
      }
    }
  }
}