{
  "x-generator": "NSwag v14.2.0.0 (NJsonSchema v11.1.0.0 (Newtonsoft.Json v13.0.0.0))",
  "openapi": "3.0.0",
  "info": {
    "title": "Filo Online Resource Api",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://resource.digilera.com"
    }
  ],
  "paths": {
    "/api/Localization/{language}": {
      "get": {
        "tags": [
          "Localization"
        ],
        "operationId": "Localization_Get",
        "parameters": [
          {
            "name": "language",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Localization/GetByKey": {
      "get": {
        "tags": [
          "Localization"
        ],
        "operationId": "Localization_GetByKey",
        "parameters": [
          {
            "name": "key",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LanguageResourceItemDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Localization/GetGroupedByKeyList": {
      "post": {
        "tags": [
          "Localization"
        ],
        "operationId": "Localization_GetGroupedByKeyList",
        "requestBody": {
          "x-name": "paginationRequest",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QueryBuilderRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueryBuilderResponseOfLanguageResourceGroupDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Localization/GetList": {
      "post": {
        "tags": [
          "Localization"
        ],
        "operationId": "Localization_GetList",
        "requestBody": {
          "x-name": "paginationRequest",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QueryBuilderRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueryBuilderResponseOfLanguageResourceDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/Localization/GetByLanguageKey": {
      "get": {
        "tags": [
          "Localization"
        ],
        "operationId": "Localization_GetByLanguageKey",
        "parameters": [
          {
            "name": "key",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "x-position": 1
          },
          {
            "name": "language",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "LanguageResourceItemDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "language": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        }
      },
      "QueryBuilderResponseOfLanguageResourceGroupDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "offset": {
            "type": "integer",
            "format": "int32"
          },
          "size": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/LanguageResourceGroupDto"
            }
          }
        }
      },
      "LanguageResourceGroupDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "key": {
            "type": "string"
          },
          "trValue": {
            "type": "string"
          },
          "enValue": {
            "type": "string"
          }
        }
      },
      "QueryBuilderRequest": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "paging"
        ],
        "properties": {
          "paging": {
            "$ref": "#/components/schemas/Paging"
          },
          "sort": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Sort"
              }
            ]
          },
          "filters": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Filter"
              }
            ]
          },
          "forExcelExport": {
            "type": "boolean",
            "nullable": true
          },
          "customFilter": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CustomFilter"
              }
            ]
          }
        }
      },
      "Paging": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "offset",
          "count"
        ],
        "properties": {
          "offset": {
            "type": "integer",
            "format": "int32",
            "default": 0
          },
          "count": {
            "type": "integer",
            "format": "int32",
            "default": 10
          }
        }
      },
      "Sort": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "key": {
            "type": "string"
          },
          "order": {
            "type": "string"
          }
        }
      },
      "Filter": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "expression": {
            "type": "string",
            "nullable": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FilterItem"
            }
          }
        }
      },
      "FilterItem": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "key": {
            "type": "string"
          },
          "operator": {
            "type": "string"
          },
          "value": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "CustomFilter": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "key": {
            "type": "string"
          }
        }
      },
      "QueryBuilderResponseOfLanguageResourceDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "offset": {
            "type": "integer",
            "format": "int32"
          },
          "size": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/LanguageResourceDto"
            }
          }
        }
      },
      "LanguageResourceDto": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseDto"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "languageResourceID": {
                "type": "integer",
                "format": "int32"
              },
              "languageID": {
                "type": "integer",
                "format": "int32"
              },
              "key": {
                "type": "string"
              },
              "value": {
                "type": "string"
              }
            }
          }
        ]
      },
      "BaseDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "dateCreated": {
            "type": "string",
            "format": "date-time"
          },
          "dateModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      }
    }
  }
}