{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kinetune-com/json-schema/kinetune-com-video-sharing-schema.json",
  "title": "VideoSharing",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/kinetune-com-v1-openapi.json#/components/schemas/VideoSharing",
  "type": "object",
  "properties": {
    "video_id": {
      "type": "string"
    },
    "sharing": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "socials": {
              "type": "boolean",
              "description": "Kinetune may also post it on its socials"
            },
            "credit_handle": {
              "description": "The @handle credited there",
              "type": [
                "string",
                "null"
              ]
            },
            "shared_at": {
              "type": "string",
              "description": "When it was made public"
            },
            "featured": {
              "type": "boolean",
              "description": "Kinetune features it (the Community's featured row, and kinetune.com)"
            },
            "hidden": {
              "type": "boolean",
              "description": "Kinetune's staff hid it: it stays out of the Community until they lift it"
            }
          },
          "required": [
            "socials",
            "credit_handle",
            "shared_at",
            "featured",
            "hidden"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ],
      "description": "Its place in the Community, or null while it is private"
    },
    "look": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "music-video",
                "lyric-video"
              ]
            },
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "visibility": {
              "type": "string",
              "enum": [
                "private",
                "public"
              ]
            },
            "reward_credits": {
              "type": "number",
              "description": "Credits the workspace holds while the Look stays public"
            },
            "shows_artist": {
              "description": "A lyric video's Look that shows the artist: it stays private",
              "type": "boolean"
            },
            "official": {
              "type": "boolean"
            }
          },
          "required": [
            "type",
            "id",
            "name",
            "visibility",
            "reward_credits"
          ],
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ],
      "description": "Its Look as making it public or private leaves it (a music video's concept, or the lyric video's Look); null when it has none"
    }
  },
  "required": [
    "video_id",
    "sharing",
    "look"
  ],
  "additionalProperties": {}
}