{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-kinesis-video-streams/refs/heads/main/json-schema/amazon-kinesis-video-streams-stream-schema.json",
  "title": "Stream",
  "description": "An Amazon Kinesis Video Stream.",
  "type": "object",
  "properties": {
    "StreamName": {
      "type": "string",
      "description": "The name of the stream.",
      "example": "my-video-stream"
    },
    "StreamARN": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the stream."
    },
    "Status": {
      "type": "string",
      "description": "The status of the stream.",
      "example": "ACTIVE",
      "enum": [
        "CREATING",
        "ACTIVE",
        "UPDATING",
        "DELETING"
      ]
    },
    "DataRetentionInHours": {
      "type": "integer",
      "description": "How long the channel retains data (in hours).",
      "example": 24
    },
    "CreationTime": {
      "type": "string",
      "description": "When the stream was created.",
      "format": "date-time"
    }
  }
}