{
    "rules":[
        {
            "class":"TextNodeRule"
        },
        {
            "class":"IgnoreRule",
            "selector":"div.author"
        },
        {
            "class":"GlobalRule",
            "selector":"html",
            "properties":{
                "article.title":{
                    "type":"element",
                    "selector":"div.header h1"
                },
                "author.url":{
                    "type":"string",
                    "selector":"div.author a",
                    "attribute":"href"
                },
                "author.name":{
                    "type":"string",
                    "selector":"div.author a"
                },
                "author.role_contribution" : {
                    "type" : "string",
                    "selector" : "div.author a",
                    "attribute": "title"
                },
                "author.description" : {
                    "type" : "string",
                    "selector" : "div.author span"
                },
                "article.canonical": {
                    "type" : "string",
                    "selector": "head meta",
                    "attribute": "content"
                },
                "article.publish": {
                    "selector": "div.date",
                    "type": "date",
                    "format": "M j, Y"
                },
                "article.body":{
                    "selector":"article",
                    "type":"element"
                },
                "image.url":{
                    "selector":"div.hero-image img",
                    "type":"string",
                    "attribute":"src"
                }
            }
        },
        {
            "class":"PassThroughRule",
            "selector":"head, script, body"
        },
        {
            "class":"ItalicRule",
            "selector":"i"
        },
        {
            "class":"BoldRule",
            "selector":"b"
        },
        {
            "class":"ParagraphRule",
            "selector":"p"
        },
        {
            "class":"HeaderTitleRule",
            "selector":"h1"
        },
        {
            "class":"HeaderSubTitleRule",
            "selector":"h2"
        },
        {
            "class":"HeaderRule",
            "selector":"div.header"
        },
        {
            "class":"AuthorRule",
            "selector":"span.author",
            "properties":{
                "author.name":{
                    "type":"string",
                    "selector":"span"
                }
            }
        },
        {
            "class":"CaptionRule",
            "selector":"div.image-caption"
        },
        {
            "class":"CaptionRule",
            "selector":"span.caption",
            "properties":{
                "caption.default":{
                    "type":"string",
                    "selector":"img",
                    "attribute":"alt"
                }
            }
        },
        {
            "class":"ImageRule",
            "selector":"div.image",
            "properties":{
                "image.url":{
                    "type":"string",
                    "selector":"img",
                    "attribute":"src"
                }
            }
        },
        {
            "class":"ImageRule",
            "selector":"div.prefix",
            "properties":{
                "image.url":{
                    "type":"string",
                    "selector":"img",
                    "attribute":"src",
                    "prefix":"http:"
                },
                "image.caption":{
                    "type":"element",
                    "selector":"div.image-caption"
                }
            }
        },
        {
            "class":"ImageRule",
            "selector":"div.suffix",
            "properties":{
                "image.url":{
                    "type":"string",
                    "selector":"img",
                    "attribute":"src",
                    "suffix":"?suffix=yes"
                },
                "image.caption":{
                    "type":"element",
                    "selector":"div.image-caption"
                }
            }
        },
        {
            "class":"ImageRule",
            "selector":"div.prefixsuffix",
            "properties":{
                "image.url":{
                    "type":"string",
                    "selector":"img",
                    "attribute":"src",
                    "prefix":"http:",
                    "suffix":"?suffix=yes"
                },
                "image.caption":{
                    "type":"element",
                    "selector":"div.image-caption"
                }
            }
        },
        {
            "class":"IgnoreRule",
            "selector":"div.hero-image"
        },
        {
            "class":"SocialEmbedRule",
            "selector":"div.embed",
            "properties":{
                "socialembed.iframe":{
                    "type":"children",
                    "selector":"*"
                }
            }
        },
        {
            "class":"FooterRule",
            "selector":"footer"
        },
        {
            "class":"RelatedArticlesRule",
            "selector":"ul.op-related-articles",
            "properties":{
                "related.title":{
                    "type":"exists",
                    "selector":"ul.op-related-articles",
                    "attribute":"title"
                }
            }
        },
        {
            "class":"FooterRelatedArticlesRule",
            "selector":"ul.op-related-articles"
        },
        {
            "class":"RelatedItemRule",
            "selector":"li",
            "properties":{
                "related.sponsored":{
                    "type":"exists",
                    "selector":"li",
                    "attribute":"data-sponsored"
                },
                "related.url":{
                    "type":"string",
                    "selector":"a",
                    "attribute":"href"
                }
            }
        }
    ]
}
