---
title: "CriteriaTemplateSchema"
url: "https://dev-portal.dehaven.org/apis/konnect-service-catalog-1-2-0/versions/5f6559bf-d7ba-429c-95c4-cbf2371e663f/schemas/CriteriaTemplateSchema"
---

> Full API specification: https://dev-portal.dehaven.org/apis/konnect-service-catalog-1-2-0/versions/5f6559bf-d7ba-429c-95c4-cbf2371e663f.md

# CriteriaTemplateSchema

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Konnect Service Catalog
  version: 1.2.0
servers:
  - url: https://us.api.konghq.com/v1
    description: US Region Base URL
  - url: https://eu.api.konghq.com/v1
    description: EU Region Base URL
  - url: https://au.api.konghq.com/v1
    description: AU Region Base URL
  - url: https://me.api.konghq.com/v1
    description: ME Region Base URL
  - url: https://in.api.konghq.com/v1
    description: IN Region Base URL
components:
  schemas:
    SimpleSchema:
      type: object
      required:
        - type
        - definition
      properties:
        type:
          type: string
          enum:
            - simple
        definition:
          type: object
          additionalProperties:
            type: string
            enum:
              - string
              - number
              - boolean
    JSONSchema:
      type: object
      required:
        - type
        - definition
      properties:
        type:
          type: string
          enum:
            - json_schema
        definition:
          type: object
          additionalProperties: true
    CriteriaTemplateSchema:
      oneOf:
        - nullable: true
        - x-flatten-allOf: true
          allOf:
            - $ref: "#/components/schemas/SimpleSchema"
            - type: object
              title: CriteriaTemplateSimpleSchema
              nullable: true
              description: >
                Defines the parameters required to evaluate the criteria using
                simple schema.

                Set to `null` when the given criteria does not rely on
                parameterization.
        - x-flatten-allOf: true
          allOf:
            - $ref: "#/components/schemas/JSONSchema"
            - type: object
              title: CriteriaTemplateJSONSchema
              nullable: true
              description: >
                Defines the parameters required to evaluate the criteria using
                JSON schema.

                Set to `null` when the given criteria does not rely on
                parameterization.
```
