X (Twitter) · Schema

ListCreateRequest

ListCreateRequest schema from X API v2

Social MediaMicrobloggingReal-Time DataStreamingAdvertisingContent

Properties

Name Type Description
description string
name string
private boolean
View JSON Schema on GitHub

JSON Schema

x-api-list-create-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/twitter/refs/heads/main/json-schema/x-api-list-create-request-schema.json",
  "title": "ListCreateRequest",
  "description": "ListCreateRequest schema from X API v2",
  "type": "object",
  "properties": {
    "description": {
      "type": "string",
      "minLength": 0,
      "maxLength": 100
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 25
    },
    "private": {
      "type": "boolean",
      "default": false
    }
  },
  "required": [
    "name"
  ]
}