post format validation