{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/linode/json-schema/linode-placement-group-request-schema.json",
  "title": "PlacementGroupRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/linode-placement-groups-api-openapi.yml#/components/schemas/PlacementGroupRequest",
  "type": "object",
  "required": [
    "label",
    "region",
    "placement_group_type",
    "placement_group_policy"
  ],
  "properties": {
    "label": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "The label for the placement group."
    },
    "region": {
      "type": "string",
      "description": "The region for the placement group."
    },
    "placement_group_type": {
      "type": "string",
      "enum": [
        "anti_affinity:local"
      ],
      "description": "The placement group type."
    },
    "placement_group_policy": {
      "type": "string",
      "enum": [
        "strict",
        "flexible"
      ],
      "description": "The enforcement policy."
    }
  }
}