2.0info:   1.3.0   grain_classification  description: Classificação de Grãos  x-senior-domain: Agro  x-senior-domain-path: agro  x-senior-service-path: grain_classification  contact:    name: Senior X Platform    url: https://dev.senior.com.br    email: seniorx-dev@senior.com.brhost: platform.senior.com.br /t/senior.com.br/bridge/1.0/rest/agrosecurityDefinitions:   APIKeyHeader:     type: apiKey     in: header     name: Authorizationsecurity:  – APIKeyHeader: []  – application/json  – application/jsonpaths:  /grain_classification/queries/healthcheck:    post:      description: Health Check      tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object      responses:        200:          description: Ok          schema:            type: object            required:              – status              – checks            properties:              status:                type: string                allOf:                –  #/definitions/upDown                description: Status geral do serviço              checks:                type: object                allOf:                 –  #/definitions/checkData                description: Verificações para assegurar o status        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Health Check      tags:        – Queries      x-senior-visibility: PRIVATE      parameters:      responses:        200:          description: Ok          schema:            type: object            required:              – status              – checks            properties:              status:                type: string                allOf:                –  #/definitions/upDown                description: Status geral do serviço              checks:                type: object                allOf:                 –  #/definitions/checkData                description: Verificações para assegurar o status        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/searchProductClassification:    post:      description: Filtragem sobre os dados de classificação de produto      tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – filter            properties:              filter:                type: object                allOf:                 –  #/definitions/searchProductClassificationFilters                description: Parâmetros de filtragem              pageRequest:                type: object                allOf:                 –  #/definitions/recPageRequest                description: Paginação              sort:                type: object                allOf:                 –  #/definitions/orderByRequest                description: Ordenação      responses:        200:          description: Ok          schema:            type: object            required:              – contents              – totalElements              – totalPages            properties:              contents:                type: array                items:                  type: object                  allOf:                   –  #/definitions/searchProductClassificationFiltersReturn                  minimum: 1                description: Registros encontrados              totalElements:                type: integer                format: int64                description: Total de registros encontrados              totalPages:                type: integer                format: int64                description: Total de paginas encontradas        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/searchCargoDiscountValue:    post:      description: Busca o valor de desconto da carga baseado no laudo de classification      tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – filter            properties:              filter:                type: object                allOf:                 –  #/definitions/searchCargoDiscountValueFilters                description: Parâmetros de filtragem      responses:        200:          description: Ok          schema:            type: object            required:              – discountValueSummary            properties:              discountValueSummary:                type: object                allOf:                 –  #/definitions/searchCargoDiscountValueSummary                description: Peso calculado com acréscimos/descontos        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/getClassificationRangeValues:    post:      description: Filtragem sobre os dados de faixa de classificação      tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – classificationRangeId              – productId              – measuredValue            properties:              classificationRangeId:                type: string                description: ID da Faixa de Classificação              productId:                type: string                description: Id do produto              measuredValue:                type: number                format: double                description: Valor medido/apurado                minimum: 0      responses:        200:          description: Ok          schema:            type: object            required:              – discountValue            properties:              discountValue:                type: number                format: double                description: Valor de desconto (%)              increaseProductId:                type: string                description: Acréscimo financeiro ID              typeIncrease:                type: string                allOf:                –  #/definitions/typeIncrease                description: Tipo do acrescimo              increaseValue:                type: number                format: double                description: Valor de acréscimo        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Filtragem sobre os dados de faixa de classificação      tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: classificationRangeId          description: ID da Faixa de Classificação          in: query          required: true          type: string        – name: productId          description: Id do produto          in: query          required: true          type: string        – name: measuredValue          description: Valor medido/apurado          in: query          required: true          type: number          format: double      responses:        200:          description: Ok          schema:            type: object            required:              – discountValue            properties:              discountValue:                type: number                format: double                description: Valor de desconto (%)              increaseProductId:                type: string                description: Acréscimo financeiro ID              typeIncrease:                type: string                allOf:                –  #/definitions/typeIncrease                description: Tipo do acrescimo              increaseValue:                type: number                format: double                description: Valor de acréscimo        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/searchClassification:    post:      description: Filtragem sobre os dados de classificação      tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – producerId              – productId            properties:              producerId:                type: string                description: Produtor              productId:                type: string                description: Produto      responses:        200:          description: Ok          schema:            type: object            required:              – contents            properties:              contents:                type: array                items:                  type: object                  allOf:                   –  #/definitions/searchClassificationReturn                  minimum: 1                description: Registros encontrados        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Filtragem sobre os dados de classificação      tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: producerId          description: Produtor          in: query          required: true          type: string        – name: productId          description: Produto          in: query          required: true          type: string      responses:        200:          description: Ok          schema:            type: object            required:              – contents            properties:              contents:                type: array                items:                  type: object                  allOf:                   –  #/definitions/searchClassificationReturn                  minimum: 1                description: Registros encontrados        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/searchProcessClassificationItemActive:    post:      description: Filtragem sobre os dados de classificação que estão ativos      tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – producerId              – productId            properties:              producerId:                type: string                description: Produtor              productId:                type: string                description: Produto      responses:        200:          description: Ok          schema:            type: object            required:              – contents            properties:              contents:                type: array                items:                  type: object                  allOf:                   –  #/definitions/searchClassificationReturn                  minimum: 1                description: Registros encontrados        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Filtragem sobre os dados de classificação que estão ativos      tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: producerId          description: Produtor          in: query          required: true          type: string        – name: productId          description: Produto          in: query          required: true          type: string      responses:        200:          description: Ok          schema:            type: object            required:              – contents            properties:              contents:                type: array                items:                  type: object                  allOf:                   –  #/definitions/searchClassificationReturn                  minimum: 1                description: Registros encontrados        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/searchClassificationDetails:    post:      description: Busca pelo ID se o produto x item de classificação tem classificação sendo usada      tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – productClassificationItemId            properties:              productClassificationItemId:                type: string                description: ID do produto x item de classificação      responses:        200:          description: Ok          schema:            type: object            required:              – found            properties:              found:                type: string                description: Se foi encontrado ou não        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Busca pelo ID se o produto x item de classificação tem classificação sendo usada      tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: productClassificationItemId          description: ID do produto x item de classificação          in: query          required: true          type: string      responses:        200:          description: Ok          schema:            type: object            required:              – found            properties:              found:                type: string                description: Se foi encontrado ou não        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/getMetadata:    post:      description: Default getMetadata query. Every service must handle this command and return metadata in the format requested.      tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            properties:              metadataFormat:                type: string                description:       responses:        200:          description: Ok          schema:            type: object            required:              – metadata            properties:              metadata:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Default getMetadata query. Every service must handle this command and return metadata in the format requested.      tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: metadataFormat          description:           in: query          type: string      responses:        200:          description: Ok          schema:            type: object            required:              – metadata            properties:              metadata:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/exportProducerGroup:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/exportE001pes:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/exportE095pes:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/exportE070emp:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/exportE075der:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/exportE012fam:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/exportProductClassificationItem:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/exportClassificationItem:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/exportClassificationRange:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/exportClassificationRangeValues:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/exportProductClassItemClassRange:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/exportClassification:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/exportClassificationDetail:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/exportHolder:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/exportVariety:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/exportProductVariety:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/exportIncrease:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/exportIncreaseProduct:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/queries/getDependencies:    post:      description: Returns a list with all dependencies from this service, along with their respective versions      tags:        – Queries      x-senior-visibility: PRIVATE      responses:        200:          description: Ok          schema:            type: object            required:              – dependencies            properties:              dependencies:                type: array                items:                  type: object                  allOf:                   –  #/definitions/dependency                  minimum: 1                description: List with this service dependencies        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Returns a list with all dependencies from this service, along with their respective versions      tags:        – Queries      x-senior-visibility: PRIVATE      responses:        200:          description: Ok          schema:            type: object            required:              – dependencies            properties:              dependencies:                type: array                items:                  type: object                  allOf:                   –  #/definitions/dependency                  minimum: 1                description: List with this service dependencies        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError  /grain_classification/actions/validateTableCode:    post:      description: Valida se o código da tabela no cadastro já está em uso      tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – code              – company            properties:              code:                type: integer                format: int64                description: Código recebido              company:                type: string                description: Id de empresa recebido      responses:        200:          description: Ok          schema:            type: object            required:              – inUse            properties:              inUse:                type: boolean                description: Disponibilidade / True se estiver sendo usado, false se não estiver        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/actions/printClassificationReport:    post:      description: Imprimir relatório de laudo      tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – classificationId            properties:              classificationId:                type: string                description: Id do controle de entrada      responses:        200:          description: Ok          schema:            type: object        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/actions/migrateSchemaReport:    post:      description: Executa a migração de base para o serviço no tenant repassado      tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – tenantName            properties:              tenantName:                type: string                description: Nome do tenant que deverá ter a base migrada      responses:        200:          description: Ok          schema:            type: object            required:              – success            properties:              success:                type: boolean                description: Retorno de sucesso ou falha para a migração da base        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/actions/updateClassificationBPM:    post:      description: Atualiza a classificação de uma pesagem via BPM      tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – classificationId            properties:              classificationId:                type: string                description: Id da classificação              productVariety:                type: string                description: Variedade              varietyTest:                type: string                allOf:                –  #/definitions/varietyTest                description: Teste da Variedade      responses:        200:          description: Ok          schema:            type: object        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/actions/odata:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      responses:        204:          description: No response        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/actions/importProducerGroup:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/actions/importE001pes:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/actions/importE095pes:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/actions/importE070emp:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/actions/importE075der:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/actions/importE012fam:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/actions/importProductClassificationItem:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/actions/importClassificationItem:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/actions/importClassificationRange:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/actions/importClassificationRangeValues:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/actions/importProductClassItemClassRange:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/actions/importClassification:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/actions/importClassificationDetail:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/actions/importHolder:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/actions/importVariety:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/actions/importProductVariety:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/actions/importIncrease:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/actions/importIncreaseProduct:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError  /grain_classification/events/importProducerGroupEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/exportProducerGroupEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/importE001pesEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/exportE001pesEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/importE095pesEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/exportE095pesEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/importE070empEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/exportE070empEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/importE075derEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/exportE075derEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/importE012famEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/exportE012famEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/importProductClassificationItemEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/exportProductClassificationItemEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/importClassificationItemEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/exportClassificationItemEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/importClassificationRangeEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/exportClassificationRangeEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/importClassificationRangeValuesEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/exportClassificationRangeValuesEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/importProductClassItemClassRangeEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/exportProductClassItemClassRangeEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/importClassificationEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/exportClassificationEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/importClassificationDetailEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/exportClassificationDetailEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/importHolderEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/exportHolderEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/importVarietyEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/exportVarietyEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/importProductVarietyEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/exportProductVarietyEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/importIncreaseEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/exportIncreaseEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/importIncreaseProductEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/events/exportIncreaseProductEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError  /grain_classification/entities/producerGroup:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/producerGroup        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/producerGroup/{id}:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/producerGroup        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError        /grain_classification/entities/e001pes:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/e001pes        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/e001pes/{id}:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/e001pes        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError        /grain_classification/entities/e095pes:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/e095pes        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/e095pes/{id}:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/e095pes        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError        /grain_classification/entities/e070emp:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/e070emp        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/e070emp/{id}:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/e070emp        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError        /grain_classification/entities/e075der:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/e075der        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/e075der/{id}:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/e075der        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError        /grain_classification/entities/e012fam:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/e012fam        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/e012fam/{id}:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/e012fam        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError        /grain_classification/entities/productClassificationItem:    post:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/productClassificationItem      responses:        200:          description: The created resource          schema:             #/definitions/productClassificationItem        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/productClassificationItem      responses:        200:          description: The created resource          schema:             #/definitions/productClassificationItem        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/productClassificationItem        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/productClassificationItem/{id}:    put:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/editProductClassificationItem      responses:        200:          description: Ok          schema:             #/definitions/editProductClassificationItem        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/productClassificationItem      responses:        200:          description: Ok          schema:             #/definitions/productClassificationItem        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/productClassificationItem        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    delete:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError        /grain_classification/entities/productClassificationItem/bulk:    post:      description: Esta entidade pode ser customizada.      tags:        – Bulk      parameters:        – name: entities          in: body          required: true          schema:            type: array            items:               #/definitions/productClassificationItem      responses:        200:          description: The bulk creation has created resources        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError  /grain_classification/entities/classificationItem:    post:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/classificationItem      responses:        200:          description: The created resource          schema:             #/definitions/classificationItem        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/classificationItem      responses:        200:          description: The created resource          schema:             #/definitions/classificationItem        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/classificationItem        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/classificationItem/{id}:    put:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/editClassificationItem      responses:        200:          description: Ok          schema:             #/definitions/editClassificationItem        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/classificationItem      responses:        200:          description: Ok          schema:             #/definitions/classificationItem        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/classificationItem        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    delete:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError        /grain_classification/entities/classificationItem/bulk:    post:      description: Esta entidade pode ser customizada.      tags:        – Bulk      parameters:        – name: entities          in: body          required: true          schema:            type: array            items:               #/definitions/classificationItem      responses:        200:          description: The bulk creation has created resources        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError  /grain_classification/entities/classificationRange:    post:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/classificationRange      responses:        200:          description: The created resource          schema:             #/definitions/classificationRange        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/classificationRange      responses:        200:          description: The created resource          schema:             #/definitions/classificationRange        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/classificationRange        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/classificationRange/{id}:    put:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/editClassificationRange      responses:        200:          description: Ok          schema:             #/definitions/editClassificationRange        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/classificationRange      responses:        200:          description: Ok          schema:             #/definitions/classificationRange        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/classificationRange        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    delete:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError        /grain_classification/entities/classificationRange/bulk:    post:      description: Esta entidade pode ser customizada.      tags:        – Bulk      parameters:        – name: entities          in: body          required: true          schema:            type: array            items:               #/definitions/classificationRange      responses:        200:          description: The bulk creation has created resources        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError  /grain_classification/entities/classificationRangeValues:    post:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/classificationRangeValues      responses:        200:          description: The created resource          schema:             #/definitions/classificationRangeValues        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/classificationRangeValues      responses:        200:          description: The created resource          schema:             #/definitions/classificationRangeValues        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/classificationRangeValues        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/classificationRangeValues/{id}:    put:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/editClassificationRangeValues      responses:        200:          description: Ok          schema:             #/definitions/editClassificationRangeValues        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/classificationRangeValues      responses:        200:          description: Ok          schema:             #/definitions/classificationRangeValues        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/classificationRangeValues        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    delete:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/classificationRange/{parentId}/classificationRangeValues:    post:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:            type: array            items:               #/definitions/classificationRangeValues      responses:        200:          description: The created resources          schema:            type: array            items:               #/definitions/classificationRangeValues        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:            type: array            items:               #/definitions/classificationRangeValues      responses:        200:          description: The created resources          schema:            type: array            items:               #/definitions/classificationRangeValues        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/classificationRangeValues        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/classificationRange/{parentId}/classificationRangeValues/{id}:    put:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/editClassificationRangeValues      responses:        200:          description: Ok          schema:             #/definitions/editClassificationRangeValues        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/classificationRangeValues      responses:        200:          description: Ok          schema:             #/definitions/classificationRangeValues        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/classificationRangeValues        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    delete:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/classificationRangeValues/bulk:    post:      description: Esta entidade pode ser customizada.      tags:        – Bulk      parameters:        – name: entities          in: body          required: true          schema:            type: array            items:               #/definitions/classificationRangeValues      responses:        200:          description: The bulk creation has created resources        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError  /grain_classification/entities/productClassItemClassRange:    post:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/productClassItemClassRange      responses:        200:          description: The created resource          schema:             #/definitions/productClassItemClassRange        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/productClassItemClassRange      responses:        200:          description: The created resource          schema:             #/definitions/productClassItemClassRange        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/productClassItemClassRange        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/productClassItemClassRange/{id}:    put:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/editProductClassItemClassRange      responses:        200:          description: Ok          schema:             #/definitions/editProductClassItemClassRange        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/productClassItemClassRange      responses:        200:          description: Ok          schema:             #/definitions/productClassItemClassRange        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/productClassItemClassRange        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    delete:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError        /grain_classification/entities/productClassItemClassRange/bulk:    post:      description: Esta entidade pode ser customizada.      tags:        – Bulk      parameters:        – name: entities          in: body          required: true          schema:            type: array            items:               #/definitions/productClassItemClassRange      responses:        200:          description: The bulk creation has created resources        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError  /grain_classification/entities/classification:    post:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/classification      responses:        200:          description: The created resource          schema:             #/definitions/classification        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/classification      responses:        200:          description: The created resource          schema:             #/definitions/classification        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/classification        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/classification/{id}:    put:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/editClassification      responses:        200:          description: Ok          schema:             #/definitions/editClassification        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/classification      responses:        200:          description: Ok          schema:             #/definitions/classification        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/classification        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    delete:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError        /grain_classification/entities/classification/bulk:    post:      description: Esta entidade pode ser customizada.      tags:        – Bulk      parameters:        – name: entities          in: body          required: true          schema:            type: array            items:               #/definitions/classification      responses:        200:          description: The bulk creation has created resources        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError  /grain_classification/entities/classificationDetail:    post:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/classificationDetail      responses:        200:          description: The created resource          schema:             #/definitions/classificationDetail        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/classificationDetail      responses:        200:          description: The created resource          schema:             #/definitions/classificationDetail        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/classificationDetail        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/classificationDetail/{id}:    put:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/editClassificationDetail      responses:        200:          description: Ok          schema:             #/definitions/editClassificationDetail        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/classificationDetail      responses:        200:          description: Ok          schema:             #/definitions/classificationDetail        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/classificationDetail        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    delete:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/classification/{parentId}/details:    post:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:            type: array            items:               #/definitions/classificationDetail      responses:        200:          description: The created resources          schema:            type: array            items:               #/definitions/classificationDetail        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:            type: array            items:               #/definitions/classificationDetail      responses:        200:          description: The created resources          schema:            type: array            items:               #/definitions/classificationDetail        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/classificationDetail        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/classification/{parentId}/details/{id}:    put:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/editClassificationDetail      responses:        200:          description: Ok          schema:             #/definitions/editClassificationDetail        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/classificationDetail      responses:        200:          description: Ok          schema:             #/definitions/classificationDetail        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/classificationDetail        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    delete:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/classificationDetail/bulk:    post:      description: Esta entidade pode ser customizada.      tags:        – Bulk      parameters:        – name: entities          in: body          required: true          schema:            type: array            items:               #/definitions/classificationDetail      responses:        200:          description: The bulk creation has created resources        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError  /grain_classification/entities/holder:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/holder        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/holder/{id}:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/holder        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError        /grain_classification/entities/variety:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/variety        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/variety/{id}:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/variety        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError        /grain_classification/entities/productVariety:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/productVariety        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/productVariety/{id}:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/productVariety        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError        /grain_classification/entities/increase:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/increase        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/increase/{id}:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/increase        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError        /grain_classification/entities/increaseProduct:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/increaseProduct        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /grain_classification/entities/increaseProduct/{id}:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/increaseProduct        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError      definitions:  upDown:    type: string    enum:      – UP      – DOWN    description:        Up or down:       * `UP` – Up       * `DOWN` – Down    statusEntity:    type: string    enum:      – VA      – VI    description:        Status da Entidade:       * `VA` – Ativo       * `VI` – Inativo    baseDiscount:    type: string    enum:      – ORIGINAL_WEIGHING      – WEIGHING_WITH_DISCOUNTS      – CLASSIFICATION_PRIORITY    description:        Desconto base:       * `ORIGINAL_WEIGHING` – Pesagem original       * `WEIGHING_WITH_DISCOUNTS` – Pesagem com Descontos       * `CLASSIFICATION_PRIORITY` – Prioridade da Classificação    varietyTest:    type: string    enum:      – NOT_DECLARED      – POSITIVE      – NEGATIVE    description:        Teste de variedade:       * `NOT_DECLARED` – Não Declarado       * `POSITIVE` – Positivo       * `NEGATIVE` – Negativo    typeIncrease:    type: string    enum:      – P      – V    description:        Tipo de Acréscimo:       * `P` – Percentual       * `V` – Valor    typeApplication:    type: string    enum:      – CLASSIFICATION      – CONTRACT      – FIXATION    description:        Tipo de Aplicação:       * `CLASSIFICATION` – Classificação       * `CONTRACT` – Contrato       * `FIXATION` – Fixação    userNotificationKind:    type: string    enum:      – Operational      – Management      – News    description:        User notification kind.:       * `Operational` – Operational       * `Management` – Management       * `News` – News    userNotificationPriority:    type: string    enum:      – Error      – Alert      – None    description:        User notification priority.:       * `Error` – Error       * `Alert` – Alert       * `None` – None    eventEmailFormat:    type: string    enum:      – HTML      – PLAIN_TEXT    description:        Format of the email:       * `HTML` – Html       * `PLAIN_TEXT` – Plain Text    fieldType:    type: string    enum:      – BINARY      – BOOLEAN      – DATE      – DATETIME      – LOCALDATETIME      – DOUBLE      – ENUM      – INTEGER      – MONEY      – STRING      – TIME    description:        FieldType:       * `BINARY` – Binary       * `BOOLEAN` – Boolean       * `DATE` – Date       * `DATETIME` – Datetime       * `LOCALDATETIME` – Localdatetime       * `DOUBLE` – Double       * `ENUM` – Enum       * `INTEGER` – Integer       * `MONEY` – Money       * `STRING` – String       * `TIME` – Time    fileFormat:    type: string    enum:      – CSV      – FLAT      – JSON      – XML    description:        FileFormat:       * `CSV` – Csv       * `FLAT` – Flat       * `JSON` – Json       * `XML` – Xml    hookFunction:    type: string    enum:      – BEFORE_PARSE      – BEFORE_CONVERSION      – ON_ERROR      – VALIDATE    description:        HookFunction:       * `BEFORE_PARSE` – Before parse       * `BEFORE_CONVERSION` – Before conversion       * `ON_ERROR` – On error       * `VALIDATE` – Validate    eventType:    type: string    enum:      – CHUNK      – DOWNLOAD      – ERROR      – FINISH      – START    description:        EventType:       * `CHUNK` – Chunk       * `DOWNLOAD` – Download       * `ERROR` – Error       * `FINISH` – Finish       * `START` – Start    errorStrategy:    type: string    enum:      – CALL_SCRIPT      – IGNORE      – STOP    description:        ErrorStrategy:       * `CALL_SCRIPT` – Call script       * `IGNORE` – Ignore       * `STOP` – Stop    status:    type: string    enum:      – DONE      – DONE_WITH_ERRORS      – DOWNLOADING      – ERROR      – NOT_STARTED      – RUNNING    description:        Status:       * `DONE` – Done       * `DONE_WITH_ERRORS` – Done with errors       * `DOWNLOADING` – Downloading       * `ERROR` – Error       * `NOT_STARTED` – Not started       * `RUNNING` – Running    errorType:    type: string    enum:      – CONVERT_ERROR      – SERVICE_ERROR    description:        ErrorType:       * `CONVERT_ERROR` – Convert error       * `SERVICE_ERROR` – Service error  checkData:    description: Dados do healthcheck    type: object    required:      – name      – status    properties:      name:        type: string        description: Nome do healthcheck      status:        type: string        allOf:        –  #/definitions/upDown        description: Status do healthcheck    simplified075der:    description: e075der simplificado    type: object    required:      – id      – name    properties:      id:        type: string        description: ID do produto      name:        type: string        description: Nome do produto    recPageRequest:    description: Record para paginação e ordenação    type: object    required:      – page      – size    properties:      page:        type: integer        format: int64        description: Página atual      size:        type: integer        format: int64        description: Total de registros da página      orderBy:        type: string        description: Ordenação do autogerado      filter:        type: string        description: Filtro do autogerado      displayFields:        type: array        items:          type: string        description: Campos do autogerado    orderByRequest:    description: Record para receber o order by    type: object    required:      – field      – order    properties:      field:        type: string        description: Nome do campo      order:        type: integer        format: int64        description: Ordem (Desc ou Asc)    classificationRangeValuesResult:    description:     type: object    required:      – discountValue    properties:      discountValue:        type: number        format: double        description: Valor de desconto (%)      increaseProductId:        type: string        description: Acréscimo financeiro ID      typeIncrease:        type: string        allOf:        –  #/definitions/typeIncrease        description: Tipo do acrescimo      increaseValue:        type: number        format: double        description: Valor de acréscimo    searchProductClassificationFilters:    description: Filtro de Classificação de Itens    type: object    required:      – e070empId    properties:      e070empId:        type: string        description: ID da empresa      e075derId:        type: array        items:          type: string        description: ID do produto      e012famId:        type: array        items:          type: string        description: ID da família    searchProductClassificationFiltersReturn:    description: Resultado de Classificação de Itens    type: object    required:      – e070empId      – e070empCodEmp      – e070empDescription      – e075derId      – e075derCodDer      – e075derDescription      – e012famId      – e012famDescription    properties:      e070empId:        type: string        description: ID da empresa      e070empCodEmp:        type: string        description: Codigo da empresa      e070empDescription:        type: string        description: Descrição da empresa      e075derId:        type: string        description: ID do produto      e075derCodDer:        type: string        description: Codigo do produto      e075derDescription:        type: string        description: Descricao do produto      e012famId:        type: string        description: ID da família      e012famDescription:        type: string        description: Descrição da Família      connectionStatus:        type: boolean        description: Status da ligação de Produto com Itens de Classificação        default: false    searchCargoDiscountValueFilters:    description: Filtro de Classificação de Itens    type: object    required:      – classificationId      – totalWeight    properties:      classificationId:        type: string        description: Id do Grupo de Classificação      totalWeight:        type: number        format: double        description: Peso Total        minimum: 0      producerId:        type: string        description: Id do produtor      productId:        type: string        description: Id do produto      saveData:        type: boolean        description: Salvar dados no banco de dados        default: true    searchCargoDiscountValueSummary:    description: Resumo do calculo dos descontos da classificação    type: object    required:      – totalWeight      – totalDiscount      – totalWeightWithDiscount    properties:      totalWeight:        type: number        format: double        description: total de peso sem desconto        minimum: 0      totalDiscount:        type: number        format: double        description: total de desconto        minimum: 0      totalWeightWithDiscount:        type: number        format: double        description: Total de peso com desconto        minimum: 0    e070empReceived:    description: Informações de Empresa    type: object    required:      – codEmp      – nomEmp      – sigEmp    properties:      id:        type: string        description: Id      codEmp:        type: integer        format: int64        description: Código da empresa      nomEmp:        type: string        maxLength: 100        description: Nome da empresa      sigEmp:        type: string        maxLength: 100        description: Nome fantasia / Sigla da empresa    e075derReceived:    description: Informações de Produto    type: object    required:      – e070empId      – e012famId      – codDer      – desDer      – sitDer    properties:      id:        type: string        description: Id      e070empId:        type: string        description: Id da empresa      e012famId:        type: string        description: Id da família      codDer:        type: string        maxLength: 23        description: Código da derviação      desDer:        type: string        maxLength: 120        description: Descrição da derivação      sitDer:        type: string        allOf:        –  #/definitions/statusEntity        description: Situação da derivação    e012famReceived:    description: Informações de Família    type: object    required:      – e070emp      – codFam      – desFam      – sitFam    properties:      id:        type: string        description: Id      e070emp:        type: string        description: Código da empresa      codFam:        type: string        maxLength: 6        description: Código      desFam:        type: string        maxLength: 50        description: Descrição      sitFam:        type: string        allOf:        –  #/definitions/statusEntity        description: Status    classificationItemReceived:    description: Informações de Item de Classificação    type: object    required:      – code      – description      – useSamples      – status      – e070empId    properties:      id:        type: string        description: Id      code:        type: integer        format: int64        description: codigo      description:        type: string        maxLength: 45        description: descrição      useSamples:        type: boolean        description: Utiliza Amostras      status:        type: string        allOf:        –  #/definitions/statusEntity        description: Status      e070empId:        type: string        description: Empresa    classificationRangeReceived:    description: Informações de Faixa de classificação    type: object    required:      – companyId      – code      – description      – priorityValue      – startDate      – endDate    properties:      id:        type: string        description: Id      companyId:        type: string        description: Empresa      code:        type: integer        format: int64        description: Código      description:        type: string        maxLength: 50        description: Descrição      priorityValue:        type: integer        format: int64        description: Prioridade        minimum: 0        maximum: 15      producerGroup:        type: string        description: Grupo      startDate:        type: string        format: date        description: Data inicial      endDate:        type: string        format: date        description: Data final      classificationRangeValues:        type: array        items:          type: object          allOf:           –  #/definitions/classificationRangeValuesReceived        description: Valores de faixa de classificação    classificationRangeValuesReceived:    description: Informações de Valores de faixa de classificação    type: object    required:      – startValue      – endValue      – discountValue      – additionValue    properties:      id:        type: string        description: Id      classificationRangeId:        type: string        description: Faixa de classificação      startValue:        type: number        format: double        description: Valor inicial (%)        minimum: 0      endValue:        type: number        format: double        description: Valor final (%)        minimum: 0      discountValue:        type: number        format: double        description: Valor de desconto (%)        minimum: 0      additionValue:        type: number        format: double        description: Valor de adição (%)        minimum: 0    balanceEntryControlReceived:    description: Informações de controle de balança    type: object    required:      – companyId      – operation      – operationType      – licensePlate      – driver      – producerId      – productId      – harvestId      – familyId      – depositId      – branchId      – weightEntry      – controlStatus    properties:      id:        type: string        description: Id      companyId:        type: string        description: Empresa      ticket:        type: integer        format: int64        description: Romaneio Sequencial      operation:        type: string        description: Operação      operationType:        type: string        description: Tipo      licensePlate:        type: string        maxLength: 7        description: Placa do veículo      driver:        type: string        description: Motorista      producerId:        type: string        description: Produtor      productId:        type: string        description: Produto      harvestId:        type: string        description: Safra      familyId:        type: string        description: Familia      depositId:        type: string        description: Deposito      branchId:        type: string        description: Filial      weightEntry:        type: number        format: double        description: Peso Entrada        minimum: 0      weightExit:        type: number        format: double        description: Peso Saída        minimum: 0      weightResult:        type: number        format: double        description: Peso Final Entregue        minimum: 0      isManualReadingEntry:        type: boolean        description: É Leitura Manual Entrada        default: false      isManualReadingExit:        type: boolean        description: É Leitura Manual Saída        default: false      controlStatus:        type: string        description: Status Controle de Balança    searchClassificationReturn:    description: Retorna as informações referente ao item de classificação e a tabela que será aplicada    type: object    required:      – productClassificationItemId      – classificationItemId      – classificationItemCode      – classificationItemDescription      – useSamples      – mandatory      – baseDiscount      – executionSequence      – classificationRangeId      – classificationRangeCode      – classificationRangeDescription      – active    properties:      productClassificationItemId:        type: string        description: Product Classification Item Id      classificationItemId:        type: string        description: Classification Item Id      classificationItemCode:        type: integer        format: int64        description: Classification Item Code      classificationItemDescription:        type: string        description: Classification Item Description      useSamples:        type: boolean        description: Use Samples      mandatory:        type: boolean        description: Mandatory      baseDiscount:        type: string        allOf:        –  #/definitions/baseDiscount        description: Base Discount      executionSequence:        type: integer        format: int64        description: Execution Sequence      classificationRangeId:        type: string        description: Classification Range Id      classificationRangeCode:        type: integer        format: int64        description: Classification Range Code      classificationRangeDescription:        type: string        description: Classification Range Description      active:        type: boolean        description: Active      increaseId:        type: string        description: Identificador do Acréscimo Financeiro    classificationReceived:    description: Retorna as informações referente a classificação    type: object    required:      – id      – company    properties:      id:        type: string        description: Id da classificação      company:        type: object        allOf:         –  #/definitions/e070emp        description: Empresa      variety:        type: object        allOf:         –  #/definitions/variety        description: Variedade      varietyTest:        type: string        allOf:        –  #/definitions/varietyTest        description: Teste da variedade      sequential:        type: integer        format: int64        description: Sequencia da classificação    refreshDatabase:    description: Informações referente a atualização da base de dados de relatórios    type: object    properties:      tenantName:        type: string        description: O nome do tenant que deve ter a base de dados de relatórios atualizada. Caso não informado é assumido o tenant do usuário que realizou a requisição      services:        type: array        items:          type: object          allOf:           –  #/definitions/refreshService        description: O nome do dominio e serviço que deve ser atualizado    refreshService:    description: Informações referente a atualização da base de dados de relatórios    type: object    required:      – domainName      – serviceName    properties:      domainName:        type: string        description: Domínio      serviceName:        type: string        description: Serviço    producerGroup:    description: Grupo    type: object    required:      – name      – status    properties:      id:        type: string        format: uuid        description: Id do Grupo      code:        type: integer        format: int64        description: code      name:        type: string        description: name      status:        type: string        allOf:        –  #/definitions/statusEntity        description: status      producers:        type: array        items:          type: object          allOf:           –  #/definitions/e001pes        description: Lista de Produtores      producersQuantity:        type: integer        format: int64        description: Quantidade de Produtores      extIntSts:        type: string        description: Estado de integração com a entidade externa      extIntMsg:        type: string        description: Mensagem do resultado da integração      createdBy:        type: string        description:       createdDate:        type: string        format: date-time        description:       lastModifiedBy:        type: string        description:       lastModifiedDate:        type: string        format: date-time        description:     e001pes:    description: Pessoa    type: object    required:      – nomPes    properties:      id:        type: string        format: uuid        description: Id Pessoa      nomPes:        type: string        maxLength: 100        description: Nome      cnpCpf:        type: string        maxLength: 18        description: CNPJ/CPF      sitPes:        type: string        allOf:        –  #/definitions/statusEntity        description: Status      extIntSts:        type: string        description: Estado de integração com a entidade externa      extIntMsg:        type: string        description: Mensagem do resultado da integração      createdBy:        type: string        description:       createdDate:        type: string        format: date-time        description:       lastModifiedBy:        type: string        description:       lastModifiedDate:        type: string        format: date-time        description:     e095pes:    description: Fornecedor    type: object    required:      – sitFor    properties:      id:        type: string        format: uuid        description: Id Pessoa      sitFor:        type: string        allOf:        –  #/definitions/statusEntity        description: Status      extIntSts:        type: string        description: Estado de integração com a entidade externa      extIntMsg:        type: string        description: Mensagem do resultado da integração      createdBy:        type: string        description:       createdDate:        type: string        format: date-time        description:       lastModifiedBy:        type: string        description:       lastModifiedDate:        type: string        format: date-time        description:     e070emp:    description: Empresa    type: object    required:      – codEmp      – nomEmp      – sigEmp    properties:      id:        type: string        format: uuid        description: Id      codEmp:        type: integer        format: int64        description: Código da empresa      nomEmp:        type: string        maxLength: 100        description: Nome da empresa      sigEmp:        type: string        maxLength: 100        description: Nome fantasia / Sigla da empresa      extIntSts:        type: string        description: Estado de integração com a entidade externa      extIntMsg:        type: string        description: Mensagem do resultado da integração      createdBy:        type: string        description:       createdDate:        type: string        format: date-time        description:       lastModifiedBy:        type: string        description:       lastModifiedDate:        type: string        format: date-time        description:     e075der:    description: Produto    type: object    required:      – e070emp      – e012fam      – codDer      – desDer      – sitDer    properties:      id:        type: string        format: uuid        description: Id      e070emp:        type: object        allOf:         –  #/definitions/e070emp        description: Código da empresa      e012fam:        type: object        allOf:         –  #/definitions/e012fam        description: Código da família      codDer:        type: string        maxLength: 23        description: Código da derviação      desDer:        type: string        maxLength: 120        description: Descrição da derivação      sitDer:        type: string        allOf:        –  #/definitions/statusEntity        description: Situação da derivação      extIntSts:        type: string        description: Estado de integração com a entidade externa      extIntMsg:        type: string        description: Mensagem do resultado da integração      createdBy:        type: string        description:       createdDate:        type: string        format: date-time        description:       lastModifiedBy:        type: string        description:       lastModifiedDate:        type: string        format: date-time        description:     e012fam:    description: Família    type: object    required:      – e070emp      – codFam      – desFam      – sitFam    properties:      id:        type: string        format: uuid        description: Id      e070emp:        type: object        allOf:         –  #/definitions/e070emp        description: Código da empresa      codFam:        type: string        maxLength: 6        description: Código      desFam:        type: string        maxLength: 50        description: Descrição      sitFam:        type: string        allOf:        –  #/definitions/statusEntity        description: Status      extIntSts:        type: string        description: Estado de integração com a entidade externa      extIntMsg:        type: string        description: Mensagem do resultado da integração      createdBy:        type: string        description:       createdDate:        type: string        format: date-time        description:       lastModifiedBy:        type: string        description:       lastModifiedDate:        type: string        format: date-time        description:     productClassificationItem:    description: Tabela dos itens de produto x classificação    type: object    required:      – status      – mandatory      – e075der      – classificationItem      – baseDiscount      – executionSequence    properties:      id:        type: string        format: uuid        description: Id      status:        type: string        allOf:        –  #/definitions/statusEntity        description: Status da classificação      mandatory:        type: boolean        description: Obrigatoriedade do campo      e075der:        type: object        allOf:         –  #/definitions/e075der        description: ID da tabela de produto      classificationItem:        type: object        allOf:         –  #/definitions/classificationItem        description: ID da tabela de classificação item      baseDiscount:        type: string        allOf:        –  #/definitions/baseDiscount        description: Enumeração com a forma do desconto      executionSequence:        type: integer        format: int64        description: Número da sequencia de execução do item de classificação      active:        type: boolean        description: Ligação de produto e classificação está ativa ou não        default: true      createdBy:        type: string        description:       createdDate:        type: string        format: date-time        description:       lastModifiedBy:        type: string        description:       lastModifiedDate:        type: string        format: date-time        description:   editProductClassificationItem:    type: object    required:      – id    allOf:      –  #/definitions/productClassificationItem    classificationItem:    description: Item de Classificação    type: object    required:      – code      – description      – useSamples      – status      – e070empId    properties:      id:        type: string        format: uuid        description: Id      code:        type: integer        format: int64        description: codigo      description:        type: string        maxLength: 45        description: descrição      useSamples:        type: boolean        description: Use Samples      status:        type: string        allOf:        –  #/definitions/statusEntity        description: Status      e070empId:        type: object        allOf:         –  #/definitions/e070emp        description: Empresa      createdBy:        type: string        description:       createdDate:        type: string        format: date-time        description:       lastModifiedBy:        type: string        description:       lastModifiedDate:        type: string        format: date-time        description:   editClassificationItem:    type: object    required:      – id    allOf:      –  #/definitions/classificationItem    classificationRange:    description: Faixa de classificação    type: object    required:      – e070emp      – code      – description      – priorityValue      – startDate      – endDate    properties:      id:        type: string        format: uuid        description: Id      e070emp:        type: object        allOf:         –  #/definitions/e070emp        description: Empresa      code:        type: integer        format: int64        description: Código      description:        type: string        maxLength: 50        description: Descrição      priorityValue:        type: integer        format: int64        description: Prioridade        minimum: 0        maximum: 15      producerGroup:        type: object        allOf:         –  #/definitions/producerGroup        description: Grupo      startDate:        type: string        format: date        description: Data inicial      endDate:        type: string        format: date        description: Data final      classificationRangeValues:        type: array        items:          type: object          allOf:           –  #/definitions/classificationRangeValues        description: Valores de faixa de classificação      createdBy:        type: string        description:       createdDate:        type: string        format: date-time        description:       lastModifiedBy:        type: string        description:       lastModifiedDate:        type: string        format: date-time        description:   editClassificationRange:    type: object    required:      – id    allOf:      –  #/definitions/classificationRange    classificationRangeValues:    description: Valores de faixa de classificação    type: object    required:      – startValue      – endValue      – discountValue    properties:      id:        type: string        format: uuid        description: Id      classificationRange:        type: object        allOf:         –  #/definitions/classificationRange        description: Faixa de classificação      startValue:        type: number        format: double        description: Valor inicial (%)        minimum: 0      endValue:        type: number        format: double        description: Valor final (%)        minimum: 0      discountValue:        type: number        format: double        description: Valor de desconto (%)        minimum: 0      increase:        type: object        allOf:         –  #/definitions/increase        description: Acréscimo financeiro      createdBy:        type: string        description:       createdDate:        type: string        format: date-time        description:       lastModifiedBy:        type: string        description:       lastModifiedDate:        type: string        format: date-time        description:   editClassificationRangeValues:    type: object    required:      – id    allOf:      –  #/definitions/classificationRangeValues    productClassItemClassRange:    description: Ligação das tabelas productClassificationItem x classificationRange    type: object    required:      – e070emp      – e075der      – productClassificationItem      – classificationRange    properties:      id:        type: string        format: uuid        description: Id      e070emp:        type: object        allOf:         –  #/definitions/e070emp        description: Empresa      e075der:        type: object        allOf:         –  #/definitions/e075der        description: produto      productClassificationItem:        type: object        allOf:         –  #/definitions/productClassificationItem        description: ID da tabela de ligação produto x classificação item      classificationRange:        type: object        allOf:         –  #/definitions/classificationRange        description: Faixa de classificação      createdBy:        type: string        description:       createdDate:        type: string        format: date-time        description:       lastModifiedBy:        type: string        description:       lastModifiedDate:        type: string        format: date-time        description:   editProductClassItemClassRange:    type: object    required:      – id    allOf:      –  #/definitions/productClassItemClassRange    classification:    description: Classificação    type: object    required:      – company      – producer      – product    properties:      id:        type: string        format: uuid        description: Id      company:        type: object        allOf:         –  #/definitions/e070emp        description: Empresa      balanceEntryControl:        type: string        format: uuid        description: Id da Pesagem de entrada      productVariety:        type: object        allOf:         –  #/definitions/productVariety        description: Ligação Produto x Variedade      varietyTest:        type: string        allOf:        –  #/definitions/varietyTest        description: Teste da variedade      details:        type: array        items:          type: object          allOf:           –  #/definitions/classificationDetail        description: Detalhes da Classificação      sequential:        type: integer        format: int64        description: Sequencial      producer:        type: object        allOf:         –  #/definitions/e001pes        description: Produtor principal      product:        type: object        allOf:         –  #/definitions/e075der        description: Produto      createdBy:        type: string        description:       createdDate:        type: string        format: date-time        description:       lastModifiedBy:        type: string        description:       lastModifiedDate:        type: string        format: date-time        description:   editClassification:    type: object    required:      – id    allOf:      –  #/definitions/classification    classificationDetail:    description: Detalhes da Classificação    type: object    required:      – productClassificationItem      – classificationRange      – sampleWeight      – measuredPercentage      – discountValue    properties:      id:        type: string        format: uuid        description: Id      classification:        type: object        allOf:         –  #/definitions/classification        description: Classificação      productClassificationItem:        type: object        allOf:         –  #/definitions/productClassificationItem        description: Tabela dos itens de produto x classificação      classificationRange:        type: object        allOf:         –  #/definitions/classificationRange        description: Faixa de classificação      sampleWeight:        type: number        format: double        description: Peso da amostra (g)        minimum: 0      measuredPercentage:        type: number        format: double        description: Percentual apurado/medido (%)        minimum: 0      discountValue:        type: number        format: double        description: Valor de desconto (%)        minimum: 0      increaseProduct:        type: object        allOf:         –  #/definitions/increaseProduct        description: Acréscimo financeiro      typeIncrease:        type: string        allOf:        –  #/definitions/typeIncrease        description: Tipo do acrescimo      increaseValue:        type: number        format: double        description: Valor de acréscimo      createdBy:        type: string        description:       createdDate:        type: string        format: date-time        description:       lastModifiedBy:        type: string        description:       lastModifiedDate:        type: string        format: date-time        description:   editClassificationDetail:    type: object    required:      – id    allOf:      –  #/definitions/classificationDetail    holder:    description: Detentora da tecnologia    type: object    required:      – code      – name      – techHolder    properties:      id:        type: string        format: uuid        description: ID      code:        type: string        maxLength: 10        description: Código da detentora da tecnologia      name:        type: string        description: Nome da detentora da tecnologia      techHolder:        type: object        allOf:         –  #/definitions/e095pes        description: Fornecedora da tecnologia      extIntSts:        type: string        description: Estado de integração com a entidade externa      extIntMsg:        type: string        description: Mensagem do resultado da integração      createdBy:        type: string        description:       createdDate:        type: string        format: date-time        description:       lastModifiedBy:        type: string        description:       lastModifiedDate:        type: string        format: date-time        description:     variety:    description: Variedade de royalties    type: object    required:      – code      – description      – status      – holder    properties:      id:        type: string        format: uuid        description: Id      code:        type: string        maxLength: 255        description: Código      description:        type: string        maxLength: 255        description: Descrição      status:        type: string        allOf:        –  #/definitions/statusEntity        description: Status      holder:        type: object        allOf:         –  #/definitions/holder        description: Detentora da tecnologia      extIntSts:        type: string        description: Estado de integração com a entidade externa      extIntMsg:        type: string        description: Mensagem do resultado da integração      createdBy:        type: string        description:       createdDate:        type: string        format: date-time        description:       lastModifiedBy:        type: string        description:       lastModifiedDate:        type: string        format: date-time        description:     productVariety:    description: Ligação produto x variedade    type: object    required:      – e070emp      – e075der      – variety      – royaltiesPercentage      – status    properties:      id:        type: string        format: uuid        description: ID      e070emp:        type: object        allOf:         –  #/definitions/e070emp        description: Empresa      e075der:        type: object        allOf:         –  #/definitions/e075der        description: Produto      variety:        type: object        allOf:         –  #/definitions/variety        description: Variedade      royaltiesPercentage:        type: number        format: double        description: Percentual de royalties      status:        type: string        allOf:        –  #/definitions/statusEntity        description: Status      e001tns:        type: string        format: uuid        description: Transação de royalties      e002tpt:        type: string        format: uuid        description: Tipo de título      e023crp:        type: string        format: uuid        description: Grupo de contas a receber ou pagar      extIntSts:        type: string        description: Estado de integração com a entidade externa      extIntMsg:        type: string        description: Mensagem do resultado da integração      createdBy:        type: string        description:       createdDate:        type: string        format: date-time        description:       lastModifiedBy:        type: string        description:       lastModifiedDate:        type: string        format: date-time        description:     increase:    description: Acréscimo Financeiro    type: object    required:      – company      – codInc      – desInc      – sitInc      – application    properties:      id:        type: string        format: uuid        description: Id      company:        type: object        allOf:         –  #/definitions/e070emp        description: Código da empresa      codInc:        type: string        description: Código do acréscimo      desInc:        type: string        description: Descrição do acréscimo      sitInc:        type: string        allOf:        –  #/definitions/statusEntity        description: Situação do acréscimo      application:        type: string        allOf:        –  #/definitions/typeApplication        description: Tipo de aplicação      products:        type: array        items:          type: object          allOf:           –  #/definitions/increaseProduct        description: Produtos Vinculados      classificationRangeValues:        type: array        items:          type: object          allOf:           –  #/definitions/classificationRangeValues        description: classificationRangeValues      extIntSts:        type: string        description: Estado de integração com a entidade externa      extIntMsg:        type: string        description: Mensagem do resultado da integração      createdBy:        type: string        description:       createdDate:        type: string        format: date-time        description:       lastModifiedBy:        type: string        description:       lastModifiedDate:        type: string        format: date-time        description:     increaseProduct:    description: Produtos Vinculados    type: object    required:      – company      – product      – typeIncrease      – valInc      – grpItm      – sitPro    properties:      id:        type: string        format: uuid        description: Id      increase:        type: object        allOf:         –  #/definitions/increase        description: Acréscimo financeiro      company:        type: object        allOf:         –  #/definitions/e070emp        description: Código da empresa      product:        type: object        allOf:         –  #/definitions/e075der        description: Produto      typeIncrease:        type: string        allOf:        –  #/definitions/typeIncrease        description: Tipo de acréscimo      valInc:        type: number        format: double        description: Valor do acréscimo      grpItm:        type: boolean        description: Agrupar itens      sitPro:        type: string        allOf:        –  #/definitions/statusEntity        description: Situação do vinculo      extIntSts:        type: string        description: Estado de integração com a entidade externa      extIntMsg:        type: string        description: Mensagem do resultado da integração      createdBy:        type: string        description:       createdDate:        type: string        format: date-time        description:       lastModifiedBy:        type: string        description:       lastModifiedDate:        type: string        format: date-time        description:     notifyUserEventPayload:    description: Represents a regular user event notification payload    discriminator: _discriminator    type: object    required:      – notificationKind      – notificationPriority      – notificationSubject      – notificationContent      – sourceDomain      – sourceService      – destinationUser      – _discriminator    properties:      notificationClass:        type: string        description: Class of notification      notificationOrigin:        type: string        description: Origin of notification. Free text. Optional.      notificationKind:        type: string        allOf:        –  #/definitions/userNotificationKind        description: Notification kind.      notificationPriority:        type: string        allOf:        –  #/definitions/userNotificationPriority        description: Notification priority.      notificationSubject:        type: string        description: Notification subject.      notificationContent:        type: string        description: Notification content.      sourceDomain:        type: string        description: Domain that generates the notification.      sourceService:        type: string        description: Service that generates the notification.      destinationUser:        type: string        description: Username of the destination user.      link:        type: string        description: Notification link      _discriminator:        type: string        description:     emailNotifyUserEventPayload:    description: Represents an email notification payload    allOf:    –  #/definitions/notifyUserEventPayload    –      type: object      required:        – from      properties:        from:          type: string          description: Email sender address        sendTo:          type: array          items:            type: string          description: Additional recipients to send the email to        format:          type: string          allOf:          –  #/definitions/eventEmailFormat          description: Email format    pushNotifyUserEventPayload:    description: Represents a push notification payload    allOf:    –  #/definitions/notifyUserEventPayload    –      type: object      required:        – applicationId      properties:        applicationId:          type: string          description: Apple/Google application id    blobReference:    description: Default blob reference type. Every service defines its own.    type: object    required:      – targetObjectId    properties:      domainName:        type: string        description: The domain the blob belongs to.      serviceName:        type: string        description: The service the blob belongs to.      targetObjectId:        type: string        description: The basic id of the blob.      targetCopyId:        type: string        description: The id of the blob copy.    basicErrorPayload:    description: Default error payload type. Every service defines its own.    type: object    properties:      message:        type: string        description: The user-facing error message, if any.      errorCode:        type: string        description: The program-accessible (and service-specific) error code.    importError:    description:     type: object    required:      – errorType      – lineNumber      – bean      – message      – exceptionClass    properties:      errorType:        type: string        allOf:        –  #/definitions/errorType        description:       lineNumber:        type: integer        format: int64        description:       bean:        type: string        description:       message:        type: string        description:       exceptionClass:        type: string        description:     fielddto:    description:     type: object    required:      – id      – name      – fieldType    properties:      id:        type: integer        format: int64        description:       name:        type: string        description:       fieldType:        type: string        allOf:        –  #/definitions/fieldType        description:       start:        type: integer        format: int64        description:       size:        type: integer        format: int64        description:       maskPattern:        type: string        description:     hookdto:    description:     type: object    required:      – hookFunction      – script    properties:      hookFunction:        type: string        allOf:        –  #/definitions/hookFunction        description:       script:        type: string        description:     layoutdto:    description:     type: object    required:      – id      – description      – fileFormat      – errorStrategy      – skipLines      – fields    properties:      id:        type: integer        format: int64        description:       description:        type: string        description:       fileFormat:        type: string        allOf:        –  #/definitions/fileFormat        description:       errorStrategy:        type: string        allOf:        –  #/definitions/errorStrategy        description:       delimiter:        type: string        description:       skipLines:        type: integer        format: int64        description:       fields:        type: array        items:          type: object          allOf:           –  #/definitions/fielddto          minimum: 1        description:       hooks:        type: array        items:          type: object          allOf:           –  #/definitions/hookdto        description:     importReport:    description:     type: object    required:      – id      – startTime      – endTime      – uri      – beanClass      – serviceClass      – layout      – sucessCount      – errorsCount      – filteredCount      – skippedCount    properties:      id:        type: string        description:       startTime:        type: string        format: date-time        description:       endTime:        type: string        format: date-time        description:       uri:        type: string        description:       beanClass:        type: string        description:       serviceClass:        type: string        description:       layout:        type: object        allOf:         –  #/definitions/layoutdto        description:       sucessCount:        type: integer        format: int64        description:       errorsCount:        type: integer        format: int64        description:       filteredCount:        type: integer        format: int64        description:       skippedCount:        type: integer        format: int64        description:       importErrors:        type: array        items:          type: object          allOf:           –  #/definitions/importError        description:     exportEventStatus:    description:     type: object    required:      – importerId      – eventType      – recordCount    properties:      importerId:        type: string        description:       eventType:        type: string        allOf:        –  #/definitions/eventType        description:       recordCount:        type: integer        format: int64        description:     importEventStatus:    description:     type: object    required:      – importerId      – eventType      – status      – recordCount    properties:      importerId:        type: string        description:       eventType:        type: string        allOf:        –  #/definitions/eventType        description:       status:        type: string        allOf:        –  #/definitions/status        description:       errorMessage:        type: string        description:       recordCount:        type: integer        format: int64        description:       importReport:        type: object        allOf:         –  #/definitions/importReport        description:     exportConfig:    description:     type: object    required:      – uri      – layout      – async      – errorStrategy    properties:      uri:        type: string        description:       layout:        type: object        allOf:         –  #/definitions/layoutdto        description:       async:        type: boolean        description:       errorStrategy:        type: string        description:     importConfig:    description:     type: object    required:      – uri      – layout      – async      – batchSize      – errorStrategy    properties:      uri:        type: string        description:       layout:        type: object        allOf:         –  #/definitions/layoutdto        description:       async:        type: boolean        description:       batchSize:        type: integer        format: int64        description:       errorStrategy:        type: string        allOf:        –  #/definitions/errorStrategy        description:     dependency:    description: Represents a service dependency    type: object    required:      – domain      – service      – version    properties:      domain:        type: string        description: Domain of the dependency service      service:        type: string        description: Name of the dependency service              type: string        description: Version of the dependency service  genericError:    properties:      message:        type: string        description: Messaging describing the error.      reason:        type: string        enum:          – BAD_REQUEST          – UNAUTHORIZED          – PAYMENT_REQUIRED          – FORBIDDEN          – OBJECT_NOT_FOUND          – REQUEST_TIMEOUT          – GONE          – UNPROCESSABLE          – INTERNAL_ERROR          – NOT_IMPLEMENTED          – SERVICE_UNAVAILABLE          – INSUFFICIENT_STORAGE        description:            A symbolic code identifying the category of the reason of the error:           * `BAD_REQUEST` – Bad Request           * `UNAUTHORIZED` – Unauthorized           * `PAYMENT_REQUIRED` – Payment Required           * `OBJECT_NOT_FOUND` – Object Not Found           * `REQUEST_TIMEOUT` – Request Timeout           * `GONE` – Gone           * `UNPROCESSABLE` – Unprocessable           * `INTERNAL_ERROR` – Internal Error           * `NOT_IMPLEMENTED` – Not Implemented           * `SERVICE_UNAVAILABLE` – Service Unavailable           * `INSUFFICIENT_STORAGE` – Insufficient Storage