{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cockroach-labs/json-schema/cockroach-labs-patch-group-body-schema.json",
  "title": "PatchGroupRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cockroach-labs-scim-api-openapi.yml#/components/schemas/PatchGroupBody",
  "type": "object",
  "properties": {
    "Operations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ScimOperations"
      }
    },
    "schemas": {
      "description": "A list of one or more URIs identifying SCIM schemas that define the structure\nof the attributes in the request. The only supported schema at this time is\n\"urn:ietf:params:scim:api:messages:2.0:PatchOp\".",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "schemas",
    "Operations"
  ],
  "$defs": {
    "ScimOperations": {
      "type": "object",
      "properties": {
        "op": {
          "type": "string"
        },
        "path": {
          "type": "string"
        },
        "value": {}
      },
      "required": [
        "op"
      ]
    }
  }
}