TheTVDB · JSON Structure

Tvdb Company Structure

A company record

Type: object Properties: 12
EntertainmentMoviesTelevisionMedia MetadataPublic APIsVideo

Company is a JSON Structure definition published by TheTVDB, describing 12 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

activeDate aliases country id inactiveDate name nameTranslations overviewTranslations primaryCompanyType slug parentCompany tagOptions

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/tvdb/refs/heads/main/json-structure/tvdb-company-structure.json",
  "name": "Company",
  "description": "A company record",
  "properties": {
    "activeDate": {
      "type": "string",
      "example": "2024-01-15"
    },
    "aliases": {
      "items": {
        "description": "An alias model, which can be associated with a series, season, movie, person, or list.",
        "properties": {
          "language": {
            "type": "string",
            "maximum": 4,
            "description": "A 3-4 character string indicating the language of the alias, as defined in Language.",
            "example": "eng"
          },
          "name": {
            "type": "string",
            "maximum": 100,
            "description": "A string containing the alias itself.",
            "example": "Example Name"
          }
        },
        "type": "object"
      },
      "type": "array",
      "x-go-name": "Aliases"
    },
    "country": {
      "type": "string",
      "example": "usa"
    },
    "id": {
      "type": "int64",
      "x-go-name": "ID",
      "example": 12345
    },
    "inactiveDate": {
      "type": "string",
      "example": "2024-01-15"
    },
    "name": {
      "type": "string",
      "example": "Example Name"
    },
    "nameTranslations": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "x-go-name": "NameTranslations",
      "example": [
        "example"
      ]
    },
    "overviewTranslations": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "x-go-name": "OverviewTranslations",
      "example": [
        "example"
      ]
    },
    "primaryCompanyType": {
      "type": "int64",
      "x-go-name": "PrimaryCompanyType",
      "nullable": true,
      "example": 12345
    },
    "slug": {
      "type": "string",
      "x-go-name": "Slug",
      "example": "example-slug"
    },
    "parentCompany": {
      "type": "object",
      "description": "A parent company record",
      "properties": {
        "id": {
          "type": "int32",
          "nullable": true,
          "example": 12345
        },
        "name": {
          "type": "string",
          "example": "Example Name"
        },
        "relation": {
          "type": "object",
          "description": "A company relationship",
          "properties": {
            "id": {
              "type": "int32",
              "nullable": true,
              "example": 12345
            },
            "typeName": {
              "type": "string",
              "example": "example"
            }
          }
        }
      }
    },
    "tagOptions": {
      "items": {
        "description": "tag option record",
        "properties": {
          "helpText": {
            "type": "string",
            "example": "example"
          },
          "id": {
            "type": "int64",
            "x-go-name": "ID",
            "example": 12345
          },
          "name": {
            "type": "string",
            "x-go-name": "Name",
            "example": "Example Name"
          },
          "tag": {
            "type": "int64",
            "x-go-name": "Tag",
            "example": 12345
          },
          "tagName": {
            "type": "string",
            "x-go-name": "TagName",
            "example": "example"
          }
        },
        "type": "object",
        "x-go-package": "github.com/whip-networks/tvdb-api-v4-core/tvdb-api-v4-core/pkg/model"
      },
      "type": "array",
      "x-go-name": "TagOptions"
    }
  },
  "type": "object"
}