{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/affiliaterail-com/json-schema/affiliaterail-com-group-create-schema.json",
  "title": "GroupCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/affiliaterail-com-groups-api-openapi.yml#/components/schemas/GroupCreate",
  "type": "object",
  "properties": {
    "program_id": {
      "type": "string",
      "pattern": "^(sample_)?prg_",
      "description": "Prefixed id (`prg_…`)"
    },
    "name": {
      "type": "string",
      "minLength": 1
    },
    "description": {
      "type": "string"
    },
    "landing_url": {
      "type": "string",
      "format": "uri"
    },
    "is_private": {
      "type": "boolean"
    }
  },
  "required": [
    "program_id",
    "name"
  ]
}