CloudTruth · Schema

PatchedParameterTypeRuleUpdate

A type of `ModelSerializer` that uses hyperlinked relationships with compound keys instead of primary key relationships. Specifically: * A 'url' field is included instead of the 'id' field. * Relationships to other instances are hyperlinks, instead of primary keys. NOTE: this only works with DRF 3.1.0 and above.

CompanyConfigManagementDevOpsCloudSecurity

Properties

Name Type Description
id string
parameter_type string The type this rule is for.
type object
constraint string The constraint for the rule. Provided for backwards compatibility.
constraints object
created_at string
modified_at stringnull
View JSON Schema on GitHub

JSON Schema

cloudtruth-patched-parameter-type-rule-update-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudtruth/json-schema/cloudtruth-patched-parameter-type-rule-update-schema.json",
  "title": "PatchedParameterTypeRuleUpdate",
  "description": "A type of `ModelSerializer` that uses hyperlinked relationships with compound keys instead\nof primary key relationships.  Specifically:\n\n* A 'url' field is included instead of the 'id' field.\n* Relationships to other instances are hyperlinks, instead of primary keys.\n\nNOTE: this only works with DRF 3.1.0 and above.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudtruth-types-api-openapi.yml#/components/schemas/PatchedParameterTypeRuleUpdate",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "parameter_type": {
      "type": "string",
      "format": "uri",
      "readOnly": true,
      "description": "The type this rule is for."
    },
    "type": {
      "$ref": "#/$defs/ParameterRuleTypeEnum"
    },
    "constraint": {
      "type": "string",
      "description": "The constraint for the rule. Provided for backwards compatibility."
    },
    "constraints": {},
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "modified_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "readOnly": true
    }
  },
  "$defs": {
    "ParameterRuleTypeEnum": {
      "enum": [
        "min",
        "max",
        "min_len",
        "max_len",
        "regex",
        "one_of"
      ],
      "type": "string",
      "description": "* `min` - minimum\n* `max` - maximum\n* `min_len` - minimum_length\n* `max_len` - maximum_length\n* `regex` - regex\n* `one_of` - one_of"
    }
  }
}

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/cloudtruth-patched-parameter-type-rule-update"
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. See our Privacy Policy and Terms.

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