Add script to validate API examples as JSON files