{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pexafy/json-schema/pexafy-collection-create-body-schema.json",
  "title": "CollectionCreateBody",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pexafy-collections-api-openapi.yml#/components/schemas/CollectionCreateBody",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "title": "Name"
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 1000
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "is_public": {
      "type": "boolean",
      "title": "Is Public",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "name"
  ]
}