PolicyDBResponse

Response for a policy from the database.

CompanyCloudHostingVPSIndia

Properties

Name Type Description
condition object Policy condition.
created_at object When the policy was created.
created_by object Who created the policy.
description object Policy description.
guardrails_add array Guardrails to add.
guardrails_remove array Guardrails to remove.
inherit object Parent policy name.
is_latest boolean True if this is the latest version by version_number.
parent_version_id object Policy ID this version was cloned from.
pipeline object Optional guardrail pipeline.
policy_id string Unique ID of the policy.
policy_name string Name of the policy.
production_at object When this version was promoted to production.
published_at object When this version was published.
updated_at object When the policy was last updated.
updated_by object Who last updated the policy.
version_number integer Version number of this policy.
version_status string One of: draft, published, production.
View JSON Schema on GitHub

JSON Schema

bookmyhost-policy-dbresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bookmyhost/json-schema/bookmyhost-policy-dbresponse-schema.json",
  "title": "PolicyDBResponse",
  "description": "Response for a policy from the database.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bookmyhost-policy-engine-api-openapi.yml#/components/schemas/PolicyDBResponse",
  "properties": {
    "condition": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "description": "Policy condition.",
      "title": "Condition"
    },
    "created_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "When the policy was created.",
      "title": "Created At"
    },
    "created_by": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Who created the policy.",
      "title": "Created By"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Policy description.",
      "title": "Description"
    },
    "guardrails_add": {
      "description": "Guardrails to add.",
      "items": {
        "type": "string"
      },
      "title": "Guardrails Add",
      "type": "array"
    },
    "guardrails_remove": {
      "description": "Guardrails to remove.",
      "items": {
        "type": "string"
      },
      "title": "Guardrails Remove",
      "type": "array"
    },
    "inherit": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Parent policy name.",
      "title": "Inherit"
    },
    "is_latest": {
      "default": true,
      "description": "True if this is the latest version by version_number.",
      "title": "Is Latest",
      "type": "boolean"
    },
    "parent_version_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Policy ID this version was cloned from.",
      "title": "Parent Version Id"
    },
    "pipeline": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "description": "Optional guardrail pipeline.",
      "title": "Pipeline"
    },
    "policy_id": {
      "description": "Unique ID of the policy.",
      "title": "Policy Id",
      "type": "string"
    },
    "policy_name": {
      "description": "Name of the policy.",
      "title": "Policy Name",
      "type": "string"
    },
    "production_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "When this version was promoted to production.",
      "title": "Production At"
    },
    "published_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "When this version was published.",
      "title": "Published At"
    },
    "updated_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "When the policy was last updated.",
      "title": "Updated At"
    },
    "updated_by": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Who last updated the policy.",
      "title": "Updated By"
    },
    "version_number": {
      "default": 1,
      "description": "Version number of this policy.",
      "title": "Version Number",
      "type": "integer"
    },
    "version_status": {
      "default": "production",
      "description": "One of: draft, published, production.",
      "title": "Version Status",
      "type": "string"
    }
  },
  "required": [
    "policy_id",
    "policy_name"
  ],
  "type": "object"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/bookmyhost-policy-dbresponse"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.