{
    "headerRows": [
        [
            "Avail",
            "AvailTrans",
            "AvailTrans",
            "AvailAsset",
            "Disposition",
            "AvailMetadata",
            "AvailMetadata",
            "AvailMetadata",
            "AvailTrans",
            "AvailTrans",
            "AvailTrans",
            "AvailTrans",
            "AvailTrans",
            "AvailTrans",
            "AvailTrans",
            "AvailTrans",
            "AvailTrans",
            "AvailTrans",
            "AvailTrans",
            "AvailAsset",
            "AvailAsset",
            "AvailAsset",
            "Avail",
            "AvailAsset",
            "AvailMetadata",
            "AvailTrans",
            "AvailTrans",
            "AvailMetadata",
            "AvailMetadata",
            "AvailMetadata",
            "Avail",
            "AvailMetadata",
            "AvailMetadata",
            "AvailMetadata",
            "AvailTrans",
            "AvailTrans",
            "AvailMetadata",
            "AvailMetadata",
            "AvailMetadata",
            "AvailTrans",
            "Avail",
            "AvailMetadata",
            "AvailTrans",
            "AvailTrans"
        ],
        [
            "DisplayName",
            "StoreLanguage",
            "Territory",
            "WorkType",
            "EntryType",
            "TitleInternalAlias",
            "TitleDisplayUnlimited",
            "LocalizationType",
            "LicenseType",
            "LicenseRightsDescription",
            "FormatProfile",
            "Start",
            "End",
            "PriceType",
            "PriceValue",
            "SRP",
            "Description",
            "OtherTerms",
            "OtherInstructions",
            "ContentID",
            "ProductID",
            "EncodeID",
            "AvailID",
            "Metadata",
            "AltID",
            "SuppressionLiftDate",
            "SpecialPreOrderFulfillDate",
            "ReleaseYear",
            "ReleaseHistoryOriginal",
            "ReleaseHistoryPhysicalHV",
            "ExceptionFlag",
            "RatingSystem",
            "RatingValue",
            "RatingReason",
            "RentalDuration",
            "WatchDuration",
            "CaptionIncluded",
            "CaptionExemption",
            "Any",
            "ContractID",
            "ServiceProvider",
            "TotalRunTime",
            "HoldbackLanguage",
            "HoldbackExclusionLanguage",
            "PotentialyConflictingTermLicences"
        ],
        [
            "//REQUIRED. The name of your company.",
            "//Optional. Spoken language of the intended audience, not necessarily the audio language. For example, a non-English language film with English subtitles is for an English-speaking audience. Language shall be encoded in accordance with RFC 5646, Tags for Identifying Languages [RFC5646]. The subtags that are available for use with RFC 5646 are available from the Internet Assigned Numbers Authority (IANA) at [IANA-LANG] http://www.iana.org/assignments/language-subtag-registry",
            "//REQUIRED. ISO 3166-1 alpha-2 country code for the country or territory of this avail.",
            "//REQUIRED. Work type as enumerated in Common Metadata.",
            "//REQUIRED. EntryType is information about the avail entry as to whether it is a new avail entry or if it replaces a previous avail entry. The use of \"\"Full Extract\"\" means that all avail entries provided for a version within a territory should overwrite all previous avail entries for that version with that territory. Please note: if this field is blank, then the default handling of it will be \"\"Full Extract,\"\" which is the preferred method when sending new avails or updates. If all rights to a version within a territory are lost, then the studio would provide \"\"Full Delete\"\" and that would remove all avail entries for that version within that territory.",
            "//REQUIRED. Title used by involved parties to refer to this content.",
            "//Optional. Display title, no length limit. Same as TitleDisplayUnliminted in Common Metadata.",
            "//Optional. Distinguishes products that are offered based on whether the offering is localized with dubbed audio track or a language subtitle track. Titles must have these components when offered to the consumer. Valid values are:\n ‘sub’ – offering must include subtitles\n ‘dub’ – offering must include dubbed audio\n ‘subdub’ – offering must include both subtitles and dubbed audio.\n ‘any’ – offering can have any combination of subtitles and dubbed audio (whatever is available)\n ‘any’ is the default and is assumed if this term is not included.",
            "//REQUIRED. Type of transaction.",
            "//Optional. Description of License or Rights granted.",
            "//REQUIRED. Indicates the format profile covered by the transaction.",
            "//REQUIRED. Start of term in YYYY-MM-DD format.",
            "//REQUIRED. End of term in YYYY-MM-DD format, or \"\"Open\"\" if no end date is available. Use \"\"ESTStart\"\" for pre-orders if that's when the pre-order avail ends (most cases for pre-orders).",
            "//REQUIRED. Type of pricing that should be applied to this avail based on how you classify them.",
            "//REQUIRED. Value to be applied to the pricing type.",
            "//Optional. Suggested retail price in local currency.",
            "//Optional. A free-form description of the transaction.",
            "//Optional. Any additional monetary terms.",
            "//Optional. Any additional instructions.",
            "//Optional. Title Identifier. This should be the Title Level EIDR.",
            "//Optional. Asset Identifier. This should be the Version Level EIDR.",
            "//Optional. Encode Identifier. This should be the Encode Level EIDR.",
            "//Optional. Avail Identifier. This should be unique to the avail window/entry.",
            "//Optional. Metadata describing Asset.",
            "//REQUIRED. Other identifiers referring to the same asset. Same as AltIdentifier in CommonMetadata.",
            "//Optional, but REQUIRED for pre-orders. First date a title could be publically announced as becoming available at a specific future date in territory of avail. *Not* the avail start date or pre-order start date. Format is YYYY-MM-DD. For pre-orders, this would be the date on which we can display the earliest EST start date. Use \"\"N/A\"\" if no AnnounceDate exists, and the earliest EST start date can be displayed on the service as soon as it's available.",
            "//Optional for pre-orders, and rarely used/needed at this time. Should be blank for all other license types. The date that a pre-ordered video can be released to the consumer for viewing *if* different from the earliest EST start date (most often the case).",
            "//Optional. Release year of title in earliest released territory. Highly recommended for disambiguation of titles/versions e.g., \"\"Footloose\"\" 1984 vs. 2011.",
            "//Optional. First date of distribution for a title, typically theatrical release date. If available for territory of avail, otherwise first theatrical release date WW (e.g., US) would suffice. Format is YYYY-MM-DD.",
            "//Optional. Release date for initial physical home video release. If available for territory of avail, otherwise first physical home video release date WW (e.g., US) would suffice. Format is YYYY-MM-DD.",
            "//Optional. Yes/No flag to be applied to an avail for it to require human review before applying. E.g., flag to retailer signaling that an avail is exclusive to retailer or similar.",
            "//Optional. Rating system applied to the version of title within territory of avail. Rating systems should be formatted as per http://www.movielabs.com/md/ratings/",
            "//Optional. Value representing the rating within the specified RatingSystem. Ratings should be formatted as per http://www.movielabs.com/md/ratings/",
            "//Optional. Value representing the rating reason (if available) that provides details on why this film was assigned the rating value. Rating reasons should be formatted as per http://www.movielabs.com/md/ratings/ and comma-separated for inclusion of multiple reasons.",
            "//Optional. Duration of rental period in hours. 720 hours = 30 days.",
            "//Optional. Duration or playback period after playback start, in hours.",
            "//REQUIRED if in US. Communicating if caption file will be delivered.",
            "//REQUIRED in US if captions are *not* included. Communicating an exempt category as defined by FCC regulations. It is not required for non-US avails. Code number should be used for reason. Here are a list of code numbers and corresponding reason:\n \n 1 - The content has never aired on television in the United States.\n 2 - The content has only aired on television in the United States without captions.\n 3 - The content has not aired on television in the United States with captions since September 30, 2012.\n 4 - The content does not consist of full-length video programming.\n 5 - The content does not fall within a category of online programming that requires captions under FCC regulations (49 C.F.R. § 79.4(b)).\n 6 - The FCC and/or U.S. Congress has granted an exemption from captioning requirements for this content.",
            "//Optional. Any other element.",
            "//Optional. An identifier referencing any contract information relevant to this avail entry between the studio and retailer.",
            "//Optional. The service provider (usually a post production house) that will be delivering assets. Recommended when multiple post production houses service a studio.",
            "//Optional. Total run time as HH:MM:SS.",
            "//Optional. Language(s) that must be excluded from distribution, whether subtitled or dubbed. Comma-separated for multiple languages. This shall not be present if HoldbackExclusionLanguage is present. Language shall be encoded in accordance with RFC 5646, Tags for Identifying Languages. The subtags that are available for use with RFC 5646 are available from the Internet Assigned Numbers Authority (IANA) at http://www.iana.org/assignments/language-subtag-registry.",
            "//Optional. Language(s) that *can* be included with distribution, whether subtitled or dubbed. Comma-separated for multiple languages. Use case would be to signal that all languages are excluded except for a small set as indicated in this field. This shall not be present if HoldbackLanguage is present. Language shall be encoded in accordance with RFC 5646, Tags for Identifying Languages. The subtags that are available for use with RFC 5646 are available from the Internet Assigned Numbers Authority (IANA) at http://www.iana.org/assignments/language-subtag-registry",
            "//DELETE. Delete these columns before sending out!"
        ],
        [
            "//e.g., Rockstar Films",
            "//e.g., EN, DE, FR",
            "//e.g., US, CA, GB",
            "//e.g., Movie, Short",
            "//e.g., Full Extract, Full Delete",
            "//e.g., First Dance, The",
            "//e.g., The First Dance",
            "//e.g., sub",
            "//e.g., EST, POEST, VOD, SVOD",
            "//e.g., New Release, Library, Early EST",
            "//e.g., HD, SD, 3D",
            "//e.g., 2013-05-14",
            "//e.g., 2019-02-17",
            "//e.g., WSP, WSP, SRP, or Category.",
            "//e.g., 10, 2, 4.99, New Release (examples of WSP, WSP, SRP, and Category, respectively)",
            "//e.g., 9.99, 12.99",
            "//e.g., Box office info. Significant digital home entertainment release campaign planned.",
            "//e.g., Eligible for promo discount if bundled with prequel. Please contact marketing team for details if interested.",
            "//e.g., Please make available only with pre-quel.",
            "//e.g., 10.5240/1489-49A2-3956-4B2D-FE16-5",
            "//e.g., 10.2340/1489-49A2-3956-4B2D-FE16-6",
            "//e.g., 10.2340/1489-49A2-3956-4B2D-FE16-7",
            "//e.g., 34530345-ABD-WE",
            "//e.g., Fully localized, multi-language.",
            "//e.g., FIRSTDANCE_FR",
            "//e.g., 2012-12-10",
            "//e.g., 2019-02-17",
            "//e.g., 2013",
            "//e.g., 2013-01-30",
            "//e.g., 2013-05-14",
            "//e.g., Yes, No",
            "//e.g., MPAA, CHVRS",
            "//e.g., G, PG, PG-13, R",
            "//e.g., L,S,V",
            "//e.g., 720",
            "//e.g., 24, 48, 72",
            "//e.g., Yes, No",
            "//e.g., 1, 2, 3, 4, 5, 6",
            "//e.g., Free if combined with bundle. Contact marketing team if interested.",
            "//e.g., UB1238",
            "//e.g., Digital Works Post",
            "//e.g., 1:56:20",
            "//e.g., ES, DE",
            "//e.g., EN, FR"
        ]
    ],
    "dataRow": [
        "The Orchard",
        {"field": "language", "value": "EN"},
        {"field": "territory"},
        "Movie",
        "Full Extract",
        {"field": "videoTitle"},
        {"field": "videoTitle"},
        "",
        {"test": "format", "value":"tvod", "trueValue": "VOD", "false":"format", "formatting":{"u":true}},
        {"test": "videoOverYearOld", "trueValue": "Library", "falseValue":"DTV"},
        {"field": "resolution"},
        {"field": "availDate", "formatting":{"d": "YYYY-MM-DD"}},
        {"field": "endDate", "value":"Open"},
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        {
            "field": "videoUpc",
            "formatting":{
                "smart": true,
                "n": "0"
            }
        },
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        {"test": "closedCaptionExists", "value": false, "trueValue": "No", "falseValue":"Yes"},
        "",
        {"test": "useYoutubeChannelFieldInAvails", "true": "territoryLookup", "trueValue": "The Orchard Movies"},
        "",
        {"test": "useYoutubeChannelFieldInAvails", "true": "copyOrSelf"},
        "",
        "",
        "",
        {"field": "termLicense.rights", "repeatStart":"termLicenses", "repeatName":"termLicense", "notes": "Term Licence data, only included if present."},
        {"field": "termLicense.channel.name", "notes": "Term Licence data, only included if present."},
        {"field": "termLicense.licenseStartDate", "notes": "Term Licence data, only included if present.", "formatting":{"d": "YYYY-MM-DD"}},
        {"field": "termLicense.licenseEndDate", "endRepeat":"termLicenses", "notes": "Term Licence data, only included if present.", "formatting":{"d": "YYYY-MM-DD"}}
        
    ]
}