{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/relayger-com/json-schema/relayger-com-channel-manifest-schema.json",
  "title": "ChannelManifest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/relayger-com-channels-api-openapi.yml#/components/schemas/ChannelManifest",
  "additionalProperties": false,
  "properties": {
    "commands": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "audience": {
            "const": "followers",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "kind": {
            "enum": [
              "json",
              "feed",
              "text"
            ],
            "type": "string"
          },
          "limit": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "params": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "default": {
                  "maxLength": 200,
                  "type": "string"
                },
                "description": {
                  "maxLength": 200,
                  "type": "string"
                },
                "max": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "min": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "name": {
                  "pattern": "^[a-z][a-z0-9_]{0,31}$",
                  "type": "string"
                },
                "required": {
                  "type": "boolean"
                },
                "type": {
                  "enum": [
                    "string",
                    "integer",
                    "boolean",
                    "enum"
                  ],
                  "type": "string"
                },
                "values": {
                  "items": {
                    "maxLength": 64,
                    "type": "string"
                  },
                  "maxItems": 50,
                  "type": "array"
                }
              },
              "required": [
                "name",
                "type"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "name",
          "description",
          "kind"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "description": {
      "type": "string"
    },
    "domain": {
      "type": "string"
    },
    "followers": {
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "type": "integer"
    },
    "following": {
      "type": "boolean"
    },
    "handle": {
      "pattern": "^[a-z][a-z0-9_-]{1,39}$",
      "type": "string"
    },
    "id": {
      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
      "type": "string"
    },
    "intro": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "number": {
      "pattern": "^[1-9][0-9]{9}$",
      "type": "string"
    },
    "posts": {
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "type": "integer"
    },
    "state": {
      "const": "draft",
      "type": "string"
    },
    "updatedAt": {
      "type": "string"
    },
    "verifiedAt": {
      "type": "string"
    },
    "website": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "handle",
    "name",
    "description",
    "intro",
    "website",
    "domain",
    "updatedAt",
    "followers",
    "posts",
    "commands"
  ],
  "type": "object"
}