{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bookmyhost/json-schema/bookmyhost-list-prompts-response-schema.json",
  "title": "ListPromptsResponse",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bookmyhost-prompts-api-openapi.yml#/components/schemas/ListPromptsResponse",
  "properties": {
    "prompts": {
      "items": {
        "$ref": "#/$defs/PromptSpec"
      },
      "title": "Prompts",
      "type": "array"
    }
  },
  "required": [
    "prompts"
  ],
  "type": "object",
  "$defs": {
    "PromptInfo": {
      "additionalProperties": true,
      "properties": {
        "environment": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": "development",
          "title": "Environment"
        },
        "prompt_type": {
          "enum": [
            "config",
            "db"
          ],
          "title": "Prompt Type",
          "type": "string"
        }
      },
      "required": [
        "prompt_type"
      ],
      "title": "PromptInfo",
      "type": "object"
    },
    "PromptLiteLLMParams": {
      "additionalProperties": true,
      "properties": {
        "api_base": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Api Base"
        },
        "api_key": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Api Key"
        },
        "dotprompt_content": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Dotprompt Content"
        },
        "ignore_prompt_manager_model": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": false,
          "title": "Ignore Prompt Manager Model"
        },
        "ignore_prompt_manager_optional_params": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": false,
          "title": "Ignore Prompt Manager Optional Params"
        },
        "prompt_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Prompt Id"
        },
        "prompt_integration": {
          "title": "Prompt Integration",
          "type": "string"
        },
        "provider_specific_query_params": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Provider Specific Query Params"
        }
      },
      "required": [
        "prompt_integration"
      ],
      "title": "PromptLiteLLMParams",
      "type": "object"
    },
    "PromptSpec": {
      "properties": {
        "created_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Created At"
        },
        "created_by": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Created By"
        },
        "environment": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": "development",
          "title": "Environment"
        },
        "litellm_params": {
          "$ref": "#/$defs/PromptLiteLLMParams"
        },
        "prompt_id": {
          "title": "Prompt Id",
          "type": "string"
        },
        "prompt_info": {
          "$ref": "#/$defs/PromptInfo"
        },
        "updated_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Updated At"
        },
        "version": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Version"
        }
      },
      "required": [
        "prompt_id",
        "litellm_params",
        "prompt_info"
      ],
      "title": "PromptSpec",
      "type": "object"
    }
  }
}