{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/userclouds/json-schema/userclouds-idp-create-purpose-request-schema.json",
  "title": "IdpCreatePurposeRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/userclouds-purposes-api-openapi.yml#/components/schemas/IdpCreatePurposeRequest",
  "properties": {
    "purpose": {
      "$ref": "#/$defs/UserstorePurpose"
    }
  },
  "type": "object",
  "$defs": {
    "UserstorePurpose": {
      "properties": {
        "description": {
          "type": "string"
        },
        "id": {
          "$ref": "#/$defs/UuidUUID"
        },
        "is_system": {
          "description": "Whether this purpose is a system purpose. System purposes cannot be deleted or modified. This property cannot be changed.",
          "type": "boolean"
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    },
    "UuidUUID": {
      "format": "uuid",
      "type": "string"
    }
  }
}