{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sendgrid/main/json-schema/sendgrid-list-schema.json",
  "title": "list",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sendgrid-lists-api-openapi.yml#/components/schemas/List",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The generated ID for your list.",
      "minLength": 36,
      "maxLength": 36
    },
    "name": {
      "type": "string",
      "description": "The name you gave your list."
    },
    "contact_count": {
      "type": "integer",
      "description": "The number of contacts currently stored on the list."
    },
    "_metadata": {
      "$ref": "#/$defs/SelfMetadata"
    }
  },
  "$defs": {
    "SelfMetadata": {
      "title": "selfMetadata",
      "type": "object",
      "properties": {
        "self": {
          "type": "string",
          "description": "A link to this object."
        }
      }
    }
  }
}