{"action":"closed","issue":{"url":"https://api.github.com/repos/gardr/validator-web/issues/63","labels_url":"https://api.github.com/repos/gardr/validator-web/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/gardr/validator-web/issues/63/comments","events_url":"https://api.github.com/repos/gardr/validator-web/issues/63/events","html_url":"https://github.com/gardr/validator-web/issues/63","id":104635775,"number":63,"title":"New formats for Amedia","user":{"login":"jorgenwahlberg","id":674694,"avatar_url":"https://avatars.githubusercontent.com/u/674694?v=3","gravatar_id":"","url":"https://api.github.com/users/jorgenwahlberg","html_url":"https://github.com/jorgenwahlberg","followers_url":"https://api.github.com/users/jorgenwahlberg/followers","following_url":"https://api.github.com/users/jorgenwahlberg/following{/other_user}","gists_url":"https://api.github.com/users/jorgenwahlberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jorgenwahlberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorgenwahlberg/subscriptions","organizations_url":"https://api.github.com/users/jorgenwahlberg/orgs","repos_url":"https://api.github.com/users/jorgenwahlberg/repos","events_url":"https://api.github.com/users/jorgenwahlberg/events{/privacy}","received_events_url":"https://api.github.com/users/jorgenwahlberg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gardr/validator-web/labels/formats","name":"formats","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-03T07:13:39Z","updated_at":"2015-09-08T08:56:42Z","closed_at":"2015-09-08T08:56:42Z","body":"Hi,\r\n\r\nplease add Ameda's formats to the validator:\r\n\r\n\r\n```json\r\n\r\n{\r\n    'name': 'Amedia',\r\n    'title': 'Amedia',\r\n    'logo': 'http://www.amedia.no/IteraResize/Static/html/assets/img/amedia-logo.png/width_1460.png',\r\n    'meta': ['mobile', 'tablet', 'desktop'],\r\n    'config': {\r\n        'sizes': {\r\n            thresholdBytes: 150000,\r\n            maxRequests: {\r\n                style: 1\r\n            }\r\n        },\r\n        'gardr': {\r\n            // apparently, enforceSpec only turns off the check for window.open for links, so we turn that one off\r\n            enforceSpec: false\r\n        }\r\n    },\r\n    'formats': [{\r\n        'description': 'Mobilbanner',\r\n        'width': 300,\r\n        'height': 300,\r\n    }, {\r\n        'description': 'Mobilbanner',\r\n        'width': 300,\r\n        'height': 150\r\n    }, {\r\n        'description': 'Toppbanner',\r\n        'width': 980,\r\n        'height': 150\r\n    }, {\r\n        'description': 'Toppbanner',\r\n        'width': 980,\r\n        'height': 300\r\n    }, {\r\n        'description': 'Skyskraper',\r\n        'viewport': {\r\n            width: 280,\r\n            height: 500\r\n        },\r\n        'width': {\r\n            min: 180,\r\n            max: 280\r\n        },\r\n        'height': 500\r\n    }, {\r\n        'description': 'Netboard',\r\n        'width': 980,\r\n        'height': 150\r\n    }, {\r\n        'description': 'Netboard',\r\n        'width': 980,\r\n        'height': 300\r\n    }, {\r\n        'description': 'Artikkelboard',\r\n        'width': 480,\r\n        'height': 400\r\n    }, {\r\n        'description': 'Produktstripe',\r\n        'width': 980,\r\n        'height': 150\r\n    }, {\r\n        'description': 'Banner',\r\n        'width': 480,\r\n        'height': 150\r\n    }]\r\n}\r\n\r\n```\r\n\r\n\r\n---------------------------\r\n\r\nCurrent Formats configurated here: https://github.com/gardr/validator-web/blob/master/config/formats.js\r\n\r\n\r\nPossible config {} options here: https://github.com/gardr/validator/blob/master/config/validatorConfig.js"}}