{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OrderOfIssueTypes",
  "title": "OrderOfIssueTypes",
  "additionalProperties": false,
  "description": "An ordered list of issue type IDs and information about where to move them.",
  "properties": {
    "after": {
      "description": "The ID of the issue type to place the moved issue types after. Required if `position` isn't provided.",
      "type": "string",
      "writeOnly": true
    },
    "issueTypeIds": {
      "description": "A list of the issue type IDs to move. The order of the issue type IDs in the list is the order they are given after the move.",
      "items": {
        "type": "string",
        "writeOnly": true
      },
      "type": "array",
      "writeOnly": true
    },
    "position": {
      "description": "The position the issue types should be moved to. Required if `after` isn't provided.",
      "enum": [
        "First",
        "Last"
      ],
      "type": "string",
      "writeOnly": true
    }
  },
  "required": [
    "issueTypeIds"
  ],
  "type": "object"
}