{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clarify/json-schema/clarify-create-object-access-request-dto-schema.json",
  "title": "CreateObjectAccessRequestDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/clarify-objectaccess-api-openapi.yml#/components/schemas/CreateObjectAccessRequestDto",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "object-access"
          ]
        },
        "attributes": {
          "description": "Field values keyed by field name; available fields depend on the object’s schema. System fields (prefixed with a single `_`) cannot be set.",
          "type": "object",
          "properties": {
            "delegate_id": {
              "type": "string",
              "description": "The ID of the user to grant access to."
            }
          },
          "required": [
            "delegate_id"
          ],
          "additionalProperties": true
        }
      },
      "required": [
        "type",
        "attributes"
      ],
      "additionalProperties": false,
      "description": "The resource to create."
    }
  },
  "required": [
    "data"
  ]
}